No video

03 - Reusable Function to launch any web browser : Java Selenium

  Рет қаралды 5,784

testingtools.co

testingtools.co

3 жыл бұрын

In this video, we will see one of the best practices in test automation, as to how do we write code in a reusable manner, so that it can be called instead of copy-pasting the code in all the test automation scripts.
So far we have two ways to launch a web browser in java selenium, the next immediate need is that in every automation script we need to launch a web browser. We have to use the same code in all the test automation scripts. But that is not the best way to do it, if we copy the same code in all the test automation scripts it will create a lot of maintenance problems.
Learn Complete Basics of Java -
• 01 - Introduction - 3 ...
Learn Intermediate Level Concepts of Java -
• 01 Java - Reading Exce...
Learn Complete Test Automation with Java + Selenium -
• 01 - Traditional Appro...
Learn Java through Interview Questions -
• 01 - Java Interview Qu...
Learn Java Programming through Interview Questions Speed Code -
• 01 Java Interview Ques...
Do's and Dont's in Interviews
• 01 - Peek in to Interv...
Learn Test Automation tool Oracle Applications Testing Tool ( OATS - Functional Test Automation)-
• OATS Tutorial #00 - In...

Пікірлер: 17
@mansisahu1924
@mansisahu1924 Жыл бұрын
very simple and clear explanation. goodwork
@testingtoolsco
@testingtoolsco Жыл бұрын
thank you
@gangadhars472
@gangadhars472 Жыл бұрын
Thank you for the video sir. Great explanation about reusable to launch the different Browser.
@rutujashetkar872
@rutujashetkar872 Жыл бұрын
Great work... you explained in a simple way
@luiskayrumetperezbuigas2007
@luiskayrumetperezbuigas2007 Жыл бұрын
well done, it make testing job easier
@TurskoBalkanskiRecepti
@TurskoBalkanskiRecepti 11 ай бұрын
Wow, you explained this in an amazing way! Many thanks!!
@testingtoolsco
@testingtoolsco 11 ай бұрын
thank you so much, i am glad you liked it
@HasanAli-vp6ci
@HasanAli-vp6ci 3 жыл бұрын
Very useful video,loved it
@testingtoolsco
@testingtoolsco 3 жыл бұрын
thank you
@rajasekharvm9692
@rajasekharvm9692 Жыл бұрын
nice work...try to write generic codes for some more options so that it will be useful more learners...good work you are sharing knowledge
@testingtoolsco
@testingtoolsco Жыл бұрын
thank you I can do for sure, do you have any suggestions, please do so that i can create them.
@where_ever_you_go
@where_ever_you_go 2 жыл бұрын
This is very useful video ,Thanks.Are you planing to give more reusable examples like getText, find by so on so forth.
@testingtoolsco
@testingtoolsco Жыл бұрын
Sure will try to add more
@vijayadharman6712
@vijayadharman6712 2 жыл бұрын
Sir u used package can be done using class
@testingtoolsco
@testingtoolsco 2 жыл бұрын
Kindly elaborate more as what you are trying to tell, so that everyone can understand. Are you saying instead of use the webdriver manager package, we can create own class which will try to get the browser versions installed and download the respective web driver exe file and then set that as context, if that is what you are saying yes, we can do that very well, but it just like re-inventing the wheel again. It will be smart to use existing libraries when available as open source than building them from scratch again, saves time and efforts.
@ChanduBechara
@ChanduBechara Жыл бұрын
Every time we have to create browser object to reuse function which is not ideal . Instead create a class with browser opening code and then whichever class needs it can extend that class
@testingtoolsco
@testingtoolsco Жыл бұрын
Yes that can also be done, appreciate sharing your views
Launch any Browser in Selenium without exe file. | Pradeep Nailwal
8:23
Lets Make Automation Easy - Pradeep Nailwal
Рет қаралды 845
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 27 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 14 МЛН
Design Selenium AUTOMATION Framework from Scratch LIKE A PRO! #automation #automationframework
16:58
Selenium Automation and Java learning with Srini
Рет қаралды 50 М.
Desired Capabilities and Chrome Options in Selenium WebDriver
13:01
H Y R Tutorials
Рет қаралды 41 М.
8 simple Japanese habits that will make your life so much better!!
12:46
Samurai Matcha
Рет қаралды 10 МЛН
#Selenium#BaseClass#WebDriver#AutomationFramework What is a Base Class in Selenium WebDriver
19:31
Selenium Automation and Java learning with Srini
Рет қаралды 13 М.
Handle Hidden Drop Down Values / Auto Suggestions using DOM Trick | EventListener
7:55
Re-Usable method for GetText() In Selenium and Integrate in Framework
29:42
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 27 МЛН