VentureOnline 49 Posted April 19, 2012 Report Share Posted April 19, 2012 Hey guys I am attempting to find the row in a table that contains the text from the drop down menu. I am almost positive this is how it is done but for some reason the first item in the drop down works fine but each subsequent item i get an error saying "the cell I've requested is outside the range of the table". My table though has many rows and columns so I don't get how incrementing past "0" would make it out of bounds. Any help would be much appreciated. ui drop down("Sites", $read file("\\\\psf\\Home\\Desktop\\TestBot\\WordpressBot\\Sites.txt"), #SITES) ui button("Login") { clear table(&LOGINS) create table from file("\\\\psf\\Home\\Desktop\\TestBot\\WordpressBot\\Logins.txt", &LOGINS) set(#INCREMENT, 0, "Global") loop while($not($contains($table cell(&LOGINS, #INCREMENT, 0), #SITES))) { increment(#INCREMENT) } navigate(#SITES, "Wait") } Basically in a nutshell after I complete this step I will have it navigate to the site and then use the login information from the found row. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 19, 2012 Report Share Posted April 19, 2012 how is both files setup to run a test. fill login data with fake data that would be present Quote Link to post Share on other sites
VentureOnline 49 Posted April 22, 2012 Author Report Share Posted April 22, 2012 I realized my problem was that I had the comma separated values on separate lines rather then back to back. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 22, 2012 Report Share Posted April 22, 2012 so is this resolved then? 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.