-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Vandeputte Brice edited this page Sep 27, 2018
·
8 revisions
Welcome to the geokrety-website-qa wiki!
- put HTML element locator into
functions/ComponentsLocator.robot
- put each page related function into
functions/PageMYPAGE.robot
- put common functions into
functions/FunctionsGlobal.robot
In order to find an HTML element 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
- for robot framework, if XPath is complex, it must start with "xpath=", else if this is just an id, it could be defined as id=myidentifier
Add following plugins (File Settings/Plugins):
- IntelliBot
- Robot Plugin (sometime buggy..)
- Python Community Edition
Define **Python SDK **:
- right click on project / Module settings / Platform Settings / SDK's / + Python SDK
Run tests
If you have git bash installed:
- create a `Bash configuration' with following attributes:
Name: test win
Script: tests.win.sh
Interpreter path: C:\Programmes\Git\bin\bash.exe
Working directory: C:\MyWORK\geokrety-website-qa