josette_merhy12
12 years agoOccasional Contributor
NativeWebObject.Find used in IE9 returning a non existing object
Hello,
i have the following html in a page:
<input name="inputname" data-u-id="input.name.test" />
to find this object, I am searching by using the folloing JScript code:
page= Sys.Browser().Page("*");
Mylink = page.NativeWebObject.Find("data-u-id" , "input.name.test", "input");
but Mylink is an empty object.
when i use:
page= Sys.Browser().Page("*");
Mylink = page.NativeWebObject.Find("name" , "inputname", "input");
Mylink is the mentioned object.
how can i use this function to search by data-u-id parameter using IE
i have the following html in a page:
<input name="inputname" data-u-id="input.name.test" />
to find this object, I am searching by using the folloing JScript code:
page= Sys.Browser().Page("*");
Mylink = page.NativeWebObject.Find("data-u-id" , "input.name.test", "input");
but Mylink is an empty object.
when i use:
page= Sys.Browser().Page("*");
Mylink = page.NativeWebObject.Find("name" , "inputname", "input");
Mylink is the mentioned object.
how can i use this function to search by data-u-id parameter using IE