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 can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance
How does you test a weblink which is changing dynamically?
How do u fetch data from a database ?
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
How to recognise the webelement and verifying that webelement is enabled?
How do we Access, retriew and edit the runtime objects in Automation Testing using QTP
Did you use flatfiles in your projects?At what situation you used it?How can you upload flatfiles?
Tell me about userdefined functions ?
what are the difference between qtp8.2 to 9.0 surya
write is the code for regular expression in QTP
How many types of recording modes in qtp? Which will be used when?