etsiosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...section used for settings 1) importing test...
TRANSCRIPT
![Page 1: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/1.jpg)
![Page 2: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/2.jpg)
![Page 3: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/3.jpg)
••
•
•
••
•
![Page 4: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/4.jpg)
![Page 5: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/5.jpg)
•••
![Page 6: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/6.jpg)
•••
••••
![Page 7: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/7.jpg)
••
•••
• …
••
![Page 8: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/8.jpg)
••
•
•
![Page 9: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/9.jpg)
![Page 10: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/10.jpg)
•••••
••
![Page 11: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/11.jpg)
••
•
![Page 12: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/12.jpg)
•
••••••
![Page 13: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/13.jpg)
•sudo apt-get update
sudo apt-get -y install python-osmclient python-osm-im
•pip install haikunator requests robotframework robotframework-requests robotframework-seleniumlibrary
pip list #check installed packages
robot --version #verify installation
•sudo apt-get install lighttpd
sudo vi /etc/lighttpd/lighttpd.conf
- server.document-root <path to Robot framework report output folder- mkdir in /tmp>
- server.port <change to available port-8088>
systemctl restart lighttpd.service
![Page 14: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/14.jpg)
•git clone "https://osm.etsi.org/gerrit/osm/devops"
•••
robot -d robot-systest/reports -i vim robot-systest/testsuitetestsuite/cli/TS02__Test_Vim.robot
•
![Page 15: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/15.jpg)
![Page 16: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/16.jpg)
•
Section Used For
Settings1) Importing test libraries, resource files and variable files.2) Defining metadata for test suites and test cases.
Variables Defining variables that can be used elsewhere in the test data.
Test Cases Creating test cases from available keywords.
Keywords Creating user keywords from existing lower-level keywords
![Page 17: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/17.jpg)
![Page 18: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/18.jpg)
![Page 19: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/19.jpg)
![Page 20: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/20.jpg)
*** Keywords ***Contains keywords commons to your test suite. Keywords declared here can be used anywhere in the suite, even in setup and teardown calls. Keywords settings are: [Documentation] Used for specifying the keyword documentation[Arguments] Specify the keyword arguments[Return] Specify the keyword return value[Timeout] Set the keyword execution timeout (Test fails if timeout is reached)
![Page 21: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/21.jpg)
•wget http://osm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest/packages/robot_scripts.zip
•unzip robot_script.zip
•vi hackfest_test.robot
![Page 22: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/22.jpg)
…
![Page 23: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/23.jpg)
…
![Page 24: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/24.jpg)
•robot -d devops/robot-systest/reports -i vim hackfest_test.robot
![Page 25: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/25.jpg)
••
••
![Page 26: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/26.jpg)
•sudo apt-get updatesudo apt-get install -y unzip xvfb libxi6 libgconf-2-4 curlsudo apt-get install default-jdk
curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -sudo DEBIAN_FRONTEND=noninteractive add-apt-repository -y "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"sudo apt-get -y update
sudo apt-get -y install google-chrome-stable
#Download and install Selenium Chrome driverwget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zipunzip chromedriver_linux64.zip
sudo mv chromedriver /usr/bin/chromedriversudo chown root:root /usr/bin/chromedriversudo chmod +x /usr/bin/chromedriver
![Page 27: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/27.jpg)
…
…
![Page 28: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/28.jpg)
…
…
![Page 29: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/29.jpg)
•robot -d devops/robot-systest/reports -i gui_login_test hackfest_test.robot
![Page 30: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/30.jpg)
![Page 31: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/31.jpg)
Develops/User guide:
http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html
https://github.com/robotframework/QuickStartGuide/blob/master/QuickStart.rst
https://twiki.cern.ch/twiki/bin/view/EMI/RobotFrameworkAdvancedGuide\
https://bulkan.github.io/robotframework-requests/
Editor:
https://pypi.org › project › robotframework-ridehttps://macromates.com/https://github.com/nokia/RED http://www.jetbrains.com/pycharm/
![Page 32: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/32.jpg)
#devops on slack#bi-weekly meeting
https://osm.etsi.org/wiki/index.php/Release_SIX_Integration_(DEVOPS)
![Page 33: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/33.jpg)
Q & A
Thank You
![Page 34: ETSIosm-download.etsi.org/ftp/osm-6.0-six/8th-hackfest...Section Used For Settings 1) Importing test libraries, resource files and variable files. 2) Defining metadata for test](https://reader034.vdocument.in/reader034/viewer/2022050110/5f47cc75e7b22767672f5be3/html5/thumbnails/34.jpg)