Forum Discussion
gk1970
15 years agoOccasional Contributor
With ref. to what I said ".I
use this function to loop thro,after getting page and table.First page
is ok,if data is not there,it clicks the Next pagination link,from
there the above error related to tableobj appears"
I did the mistake of getting the page and table and referencing it same when I move to the next page ,so I am checking whether data I want exists after getting again the page and table,I also do a wait and refresh of the page(going by one of your recommendations in a post).
My thought process is ,if the table is not created dynamically(html source doesn't show that),why would one need to create the page and table again to reference the same.Looks like the object is destroyed when it goes to the next page .Just wanted to check this is correct?
And one more thing.. I am trying to write a generic function ,based on data to be found ,it would go thro' paginated records and initiate a click action either on a button/link which can be on any cell on a row.
How do I get that ,unless otherwise I pull up the type specified in an excel? Can this be done like get the cells in that row,based on excel value,then either click the link/button ?Just get the excel value and use Link() / Button() ??
use this function to loop thro,after getting page and table.First page
is ok,if data is not there,it clicks the Next pagination link,from
there the above error related to tableobj appears"
I did the mistake of getting the page and table and referencing it same when I move to the next page ,so I am checking whether data I want exists after getting again the page and table,I also do a wait and refresh of the page(going by one of your recommendations in a post).
My thought process is ,if the table is not created dynamically(html source doesn't show that),why would one need to create the page and table again to reference the same.Looks like the object is destroyed when it goes to the next page .Just wanted to check this is correct?
And one more thing.. I am trying to write a generic function ,based on data to be found ,it would go thro' paginated records and initiate a click action either on a button/link which can be on any cell on a row.
How do I get that ,unless otherwise I pull up the type specified in an excel? Can this be done like get the cells in that row,based on excel value,then either click the link/button ?Just get the excel value and use Link() / Button() ??
Related Content
- 5 months ago
- 2 years ago
- 11 months ago
- 5 years ago
Recent Discussions
- 10 hours ago
- 11 hours ago