How to click on a button with dynamic text as value
Hi,
I am working on automating a web application with Silkuli. As per my test case i need to input some parameters in various control in a web page. Upon filling the input parameters it generate a button with value derived based on the input entered in other controls in the same web page.
<button class="lsb" value="123456" aria-label="Loan Search" name="btnG" type="submit">
In the above html tag 'Value' & 'aria-label' are derived fields based on the input entered in other controls.How do i click on an image with dynamically changing properties using Silkuli?I cannot use click methods directly as value displayed on the button is changing dynamically and find image failes.What is the best way to handle such situation with Silkuli?
Thanks & Regards
Libin Sebastian
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask libin for more information if necessary.