|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Ajax DWR and paginationI have a webpage
that loads data using pagination. There is a drop down that is used to
display the number of rows you want to see. If I use the IE developer
toolbar I can see that the id for the drop down is 'results' but when I try to
attach to the drop down using webtest it is not found. I even tried just
verifying the xpath using xpath="//input[@id='results']" and
xpath="//select[@id='results']" and it can't find it. Has anyone had this
problem? Does anyone have any ideas? The code that inserts the
pagination is below:
//<![CDATA[
jsInsert("/js/dynamic_list.js", function(){
setTimeout(function(){
replaceIcon("branchesTable_name", "asc");
regulateSort(document.getElementById("branchesTable"), true, "branchesTable_name", "asc");
}, 100);
});
//]]>
|
|
|
Re: Ajax DWR and paginationHi, try to use just //*[@id='results'] as xpath...
Hope this help, regards. 2008/9/15 Soula, William <wsoula@...>
|
|
|
RE: Ajax DWR and paginationHi Marta, I get the same error, “no element
found with xpath “//*[@id=’results’]”. Any other ideas? Thank you! ~Lily From:
webtest-admin@... [mailto:webtest-admin@...] On Behalf Of Marta Ceprini Hi, try to use just //*[@id='results']
as xpath... 2008/9/15 Soula, William <wsoula@...> I have a webpage that loads data using pagination. There
is a drop down that is used to display the number of rows you want to
see. If I use the IE developer toolbar I can see that the id for the drop
down is 'results' but when I try to attach to the drop down using webtest it is
not found. I even tried just verifying the xpath using
xpath="//input[@id='results']" and
xpath="//select[@id='results']" and it can't find it. Has
anyone had this problem? Does anyone have any ideas? The code that
inserts the pagination is below: //<![CDATA[jsInsert("/js/dynamic_list.js", function(){setTimeout(function(){replaceIcon("branchesTable_name", "asc");regulateSort(document.getElementById("branchesTable"), true, "branchesTable_name", "asc");}, 100);});//]]> |
| Free Forum Powered by Nabble | Forum Help |