Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

Unable to click SIGN IN button on sahi during playback

Gaurav7026Gaurav7026 Members
edited May 9 in Sahi - Open Source
I have created a login-logout script where user have to click SIGN IN button to go inside the application. Following is my script-

_setValue(_textbox("userName"), "****");
_setValue(_password("password"), "****");
_setValue(_textbox("captcha"), _prompt("Enter captcha manually"));
_click(_submit("sign in"));
_click(_span("09-05-2019 11:34:58arrow_drop_down"));
_click(_link("exit_to_appSign Out"));
_click(_button("Sign Out"));

But during playback my scripts fails at step 4. It is unable to click on SIGN In button. I tried using Cltr+mouse hover on SIGN IN button but accessor value was also same as that of _click(_submit("sign in")). Therefore unable to proceed further. Further details which may prove helpful in suggesting the solution-

Sahi OS 5.1

Version: 5.1
Build: 2016-10-05 15:02:57

Browser

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0
Name: Mozilla Firefox
Version: 5.0 (X11)
Native XmlHTTPRequest: true
Is Java enabled: false
Is cookie enabled: true

Operating System

Name: Linux
Version: 4.15.0-43-generic
Architecture: amd64
Is process list available: true

Can anyone please help.?
Sign In or Register to comment.