18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Select multiple check box
When played a recorded script, it doesn't select the check boxes and the script fails. This is the code generated by recorder to select check box.
_click(_byId("ext-gen251"));
please suggest fix on this issue.
Thanks.
_click(_byId("ext-gen251"));
please suggest fix on this issue.
Thanks.
Comments
Using sahi controller try to check the numeric part of the id (ext-gen251) ie. 251. I doubt that it might be changing dynamically on runtime.
If thats the case you will have to use some other attribute to identify it.
Regards,
Pankaj.
Thanks for your response.
Yes, the numeric part gets changing dynamically on runtime.
Would you please suggest other attribute to identify it.
Thanks.
http://sahi.co.in/w/_span
http://sahi.co.in/w/_spandiv
Or is there a way to predict what the numbering of the checkboxes will be? Can you talk to the developers about it?
Do a view source and try if there is any alternate attribute that you can use to identify the element.
Regards,
Pankaj.