The literal translation, would probably be:
| ensure | do | click | on | //*[contains(text(),’Inventory’)] |
On the other hand, this is quite a generic select. If it is indeed a href with text Inventory, the IDE variant should work as well.
Maybe try a waitFor command, for the same element, before you do the click. At least you’ll know if it is found at all on the page.
| ensure | do | waitForElementPresent | on | //*[contains(text(),’Inventory’)] |
| ensure | do | click | on | //*[contains(text(),’Inventory’)] |
Howdy Xebium Fans,
I'm charged with migrating some selenium java to our fitnesse system using Xebium.
I am stuck on this tab selection
driver.findElement(By.xpath("//*[contains(text(),'Inventory')]")).click();
Xebium IDE claims this is
|ensure |do|clickAndWait|on|link=Inventory|
Which does not work ...
any ideas?
--
You received this message because you are subscribed to the Google Groups "Xebium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
xebium+un...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.