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
What are the ordinal identifiers in web page?
Explain the use of action split in qtp?
i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS
What is Curd testing?
How to open a new test using quicktest professional?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
What is the meaning Work bench?
banking domain description for software tester for interview
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
Does QTP run in any environment?
What is a checkpoint? How many check points are there in qtp?