Forum Discussion
rraghvani
10 months agoChampion Level 3
Depending on the control, it could be possible. For example, the following date picker control is identified as a table - cells can be stored into an array that represents the dates. Also the date picker may have methods you can call to set a specific date too.
Use the Object Browser to see what the control exposes.
- TestCoeUs133710 months agoOccasional Contributor
Thanks for your reply.. but if it was not for the date picker? For example if I had 5 buttons on the page and want to select third one? Can you do an equivallent of cypress .eq(2)? (starting indexing at 0...)?
- rraghvani10 months agoChampion Level 3
I'm not familiar with Cypress, but same principles apply. In this example, buttons can be accessed via their index value.
Related Content
- 3 years ago
- 2 years ago
Recent Discussions
- 11 hours ago
- 7 days ago
- 10 days ago