Part 6 - How to Parametrize test in PyTest (Parameterization)

  Рет қаралды 20,777

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Пікірлер: 25
@GauravSingh-tp7zq
@GauravSingh-tp7zq 5 ай бұрын
Very clear concepts and full of knowledge. I was doing this to import data from DEV and QA servers and compare of count of reports etc… and passing the table list as parametrised fixtures, facing challenges to pass the parameter to DB and get results. Any thoughts please?
@HariKrishnan-cs6cr
@HariKrishnan-cs6cr Жыл бұрын
With latest update, fixture's scope has be set to "function" instead of "class" for parameterization to work. If scope is set for "class", then your driver wont quit and wont trigger the next test.
@prateekkotangale920
@prateekkotangale920 2 жыл бұрын
Thank you for the great video!!!
@kundanlal4199
@kundanlal4199 Жыл бұрын
Please also provide some session on advance Pytest & Fixture
@rameshbabu2104
@rameshbabu2104 3 жыл бұрын
Very clear Naveen
@gtam2294
@gtam2294 3 жыл бұрын
On using self.driver. why methods like find_elements(), title(), find_element_by_, switch_to(), window_handles() and rest are not auto-populating? Its frustrating to write the whole thing when they don't auto populate. Same works without using fixtures and but with conftest and with request.cls.driver = web_driver, they just don't show up. Naveen, do you know why its happening? I am sure you might have also noticed it as you were typing all the methods or either copying from other .py files?
@shankubisai1370
@shankubisai1370 3 жыл бұрын
I think that is a bug with pycharm.I too noticed it.If its not a bug and if i can figure out how to do that I would let u know.
@iMadeThisThat
@iMadeThisThat 3 жыл бұрын
@@shankubisai1370 🙏🏻 let me know if you find a solution to it. After all we’re IDE for a purpose! Otherwise why use Notepad and type all the code lines!!!
@anil26100
@anil26100 2 жыл бұрын
Hi naveen, How to validate the test cases for this scenario. And y did you use that Class?
@soumyajitsatpathy3627
@soumyajitsatpathy3627 2 жыл бұрын
Nice series ❤
@sabataranum5128
@sabataranum5128 2 жыл бұрын
Hi Naveen thank you for the great work your doing, can you please upload a video to integrate selenium python with Azure DevOps Testcases
@spotnuru83
@spotnuru83 6 ай бұрын
thank you for the video but i am unable to parameterize in the test it self, i am getting error inderect fixture does not exist kind
@spotnuru83
@spotnuru83 6 ай бұрын
i referred pytest documentation, we have to give as "num,result" and not "num","result"
@spotnuru83
@spotnuru83 6 ай бұрын
Looks like you have changed it at the later part of the video for class scope fixtures
@automationneemo
@automationneemo 4 жыл бұрын
Hi Naveen, Why don't I get any auto suggestion from Pycharm, when i do self.driver. something in test method? Is there any fix for the above issue?
@Creatingnewlife176
@Creatingnewlife176 Ай бұрын
you need to use self.driver.
@ishan23786
@ishan23786 3 жыл бұрын
I am not able to get past the 5 second hubspot window screen... My code is fine and browsers are launching...But element not found error I'm getting because its unable to go past the 5 second login window..How to resolve?? Please help....I tried Explicit waits but still no resolution...its pinging refresh again and again...
@shankubisai1370
@shankubisai1370 3 жыл бұрын
Even happens with me as as well. I think the website has implemented some mechanism to stop the automation.
@sambeetburma6108
@sambeetburma6108 4 жыл бұрын
Hey Naveen guruji , why u r creating base class . without creating base class isn't it possible
@trinetras1949
@trinetras1949 3 жыл бұрын
Nice content I feel this can be explained within less than 12 minutes.
@kalyanchakri5099
@kalyanchakri5099 4 жыл бұрын
Hi Naveen, please help me how to do Parameterization from reading excel data.
@SingaporeChinnodu
@SingaporeChinnodu 4 жыл бұрын
Following
@m4monzter
@m4monzter 3 жыл бұрын
Fixtures Parameterization Vs Test Parameterization ?!?
@TechPandit-nc8mi
@TechPandit-nc8mi Жыл бұрын
How to join python with Automation full course
Page Object Model - Python Selenium with PyTest - Part 1
45:36
Naveen AutomationLabs
Рет қаралды 92 М.
Part 1: PyTest : Python Test Framework Tutorials
20:37
Naveen AutomationLabs
Рет қаралды 77 М.
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН
Deadpool family by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 3,7 МЛН
ImplicitlyWait - Dynamic Wait in Selenium - Python - Part 11
20:44
Naveen AutomationLabs
Рет қаралды 8 М.
How to test your Python ETL pipelines | Data pipeline | Pytest
11:35
BI Insights Inc
Рет қаралды 14 М.
Part 5 - Create Global Pytest Fixture using Conftest.py file
13:25
Naveen AutomationLabs
Рет қаралды 24 М.
pytest's parametrize (beginner - intermediate) anthony explains #027
12:24
Select Drop Down Values in Selenium Python - Part 4
26:18
Naveen AutomationLabs
Рет қаралды 26 М.
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН