Also, please add the following line to your code and let us know what is the output,
page.diagnose("breadcrumb[1].urlLink");
Thanks,
Jian
On Mon, Jan 11, 2010 at 12:04 PM, Jian Fang <[email protected]>wrote:
> Are you using the latest Tellurium core 0.7.0 snapshot after the package
> name change? i.e., org.tellurium to org.telluriumsource?
>
> If not, the demo project is here,
>
> http://aost.googlecode.com/files/santa-algorithm-demo.tar.gz
>
> If yes, are you using the new Tellurium jQuery based APIs?
>
> Anyway, I will try to create a test to reproduce your problem.
>
> 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]>
>> .
>> 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.
