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.

_setValue is not filling in values, and does not fail

AbePetrilloAbePetrillo Members
edited March 2012 in Sahi - Open Source
Hi Guys,

I've ran into a problem with _setValue, for some reason, when using _setValue on a textbox, the code runs through successfully but the box is still emtpy, for example:
//does not work
_setValue(_textbox("my_textbox"), "cheese");
//works
_focus(_textbox("my_textbox"));
_setValue(_textbox("my_textbox"), "cheese");

This can be within a script, and sahi does not raise an error, but the textbox is still empty. I've noticed this seems to be when there is other javascript running, such as an animation or a closing dialog.

Has anyone else had an issue with this?

Comments

  • What version of Sahi are you using? Pick up the latest version. This was a problem in Firefox after version 5.
    The latest version is 2011-07-19
  • Thanks for the reply, I'll look in to upgrading, do you know of any bugs in the newer version? Any reason not to upgrade?
Sign In or Register to comment.