일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
- Flutter
- 티스토리챌린지
- 다트언어
- qaautomation
- robotframework
- 플러터
- 다트기초문법
- 테스트자동화
- 로봇프레임워크
- playwright
- 오블완
- Swift5
- 야곰스위프트
- 테스트오토메이션
- testautomation
- 테킷앱스쿨
- 다트기본문법
- 파이썬자동화
- 스위프트
- dartlang
- pythonautomation
- Python
- DART
- 스위프트프로그래밍
- QA자동화
- ios개발
- SWIFT
- 다트
- iOS프로그래밍
- 스위프트개발
- Today
- Total
목록robotframework (6)
day_by_day

id, pwd와 같이 모든 Test Case에서 사용하는 정보들은 resources file에 모아서 작성한다. resource 파일과 test파일의 다른점 : 리소스 파일은 테스트 케이스 섹션을 갖지 않는다.경로에 맞춰 settings에 Resources 폴더 위치를 작성한다.- 장점: 로그 내용을 변경하고 싶을 때 Resource 파일만 변경하면된다.(When I want to modify something log, I only modify resource file. )#resources.robot*** Settings ***Library OperatingSystem*** Variables ***${my_var} my test variable${second_var} ..

1. Keyword Section 기본 사용1*** Settings ***Documentation This is my first test caseLibrary OperatingSystemLibrary Collections*** Keywords ***Log My Username Log ${DICTIONARY}[username]Log My Password Log ${DICTIONARY}[password]Log Username And Password 1 Log ${DICTIONARY}[username] Log ${DICTIONARY}[password]Log Username And Password 2 ..

3 type of Variables - simple variable ${my_var}- List @{LIST} index0 index1 index2 index3- Dictionary. &{DICTIONARY} *** Settings ***Documentation This is my first test caseLibrary OperatingSystemLibrary Collections*** Keywords ****** Variables ***${my_var} my test variable${second_var} this is second@{List} test1 test2 test3 test4&{DICTIONARY} ..

1. 테스트 실행: in order to launch execution test- robot Tests/TestCase1.robot- robot Tests# 실행결과 생성되는 파일들Output: /Users/kokori/PycharmProjects/robotProject/output.xmlLog: /Users/kokori/PycharmProjects/robotProject/log.htmlReport: /Users/kokori/PycharmProjects/robotProject/report.html결과 파일2. 모든 테스트 케이스는 독립적으로 실행된다. - 실행순서의 의존성을 갖지 않는다. - 랜덤 실행가능하다robot --randomize All Tests- [tags]를 이용해 일부 범위만 ..

로봇프레임워크에서 테스트케이스를 정의하고 구현하기 위해 선언해야하는 영역(section)들이 있다. 이를 테스트 데이터 섹션 또는 테스트 데이터 영역이라고 한다. 앞선 샘플 코드에서 보았듯 로그를 찍는 정도의 수준에서는 Settings와 Test Cases만 있으면 된다. 1. settings- 라이브러리를 선언하는 곳이다. 라이브러리 이외 다양한 값들을 설정할 수 있다. ex)Documentation2. keywords- 로봇프레임워크는 Keyword-driven 형태이기 때문에 우리는 스크립트에서 실행시킬 키워드를 생성해야한다.- 키워드란 keyword는 특정 작업을 실행하거나 특정 작업을 정의하는 라인이다.link: https://robotframework.org/robotframework/#sta..

현재 웹서비스의 테스트 자동화 업무를 담당하고 있다.모바일 플랫폼으로 서비스가 확장될 수 있어서 이에 대한 자동화 작업환경을 고민하던 중, 로보 프레임워크를 추천받았다. 마땅한게 없으면 레퍼런스가 비교적 많은 Appium을 선택하려했는데, 추천해주신분이 정말 구현경험 자체가 너무 좋은 프레임워크라며 추천 또 추천을 해주셔서 바쁜일이 끝나고 리서치를 시작했다.그런데 한국어 자료는 물론 생각보다 해외 레퍼런스들도 많지 않았다. 다행히 공식문서와 가이드가 꼼꼼하게 잘 작성된 편이라 따라하면서 설치 & Demo해봤다.본디 모든 업무의 시작은 환경설치랬어 ... ㅋㅋㅋㅋㅋㅋㅋ 1. 참고한 사이트 - 공식홈페이지 공식홈페이지의 하단부에 여러개의 sample 프로젝트들을 돌려볼 수 있어서 직관적으로 사용법이 다가온다..