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
Answer Posted / 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 |
Post New Answer View All Answers
Does quicktest professional is unicode compatible?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
what is the difference between IE & Netscape in web testing on a log in page
What phases are involved in testing an application in qtp?
How to do call a output parameter from one action to another action??/
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
What is regular expression?
What are the steps involved in recovery scenario wizard?
Can we create a qtp test from qc?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
what is the advantages and disadvantages of using functions instead of re usable actions
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.