Part 4 - PyTest Fixtures with Class Scope || Fixture parameters || PyTest Selenium Test

preview_player
Показать описание
In this video, I have explained the concept of pytest fixtures with class scope.
Learn:
how to create fixtures for different browsers like chrome, Firefox using parameters
how to pass fixture params
Run test cases in parallel mode
generate html reports with fixtures

~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:

Paid courses (Recorded) videos:
Рекомендации по теме
Комментарии
Автор

I have to say this,
This man deserves more. He is much underrated. He deserves more than a million subs. Because he is giving is 100% to make video and share the knowledge.

HATS OFF Sir. You're really a true GURU.
A lot to learn from you and I'm proud to have an online tutor like you and learning from you.

PS: Not even asking to subscribe to his Youtube, only he wants is to share, like, and comment.
Much love
<3 <3 <3

krishnakumar-zbus
Автор

thank you so much naveen for neat explanation of fixtures topic..you are a Gods gift for all automation testers..

kiranemmila
Автор

great explanation...take a bow...conceptual clarity is so good...thanks 3000 times!!

ankitpal
Автор

Hi sir, the way you are explaining the things are awesome.Waiting for AI related testing tools and Airflow testing using pyTest.

tallurivamsi
Автор

Wow!!! I exactly wanted my code to work like this, can't thank you enough Man.

ishratmeher
Автор

You're awesome sir, please keep it up for the new learners !

darshanpatel
Автор

Back to back 2 video wow to good, thanks a lot

ashutoshpratapsingh
Автор

Hi Naveen,
Very good, much awaiting for BDD Framework using pom.xml, password hiding, file handling, data Driven, Exceptions, Captcha & OTP scenario with Python.
Thanks.

sarjeraosandbhor
Автор

yours videoo is awesome. subscribing before subs :D

salafitalk
Автор

Sir can you please also design one robust framework from scratch in future with continuation of this series which would help us by taking complicated examples like image comparison and also texts and banners. Also parallel execution.
Thankyou for wonderful teaching.

prajwalnaresh
Автор

Hi Naveen,

any shortcut can youu suggest to maintain Indentation in PyCharm because I write same code what you writing in same fashion but while running TCs are able to launch.Then I have to compare my code with your GitHub code.
most of the time only difference I observed is Indentation are not aligned.

ashuiet
Автор

Great content. Why didn't you write test methods in BaseClass inself? Why create child class for tests?

atulbahuguna
Автор

Hi, Naveen sir Can you please upload playlists for Appium python concept? especially that powerful Pytest framework from scratch include parallel executions Android and iOS devices with the same fixture method ✌️🙏😊

venkateshr
Автор

How do you manage all the test case in real project ? Du you use unittest to create testsuite or not ?

nguyennguyen
Автор

Hi naveen,
We are going to create fixture in setup method and we initialize the driver also in setup method and we are going to use fixture in our class, but there is no any auto suggestion is coming when I am going to use self.driver.
I have to write explicitly.
Could you please let me know what is the reason behind that Or is i am doing wrong.

kaushalmandal
Автор

Why did you create child and parent classes under the fixture for each browser? Is there some specific value from that?

sviatkey
Автор

is a fixture equivalent to a dataprovider in testng?

adarshabenki
Автор

Why have we created parent class - base class and then written Pass and then created child class and written code? Can't we directly write the code creating a class

prachisakalle
Автор

what is the purpose we have to create the empty class to use fixtures? We can directly use it in test class right? anyone could you please clear it?

vijayakumargopal
Автор

i am not able to see logs in html reprt generated.Can someone help?

mahak