Hi Aurelie,
Why you need Container(uid: "row: *, column: 7", clocator: [tag:
"td", position:"7"])?
If I understand correctly, you need an abstract Container, right?
You can change the above to
Container(uid: "row: *, column: 7"){
}
and then try.
Thanks,
Jian
On Aug 6, 12:40 pm, Aurelie <[email protected]> wrote:
> Hello,
>
> I am new to tellurium and I would like to know how to click on a cell
> of a table :
>
> let's see my definition of ui :
>
> ui.Container(uid: "ConsumersPage", clocator: [tag: "div", id:
> "contenu"]){
> Table(uid:"ConsumersTable", clocator: [tag: "table",
> class: "dataview"], group:"true"){
> Span(uid: "row: 1, column: 1", clocator: [tag: "a",
> text: "%%Nom"])
> Container(uid: "row: *, column: 7", clocator: [tag:
> "td", position:"7"]){
>
> Span(uid: "Clone", clocator: [tag: "span",
> text: "Cloner"])
> Span(uid: "Modify", clocator: [tag: "span",
> text:
> "Modifier"])
> Span(uid: "DeploymentAsk", clocator: [tag:
> "span", text: "%
> %ploiement"], respond: ["click"])
> Span(uid: "UndeploymentAsk", clocator: [tag:
> "span", text:
> "%%retrait"], respond: ["click"])
>
> }
>
> }
> UrlLink(uid: "NewConsumer", clocator: [tag: "a", text:
> "Nouveau consommateur"])
> }
>
> and then in a test I just want to click cell of row 2, column 7
> so I write :
>
> click "ConsumersPage.ConsumersTable[2][7].DeploymentAsk" (that I get
> from dump() method)
>
> but it doesn't seem to work.
>
> Do you have any idea?
>
> Thanks in advance,
>
> Aurelie
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---