0

i have this web source

<div id="Family">
   <div class="Male">
      <div id="m-1234" class="boy">
      <div id="m-5678" class="boy">
      <div id="m-9012" class="boy">
</div>  

I want to save id starts with 'm-' in array and want to click on these elements in loop using selenium IDE. Much appreciated.

2 Answers 2

1

Try this using while to address 'm-' part

enter image description here

should work :)

0
1

I haven't address the m part but the following will store the id's and may help:

storeAttribute //div[@id='Family']/div[@class='Male']/div[@class='boy'][1]@id var1

As in:

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.