suppose u have two send buttons(same width,height,font) on an
application write a descriptive programming



suppose u have two send buttons(same width,height,font) on an application write a descriptive prog..

Answer / nagk24

if we have buttons like this i.e same name(send),type(button)
we have to go to other unique properties like index,etc

ex:=browser("creationtime:=0").page("micclass:=0").webbutton(
"name:=send","index:=0").click

here index numbering starts from 0 so,first send button will be selected

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More QTP Interview Questions

How can I map test requirement to Test Set (multiple test cases)? Under test lab, I have multiple test cases. I would like to map 1 requirement to all test cases under that test set (in test lab)? Currently, I think QC only allow mapping 1 test requirement to 1 test case. Instead I would like to map 1 test requirement to multiple test cases under one test lab.

4 Answers   CarrizalSoft Technologies, DST Global Solutions,


Why we load add-ins in qtp?

0 Answers  


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

0 Answers   Livetek,


Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts?

2 Answers   Datamatics,


What is an Regular expression doing in VBScript?Tell the pattern for the email verification.

0 Answers   Accenture,






How to test the login page in different ways in automation testing and i need code?

0 Answers   Cognizant,


How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

0 Answers   Yahoo,


what is the Debug view?

1 Answers  


Iam doing automation in Oracle App's using QTP? In App's because of some functional setup, keep on changing my script flow. for this how can i use the recovery sceanrio?? Please help me?

1 Answers  


Maximum synchronizing time out in QTP

3 Answers   Kanbay,


why don’t use real time they r not using check points

1 Answers   Wipro,


Categories