Check the documentation of waitForElementPresent(uid, timeout) it sounds like
this is what you want.
Note though that if the element does not appear within the timout the method
returns false, no exception is thrown, so I've used the following pattern
throughout my code,
assertTrue('Name inputbox never appeared', waitForElementPresent('myForm.name',
60000))
type 'myName.name', 'Jonathan'
Regards,
Jonathan
On Jan 19, 2011, at 1:27 PM, ghanshyam baheti wrote:
> Hello Team,
>
> We can use 'pause' for loading the component for specified static time value
> we provide. Many times components takes more time to load fist time and then
> afterwords load witihn minimal time.
>
> Is there a way in tellurium where pause time is considered as maximum and
> once component is loaded then immediatly pause call should be ended. This
> will ensure performance boost for us.
>
> Example : we provided pause 5000 and if now component is loaded within 1000ms
> next call should be processed.
>
> Please suggest on this if any approach. Thanks in advance.
>
>
>
> --
> Thanks,
> Ghanshyam Baheti.
>
> -------------------------------------------------------------------
>
> --
> You received this message because you are subscribed to the Google Groups
> "tellurium-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/tellurium-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en.