Скачать
Selenium Python | How to use PyTest
Автор: Automation Step by Step
Загружено: 2018-10-04
Просмотров: 81896
Описание:
Free Tutorials - https://automationstepbystep.com/
Selenium Python | PyTest
Hi, I am Raghav & Today we will learn:
What is PyTest
How to install PyTest
How to use PyTest with Selenium scripts
How to run tests using PyTest
test_*.py
*_test.py
Note
File name : test_*.py or *_test.py
Class name should start with Test
https://docs.pytest.org/en/latest/con...
1. Create a simple test script
2. Install Pytestpip install -U pytestpytest --version
3. Rename python file to add test_
4. Create 3 methods: setup, test, teardown
5. Run from terminalpython -m pytestpy.testpytestpytest filenamepytest -v
Fixtures - used to manage tests in PyTest
Function
Class
Module
Session
Note
File name : test_*.py or *_test.py
Class name should start with Test
https://docs.pytest.org/en/latest/con...
ONLINE COURSES TO LEARN
visit - http://automationstepbystep.com/
----------- UI TESTING -----------
Selenium Beginners - https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch - https://bit.ly/2N9xvR6
Selenium Python - https://bit.ly/2oyMp5x
Selenium Tips - https://bit.ly/2owxc50
Selenium Builder - https://bit.ly/2MKNtlq
Katalon Studio - https://bit.ly/2wARFdi
Robot Framework - https://bit.ly/2Px6Ue9
----------- API TESTING -----------
Web Services (API) - https://bit.ly/2MGafL7
SoapUI - https://bit.ly/2MGahmd
Postman - https://bit.ly/2wz8LrW
General - https://bit.ly/2PYdwmV
----------- MOBILE TESTING -----------
Mobile Playlist - https://bit.ly/2PxpeUv
----------- CI | CD | DEVOPS -----------
Jenkins Beginner - https://bit.ly/2MIn8EC
Jenkins Tips & Trick - https://bit.ly/2LRt6xC
Docker - https://bit.ly/2MInnzx
----------- VERSION CONTROL SYSTEM -----------
Git & GitHub - https://bit.ly/2Q1pagY
----------- PERFORMANCE TESTING -----------
JMeter Beginner - https://bit.ly/2oBbtIU
JMeter Intermediate - https://bit.ly/2oziNVB
JMeter Advanced - https://bit.ly/2Q22Y6a
JMeter Tips & Tricks - https://bit.ly/2NOfWD2
Performance Testing - https://bit.ly/2wEXbLS
----------- JAVA -----------
Java Beginners - https://bit.ly/2PVUcXs
Java Tips & Tricks - https://bit.ly/2CdcDnJ
----------- MAVEN -----------
Maven - https://bit.ly/2NJdDRS
----------- OTHERS -----------
Redis- https://bit.ly/2N9jyCG
Misc - https://bit.ly/2Q2q5xQ
Tools & Tips - https://bit.ly/2oBfwoR
QnA Friday- https://bit.ly/2NgwGpw
Sunday Special - https://bit.ly/2wB23BO
Ask Raghav- https://bit.ly/2CoJGWf
Interviews - https://bit.ly/2NIPPxk
All Playlists - https://bit.ly/2LSiezA
----------- Follow -----------
Facebook - / automationstepbystep
Twitter - / automationsbs
Youtube - / automationstepbystep
_______ ONLINE COURSES TO LEARN _______
https://automationstepbystep.com/909-...
Развернуть
Доступные форматы для скачивания:
Похожие видео
array(10) {
[0]=>
object(stdClass)#7114 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "W8C097f6Hcg"
["related_video_title"]=>
string(55) "Pycharm How To Create Virtual Environment For A Project"
["posted_time"]=>
string(19) "6 лет назад"
["channelName"]=>
string(23) "Automation Step by Step"
}
[1]=>
object(stdClass)#7087 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "BURK7wMcCwU"
["related_video_title"]=>
string(60) "Selenium Python Small Sample Project | Page Object Model POM"
["posted_time"]=>
string(19) "6 лет назад"
["channelName"]=>
string(23) "Automation Step by Step"
}
[2]=>
object(stdClass)#7112 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "cHYq1MRoyI0"
["related_video_title"]=>
string(47) "Pytest Tutorial – How to Test Python Code"
["posted_time"]=>
string(19) "1 год назад"
["channelName"]=>
string(16) "freeCodeCamp.org"
}
[3]=>
object(stdClass)#7119 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "KZstMSOHIvQ"
["related_video_title"]=>
string(73) "Pytest Tutorial: Complete Pytest Crash Course In Under 6 Hours (In-Depth)"
["posted_time"]=>
string(21) "2 года назад"
["channelName"]=>
string(10) "LambdaTest"
}
[4]=>
object(stdClass)#7098 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "ZOVHzJEjL-A"
["related_video_title"]=>
string(94) "Касьянов. Чем Путина напугала атака Израиля на Иран"
["posted_time"]=>
string(24) "11 часов назад"
["channelName"]=>
string(29) "Телеканал Дождь"
}
[5]=>
object(stdClass)#7116 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "1kOU-i4jNas"
["related_video_title"]=>
string(68) "Selenium Python Full Course 2025 | Master Web Automation with Python"
["posted_time"]=>
string(19) "1 год назад"
["channelName"]=>
string(31) "Testing Funda by Zeeshan Asghar"
}
[6]=>
object(stdClass)#7111 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "snDSB9b8v_E"
["related_video_title"]=>
string(71) "PyTest Tutorial for Beginners: Complete Guide to Python Test Automation"
["posted_time"]=>
string(21) "4 года назад"
["channelName"]=>
string(13) "Mukesh otwani"
}
[7]=>
object(stdClass)#7121 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "o3tYiyE_OXE"
["related_video_title"]=>
string(46) "Selenium with Python Full Course For Beginners"
["posted_time"]=>
string(19) "6 лет назад"
["channelName"]=>
string(8) "SDET- QA"
}
[8]=>
object(stdClass)#7097 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "rBQArKTn4bs"
["related_video_title"]=>
string(163) "Израиль подставили? Что стоит за ударом по Ирану. Большая игра с США | Александр Артамонов"
["posted_time"]=>
string(23) "8 часов назад"
["channelName"]=>
string(23) "СОЮЗНОЕ ВЕЧЕ"
}
[9]=>
object(stdClass)#7115 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "BT38K6NqETE"
["related_video_title"]=>
string(125) "Эксперт по кибербезопасности о ваших паролях, вирусах и кибератаках"
["posted_time"]=>
string(27) "6 месяцев назад"
["channelName"]=>
string(22) "Раскадровка"
}
}
Pycharm How To Create Virtual Environment For A Project
Selenium Python Small Sample Project | Page Object Model POM
Pytest Tutorial – How to Test Python Code
Pytest Tutorial: Complete Pytest Crash Course In Under 6 Hours (In-Depth)
Касьянов. Чем Путина напугала атака Израиля на Иран
Selenium Python Full Course 2025 | Master Web Automation with Python
PyTest Tutorial for Beginners: Complete Guide to Python Test Automation
Selenium with Python Full Course For Beginners
Израиль подставили? Что стоит за ударом по Ирану. Большая игра с США | Александр Артамонов
Эксперт по кибербезопасности о ваших паролях, вирусах и кибератаках