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 |
GET WHETHER THE GIVE NUMBER VALID OR NOT IN BETWEEN THE GIVEN RANGE?IN VB SCRIPT(QTP)
i can done the project with QTP in that time i can say how many members in my team size?
Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
how to check URL using QTP? write vb script with descriptive programm only?
Can we write winrunner language i.e TSL in QTP tool?
what is the default ordinal identifier.what are the send keys in qTP.
In QTP, If you have list of checkboxes, how can i select a particular checkbox and delete if the checkboxes are changing dynamically?
what is the difference between built-i function and In-built function?
what sort of things what u put in Bug Report ?
What is difference between the For..Next and While..Wend statements?
Is it possible to split an action? How?
What are the data types in qtp?