In Descriptive programing if i use this below code will it
work for login window or flight Res Window. Shud i add the
properties like attached text=login and text=Agent Name in
the object repository and define a new object first. Pls
tell me the procedure in clear inorder to execute this
script.
Dialog("title:=Login").WinEdit("attached text:=Agent
Name:").set"agent123"
Dialog("title:=Login").WinEdit("attached
text:=Password:").set"mercury"
Dialog("attached text:=Login").winbutton("text:=OK").click
Answers were Sorted based on User's Feedback
Answer / sagar
We can do the Dialog("text:= login").WinEdit("attached text:= Agent Name:").set "user name"
Do the rest
We can use Dialog("text:= login")
Ok
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / praveen
Please try with the below answer
dialog("Login").Activate
Dialog("title:=Login").WinEdit("attached text:=Agent
Name:").set"agent123"
Dialog("title:=Login").WinEdit("attached
text:=Password:").set"mercury"
Dialog("title:=Login").winbutton
("text:=OK","regexpwndtitle:=OK").click
u dont have attached text property for Dialog in flight
reservation.
| Is This Answer Correct ? | 0 Yes | 1 No |
How many scripts did you have?
pls tell me different type of automation frame works in QTP and which one need to select in client server application
What is iteration? How it is related to Test Results in QTP
3 Answers Virinchi Technologies,
What are the trigger events in qtp?
waht is the diff b/w Environment variable and Global variable in qtp?? explain types of variable in qtp??
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
For Usability testing, which is preferable Automation or Manual?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
How we can merge the object repositories?say if we have 2 or 3 object repositories then how we can merge them?Is there any option in QTP to merge the object repositories?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
how are environment variables used in real time projects (testing)?what answer should be given about this in interview.need real time explanation breifly?thnx in advance.
h to all plz send me the answer if any one knows about this....i want the java add-ins for the QTP to do my project which is developed under the java platform.