robot framework
로봇 프레임웍 설치(RIDE)
닉네임f
2017. 3. 14. 12:00
[설치]
- Python 2.7.* 설치
https://www.python.org/downloads/>(Path 설정)
64bit용 Windows x86-64 MSI installer 설치
- WxPython 설치 (GUI tool)
(Python 버전확인 및 unicode 버전으로 설치)
- PyCrypto 설치 (파이썬 데이터 암호화)
(Python 버전 확인)
pip install pycrypto 로설치
- Robot Framework 설치
(Python경로>pip install robotframework or 관련 사이트에서 다운로드)
- Robot Framework-ride 설치
(Python경로>pip install robotframework-ride)
- 필요한 Library 설치
(Python경로>pip install library명)
http://robotframework.org/>라이브러리 참고
- pip list 로 설치파일들 확인 가능
테스트 케이스 작성 가이드
*** Settings *** | ||||
Library | Collections | |||
Library | RequestsLibrary | |||
*** Test Cases *** | ||||
Get Requests | ||||
Create Session | github | http://api.github.com | ||
Create Session | http://www.google.com | |||
${resp}= | Get Request | / | ||
Should Be Equal As Strings | ${resp.status_code} | 200 | ||
${resp}= | Get Request | github | /users/bulkan | |
Should Be Equal As Strings | ${resp.status_code} | 200 | ||
Dictionary Should Contain Value | ${resp.json()} | Bulkan Savun Evcimen |