Apologies I hit return when i was still composing the message! To be
more specific, this problem only happens if the element doesn't exist
on the page.
Not sure if this is a selenium bug or not, but what seems to be
happening is that isElementPresent is getting stuck in an infinite
loop, presumably because the returned value is null. Exact same tests
are fine in FF and googlechrome. I'm using IE8.
Here are snippets from the engine log.
"Issue Bundle Command "
"[{"uid":"mainColumn.pods.largePodContainer[1].events[1].eventName","args":
["jquery=#podsContainer div.Expander:not(.narrow):eq(0) div.podContent
> table > tbody > tr:eq(0)
td.eventName"],"name":"isElementPresent","sequ":8}]"
"Dispatching command: " Object sequ=8
uid="mainColumn.pods.largePodContainer[1 ..." name="isElementPresent"
args=[1]
"Update argument list for command isElementPresent" Object sequ=8
uid="mainColumn.pods.largePodContainer[1 ..." name="isElementPresent"
args=[1]
"Command after updating argument list: " Object sequ=8
uid="mainColumn.pods.largePodContainer[1 ..." name="isElementPresent"
args=[1]
"delegate command to Selenium" Object sequ=8
uid="mainColumn.pods.largePodContainer[1 ..." name="isElementPresent"
args=[1]
"Delegate Call isElementPresent to Selenium" Object sequ=8
uid="mainColumn.pods.largePodContainer[1 ..." name="isElementPresent"
args=[1]
"JSON presentation of the cache aware locator: "
"{"rid":"mainColumn.pods.largePodContainer[1].events[1].eventName","locator":"jquery=#podsContainer
div.Expander:not(.narrow):eq(0) div.podContent > table > tbody >
tr:eq(0) td.eventName"}"
"Parsed cache aware locator: " Object
rid="mainColumn.pods.largePodContainer[1 ..."
locator="jquery=#podsContainer div.Expander: ..."
"Tellurium Cache option: " false
"Trying to locate the UI element
mainColumn.pods.largePodContainer[1].events[1].eventName with its
locator jquery=#podsContainer div.Expander:not(.narrow):eq(0)
div.podContent > table > tbody > tr:eq(0) td.eventName because cache
option is off" Object rid="mainColumn.pods.largePodContainer[1 ..."
locator="jquery=#podsContainer div.Expander: ..."
>>> console.trace(stack)
function"[object Object]"argumentsundefined
function"[object Object]"argumentsundefined
function"[object Object]"argumentsundefined
"Cannot locate element for uid
mainColumn.pods.largePodContainer[1].events[1].eventName with locator
jquery=#podsContainer div.Expander:not(.narrow):eq(0) div.podContent >
table > tbody > tr:eq(0) td.eventName" null
"Returning found UI element " null
"JSON presentation of the cache aware locator: "
"{"rid":"mainColumn.pods.largePodContainer[1].events[1].eventName","locator":"jquery=#podsContainer
div.Expander:not(.narrow):eq(0) div.podContent > table > tbody >
tr:eq(0) td.eventName"}"
"Parsed cache aware locator: " Object
rid="mainColumn.pods.largePodContainer[1 ..."
locator="jquery=#podsContainer div.Expander: ..."
"Tellurium Cache option: " false
<snip>
"Trying to locate the UI element
mainColumn.pods.largePodContainer[1].events[1].eventName with its
locator jquery=#podsContainer div.Expander:not(.narrow):eq(0)
div.podContent > table > tbody > tr:eq(0) td.eventName because cache
option is off" Object rid="mainColumn.pods.largePodContainer[1 ..."
locator="jquery=#podsContainer div.Expander: ..."
>>> console.trace(stack)
function"[object Object]"argumentsundefined
function"[object Object]"argumentsundefined
function"[object Object]"argumentsundefined
"Cannot locate element for uid
mainColumn.pods.largePodContainer[1].events[1].eventName with locator
jquery=#podsContainer div.Expander:not(.narrow):eq(0) div.podContent >
table > tbody > tr:eq(0) td.eventName" null
"Returning found UI element " null
"Issue Bundle Command " "[{"uid":"","args":
[],"name":"isAlertPresent","sequ":9}]"
"Dispatching command: " Object sequ=9 uid="" name="isAlertPresent"
args=Object
"Command after updating argument list: " Object sequ=9 uid=""
name="isAlertPresent" args=Object
"delegate command to Selenium" Object sequ=9 uid=""
name="isAlertPresent" args=Object
"Delegate Call isAlertPresent to Selenium" Object sequ=9 uid=""
name="isAlertPresent" args=Object
--
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.