Length limitation of "href" property
-------------------------------------
Key: WT-486
URL: http://webtest-community.canoo.com/jira/browse/WT-486
Project: WebTest
Type: Bug
Environment: platform: winxp
canoo release: 17
Reporter: jye.jane
Attachments: result.rar
Hi,
I want to stores the result of an XPath expression into a property, and use
"invoke" to navigate a particular URL.
The part of test script as follows:
-------------------------------------------------------------------------------------------------------------------------
1: <storeXPath
2: description="Extract href of first link on page"
3:
xpath="//d...@id='list_subpanel_activities']/table/tbody/tr[3]/td[3]/span/a/@href"
4: property="uri"/>
5: <invoke
6: description="Invoke target page specified in href"
7: url="http://localhost/SugarEnt-5.2.0a/#{uri}" />
8: <sleep seconds="5"/>
-------------------------------------------------------------------------------------------------------------------------
1) After it runs, the result xml shows "uri" = "#". It's not right.
2) I think it maybe result from the the length of "href" strings.
When I change the xpath expression that contains relative shorter href
strings, test run ok.
I am not sure if there has length limitation.
If not, please tell me what's wrong.How can I handle this issue.
More info available in attach files
Thx,
Jane
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest