How do we create and run the scripts with out using O.R. ?

Answer Posted / king

dialog("regexpwndtitle:=login").winedit("attached
text:=Agent Name:").set "raju"
dialog("regexpwndtitle:=login").winedit("attached
text:=Password:").set "mercury"
dialog("regexpwndtitle:=login").winbutton
("regexpwndtitle:=ok").click
window("regexpwndtitle:=Flight Reservation").ActiveX
("acx_name:=MaskEdBox").Type "080808"
window("regexpwndtitle:=Flight Reservation").wincombobox
("attached text:=fly from:").Select "Denver"
window("regexpwndtitle:=Flight Reservation").wincombobox
("attached text:=fly to:").Select "London"
window("regexpwndtitle:=Flight Reservation").winbutton
("regexpwndtitle:=flight").click

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between IE & Netscape in web testing on a log in page

1801


What is optional step in qtp? How you can add optional step in qtp?

544


To which environments does quicktest professional (qtp) supports?

603


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

1552


What is Test Fusion Report in QTP?

626






In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1427


How to create a standard checkpoint ?

566


What are the steps involved in recovery scenario wizard?

539


What are some test assets and related extensions of qtp?

569


What is the difference between local and shared object repository in qtp?

569


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1368


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1490


What is the expert view?

559


There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code

1218


What is object spy in quicktest professional?

623