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
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
What is the limitation to XML Checkpoints?
what could go wrong with test automation?
give me an example where u used good judgement and logic in solving a problem
What is difference between Recording time object identification and Run time (Execution) time.
can anyone tell me from where i can download qtp demo or crack version
Why bpt?
What does mean by Scope of Automation?n How we defined it?
Explain the features and benefits of quick test pro(qtp)?
What is quicktest professional?
write script for bitmap image?
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
Is it possible to switch between recording modes during a test creation?
Why script error occur in between recording in qtp?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?