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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create new test sets in td?

702


How to define array in qtp?

750


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

3183


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

1794


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

1875


Plz Explain AUTOMATION REFERENCE MODEL?

1876


Explain the concept of object repository and how quicktest professional recognises objects?

746


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

1677


Is any limitation to xml checkpoints?

757


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

1743


Is qtp supports uni-code?

797


what is vmodel?advantages and disadvantages of vmodel?

1795


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2424


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

807


How will you test a keyboard?

781