Well, I'm using the program following  QTP Descriptive Programming to* *
count the number of radio buttons that have the application.



Set oDesc = Description.Create()

oDesc("micclass").value = "WebRadioGroup"



Set oChild = Browser("New Page 1").Page("New Page 1").ChildObjects(oDesc)

allItems = oChild.Count



For i = 0 to allItems-1

iItemsCount =oChild.Item(i).GetRoProperty("items count")

Browser("New Page 1").Page("New Page 1").WebRadioGroup("R1").Select
DataTable("Num_Corrida", dtLocalSheet)

Msgbox iItemsCount

Next




Then, I want is that we get the number of radio buttons, make a function
that makes you select the last radio button



Help me, please
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to