I am in need of some set of QTP FAQ @ interview.
Also recently in one of interview portal they asked me how
you write the script for Login application which it is web
-based and using Descriptive Programming? Without
associating the shared object repository?Please i do need
this answer very soon? Please respond me soon @
vaisu72@yahoo.com
Answer Posted / dileep kumar
By using Descriptive we can write the test script for web based Login application.
Script: for QTP sample application:
Dialog("text:=Login").winedit("attached text:= Agentname").set"abcdef"
Dialog("text:=Login").winedit("attached text:= password").set"mercury"
Dialog("text:=Login").winbutton("text:= OK"),click
****************************************************
Like this by adding the unique properties and values of the object we can write descriptive program.
Note: >>>Some times the object needs more than one property to identify.
>>>> Better to use Object Spy to get the object properties and vales...
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is debugging? How you debug your script?
Can U Explain about QTP tool from older version to latest version also its differences?
Can the user toggle between using Local OR and shared OR for the same action?
what is error and fault in terms of software quality?
Explain advantages and disadvantages kdf?
How to find a window is minimized or not
What are the different types of functions available in qtp and explain ?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
How to recognise the webelement and verifying that webelement is enabled?
Both static and dynamic arrays are handled by the vb script. Is it true?
How to associate shared object repository to test in qtp?
What is accessibility check point?
What is the default object synchronization timeout in qtp?
Explain different types of checkpoints?