In web page there is five OK buttons available, while
recording i click on 3rd OK button, How QTP identify the 3rd
OK button while running script? Is qtp identify 3rd ok button?

Answer Posted / tvs ramakrishna chowdary

ur having answer in ur question only..ur telling that 3rd
ok button this 3rd is nuthing but index of that button..
but here small change index nos atart form 0,1,2.....and so
on

ex:browse(browser).page(page).webbutton
("name:=ok",index:=2").click

than it understoods that third ok button


or by Creation time:
----------------------------

ex:browser(browser).page(page).webbutton
("name:=ok","creationtime:=2")

than our qtp understoods that 3rd ok button

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Key word driven framework

1874


How to use debug tools?

2385


What are the views available in quicktest professional (qtp)?

771


when to start the automation?

1641


Can you write a script to check if the folder exists or not?

696






Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

1619


How to analyzing the checpoint results?

691


is there any addin for remedy user application

1931


How often were they executed?

2210


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.

1700


For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

1928


Did the scripts need lot of maintenance? If yes, why?

3504


What test you perform mostly? Regression or retesting in your testing process?

757


What test cases can you automate using QTP?

819


What are the types of object repositories? Which one is you using?

816