My code:

<input type="text"
       placeholder="Label"
       class="other[] form-control"
       name="projectsurvey[1438590696705][choosekey][1438590696705][]" 
       value="">

Where name projectsurvey[changes][choosekey][changes]

I’m using this to try to the item: xpath("//*[starts-with(@name,'projectsurvey','choosekey')])

The firebug xpath is showing like this :

*[@id="choice1438590696705"]/div/div[1]/div[2]/div/input

and the firebug xpath changes:

[@id="choice143......."]/div/div[1]/div[2]/div/input

How do I find this by xpath

Is there any other way to find this element



Source link https://sqa.stackexchange.com/questions/14098/how-to-find-element-with---in--

LEAVE A REPLY

Please enter your comment!
Please enter your name here