Forum Discussion

mgroen's avatar
mgroen
Frequent Contributor
11 years ago

XPath in Keyword Tests

Hi,

I want to Xpath expressions on difficult-to-find objects, in my Keword tests.



Problem is, I do not know how to incorporate Xpath expressions in Keyword tests.



For example, I want to click on an image on the page, and this image is called "zoom_gif".



In my framework, I use Keyword tests (running Code Snippets whenever is needed).

How can I incorporate the FindChildbyXPath and/or EvaluatebyXpath expressions in my keyword tests, to click on the above mentioned button (image), and try to use as little coding as possible?



Thanks