I have a table like this
<table id="xyz">
<tbody>
<tr>
<th>one</th>
<th>two</th>
<th>three</th>
</tr>
</tbody>
<tbody>
<tr>
<td><div class="abc">some text</div></td>
<td><input class="123" /><br/>
<div class="someclass">
<span class="x">some text</span><br/>
<a href="#">link</a></div>
</td>
</tr>
</tbody>
</table>
Then, I define my UI like this:
Container(uid: "myTbl", clocator: [:]) {
Table(uid: "headerTbl", clocator: [tbody: [position: "1"]]) {
TextBox(uid: "header: 1", clocator: [:])
TextBox(uid: "header: 2", clocator: [:])
TextBox(uid: "header: 3", clocator: [:])
}
Table(uid: "bodyTbl", clocator: [tbody: [position: "2"]]) {
TextBox(uid: "row: *, column: 1", clocator: [:])
Container(uid: "row: *, column: 2", clocator: [:]) {
InputBox(uid: "box1", clocator: [class: "123"])
Container(uid: "c1", clocator: [class: "someclass"]) {
}
}
}
}
My problem is when i use isElementPresent to check for the object, it
fails to find the container containing the objects on my second TD.
It finds everything else including the input box on the second td.
So, I refer to the objects like this:
"myTbl.bodyTbl[1][2].box1" --> this will find the input box
"myTbl.bodyTbl[1][2].c1" ---> this says cannot find the container
'c1'
my goal is to work with the objects contained by 'c1'. But, if it
fails to find the container, cannot move forward.
--
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.