Selenium Framework - Part 44 - Create Driver Factory - Encapsulate the logic of Browser Invocation

preview_player
Показать описание
Hi All,

In this video, I tried to explain about the below topics,

Recap of using RemoteWebDriver.
What is the problem with the current implementation of Driver class?
Fixing the issues in the Driver class.
Exception Handling in DriverFactory class. Is that a good approach?

****************

Why docker in Test Automation?

**************

Virtualization Vs Containerization

**************

WebDriverManager:

*************

Enum:

***********

Custom Exception:

Рекомендации по теме
Комментарии
Автор

if someone is facing issue with docker container with browser crashing, then start your docker container with shared memory of 2g
eg; docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g"

ajitcs
Автор

Bro....for interview In real time people are asking oops concept on the project itself... ...where you adopting oops techniques .
Can you pick a frame work and explain where and where oops concepts are utilising. ## helpful to minibytes followers

kranthikumarkatta
Автор

HI Amuthan, very good morning Here in Driver Factory we are creating web driver instance, con't we get this using Driver manager from our frame work?

rajasekharmaddigalla
Автор

Hi amuthan, with respect to selenium 4 changes, DesiredCapabilites and BrowserType interface are no more in use. So should we go with Options, if so how to setBrowserName in options?

pavithrasathyanarayanan
Автор

Hi Amuthan, Thank you for the video!
quick question: why don't you combine nested if statements with &&,

maxsudik
Автор

Hi Amuthan, Thanks a lot for your videos, till now successfully configured everything only left with a doubt, on how to use this login method before every test case and in localhost:4444, how can we add platforms using capabilities, I request please cover it if possible in next video, I will start my project if it get clear, thank you in advance

rajasekharmaddigalla
Автор

Bro I am stuck in one issue, I need some data from one application to another, when I change the application, the varible shows null, how can I resolve this issue, without writing that varible into a file

yuvrajsaini