- Web GUI Tests
- Database Tests
- API Tests
- File System Tests
- Mobile Web & App Tests
pip install --no-cache-dir robotframework
Robot framework report and log generator
robot --version
pip install -U https://github.com/HelioGuilherme66/RIDE/archive/v1.7.2.zip
Note: RIDE depends on wxPython (Mac only)
pip install wxPython==4.0.1
pip install PyPubSub==3.3.0
pip install Pygments
ride.py
Shortcut Key | Function |
---|---|
Ctrl+Space | Get Hint |
pip install robotframework-seleniumlibrary
This is needed by selenium to run in particular browser
https://franz-see.github.io/Robotframework-Database-Library/
pip install robotframework-databaselibrary
For example (mysql):
pip install mysqlclient
(oracle)
pip install JayDeBeApi
https://www.youtube.com/watch?v=BJhBiT2xoK0
pip install robotframework-sshlibrary
Remark: For Mac user, if you import the SSHLibrary in your test suite, make sure the robot is running in 64 bit python
https://pypi.org/project/robotframework-seriallibrary/
pip install pytest-runner
pip install robotframework-appiumlibrary
npm install -g appium
To be confirmed
http://appium.io/downloads.html https://www.youtube.com/watch?v=IOSUBda2-g4 Through the appium desktop, it is easy to inspect the UI element for testing
https://developer.android.com/studio/run/
$ANDROID_SDK/tools/bin/uianimatorviewer
brew install carthage
https://wiki.genexus.com/commwiki/servlet/wiki?34616,HowTo%3A+Create+an+.ipa+file+from+XCode,
For local testing, instead of exporting the .ipa file, the .app file is the alternative to start the app. For example
Variables are case-insensitive
${MYVARIABLE}
@{MYLISTVARIABLE}
@{MYLISTVARIABLE}[0]
@{MYLISTVARIABLE}[1]
&{MYDICTVARIABLE}
key1=value1
key2=value2
&{MYDICTVARIABLE}[key1]
%{HOME}
%{USER}
http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html
${TEST NAME}
@{TEST TAGS}
Keywords | Descriptions |
---|---|
Open Browser | |
Input Text | |
Input Password | |
Click Button | |
Close Browser | |
Log To Console |
- Custom keywords
Available in TestCase and TestSuite
robot SuiteFile
robot -t Test1 -t Test2 SuiteFile
robot -i Tag1 -t Tag2 SuiteFile
robot -i T* SuiteFile
robot -e T* SuiteFile
robot -d Results SuiteFile
https://www.youtube.com/watch?v=EF7GHvN5KwU
Copyright © 2018 Alex Choi