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

Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1344


Is text area check point supports for web applications?

531


How to call a test from another test?

678


What is a checkpoint? How many check points are there in qtp?

526


What is the difference between a Function and Procedure in QTP?

675






How many types of run modes are there in qtp?

584


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

535


I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)

1456


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3421


How to find operating system information using the qtp script?

582


What is difference between shared and local object repository?

587


Explain qtp(quick test professional)?

576


breef description of batch testing ?

1705


What are the various types of Actions in UFT?

591


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

1504