Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How to locate dynamic id's created for checkbox in webdriver

View previous topic View next topic Go down

How to locate dynamic id's created for checkbox in webdriver

Post by satyajeet on Mon Apr 20, 2015 12:41 pm

I have tried this syntax but couldn't work for dynamic id's. Is there any other way 


dr.findElement(By.xpath("//div[contains(@id,'anchor')]"));

satyajeet

Posts : 4
Join date : 2015-04-20

Back to top Go down

Re: How to locate dynamic id's created for checkbox in webdriver

Post by bhavani on Mon Apr 20, 2015 8:03 pm

Once use with startsWith

bhavani

Posts : 4
Join date : 2015-04-20

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum