18 January 2026:


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.

cannot replay

ganeshganesh Members
edited November -1 in Sahi - Open Source
I have noticed 2 issues. Please let me know how it can be made to work using sahi.

1) Sahi records the step but when replaying it gives error:cannot find the parameter.
element recorded is: _click(_submit(" "));
Error: Parameter passed to _click was not found on the browser.

I tried using other properties of this element,
_click(_submit("updateImm"));
_click(_submit(0));
but nothing works.

2) Another issue is on the web page there is a phone text field.
This is not recorded by sahi.
I manually added it in the script:
_setValue(_textbox("currentAddressHomePhone"), "12345");

When I replay the value addded in the phone textbox is 112 233 4455.
Phone field changes the format when entering the digits to (112)233-4455.
Each digit is printed twice.
why is it printing twice?

Please let me know how this can be correct.
Appreciate the help.

Thanks!

Comments

  • narayannarayan Administrators
    Hi,

    1) Can you please paste the HTML of the submit button?

    2) We will check why this is happening. Meanwhile, you could use

    _call(_textbox("currentAddressHomePhone").value = "12345");

    This will set 12345 as the value. Use the formatted value if you need that.

    Regards,
    Narayan
Sign In or Register to comment.