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 / ashutosh

I said as u say..but the person said, u know developer just copy & paste the code. dev never write code 5 times for same buttons. which object property???

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to record application running on the Virtual machine?

647


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

653


How do Parameterization and Data-Driving relate to each other in QTP?

569


In qtp, how you can exit for loop?

534


Explain the difference between data driven testing and parameterization ?

597






i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

1666


How many types of recording modes in qtp?

602


How does QTP identify an object?

622


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

3306


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

1492


Hi All, I need code for how to execute qtp scripts from excell sheet

1471


how did u use automating testing tools in ur job?

1495


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

2811


explain abt dyanamic changing object with example?

1911


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

1356