Results 1 to 3 of 3

Thread: How to write the vbscript in web based applications in qtp?

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Answers
    18

    How to write the vbscript in web based applications in qtp?

    hai all,
    i could write the script client based applictions,but i have no idea in web based applications script in qtp.how to write


  2. #2
    Junior Member
    Join Date
    Dec 2007
    Answers
    1

    Re: How to write the vbscript in web based applications in qtp?

    Can you tell me what is MIS in accouting? How to prepare monthly MIS of company?


  3. #3
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: How to write the vbscript in web based applications in qtp?

    Hi,

    Follow the same approach you used in creating scripts for Client-Server Applications.

    Learn the Objects as part of your Object Repository and script using the functional navigational flow. Incase of runtime Objects use Descriptive Programming.

    Differences
    1) The Way the Objects are recognised would be different. In sense Objects would more or less pertain to Web Objects. Hence you would have WebEdit, Links etc.
    2) Web- based Approach scripting would more or less follow the DOM approach - Document Model Approach. In this each Object would have a Parent Object which could be the Window or Browser Object. Further on Objects go down the Hierarchy

    So the scropting syntax is like -

    Browser("").Page("').Link("").Click

    You could also write VbScript functions like Invoking Excel, Browsers etc and include them as library files in QTP. Save the files as .VBS and include them.

    Cheers....


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact