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.
check boxes getting unchecked while continuing to new screen
I am facing with a weird problem of checkboxes getting unchecked when i continue to next page.
In my app i have got 3 checkboxes representing a field(which is mandatory),i have selected all the 3 checkboxes and trying to continue to next page, when i clicked on the continue button, all the checkboxes are getting deselected and a validation error is displayed as "please select the field".
Note : I am facing this issue of checkboxes only when i record and playback the script through SAHI, when i try to select those checkboxes manually and try to continue, it works perfectly and transfers to next screen.
please let me know if anybody have faced similar type issue or help me out in catching the culprit to solve this problem.
In my app i have got 3 checkboxes representing a field(which is mandatory),i have selected all the 3 checkboxes and trying to continue to next page, when i clicked on the continue button, all the checkboxes are getting deselected and a validation error is displayed as "please select the field".
Note : I am facing this issue of checkboxes only when i record and playback the script through SAHI, when i try to select those checkboxes manually and try to continue, it works perfectly and transfers to next screen.
please let me know if anybody have faced similar type issue or help me out in catching the culprit to solve this problem.
This discussion has been closed.
Comments
my app is designed in a proprietary language, i am not a having a sample page which i can reproduce the issue.
Seems to be something specific here. If you can email me, or send me a private message (PM) with a sample web site, it will be useful.
Regards,
Narayan
I think I know what the problem is. Onchange event was not getting triggered for checkboxes on IE.
I have added code for it. Check if it gets fixed by following these instructions.
1) Open sahi/htdocs/spr/concat.js
2) Locate "Sahi.prototype.simulateClick"
3) In that function, replace
with
Let me know if it fixes the issue for you.
Regards,
Narayan
Thank you so much, Your fix worked for me.