how to use the _wait() in the sahi script.

627 views
Skip to first unread message

kiran_sahoo

unread,
Mar 3, 2012, 10:27:55 AM3/3/12
to sahi
Hi All,

Can any one give an example of how to modify the sahi script inserting
an wait statement.
When I am trying to do this the script is never executing the wait or
any command after wait .

Regards,
Kiran

Azhaguvel A

unread,
Mar 3, 2012, 12:04:49 PM3/3/12
to sa...@googlegroups.com
Hi Kiran,

Have you written sahi code in java or javascript. May i know that Pls.

Regards,
Azhaguvel.A


--
You received this message because you are subscribed to the Google Groups "sahi" group.
To post to this group, send email to sa...@googlegroups.com.
To unsubscribe from this group, send email to sahi+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sahi?hl=en.


kiran_sahoo

unread,
Mar 3, 2012, 11:43:57 PM3/3/12
to sahi
Hi Azhaguvel,

I have recorded simple gmail login action with sahi and generated the
below script,

_navigateTo("http://www.gmail.com");
_setValue(_textbox("Email"), "xxxxxxx");
_setValue(_password("Passwd"), "xxxxxx");
_click(_submit("Sign in"));
_wait(5000);
_click(_span("xxxxxx"));
_click(_link("Sign out[1]"));


The wait has been added by me to wait for page load.but the script
never executes that while reply.
I have added gmail site in SSL manager.

Regards,
Kiran
Reply all
Reply to author
Forward
0 new messages