No, you cannot put pauses and waitForPageLoad everywhere. I guess that might
be the root cause of the problem.

Thanks,

Jian

On Mon, Feb 1, 2010 at 12:33 PM, Pascal Gandilhon <
[email protected]> wrote:

> *Did you put waitForPageLoad or other wait operation there?*
>
> Yes I put pauses and waitForPageLoad everywhere ;-))
>
> *Or this happened inside the open URL method?*
>
> *This happens  in the connectUrl method*
> *
> *
> *regards, Pascal
> *
> 2010/2/1 Jian Fang <[email protected]>
>
>> BTW, I searched the web and this might be a regular Javascript problem.
>> For example, this post
>>
>>
>> http://www.coderanch.com/t/122834/HTML-JavaScript/document-body-null-or-not#606782
>>
>> indicated that "You are calling it before the window is fully loaded." and
>> the solution is "If you detect it null, than use a setTimeout and call it
>> again. Repeat until loaded."
>>
>> Did you put waitForPageLoad or other wait operation there? Or this
>> happened inside the open URL method?
>>
>> Thanks,
>>
>> Jian
>>
>> On Mon, Feb 1, 2010 at 11:43 AM, Pascal Gandilhon <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> thanks for your quick answer. Nothing particular in the logs.....the
>>> message is a popup alert on ie.... sorry if I wasn't clear about that. I
>>> joigned a screen capture. I tried with serveral Tellurium version, now I'm
>>> on the latest Snapshot.
>>>
>>> regards,
>>>
>>> Pascal
>>>
>>>
>>> 2010/2/1 Jian Fang <[email protected]>
>>>
>>> Hi Pascal,
>>>>
>>>> Are you using Tellurium 0.7.0 latest snapshot? If you are, please do me
>>>> a favor. First put a break point before where the problem happened in your
>>>> test code,
>>>> then turn on the Engine console logging by adding the following call to
>>>> your code,
>>>>
>>>> useEngineLog(true)
>>>>
>>>> or click on the Tellurium logging button on the testing page. More
>>>> details here:
>>>>
>>>> http://code.google.com/p/aost/wiki/Tellurium070Update#Engine_Logging
>>>>
>>>> Please also put a breakpoint at the @AfterClass method in the base test
>>>> class so that you can check the console logging before the browser is
>>>> killed.
>>>>
>>>> You should see some error messages there. If you click on the error
>>>> message,  you should see some stack trace. Please post all the logging
>>>> messages and stack trace here.
>>>>
>>>> Thanks in advance,
>>>>
>>>> Jian
>>>>
>>>> On Mon, Feb 1, 2010 at 5:04 AM, Pascal Gandilhon <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Jian,
>>>>>
>>>>> it seems there is a problem on ie 6 and 7 with some webPages based on
>>>>> Jquery :
>>>>>
>>>>> using single Window mode (i.e. useMultiWindow = false on
>>>>> TelluriumConfig.groovy) wich is default property, I have this warning :
>>>>>
>>>>> 'document.body' is null or not an object
>>>>>
>>>>> The only way I found to solve this problem was to use multi windows
>>>>> mode (useMultiWindow = true on TelluriumConfig.groovy) , wich is not a 
>>>>> very
>>>>> big problem for me.
>>>>> I just passed several hours to find this issue and didn't find any help
>>>>> on the web about this, so I'm posting this message if it can save time to
>>>>> the next one..... or if someone knows another issue.
>>>>>
>>>>> regards,
>>>>>
>>>>> Pascal
>>>>>
>>>>>
>>>>>
>>>>>  --
>>>>> 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]<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