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

what could go wrong with test automation?

1765


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

1630


How many types of run modes are there in qtp?

801


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1713


What are the views available in qtp?

813


What is qtpro? What is a quick test professional?

812


what is impact analysis on regression testing?

2234


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

1750


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

2070


is it possible to add sheets to excel at runtime

3607


Should have experience in framework means?

1628


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3137


Explain about the test fusion report of quicktest professional (qtp)?

746


What do you mean by iteration?

876


Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this

2263