IF application is a Java-based application means 2 0r 3
tier application. How the script will be in QTP. pls kindly
give some sample script.

Answer Posted / vijayendra reddy (codon softwa

Hi,
we will write script in 2ways.
1.by using properties collections
2.by using Description.create
example:
Dialog("text:=login).winedit
("attachedtext:=username").set "xxxx"
dialog("text:=login").winedit
("attachedtext:=password").set "yyyy"
Dialog("text:=login").winbutton("text:=ok").click

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to disable the pop ups through QTP using a script

1734


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1492


How many add-ins comes by default with quicktest professional?

555


Explain the check points in quicktest professional (qtp)?

561


What is text check point and text area check point?

611






we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1583


How to check feasibility of the appliction?in automation testing?

1474


what testplan contents and what test strategy contents,what is the diff b/w them

1652


If I change the object name in one action will it be updated in all the actions? Or not?

604


How to get popup error message.

1030


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

1495


Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?

1477


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1711


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1425


what is run action?

1437