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,522 05-03-2018, 04:08 PM
Last Post: Ankur
  Dynamic obj rep - get text in the class (html) marcio cravo moreira 0 2,123 05-26-2015, 06:58 PM
Last Post: marcio cravo moreira
  Radio Button vinod123 8 10,608 09-25-2014, 12:12 PM
Last Post: vinod123
  Radio Group problem vinod123 4 5,775 09-25-2014, 12:10 PM
Last Post: vinod123
  not identifying the object properties seven 3 2,736 02-18-2014, 04:23 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 2 Guest(s)