Bob The Builder 62 Posted August 4, 2011 Report Share Posted August 4, 2011 Got my script working that takes a configuration file and processes each entry and scrapes a table and then I need it to process each table to check for information. I don't see many commands for working with tables and the tutorial on tables really only covers writing out to tables and reading them but not really much for processing data. The tables I am scraping are 2-5 rows. I want to create a loop that processes each row (first row is a title row and should be ignored) and checks column two to see if it contains one of two different possible strings. I do not know how many rows will be in the table, but I do know it will have at least one row and one title row (that can be ignored). I assume I create a loop using $table total rows as the cycle count. Create a variable to keep track of which table row I am working on.Then use $table cell to check check each cell I am interested one by one, using the variable to mark what row. Am I on the right track? Quote Link to post Share on other sites
Bob The Builder 62 Posted August 11, 2011 Author Report Share Posted August 11, 2011 Anyone have a second to provide some insight? Quote Link to post Share on other sites
skanck 2 Posted September 20, 2011 Report Share Posted September 20, 2011 bump looking for the same answer here, I think i have loop($table total rows(&thetable)) { navigate("{$table cell(&thetable, #rowcounter, 0)}.html", "Wait") wait(2) increment(#rowcounter) but loops on past the $table total rows number 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.