Hi,

What does your UI module look like? Does the button need to respond to some
JavaScript event?
If it is, you may need to use the respond attribute to make Tellurium fire
up extra events. More
details on the respond attribute is here:

http://code.google.com/p/aost/wiki/UserGuide070TelluriumBasics#Respond_Attribute:_Events

Thanks,

Jian

On Wed, Jun 9, 2010 at 1:26 PM, Loo <[email protected]> wrote:

> Hi ,
> i'm using tellurium 0.7.0 with the following options:
>        useCssSelector(false);
>        useTrace(true);
>        useTelluriumApi(false);
> Using Safari as the web browser since firefox has a bug on Mac OSX
> 10.6
> at some point i'm calling the following method which is supposed to
> submit a form which doesn't have a <input type="submit" ...> button
> but a regular one which calls a javascript function
> *the code is not mine so i can't change to form to be structured
> properly
> this is the method(located in the module):
> public void doCoursesSearch() {
>    pause 5000
>    click "SearchCourses.SearchButton"
>    waitForPageToLoad 30000
>  }
> Then in the Debug window i do get :
> 20:15:32.660 INFO - Command request:
> getBundleResponse[[{"uid":"SearchCourses.SearchButton","args":["\/\/
> descendant-or-self::*\/descendant-or-self::inp...@type=\"button\" and
> @name=\"search\"]"],"name":"click","sequ":27}], ] on session
> 5d8c851bc5994430a7522318cb4a6e9e
> 20:15:32.696 INFO - Got result: OK,[] on session
> 5d8c851bc5994430a7522318cb4a6e9e
> TE: Name: click, start: 1276103732656, duration: 41ms
> TE: Name: click, start: 1276103732656, duration: 41ms
>
> and the code continues(i get no error or exception)
>
> But in reality the button isn't clicked in the browser.
>
> Any ideas ?
>
> --
> 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]<tellurium-users%[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.

Reply via email to