jon 0 Posted September 2, 2010 Report Share Posted September 2, 2010 After a Choose Command (will result about 4 items)Is there a way use Click Chosen, but only click 1 item (first or random or index/position) NOTE : a sample could be a page with this code.... very similar forms with just a different data <html><form><input type="hidden" data="First Choice"><input type ="submit" value ="Choose"></form> <form><input type="hidden" data="2nd Choice"><input type ="submit" value ="Choose"></form> <form><input type="hidden" data="3rd Choice"><input type ="submit" value ="Choose"></form></html> ------------choose by attribute value="Choose"now click just one of the chosen item Quote Link to post Share on other sites
MiriamMB 63 Posted September 2, 2010 Report Share Posted September 2, 2010 After a Choose Command (will result about 4 items)Is there a way use Click Chosen, but only click 1 item (first or random or index/position) NOTE : a sample could be a page with this code.... very similar forms with just a different data ------------choose by attribute value="Choose"now click just one of the chosen item Since there are other ways to choose the button, like src, href, outerhtml, etc etc, you might want to look through and find the one attribute that distinguishes the buttons from one another. There is also Choose By Position. That sounds like what you might be looking for. It is in the right click menu, right under choose by attribute. Quote Link to post Share on other sites
jon 0 Posted September 2, 2010 Author Report Share Posted September 2, 2010 Since there are other ways to choose the button, like src, href, outerhtml, etc etc, you might want to look through and find the one attribute that distinguishes the buttons from one another. There is also Choose By Position. That sounds like what you might be looking for. It is in the right click menu, right under choose by attribute. the position changes regularly so it would not be possible.unfortunately, the submit button itself is the same on all the forms...some times, just an INPUT data within the form changes... the quantity of form per page changes regularly. And there are occasions that i need to click ALL the submit button one at a timeClick submit -> wait finish -> return to page -> Click Next Submit -> Return ->etc...But must not click the same button twice. Quote Link to post Share on other sites
JohnB 255 Posted September 2, 2010 Report Share Posted September 2, 2010 the position changes regularly so it would not be possible.unfortunately, the submit button itself is the same on all the forms...some times, just an INPUT data within the form changes... the quantity of form per page changes regularly. And there are occasions that i need to click ALL the submit button one at a timeClick submit -> wait finish -> return to page -> Click Next Submit -> Return ->etc...But must not click the same button twice. Did you change the attribute above where it says "Choose By Attribute"? (It may Say <A> and you can change it to something else like <TD>, etc) 1 Quote Link to post Share on other sites
jon 0 Posted September 3, 2010 Author Report Share Posted September 3, 2010 Did you change the attribute above where it says "Choose By Attribute"? (It may Say <A> and you can change it to something else like <TD>, etc) Yes, tried it. ------- This is not only applicable to this specific sample.. I have encountered other occasions where I just need to click one of the chosen elements. Encountered on links too... My goal is to CLICK the element not to SCRAPE the specific element/s. Quote Link to post Share on other sites
JohnB 255 Posted September 3, 2010 Report Share Posted September 3, 2010 My goal is to CLICK the element not to SCRAPE the specific element/s. I understand. What I meant was sometimes different attributes reveal unique identifiers. Quote Link to post Share on other sites
jon 0 Posted September 3, 2010 Author Report Share Posted September 3, 2010 I understand. What I meant was sometimes different attributes reveal unique identifiers. Thanks, yeah I tried it, but unfortunately no difference at all. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
× Pasted as rich text. Paste as plain text instead
Only 75 emoji are allowed.
× Your link has been automatically embedded. Display as a link instead
× Your previous content has been restored. Clear editor
× You cannot paste images directly. Upload or insert images from URL.