Skip to content
Vandeputte Brice edited this page Nov 15, 2018 · 8 revisions

Welcome to the geokrety-website-qa wiki!

Good Practices

  • put HTML components locator into functions/ComponentsLocator.robot
  • put each page related functions into functions/PageMYPAGE.robot
  • put common functions into functions/FunctionsGlobal.robot

Tips

IntelliJ

cf IntelliJ

Components locator > determine XPath

In order to get an HTML component XPath in a second, do the following:

  • open the page in google chrome browser
  • right click the element > Inspect
  • right clic on the element code > Copy > Copy XPath

If XPath is just an id, locator could be defined as id=myidentifier, else locator start with xpath=.

Example:

  ${TXT_RUCHY_TIME_MINUTE}     id=minuta
  ${BTN_RUCHY_TIME_NOW}        xpath=//*[@id="prawo"]/form/div[6]/div[3]/div/button
Clone this wiki locally