I fixed the problem and the dump method shows the following result for
your UI module,
Dump locator information for chromeDoctorSearchResultsresultstable
-------------------------------------------------------
chromeDoctorSearchResultsresultstable: //descendant-or-self::html:table
[...@id="resultsTable"]
chromeDoctorSearchResultsresultstable[1][1]: //descendant-or-
self::html:tab...@id="resultsTable"]/html:tbody/html:tr[child::html:td]
[1]/html:td[1]
chromeDoctorSearchResultsresultstable[1][2]: //descendant-or-
self::html:tab...@id="resultsTable"]/html:tbody/html:tr[child::html:td]
[1]/html:td[2]
chromeDoctorSearchResultsresultstable[1][3]: //descendant-or-
self::html:tab...@id="resultsTable"]/html:tbody/html:tr[child::html:td]
[1]/html:td[3]
chromeDoctorSearchResultsresultstable[1][4]: //descendant-or-
self::html:tab...@id="resultsTable"]/html:tbody/html:tr[child::html:td]
[1]/html:td[4]
chromeDoctorSearchResultsresultstable[1][5]: //descendant-or-
self::html:tab...@id="resultsTable"]/html:tbody/html:tr[child::html:td]
[1]/html:td[5]
chromeDoctorSearchResultsresultstable[1][5].edit: //descendant-or-
self::html:tab...@id="resultsTable"]/html:tbody/html:tr[child::html:td]
[1]/html:td[5]/descendant-or-self::html:a[normalize-space(text())
=normalize-space("View/Edit Records")]
chromeDoctorSearchResultsresultstable[1][5].summary: //descendant-or-
self::html:tab...@id="resultsTable"]/html:tbody/html:tr[child::html:td]
[1]/html:td[5]/descendant-or-self::html:a[normalize-space(text())
=normalize-space("Summary")]
chromeDoctorSearchResultsresultstable[1][6]: //descendant-or-
self::html:tab...@id="resultsTable"]/html:tbody/html:tr[child::html:td]
[1]/html:td[6]
-------------------------------------------------------
Please download the 0.7.0-snapshot from our Maven repo.
http://kungfuters.org/nexus/content/repositories/snapshots/tellurium/tellurium-core/0.7.0-SNAPSHOT/tellurium-core-0.7.0-20090923.012017-25.jar
Let us know if you have any further problems with the name space.
Thanks,
Jian
> On Tue, Sep 22, 2009 at 8:55 AM, Harihara Vinayakaram <[email protected]>wrote:
>
>
>
> > Hi
> > Given the following UI module definition
> > ui.Table(uid: "chromeDoctorSearchResultsresultstable", clocator: [id:
> > "resultsTable"], group: "true",namespace:"html") {
> > TextBox(uid: "row:*,column:1",namespace:"html") /* CardId */
> > TextBox(uid: "row:*,column:2",namespace:"html") /* First Name */
> > TextBox(uid: "row:*,column:3",namespace:"html") /* Last Name */
> > TextBox(uid: "row:*,column:4",namespace:"html") /*Phone Number */
> > Container(uid: "row:*,column:5",namespace:"html") { /* Operations
> > */
> > UrlLink(uid: "edit", clocator: [text: "View/Edit
> > Records"],namespace:"html")
> > UrlLink(uid: "summary", clocator: [text:
> > "Summary"],namespace:"html")
> > }
> > }
>
> > Following is the XPath generated by the command :
> > getTableMaxRowNum(tableName)
>
> > Command request:
> > getXpathCount[//descendant-or-self::html:tab...@id="resultsTable"]/tbody/tr[child::td]/td[1],
> > ] on session 4cf5394d78244112bbd8393ec00c9cd1
>
> > The correct XPath should be
> > getXpathCount[//descendant-or-self::html:tab...@id='resultsTable']/*html:*
> > tbody/*html:*tr[child::*html:*td]/html:td[1], ] on session
> > 4cf5394d78244112bbd8393ec00c9cd1
>
> > I have used the registerNamespace command . Is there any way to overcome
> > this ?
>
> > 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
-~----------~----~----~----~------~----~------~--~---