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 |
what is the extension of new local object repository?
How QTP support all types of applications (platforms)?
Explain runtime dynamic settings?
what skills needed to be good test automation?
How does u create new test sets in TD?
How many types of run modes are there in qtp?
anyone can explian about types of "Triggere Events" in QTP
How to Close all browsers in reverse order.
can we use QTP for load testing instead of load runner?
How you r using QTP in u r project
1 Answers IBM, Lehman Brothers,
WHAT IS THE FUNCTION (HOW TO DO) THE BATCH TESTING IN TEST DIRECTOR USING MANUAL TESTING PROCEDURE?
How many actions we can write in a test?