Forum Discussion
jfain
12 years agoNew Contributor
Thanks, but this is a dynamically created web page built from a query.
For what we are doing (Lights on), we do not need a specific one. Just need to click one. (perferably the first one) As it is dynamic I do not know what the contents will be or they may change. So find works in this situation but it selects the last one. The test would be more efficiant time wise to stop at the first one found and click it.
I dont know why "Page.Find" wouldnt be designed this way. If I need to go through them all, I would use "Page.FindAll".
Thanks again
For what we are doing (Lights on), we do not need a specific one. Just need to click one. (perferably the first one) As it is dynamic I do not know what the contents will be or they may change. So find works in this situation but it selects the last one. The test would be more efficiant time wise to stop at the first one found and click it.
I dont know why "Page.Find" wouldnt be designed this way. If I need to go through them all, I would use "Page.FindAll".
Thanks again