Page Object Model - Python Selenium with PyTest - Part 1

preview_player
Показать описание
In this video, I have explained the design and how to create UI Automation Framework with PyTest using POM (Page Object Model) design pattern.

Technologies used:
Python 3.x
Selenium WebDriver Python Language binding
PyTest - test framework
Pytest - html report
Pytest-xsld for parallel execution
PyCharm - IDE
Рекомендации по теме
Комментарии
Автор

Was searching from a couple days for an exact video on PyTest Framework and came across this video. Its really very helpful. Now this will help me start creating a framework on my own for my project. Thank you very much Naveen :)

sharatchandra
Автор

Thank you Naveen. It is very insightful. And very helpful for people who don’t understand where to start to build framework.

Ravi-wdrv
Автор

Sir can you please come up with a video over jenkins with Python .I am eagerly waiting for this.

rakeshpatra
Автор

Thank you, you should get more appreciation for this wonderful content..

kankipatiramaraju
Автор

Sir wonderfully explained, is this uploaded to GIT?

indusaptarshi
Автор

tons of thanks, Naveen I was waiting for Python Selenium videos.

singhneeraj
Автор

Hi Naveen, can i use this framework creation style for my current project, or is there any changes that i need to check?

Shanky
Автор

Thanks Naveen for the video series on pytest it helped me a lot for the interview, please make video on how to implement logging in pytest and how to rerun failed testcases

shailajadavangave
Автор

Perfect tutorial. Waiting for the next chapters.

Автор

hi naveen sir, iam getting below error while executing the test

self.loginPage = LoginPage(self.driver)
E TypeError: LoginPage() takes no arguments

salmanmohamed
Автор

Hi Naveen, Nice video. I tried the same flow but getting AttributeError: 'TestLogin' object has no attribute 'driver' in test_login_page method as below. I checked the code syntax and spelling. Everything is fine.
def test_login_page(self):
> self.loginPage = LoginPage(self.driver)
E AttributeError: 'TestLogin' object has no attribute 'driver'


Tried to resolve it but not getting the right resolution to fix it.

praveenvanahalli
Автор

Thanks for the video...Waiting for part2

kesavab
Автор

Hi Naveen sir, I was having 6 years in manual testing . Then have a gap of 2 years . Now searching for a job. I have applied almost 200 applications for manual . Not Even get a single vendor call . In these days, automation are in demand . Can I re start my career with selenium with python or selenium with java . I don’t have programming skills . Pls suggest on this ?

kirthikarajendran
Автор

Dude this is awesome work, you da man!!! I dont care if you talk in hindi .. this is truly exceptional work!!!

raweth
Автор

Super helpful. Thanks a lot for sharing..

dushananuradha
Автор

Hi Naveen,
I'm new to automation and have a doubt.. Having Utility class is good or bad idea.

I know that it helps in reusability.. I have gone through few blogs they say this not to use utility class.
I've also seen your videos saying create utility classes.. I'm bit confused. Please help 🙂

manikantareddy
Автор

Hi Naveen, Thanks for the video. I implemented the same thing you showed, but got an error AttributeError: 'LoginPage' object has no attribute 'driver'. Can you please help me figure out the reason for this

shalininandakumar
Автор

Hi Naveen,
Thanks a lot for the video. I'm looking for this session Pyest using POM
I have a doubt here how to run only failed tests in Pytest??? do we have any package to install to run only specific fail tests wherein Java, we can run by using testng-failed.xml file.
Awaiting for next video :)

maheshbabukandukuri
Автор

Hi Naveen, i just need to udst the way in which we can keep desired capabilities into a setup method and invoke it every time we run our automation?

logeshv
Автор

Why did you override constructor in loginpage class? Because it inherits constructor from basepage

hotgorshok