This question is locked. New answers and comments are not allowed.
Hello,
I am working on automated tests for a couple of months now and I was assigned for testing using WebAii a while back.
A couple of weeks ago I found an issue, which I was investigating since then and nothing worked, so I decided to write about it here.
In our project we are using only finding by XPaths only. Other finding methods do not satisfy our needs. The XPaths work on Chrome, FF, Safari and on Internet Explorer, but on the last one sometimes the Find.ByXpath do not work. Here is the example code.
This code should return html and it does on every browser except on some of the Internet Explorer aspx pages.
On IE finding by ID or by tag index works, only the XPaths don't work. Using other XPaths (for example //a[text()='Your Selection']]) also does not work on some sites, it always returns null.
I would like to ask if someone got the same issue as me and my team are experiencing now? Why does some aspx pages don't work with XPaths on IE and some of them do?
If any additional information is needed I will try to provide that informaion.
With regards,
Kasjan
I am working on automated tests for a couple of months now and I was assigned for testing using WebAii a while back.
A couple of weeks ago I found an issue, which I was investigating since then and nothing worked, so I decided to write about it here.
In our project we are using only finding by XPaths only. Other finding methods do not satisfy our needs. The XPaths work on Chrome, FF, Safari and on Internet Explorer, but on the last one sometimes the Find.ByXpath do not work. Here is the example code.
var s = this.ActiveBrowser.Find.ByXPath("//*");
This code should return html and it does on every browser except on some of the Internet Explorer aspx pages.
On IE finding by ID or by tag index works, only the XPaths don't work. Using other XPaths (for example //a[text()='Your Selection']]) also does not work on some sites, it always returns null.
I would like to ask if someone got the same issue as me and my team are experiencing now? Why does some aspx pages don't work with XPaths on IE and some of them do?
If any additional information is needed I will try to provide that informaion.
With regards,
Kasjan