The attribute locator in Engine was changed and broke you code. I just fixed
it and please update your custom selenium server from our Maven
repo or download it directly from here,

http://maven.kungfuters.org/content/repositories/thirdparty/org/seleniumhq/selenium/server/selenium-server/1.0.1-te2/selenium-server-1.0.1-te2.jar

Really appreciate your feedback and please let us know if you have any
further problems.

Thanks,

Jian

On Tue, Jan 12, 2010 at 4:31 AM, ChrisW-UK-78 <[email protected]>wrote:

> Thanks for the rapid response Jian. The problem with isElementPresent
> is now fixed but I am having problems with the getAttribute method
> now:
>
> page.getAttribute("breadcrumb[1]","class")
>
> previously returned "first", now it throws an SeleniumException and in
> the logs I get:
>
> # error(1263288556649): Unexpected Exception: too much recursion
> # error(1263288556665): Exception details: message -> too much
> recursion, fileName ->
> http://localhost:4450/selenium-server/core/scripts/json2.js,
> lineNumber -> 331, stack -> str("AEGON",[object XPCCrossOriginWrapper])
> @http://localhost:4450/selenium-server/core/scripts/json2.js:331 str
> ("e",[object Object])@http://localhost:4450/selenium-server/core/
> scripts/json2.js:331<http://localhost:4450/selenium-server/core/%0Ascripts/json2.js:331>str("pageTracker",[object
>  XPCCrossOriginWrapper])
> @http://localhost:4450/selenium-server/core/scripts/json2.js:331 str
> ("e",[object Object])@http://localhost:4450/selenium-server/core/
> scripts/json2.js:331<http://localhost:4450/selenium-server/core/%0Ascripts/json2.js:331>str("pageTracker",[object
>  XPCCrossOriginWrapper])
> @http://localhost:4450/selenium-server/core/scripts/json2.js:331 str
> ("e",[object Object])@http://localhost:4450/selenium-server/core/
> scripts/json2.js:3<http://localhost:4450/selenium-server/core/%0Ascripts/json2.js:3>
>
>
>
>
> "Are you using the latest Tellurium core 0.7.0 snapshot after the
> package
> name change? i.e., org.tellurium to org.telluriumsource? "
>
> "If yes, are you using the new Tellurium jQuery based APIs?"
>
> Yes I am using the latest snapshot. I have tried the tests with and
> without the jQuery APIs (useTelluriumApi(true/false) ).
>
>
>
> On Jan 11, 9:26 pm, Jian Fang <[email protected]> wrote:
> > It was a bug in Core when it parses the return value. It has been fixed
> now.
> > Please update your core from our Maven repo or directly download it from
> > here,
> >
> > http://maven.kungfuters.org/content/repositories/snapshots/org/tellur...
> >
> > Let us know if you have any further problems.
> >
> > Thanks,
> >
> > Jian
> >
> > On Mon, Jan 11, 2010 at 11:54 AM, ChrisW-UK-78
> > <[email protected]>wrote:
> >
> >
> >
> >
> >
> > >>> Hi,
> >
> > >>> I have just moved our test project onto the 0.7.0 snapshot (to allow
> > >>> the selenium timeout to be specified in the config file). This has
> > >>> caused the isElementPresent command in our tests to stop working,
> > >>> other commands such as getText work with the same Uid's so the
> element
> > >>> and Ui definition seem be correct:
> >
> > >>> page.isElementPresent("breadcrumb[1].urlLink")    <-- returns false,
> > >>> used to return true
> >
> > >>> page.getText("breadcrumb[1].urlLink")       <--- returns 'Home' as
> > >>> expected
> >
> > >>> The ui definition is:
> >
> > >>>                ui.List(uid:IncludeName(),clocator: [tag: "ul",
> > >>> id:"breadcrumb"])
> > >>>                {
> > >>>                        Container(uid: "all", clocator: [tag:"li"])
> > >>>                        {
> > >>>                                UrlLink(uid: "urlLink", clocator:
> [tag:
> > >>> "a"])
> > >>>                        }
> > >>>                }
> >
> > >>> Where IncludeName()   is "breadcrumb" in this case.
> >
> > >>> Any help gratefully received.
> >
> > >>> Chris
> >
> > >>> --
> > >>> 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]>
> <tellurium-users%2bunsubscr...@­googlegroups.com>
> > >>> .
> > >>> 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