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 pass parameters into function?

4 Answers   Livetek,


How cookies can be tested in QTP?

2 Answers   Deloitte, TCS,


This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close

6 Answers  


Differences between QTP & Winrunner?

2 Answers   Crea,


does qtp runs on internet explorer 7.0

5 Answers   BeBo Technologies,






PLS SEND REAL TIMERS, WHAT IS SOA TESTING..IM TRYING 3+ YR.. I HAVE GOOD KNOWLEDGE ON MANUAL TESTING... NOW IM NEW TO LEARN "ETL TESTING" IS BEST OR NOT? BEFORE LEARNING ETL TESTING ANY SKILLS ARE REQUIRED..... AND NOW WHAT IS THE MARKET FOR ETL TESTING... AND IT IS BASED ON PROGRAMMING OR NOT?PLS HELP ME REAL TIMERS IM REQESTING U..... CONTACT ME gan9000@gmail.com

1 Answers  


what is object?

5 Answers   iFlex,


what is debugging testing?

5 Answers  


What are the features and benefits of Quick Test Pro(QTP)?

0 Answers   Crea,


Hi Friends...this is surendra..recently i joined automation team ...Please send me some documents regarding VB script ...and where can i learn VB script... This is My mail id: surendra.mamilla@gmail.com... please send to my mail.... Thanx in advance surendra.

1 Answers  


Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first

2 Answers   Symphony,


How do know the number of browsers opened?

0 Answers  


Categories