-
An IDE, download PyCharm Community Edition
-
Install the Intellibot Plugin in PyCharm for Robot framework.
Go to File -> Settings -> Plugins -> Search for Intellibot in the plugins marketplace -> Install the plugin -> Restart the IDE.
-
Install Robot framework
pip install robotframework
-
Specify Selenium as an external test library.
pip install robotframework-Selenium2Library
-
Download Webdriver and put it to system path.
For firefox is geckodriver.exe
-
Configure Pycharm IDE to run a Robot Framework test
Settings -> Tools -> External Tools -> + -> Name: Robot-single-test Program: path of robot.exe Arguments: -d results -t $SelectedText$ tests Working directory: $ProjectFileDir$ Settings -> Tools -> External Tools -> + -> Name: Robot-run-testSuite Program: path of robot.exe Arguments: -d $ProjectFileDir$\results $FileName$ Working directory: $FileDir$
-
To use the existing browser
In Cmd cd "C:\Program Files\Mozilla Firefox\ firefox.exe --marionette Use this key word *** Variables *** ${BROWSER} Firefox *** Keywords *** Init Webdriver ${service_args}= Create List --connect-existing --marionette-port=2828 --marionette-host=127.0.0.1 Create Webdriver ${BROWSER} service_args=${service_args} service_log_path=../Results/geckodriver.log
-
Notifications
You must be signed in to change notification settings - Fork 0
silivanxay/e_office_v3_robot_automation_testing
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
e_office_v3_robot_automation_testing
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published