Hi John,

    I used your definition. I modified a bit to include an InputBox to use the 
'type' method.

Here is my definition of the module.

ui.Container(uid:"writearticle", clocator:[tag:"div", id:"write_step-1"]){
             Table(uid: "article_body_tbl", clocator: [tag: "table", class: 
"mceLayout"]){
                 Container(uid: "row: 1, column: 1"){
                     UrlLink(uid: "toolbuttonq", clocator:[title: "^Jump to 
tool buttons", accesskey: "q"])
                     Table(uid: "article_body_toolbar1", clocator:[:]){
                         //UI elements inside
                     }
                     UrlLink(uid: "toolbuttonz", clocator:[title: "^Jump to 
tool buttons", accesskey: "z"])
                 }
                 Container(uid: "row: 2, column: 1"){
                     Frame(uid: "article_body_ifr", id: "article_body_ifr"){
                         InputBox(uid: "body", clocator: [tag: "p"])
                     }
                 }
            }
         }


My method:

public void typeArticleBodyText(String input){
        type "writearticle.article_body_tbl[2][1].article_body_ifr.body", input
        pause 500
    }


When I call that method in the tescase I am getting the following error.

com.thoughtworks.selenium.SeleniumException: ERROR: Element 
//descendant-or-self::d...@id="write_step-1"]/descendant-or-self::tab...@class="mceLayout"]/tbody/tr[child::td][2]/td[1]/descendant-or-self::p
 not found


Any clue what I am missing?

Regards,

Manoj



----- Original Message ----
> From: Manoj Chavan <[email protected]>
> To: [email protected]
> Sent: Wednesday, August 5, 2009 11:53:49 AM
> Subject: Re: Error while using TrUMP firefox plugin
> 
> 
> Thanks John,
>   Will try it out and let you know.
> 
> Regards,
> Manoj
> 
> 
> 
> ----- Original Message ----
> > From: John 
> > To: tellurium-users 
> > Sent: Wednesday, August 5, 2009 11:07:01 AM
> > Subject: Re: Error while using TrUMP firefox plugin
> > 
> > 
> > Manoj,
> > 
> > You can try the following UI module,
> > 
> > Table(uid: "article_body_tbl", clocator: [tag: "table", class:
> > "mceLayout"){
> >    Container(uid: "row: 1, column: 1"){
> >       UrlLink(uid: "toolbuttonq", clocator:[title: "^Jump to tool
> > buttons", accesskey: "q"])
> >       Table(uid: "article_body_toolbar1", clocator:[:]){
> >           UI elements inside
> >       }
> >       UrlLink(uid: "toolbuttonz", clocator:[title: "^Jump to tool
> > buttons", accesskey: "z"])
> >    }
> >    Container(uid: "row: 2, column: 1"){
> >       Frame(uid: "article_body_ifr", id: "article_body_ifr"){
> >          Container(uid: "p", clocator: [tag: "p"]){
> >            UI elements inside
> >          }
> >       }
> >    }
> > }
> > 
> > For more details on how to use Frame in Tellurium, please read
> > 
> > http://code.google.com/p/aost/wiki/UserGuide?tm=6#Frame
> > 
> > Thanks,
> > 
> > Jian
> > 
> > On Aug 3, 3:20 pm, Manoj Chavan wrote:
> > > I have a similar hurdle. If you can help me define the groovy module will 
> > > be 
> 
> > gr8. Thanks in advance.
> > >
> > > Regards,
> > >
> > > Manoj
> > >
> > > MY HTML SOURCE:
> > >
> > > 
> > > 
> 
> > style="width: 600px; height: 409px;">
> > > 
> 
> > > 
> 
> > > 
> > > 
> > > 
> 
> > cellspacing="0" cellpadding="0" align="">
> > > 
> 
> > > 
> 
> > > 
> > >  
> > > 
> > >  
> > > 
> > > 
> > > 
> > > 
> > accesskey="z" href="#">
> > >  
> > > 
> > > 
> 
> > > 
> > > 
> style="width: 100%; height: 386px;">
> > 
> > 
> xmlns="http://www.w3.org/1999/xhtml";>
> > 
> > 
> id="tinymce" class="mceContentBody" spellcheck="false" dir="ltr">
> > 
> 

> > 
     <<<<<<<<<< !  This is were the text goes 
> 
> ....>>>>>>>>>>
> >
> > 
> > 
> > 
> 
> > 
> > >  
> > > 
> > > 
> > > 
> > > 
> > >
> > > ----- Original Message ----
> > > > From: Vivek 
> > > > To: tellurium-users 
> > > > Sent: Tuesday, July 28, 2009 6:58:20 AM
> > > > Subject: Re: Error while using TrUMP firefox plugin
> > >
> > > > Hey Renuka,
> > >
> > > > Trump doesnt support frames/iframe yet and we are working on that
> > > > feature right now.. If you could send us your html may be we can
> > > > manually generate the UI model for you to continue testing. Also it
> > > > will help with our testing once we have the frames support in Trump.
> > >
> > > > Thanks,
> > > > Vivek
> > 
> 
> 
> 


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