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.

"is undefined" error with _setSelected

thornton102thornton102 Members
edited May 2013 in Sahi - Open Source
Here's a simple script that's giving me an error. On my page, when I change the "ou" selection, another set of options loads into the "il" select. The first two lines work fine.

_setSelected(_select("ou"), "some OU option");
_setSelected(_select("il"), "some IL option");
_click(_submit("Submit"));

However, when it gets to the 3rd line, I get this:

'l_0902' is undefined
(<my site>:238)
_click(_submit("Submit"));


I don't know what the "I_" or the ":238" mean, but 902 is the value of the option I select in the "il" dropdown.

Best Answer

Answers

Sign In or Register to comment.