This bug happens with Safari for Iphone web application. Reproduction is simple. Just make your script long enough. About 50or more lines of selenium command. Then it will fail with the following message which does not make sense to me. My code is ok. Never encounter this kind of problem with my python script for other websites built in JSP and dojo.
>>Create a iphone web site
>>Create 50 or more selenium commands in python
>>Run the script with RC in Safari
Error message:
Traceback (most recent call last):
Exception: ERROR: Command execution failure. Please search the forum at http://c
learspace.openqa.org for error details from the log window. The error message i
s: Result of expression 't.replace' [undefined] is not a function.
Error. Exception!!!!
I have tested on XP, VISTA and MAC.
All these environments are showing this error.
On Vista it took more lists of instruction to get this error.
It might be memory leak issue. Maybe Vista has more memory so it took longer to get this issue