Count the number of radio buttons and randomly select one.

Answer Posted / nandhini

create childobject for radiobutton and get the count. Create random function to generate number in range and select one

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi guys, pls tell me for testing institution training hub, hitech city is best or not?

1326


What is the limitation to XML Checkpoints?

1617


what could go wrong with test automation?

1511


give me an example where u used good judgement and logic in solving a problem

3368


What is difference between Recording time object identification and Run time (Execution) time.

1009






can anyone tell me from where i can download qtp demo or crack version

1629


Why bpt?

603


What does mean by Scope of Automation?n How we defined it?

1584


Explain the features and benefits of quick test pro(qtp)?

523


What is quicktest professional?

566


write script for bitmap image?

1550


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

1352


Is it possible to switch between recording modes during a test creation?

598


Why script error occur in between recording in qtp?

1775


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

511