...
- If the locator is on a frame, you need to define the frame by using the frame XPath. If you have nested frames, you can include the XPath’s for all the frames separated by “;”
- If the widget is on a popup window, you need to include a text or phrase that uniquely identifies that popup (only exists on that popup)
- If you have XPath specific to each type of browser, you can include that under Advanced section of locator and populate XPath in the IE XPath, Safari XPath, etc. These XPath’s have priority over the general XPath identified. The image below shows the Advanced menu which is concealed by default.
For best results with XPath/CSS, you can use our Smart XPath/CSS Generation Engine to generate your XPath values.
5. Click the Save button to save your locator. Once saved, your newly defined locator will show up in the locator listing on the Web Locators screen. In order to see the relevant elements, you can filter them using Key, Web Page, XPath, CSS Selector, Frame, Owner, State, or Popup.
...