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 API
What are the types of object repositories? Which one is you using?
Describe the differences between functions and actions in UFT?
What is the difference between Systemutil.run and Navigate.
Which property do you use to retrieve or assign data into a cell in a Data Table object?
Why do we use breakpoints in QTP?
Any one please tell me how to create framework in QTP (in detail). Is there any website for reference?
In qtp, how you can get the last character from a string?
Sometimes my QTP scripts works fine and sometimes its not though I am using same shared Repository and am not doing any changes in it.Even though for descriptive programming also its works fine and sometimes it does not work.my application is pretty stable.Could anyone please answer why am facing these types of issue??
How do you perform Regreession Testing?
what is the Debug view?
Where should we turn Smart Identification ON in QTP?