give me descriptive programing code sample flight
application in qtp?

Answer Posted / k

Dialog("text:=Login").Activate
Dialog("text:=Login").WinEdit("attached text:=Agent Name:").Set "kasi"
Dialog("text:=Login").WinEdit("attached text:=Password:").Set "mercury"
dialog("text:=Login").WinButton("text:=OK").Click

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between call to action and copy action?

523


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1586


Plz Explain AUTOMATION REFERENCE MODEL?

1684


what are the limitations of smart identification in qtp 9.0

1930


what the difference between shared repository and per action repository?

550






What is synchronization? What are the ways you can synchronize?

653


Explain how Does Run time data (Parameterization) is handled in QTP?

559


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1412


how can we preform retesting(DATA driven test) using function please gine the code for loginpage

2276


Is it possible to split an action? How?

662


Difference between test object and run time object?

592


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

1600


What is the pros and cons between QTP and Rational Robot

3284


What are the different recording modes?

562


What are the different recording modes and how do they work?

618