Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Radio Group problem
#1
Solved: 10 Years, 10 Months, 2 Weeks ago
Smile

Code:
set oMyObj = Description.Create
oMyObj("micclass").Value = "WebRadioGroup"
'Set myList = Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(oMyObj)
Set myList = Browser("Hot Remit").Page("Hot Remit").Link("User Types").ChildObjects(oMyObj)
Msgbox myList.Count
For i = 0 to myList.Count-1
     Browser("Hot Remit").Page("Hot Remit").WebRadioGroup("pid").Select "4"
     intItemsCount = myList(i).GetROProperty("items count")
     Msgbox intItemsCount
Next

as the link contains 4 webradiobuttons but it is displaying as 0 what is the reason which i couldn't find out
Reply
#2
Solved: 10 Years, 10 Months, 2 Weeks ago
I doubt if radiobuttons are childitems of link? Could you post the objectspy snapshot for any radio button.
Reply
#3
Solved: 10 Years, 10 Months, 2 Weeks ago
just check the attachment which i uploaded is of the object spy checking the properties of the radiogroup


Attached Files Image(s)
   
Reply
#4
Solved: 10 Years, 10 Months, 2 Weeks ago
Try this,
Code:
Browser("name:=Hot Remit").Page("title:=Hot Remit").WebRadioGroup("id:=menu1").select "1"

Regards,
Ravi
Reply
#5
Solved: 10 Years, 10 Months, 2 Weeks ago
thank you for the reply it helped to sort out my problem which i am facing for years
Reply
Jump to the post that solved this thread.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Radio Button vinod123 8 10,243 09-25-2014, 12:12 PM
Last Post: vinod123
  Identifying radio buttons with same html ID but dynamic webelement properties manishac 12 13,029 05-03-2012, 06:27 AM
Last Post: manishac
  identifying Webradiobuttons in a web radio group swayampadhi88 1 6,378 02-18-2012, 08:53 AM
Last Post: inborntester
  What is the procedure to wait after select the webradio group.? Uma 2 3,773 09-29-2011, 02:07 AM
Last Post: Uma
  Checking Tool tip of field/Image/Radio Button mayur.bidkar 1 3,066 11-13-2008, 05:25 PM
Last Post: mayur.bidkar

Forum Jump:


Users browsing this thread: 1 Guest(s)