Thanks a lot Jian. It is working fine now.

On Tue, Jul 20, 2010 at 9:00 AM, Jian Fang <[email protected]> wrote:

> Tested at home and seems it works fine.
>
>
> On Mon, Jul 19, 2010 at 2:09 PM, Jian Fang <[email protected]>wrote:
>
>> I commented out the following two lines to use the default selenium core
>> and seems the test worked.
>>
>>     @BeforeClass
>>     public static void initUi() {
>>         connectSeleniumServer();
>> //        useEngineLog(true);
>> //        useTelluriumEngine(true);
>>         useTrace(true);
>>     }
>>
>> Seems Tellurium new Engine does not handle this scenario properly for the
>> mouseDown and mouseUp event.
>>
>> Also, if I defined the mouseDown and mouseUp events in the respond
>> attribute as follows,
>>
>>       UrlLink(uid: "Ok", clocator: [id: "sc380"], respond: ["mouseOver",
>> "focus", "mouseDown", "mouseUp"])
>>       UrlLink(uid: "Cancel", clocator: [id: "sc381"], respond:
>> ["mouseOver", "focus", "mouseDown", "mouseUp"])
>>
>> The test also worked.
>>
>> The only problem I can see is that the input box sc383 cannot be found
>> sometimes. No sure if the javascript changes
>> the UI dynamically. Need to take a look tonight.
>>
>> Please see the following updated test case
>>
>> org.telluriumsource.ft.SignUpTestCase
>>
>> for more details. Be aware, you need to update the custom selenium server
>> 1.0.1-te4 snapshot from our Maven repo.
>>
>> Thanks,
>>
>> Jian
>>
>>
>>
>>
>> On Mon, Jul 19, 2010 at 9:30 AM, Jian Fang <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Sorry, I was busy with Trump on the weekends and did not have a chance to
>>> look at your problem. I will take a look at it today.
>>>
>>> Thanks for your patience.
>>>
>>> Jian
>>>
>>>
>>> On Mon, Jul 19, 2010 at 8:22 AM, GK <[email protected]> wrote:
>>>
>>>> Hi Jain,
>>>>
>>>> Thanks a lot for your help.
>>>>
>>>> I have tried code on *http*://aost.googlecode.com/svn/trunk/core site,
>>>> but it is not working for me.The "click" or "mouseDown", "mouseUp" are
>>>> still not working.
>>>>
>>>> Did you get any chance to look into this issue.
>>>>
>>>> GK
>>>>
>>>> On Wed, Jul 14, 2010 at 6:55 PM, Jian Fang <[email protected]>wrote:
>>>>
>>>>> I guess the reason is that the form is not a traditional form and all
>>>>> actions are actually
>>>>> controlled by JavaScript events. For instance, the "OK" button may only
>>>>> respond to the
>>>>> "mouseDown" and "mouseUp" events.
>>>>>
>>>>> I wrapped up a test case in Tellurium core for you yesterday and seems
>>>>> it worked.
>>>>> Could you check out tellurium trunk/core at
>>>>>
>>>>> *http*://aost.googlecode.com/svn/trunk/core
>>>>>
>>>>> and run the
>>>>>
>>>>> org.telluriumsource.ft.DisplayTestCase
>>>>>
>>>>> to see what happens?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Jian
>>>>>
>>>>> On Wed, Jul 14, 2010 at 2:53 AM, GK <[email protected]> wrote:
>>>>>
>>>>>> I am trying to automate the sproutcore web application using
>>>>>> Tellurium.  The URL of sproutcore application is:
>>>>>> http://demo.sproutcore.com/signup/
>>>>>>
>>>>>> But the InputBox text "type" and button "click" are not working in
>>>>>> sproutcore for sellenium and Tellurium.
>>>>>>
>>>>>> In selenium, instead of "Click" if i use "mouseDown" and "mouseUp"
>>>>>> then it is working fine.Below is the sample code for selenium.
>>>>>>
>>>>>> selenium.mouseDown("//Xpath.......");
>>>>>> selenium.mouseUp("//Xpath.......");
>>>>>>
>>>>>> I tried similar way in Tellurium also but it is not working.
>>>>>> Please help me how to automate the http://demo.sproutcore.com/signup/
>>>>>> application using Tellurium
>>>>>>
>>>>>> Thanks,
>>>>>> GK
>>>>>>
>>>>>> --
>>>>>> 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]<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]<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]<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