Axe Test Automation PlatformGeneral discussion relating to the Axe Test Automation Platform from Odin Technology |
||
Posts by Odin employees marked:
|
Axe 3.3, Webdriver (Selenium2)
The standard Action SeleniumCSharp.ActionMap contains a function 'FindElement' in _testSuffix This function returns a WebDriver WebElement by splitting the object's properties using "=" as the delimiter The problem with this is that when using XPath, there are 2 "=", as in the example below: xpath=//input[@name='SubmitButton'] This results in the xpath being truncated at the second "=" The workaround I have generated is to replace: case "xpath": return driver.FindElement(By.XPath(property[1])); with case "xpath": return driver.FindElement(By.XPath(property[1]+"="+property[2])); Can you please update the standard SeleniumCSharp.ActionMap with either the above, or a different fix? Do you maintain a list of known issues? Probably worth adding this to that list Thanks Mark
Hi Mark,
Thanks very much for this feedback. I will raise a case in our work item system for this and it will be addressed in the next release. We run our development on a principle of fixing known bugs before providing new features, so it will be addressed. Thanks again, Duncan |