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
Answers were Sorted based on User's Feedback
Answer / uday
The syntax is perfect.
But how Dialog and WinEdit comes in web application.
Replace dialog with Browser().Page() etc.
The rest is fine...
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
w is fragmentation and paging
how to automate standalone infopath forms using QTP? (it is not a dotnet or a web form)
Suppose there are 100 links in a web page and the number of links will be changing dynamically from time to time. I need code such that every time i had to click on the last link of the web page.
Tell me the situations where we will use Data Driven?
what is the difference between the modular framework and datadriven frame work
In a webtable,a list of values are there,rightnow one values shows,later random another values shows,but how to retrieve the random value in webtable.
How many types of status are there?
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
How QTP recognizes Objects in AUT?
Can we directly automate test script according to requirements?
How can you send user defined messages to test report?