코스 개요
Python으로 Selenium을 활용한 웹 애플리케이션 테스트 소개
- 웹 테스트를 위한 Selenium의 이유
- 테스트 자동화에 대한 Python의 장점
- Selenium과 Python의 실제 사용 사례
설치 및 설정
- Python 및 IDE (PyCharm, VS Code) 설정
- Selenium 및 WebDrivers 설치
- Pytest를 테스트 러너로 구성
Selenium 4 아키텍처 및 구성 요소
- Selenium IDE: 빠른 기록 및 재생
- Selenium WebDriver: 브라우저 자동화 API
- Selenium Grid: 병렬 및 분산 테스트
자동화를 위한 Python 스크립팅 기본 사항
- 테스터를 위한 Python 기본 사항
- 테스트 스크립트에서 데이터 구조 작업
- Pytest를 사용하여 주장 및 고정 장치 사용
WebDriver 실습
- 웹 애플리케이션 탐색
- 요소 위치: 로케이터, CSS 선택기, XPath, 상대 로케이터
- 폼, 알림, iframes, 드롭다운과의 상호작용
Page Object Model (POM) 프레임워크 설계
- POM 소개
- 재사용 가능한 페이지 클래스 구축
- 데이터 기반 및 키워드 기반 테스트 구현
고급 테스트 자동화
- 여러 브라우저에서 테스트 실행
- Selenium Grid 및 Pytest-xdist를 사용한 병렬 테스트
- 크로스 브라우저 테스트 전략
지속적 통합 및 보고
- Jenkins, GitHub Actions 또는 GitLab CI와 테스트 통합
- Allure 또는 Pytest-html로 보고서 생성
- Git을 통한 버전 관리 및 최선책
문제 해결 및 최선책
- 로케이터, 대기 및 동기화와 관련된 일반적인 문제
- 불안정한 테스트 안정화
- 유지보수 가능한 테스트 스위트 최선책
요약 및 다음 단계
요건
- 기본적인 Python 프로그래밍 경험
- 테스트 자동화 개념에 대한 기본 지식
- 웹 애플리케이션과 브라우저에 대한 익숙함
대상
- 테스터
- 개발자
- QA 자동화 엔지니어
회원 평가 (5)
좋은 관계, Łukasz는 모든 사람의 질문에 시간을 할애했고 문제가 있는 사람을 도울 수 있었습니다.
Kelly Morris - Titian Software Poland Sp. z o.o.
코스 - Selenium WebDriver in C#
기계 번역됨
우리 프로젝트에서 사용하는 것과 더 유사한 데이터를 사용하여 더 실용적인 연습을 할 수 있다는 사실(래스터 형식의 위성 이미지)
Matthieu - CS Group
코스 - Scaling Data Analysis with Python and Dask
기계 번역됨
I thought the trainer was very knowledgeable and answered questions with confidence to clarify understanding.
Jenna - TCMT
코스 - Machine Learning with Python – 2 Days
Very good preparation and expertise of a trainer, perfect communication in English. The course was practical (exercises + sharing examples of use cases)
Monika - Procter & Gamble Polska Sp. z o.o.
코스 - Developing APIs with Python and FastAPI
Trainer is nice. His explanation is clear and interesting. He try to make the lessons interesting as possible. I enjoyed the lesson and gained a lot of knowledge. Thank you so much. The most useful technique I learned is the locating elements for different web component like textbox, radio buttons and buttons. Sometimes, the element ID is not capture correctly. We learned a different way of locating elements by using CSS selectors, XPath, Name and ID. I like the explanation. Thanks