Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Identifying radio buttons with same html ID but dynamic webelement properties
#2
Not Solved
Hi,

Approach u have followed is very correct. Instead of adding n no. of objects with different name , just add a single object. To overcome ur problem first count the number of questions in ur web page let say it is stored in a variable vr_QCount

Code:
for i=1 to vr_QCount
Browser("aa").page("aa").webradiogroup("Name:=Question"&i, "html id:= Question_1_id").select
Next

Give it a try and let me know if its works 4 u or not.

Regards,
Sankalp
Reply


Messages In This Thread
RE: Identifying radio buttons with same html ID but dynamic webelement properties - by sshukla12 - 04-20-2012, 11:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to identify a Dynamic WebElement? PreethiJoshi 1 5,212 05-03-2018, 04:08 PM
Last Post: Ankur
  Dynamic obj rep - get text in the class (html) marcio cravo moreira 0 2,057 05-26-2015, 06:58 PM
Last Post: marcio cravo moreira
  Radio Button vinod123 8 10,265 09-25-2014, 12:12 PM
Last Post: vinod123
  Radio Group problem vinod123 4 5,551 09-25-2014, 12:10 PM
Last Post: vinod123
  not identifying the object properties seven 3 2,648 02-18-2014, 04:23 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)