Hi John
   I created a test page which shows the problem

 ui.Table(uid:"mytable", clocator: [id:"AUTframe1"]) {
            UrlLink(uid:"all",clocator: [:])
        }

 if (isElementPresent("mytable")) {
            System.out.println("Table with id mytable is present");
        }
  int rows = getTableMaxRowNum("mytable");
        System.out.println("Number of Rows " + rows);

If I do connectUrl(http://localhost/testingframe1.html then the above code
prints 4  but if I connect as http://localhost/testing.html then i get 0.

If I add a frame around the table and then change the id's things work

Regards
Hari



On Wed, Feb 25, 2009 at 9:11 AM, John <[email protected]> wrote:

>
> Is it possible that the ui.Container part still belongs to the main
> window? It may help
> me if you could post the logs, especially the xpaths generated for the
> ui.Container
> and the table.
>
> Thanks,
>
> Jian
>
> On Feb 24, 10:28 pm, Harihara Vinayakaram <[email protected]> wrote:
> > Ok . The frames was the problem . I have a question though . Why do
> things
> > like isElementPresent and ui.Container work . This lead my debugging in a
> > completely different direction.  Is'nt the DOM the same . . I guess this
> is
> > a Selenium feature  / problem
> >
> > Regards
> > Hari
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Attachment: frametest.tar.gz
Description: GNU Zip compressed data

Reply via email to