Page Object Model (POM) Design With Selenium - Part -3

  Рет қаралды 301,335

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

How to design Page Object Model With Selenium WebDriver:
+Complete Page Object Model (POM) using Page Factory in Selenium
+Learn Page Object Model Step by Step
+POM design - Architecture & Pattern
+What is Page Chaining Model
+Use of PageFactory API in Selenium
=================================================
Technologies Used:
• Selenium WebDriver - v3.0.4 (Open Source)
• JDK 1.8 (Java Development Kit)
• TestNG (Test Unit Framework)
• Log4j (logging API)
• Maven (Build Automation Tool)
• Apache POI API (Read-Write utilities for Excel - Test Data Handling) Eclipse/IntelliJ (Java Editor)
• Browser - Google Chrome/FF
Automation Framework Architecture:
• POM (Page Object Model) Design Page Factory API of WebDriver
• Maven (Build Automation Tool)
• Test Libraries for different UI Pages
• Test Utilities for different generic functions
• Report - Dashboard (Pass/Fail Test) by using Extent Report
• API Jenkins - Continuous Integration Tool
• GITHub Repo (Code Versioning Tool)
=====================================================
Full Code base available here - GIT URL:
github.com/nav...
=====================================================
Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
www.youtube.co...
Follow me on my Facebook Page:
/ naveenqtpexpert
~-~~-~~~-~~-~
Follow my Site/Blog: www.naveenautom...
========================================================
Please watch: "Selenium & Automation Interview Preparation - By Naveen AutomationLabs"
• Selenium & Automation ...
~-~~-~~~-~~-~ Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
www.youtube.co...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/...
Paid courses (Recorded) videos:
Java & Selenium Course: www.naveenautom...
API Course: www.naveenautom... ➡️Get Our Courses✔️
📗 Get My Paid Courses at
Paid courses (Recorded) videos:
Java & Selenium Course: www.naveenautom...
API Course: www.naveenautom...
-------------------------------
✔️SOCIAL NETWORKS
Facebook: / naveenqtpexpert
Twitter: / naveenkhunteta
Blog: www.naveenautom...
--------------------------------
Support My Channel✔️Or Buy Me A Coffee
Paypal: paypal.me/nave...
Google Pay: naveenanimation20@gmail.com
--------------------------------
✔️Thanks for watching!
देखने के लिए धन्यवाद
Благодаря за гледането
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة

Пікірлер: 332
@Srhnu449
@Srhnu449 5 жыл бұрын
i am wondering that even paid channels also wont teach like him .... his dedication is at peaks ... thank u naveen for posting such wonderful videos... god bless u .. bye bye
@naveenautomationlabs
@naveenautomationlabs 5 жыл бұрын
Thanks for watching
@kaushikmishra2167
@kaushikmishra2167 5 жыл бұрын
नवीन की शिक्षण पद्धति पेड चैनल्स वालों से कहीं बेहतर है। इनका धैर्य और परिश्रम सराहनीय है।बहुत बहुत शुभकामनाएं।
@sunitagautam737
@sunitagautam737 5 жыл бұрын
Very useful videos for experience and fresher
@naveenautomationlabs
@naveenautomationlabs 3 жыл бұрын
New user credentials for Free CRM application. new url: @t username: groupautomation password: Test@12345 If you want to register your account on this site, please use this : @t
@palashborah1271
@palashborah1271 3 жыл бұрын
You are one my favourite teacher of my life. Best teacher and the way you teach easily anyone can understand the concepts. Thank you so much
@ganti_dravid
@ganti_dravid 4 жыл бұрын
I have no words to praise his talent.... just I am a B.Com guy, and I am in a position now competing software guys... all this credit goes, Naveen garu... wonderful teacher... All the best, Naveen garu for your future...👍
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
Naveen AutomationLabs - Channel Full Playlists on KZbin: Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation: kzbin.info%20AutomationLabs?sub_confirmation=1 Playlists URLs: ========= 1. Core Java: kzbin.info/aero/PLFGoYjJG_fqqyIj2ht0aHMx_HnGX3ZFEx Desc: Learn Core Java Step By Step. These tutorials videos are specially designed for beginners. ========== 2. Selenium WebDriver: kzbin.info/aero/PLFGoYjJG_fqo4oVsa6l_V-_7-tzBnlulT Desc: Learn Selenium WebDriver (Selenium 3.x) from the beginning. If you are a Manual tester who is eager to upgrade to the Automation skills. 1. Learning to automate Real-time project scenarios. 2. Learn to convert Manual test case to Automation script. 3. Framework design with respect to Real-time projects. 4. Learn end to end automation using Continous Integration by Jenkins tool. ============ 3. TestNG: kzbin.info/aero/PLFGoYjJG_fqp25buwscrsKA5q8qsLsuUy Desc: Learn TestNG Framework Step by Step. TestNg integration with Selenium WebDriver ============ 4. Learn Dynamic Xpath: kzbin.info/aero/PLFGoYjJG_fqoY3PNcMLjp4pJZSXUCHeiB Desc: Do you want to have expertise in Selenium, Learn Dynamic XPath! Become a genius in XPath and crack interview like a Pro!! =========== 5. Data Driven Framework: kzbin.info/aero/PLFGoYjJG_fqqlW6swKwutBOVU2O8k_JHT Desc: Learn how to implement Data Driven Framework by using Apache POI API and TestNG =========== 6. Page Object Model (POM): kzbin.info/aero/PLFGoYjJG_fqq6cHeqfsDes3pdVh3kpl74 Desc: Page Object Model (POM) Design With Selenium WebDriver: +Learn Page Object Model Step by Step +POM design - Architecture & Pattern +What is Page Chaining Model +Use of PageFactory API in Selenium ===========
@subhashini6459
@subhashini6459 3 жыл бұрын
For people like me who are ready to learn but feel lost in the market, where to start and how to start and what to do .. this channel is the only light to travel and not only travel but enjoy the journey guilt free to reach required destination by crossing every step (without using any short cuts) confidently. Sincerely thanks Brother. Honestly I look up to You Sir!!.
@minakshigulia8997
@minakshigulia8997 4 жыл бұрын
apki videos dekhke pta lag jata h ki aap bht hard working h and very passionate too
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
Naveen HILL CREST B 1902: Page Object Model (POM) Design With Selenium WebDriver- Part -4 is on Air Now. +Learn Page Object Model Step by Step +POM design - Architecture & Pattern +What is Page Chaining Model +Use of PageFactory API in Selenium +Data Driven with POM +Concept of @CacheLookup in page factory +Concept of WebDriverEventListener kzbin.info/www/bejne/fmOQZKpjfLaNack
@amangiri6429
@amangiri6429 4 жыл бұрын
the best explanation on the entire internet .......hats off to you Naveen Sir
@praveen420ify
@praveen420ify 6 жыл бұрын
Boss, U are Selenium addiction. I have learned so much from your videos that I can create by own framework now... Hats off
@rd3316
@rd3316 4 жыл бұрын
I am into automation since 4+ years but most of the interview questions which I didn’t know are covered in all your videos.. thanks for the great content bro
@vijayakrishnan8888
@vijayakrishnan8888 4 жыл бұрын
Woww. No words to say about your teaching... I am trying to develop the framework by listening your videos..its really so much benefits to people like me..god bless u...keeps on doing this kind of good job.
@Ceilingfanmaster3294
@Ceilingfanmaster3294 5 жыл бұрын
Naveen, You are Excellent Trainer....Thank you so much for the videos you shared on Java & Selenium....God bless you...
@tapaswinisahoo3744
@tapaswinisahoo3744 5 жыл бұрын
u r awesome.Nobody can teach and explain like u.U r really so much intelligent.Thank u for sharing ur knowledge
@Nykster
@Nykster 4 жыл бұрын
Hi Naveen, I have absolutely no idea why you are giving these tutorials away for free but God bless you, they are simply amazing!
@KailashSingh-hk6fw
@KailashSingh-hk6fw 6 жыл бұрын
Hi Naveen, I am watching your videos from POM part-1, I like your teaching skill. Thanks
@mayuriminiyar2540
@mayuriminiyar2540 3 жыл бұрын
Recommending this series to all who are asking. From where shd I learn selenium testing.. Best ever selenium series.. To learn
@manaligupta1098
@manaligupta1098 7 жыл бұрын
Naveen, your videos are like game of thrones episodes.. I keep on waiting for your next video to come... Haha sounds weird but true! Have learnt a lot fron your videos dude.
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
Thanks +Manali Gupta! Really appreciate. Thanks for watching :) Keep learning.
@ckumar89
@ckumar89 7 жыл бұрын
That would be interesting...which character will go for @Naveen..I would say tyrion::he test and know selenium
@saurabhadlakha4811
@saurabhadlakha4811 4 жыл бұрын
@@ckumar89 He is a magician in automation.. how simple he explain everything ..
@trailheadlakshmi1562
@trailheadlakshmi1562 4 жыл бұрын
@@naveenautomationlabs DOUBT ...HELP needed...HomePage Test object is not created ,then how come the HomePageTest constructor is invoked to call the super constructor method..cn some one enlighten me on this
@mahaveerthakur9864
@mahaveerthakur9864 4 жыл бұрын
your videos are very helpful to learn automation from scratch. Thanks a lot for sharing valuable information without any cost. your detailed explanation help beginners to under without much effort.
@deepasharma9528
@deepasharma9528 6 жыл бұрын
Why I did not find you earlier, I have been struggling all this while to learn selenium and your videos are worth watching, learning.
@naveenautomationlabs
@naveenautomationlabs 6 жыл бұрын
Thanks Deepa. Thanks for watching
@sachintatkare.9362
@sachintatkare.9362 7 жыл бұрын
I go through from all videos , you teach each and every concept so clearly, even in the class room i did't get this kind of knowledge...i will keep learning ...untill you keep teaching....Thanks a lot
@ishgirl123
@ishgirl123 6 жыл бұрын
Thanks Naveen for all the videos. Your videos are indeed an addiction. Have gained confidence in framework creation only coz of ur tutorials.
@swethakalluri2768
@swethakalluri2768 6 жыл бұрын
Hi Naveen, You are just awesome! Never seen anyone explaining so clearly and efficiently. Kudos to your patience.. Keep going.. your videos are really very helpful!! A million thanks :)
@naveenautomationlabs
@naveenautomationlabs 6 жыл бұрын
Thanks for watching Swetha
@aishwaryakand2647
@aishwaryakand2647 4 жыл бұрын
Hi sir, you are providing free content with so much things to learn in selenium. Even in some learning centers they teach only some basics.
@vishwass110
@vishwass110 3 жыл бұрын
You are doing a great job brother, The way you explain the concepts is amazing. your contribution to the testing community is huge. We need more people like you :) Thanks for all your knowledge sharing sessions it helped me a lot.
@prafulmp7188
@prafulmp7188 6 жыл бұрын
Awesome explanation naveen...even though I am following some other KZbin channels, but ever seen this kind clear explanation .... Thanks Bro..
@ParthKandpal
@ParthKandpal 5 жыл бұрын
I laughed out loud when he said Rattafication @20:35 😂😂🙌 Thanks for the awesome lectures Naveen. You are simply Awesome.👍👍
@muzaffarkhan2986
@muzaffarkhan2986 4 жыл бұрын
Really great teaching skills sir.. please keep it up don't stop at any cost and please don't become commercial like others....you are really great sir hats off.. thank you
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
Don't worry:)
@archanajadhav1689
@archanajadhav1689 6 жыл бұрын
Hi Naveen, I got your selenium lectures on KZbin which are very very excellent and interesting too and which gives really very clear understanding of every concepts in selenium+java. I am very Thankful to you for sharing your knowledge with us. i hope you will also share every updates related selenium or automation testing in future which is best in IT market.Thanks :)
@ashwinidhanodkar5385
@ashwinidhanodkar5385 6 жыл бұрын
Naveen, your videos are lifeline for strugglers.. Really greate work and they provide in depth understanding of every topic. This is my first comment on you tube to any Video. So u can understand how much i liked your videos and that I could not resist myself to say how wonderful work you have done!! keep uploading !!!
@naveenautomationlabs
@naveenautomationlabs 6 жыл бұрын
Thanks for watching Ashwini
@satya5566
@satya5566 7 жыл бұрын
Hi Naveen, This is the superb explanation of HYBRID framework design ( POM) among all that I have seen till now in you tube . Great job Naveen .
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
+Sat Ed thanks for watching :)
@yadhu5113
@yadhu5113 3 жыл бұрын
Naveen, I really enjoyed your video. I'm glade that I found you. Your the best!
@prasannamaithili8231
@prasannamaithili8231 3 жыл бұрын
Naveen you are awesome. No words to say. Superb explanation
@aihaitipaziliti2655
@aihaitipaziliti2655 6 жыл бұрын
Excellent work, Naveen. I really like your all amazing videos, and I learned a lot . You always Slove my problems on my automation work, thanks a lot.
@mansasiva7420
@mansasiva7420 3 жыл бұрын
Amazing explanation Naveen. Learnt a lot from all your videos. Thank you for posting these videos.
@hstestingworld
@hstestingworld 5 жыл бұрын
Naveen,You are simply the best teacher.
@saurabhadlakha4811
@saurabhadlakha4811 4 жыл бұрын
I have seen so many videos and tutorial for so many teachers..But No one is like Naveen, he is a champ.He is doing such a great job for all of us to provide such great videos.I must say if someone wants to learn Automation please watch all his videos.That are simply mind-blowing.Even I have suggested his videos to so many of my friends who is learning automation and they liked it very much.I want to thank you for such amazing videos..God bless you and keep posting awesome videos. :) Keep Rocking :) He is a VIRAT KOHLI of Automation :)
@saurabhadlakha4811
@saurabhadlakha4811 4 жыл бұрын
Thanks for all the videos..Your xpath videos are also superb :)
@My.tales44
@My.tales44 2 жыл бұрын
Doing hand's on along with sessions and this course's helping me alot
@minakshigulia8997
@minakshigulia8997 4 жыл бұрын
no word for your teaching ........really osm.......nd your voice too
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
Thanks for watching Minakshi!! Keep learning
@trivenimh2762
@trivenimh2762 3 жыл бұрын
Thanks lot, much needed knowledge which is easy to follow and excel through the learning
@srinivasp1190
@srinivasp1190 4 жыл бұрын
Thank you so much Naveen and observed one thing you created this video at mid night after 1 AM. really hats off to you Naveen for your dedicvation ..:)
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
Thank you so much 😀
@marufsayyed4103
@marufsayyed4103 4 жыл бұрын
really great 👍😊😊😊 complete framwork is explained
@aayushpatel3360
@aayushpatel3360 3 жыл бұрын
Great work Naveen. It's out of box explanation.
@sumit0352
@sumit0352 4 жыл бұрын
Hi Naveen, I found your videos on framework helpful. Thanks for them. I have couple of improvements/suggestions it would be really helpful if you include them in your videos. 1) Could you please add some more common methods in TestUtils class? i.e. Methods for Explicit Waits, Sync, Alerts etc 2) In real time apps we need to check Create/Read/Update/Delete as most common tests. Could you please guide how to add automation tests for CRUD operations. i.e. I am creating something using certain set of test data then I want to verify if record gets created using same set of data or not, Verify if I update certain fields then those fields are updated or not, Same case for delete as well.
@shrini9793
@shrini9793 6 жыл бұрын
Too good Naveen , best tutorial so far i have seen.
@gourikajaiswalmaaknuru3131
@gourikajaiswalmaaknuru3131 6 жыл бұрын
Hi, Naveen first comes a big thank you for the videos. I feel these are one of the best videos with appropriate and the precise content which is highly needed to understand the concepts. As a subscriber, I really dive into your videos before I start doing some project. Basically, I work with Selenium with python, and your videos Selenium with Java has helped me a lot. The method you choose to break down the topic into sections and explain to us is incredible. I highly recommend everyone to watch your videos. Lastly, I'd would like to know by going through all the topics which you've covered for selenium covers to what percentage(is it like 50%-75%) of selenium concepts used in industry? This just gives some idea of where do we stand exactly.
@anchalsoni911
@anchalsoni911 6 жыл бұрын
These videos are really very good. These videos are lifesaver for me.Thank you
@svetlanamazhaykina6918
@svetlanamazhaykina6918 10 ай бұрын
Thanks for your work, Naveen! Well done!
@anjananayyar5358
@anjananayyar5358 4 жыл бұрын
Really great informative video for POM. 👍
@rupambhartisingh
@rupambhartisingh 4 жыл бұрын
Really you are too good man I have enhanced my skill by watching your video , Very impressive , very easy to understand
@saranyasanapala1049
@saranyasanapala1049 6 жыл бұрын
Thank you sooooooooomuch sir.really I am feeling very happy by watching your videos
@nithin152
@nithin152 3 жыл бұрын
God of automation 🔥....
@desifoodie8371
@desifoodie8371 4 жыл бұрын
Guys we watch with full heart and appreciate too in comment but we should like his videos too, likes are too less in comparison too views ..... Keeps us making learn @Naveen !!!!
@ganeshlad6592
@ganeshlad6592 4 жыл бұрын
Excellent trainer and teacher , we don't get such explanation anywhere for developing framework with code example.
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
Glad you liked it
@dineshkumar2847
@dineshkumar2847 6 жыл бұрын
Thanks Naveen, Really great learning so far.
@Nodirjwu
@Nodirjwu 7 жыл бұрын
Thank you so much for your great work and effort. God Bless you!
@NileshPatel-jf3yv
@NileshPatel-jf3yv 6 жыл бұрын
Thanks Naveen! Learned a lot from your video. Keep it up.
@shankumondal2881
@shankumondal2881 3 жыл бұрын
1:11:31. Sir ..if both the method having the same priority ..I think they will be executed in alphabetical order . But you have mentioned TesNG will be deciding that. Please let me know if I am wrong. 🙏
@anilKumar-jj4be
@anilKumar-jj4be 6 жыл бұрын
Thank you for uploading These videos are very helpful to us.
@indrajitpawar502
@indrajitpawar502 6 жыл бұрын
Sir nice tutorials......Thank you very much sir....I am big fan of yours....
@bsrinivas165
@bsrinivas165 7 жыл бұрын
Awesome Explanation... Keep up the great work 👌👌💐💐😍😍
@p-a5603
@p-a5603 5 жыл бұрын
Hello, thanks for another great tutorial. Anyway I cannot agree with opening/closing browser after every test case. Maybe it is a little better for the cookies etc., but it is really wasting of time. For example you want to test this check boxes and stuff in Contacts. Once you open browser and navigate to Contacts page, you can start doing multiple tests on this page at once. Instead after your first test case you close browser and again, open, login, navigate back to the place where you already were. I think there would be really better to restrict all opening/logging/navigating/closing procedure on the level of one test class at least.
@monalisapramanick3298
@monalisapramanick3298 3 жыл бұрын
Very well explained.. Thanks a lot..
@bhargavikammili4960
@bhargavikammili4960 7 жыл бұрын
Hi Naveen Thanks alot for these great videos have been searching for the framework videos like this with clear explaination
@anilkumaryadav106
@anilkumaryadav106 6 жыл бұрын
this is what i was looking for. Great great stuff, super clean and clear.
@desertstar7664
@desertstar7664 7 жыл бұрын
Naveen excellent session. And also very neat codes , thanks to POM framework.
@sriramm9912
@sriramm9912 2 жыл бұрын
Thankq so much sir.. Your videos are very helpful..
@GoUpstairs
@GoUpstairs 6 жыл бұрын
EY! Great lessons! Keep on doing this, u r great! Thanks!
@sarahqureshi9128
@sarahqureshi9128 5 жыл бұрын
A really good framework!!!! Thumbs Up!!!
@jincypaul05
@jincypaul05 5 жыл бұрын
Awesome selenium videos Naveen!!!! Thanks a lot!!!!!!!!
@MrSuhas888
@MrSuhas888 5 жыл бұрын
Naveen God bless you !!! Good video.
@kshipra4504
@kshipra4504 2 жыл бұрын
Hi Naveen! I have a question - the framework we are designing here will work fine for parallel execution as well?? or we will need to do some changes for our driver instance?
@ravisounderrajan
@ravisounderrajan 6 жыл бұрын
Hi Naveen, just a quick clarification on how do you go about automating a a sample e2e scenario where 1) A page that has 10 field inputs post that 2) A review page where you validate all the input and 3) Then an authentication page 4) Finally an acknowledgement page..?
@SuperSunilc
@SuperSunilc 7 жыл бұрын
Hi Naveen, This is the superb explanation of framework design among all that I have seen till now. Would you please give me example where we can use the concept of polymorphism while building the framework?
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
+sunil chinnayyagari thanks Sunil for watching it. Plz follow pom part 2 and 3. There are other videos are coming soon, which will explain complete oop concept in Framework
@sudarsanvr
@sudarsanvr 7 жыл бұрын
why do we have to initialize browser for every test class, we just need to open it once for the all the test right? Thanks
@srihari4827
@srihari4827 5 жыл бұрын
@@sudarsanvr same doubt and also we can login once complete all our required testing instead of login for each test...
@srihari4827
@srihari4827 5 жыл бұрын
Naveen please help me with this....
@shikhar5300
@shikhar5300 5 жыл бұрын
@@sudarsanvr It is not good practice to launch browser only once and execute all test cases. Some cache or cookies issue may occur.
@ksdnsdkumar1375
@ksdnsdkumar1375 2 жыл бұрын
@55:56 Passing a variables within xpath is so important thing to learn in frameworks.
@Collins_5
@Collins_5 5 жыл бұрын
Thank so much it's amazing what u does
@shrutha6
@shrutha6 4 жыл бұрын
Naveen, You have been an very good trainer. Your approach is very systematic and easier to follow. Thanks a ton for all the tutorials on Automation. I recently started looking through your tutorials and it's very very good. I am currently working with Selenium C# with BDD approach. And wanted to try to build a FW with Java Selenium and started to use the demo app that you have mentioned here. I am encountering a problem where "switchTo().frame() is not working on Chrome (81.0.4044.138)" and I am getting "NullPointerException()" as the element in the frame is not identified. Tried searching through other blogs for the solution. However thcouldn't resolve the issue. Can you please check this?
@sowmiyaabi8802
@sowmiyaabi8802 3 жыл бұрын
Naveen, suppose If we are having 150 settings in one common settings page. And likewise, if there is 10 common settings page. So, there will be 1500 settings pages. If we are using this POM design pattern, we need to create 1500 settings pages? [this for settings alone, other than Am working on one fully developed product, so it contains n no of pages. Now only we have started automation from scratch. If we are creating n no of pages/java class, there will be any impacts in test cases execution time, .. or something else. Awaiting for your response! It will be really helpful if we got an idea about it.
@srividyan7979
@srividyan7979 7 жыл бұрын
Hi Naveen, You are doing a good job, i have got confidence after watching ur video, i was able to explain the POM in interview. could you please explain what to do after clicking on search button, cause for every different search,output will be different so i am wondering whether we have to create a new search page or just use "Assert.assertEquals(driver.getCurrentUrl().contains(keyword), true);" to verify. what happens in realtime how to write the code ? Thanks in advance
@dasariapoorva879
@dasariapoorva879 3 жыл бұрын
Hi Naveen, You were explain so clearly we get confidence just by watching. Just a doubt here there was a here username you have hard coded it right just if there are multiple users how can they check this as different user will get different username.So how to use this for everyone?
@niloysen124
@niloysen124 5 жыл бұрын
At 43:27 seconds you handle the frame issue inside which the user name label is available in the DOM. How did you understand that the label resided inside the frame="mainpanel"
@prasadthakur4220
@prasadthakur4220 3 жыл бұрын
Thanks for such a brilliant session, request you to explain if static driver object can be used for parallel execution while cross-browser testing
@kshipra4504
@kshipra4504 2 жыл бұрын
Why clickonContactsLink, clickonDealsLink methods returning class objects. they are working fine on declaring void also. Similar question i have for login and home page also: why returning home page object. Please explain.
@naveenautomationlabs
@naveenautomationlabs 2 жыл бұрын
As per POM, whenever you are landing in the new page, method should return the next landing page class object so that you can call the methods of the next page in your test. like login is giving home page class object so that you can call the methods of home page in your test.
@kshipra4504
@kshipra4504 2 жыл бұрын
@@naveenautomationlabs Thanks for reverting. But, if this is because of POM theory, then it is fine. Otherwise, logicwise this is not understood because things are working fine even without returning class objects. For ex, in HomePage, you have given homePage=loginPage.login(......) in setUp(). What is the need of returning home object in LoginPage and use of homePage reference in stated line when we are not using this anywhere
@ItsMeSimna
@ItsMeSimna 6 жыл бұрын
Excellent video...thanks a lot!!
@RazaJaveed
@RazaJaveed 5 жыл бұрын
Hi naveen, Thanks for the video. I have a query- we can create a new object for homepage class right, why we need to have it returned from login page ?
@satya5566
@satya5566 7 жыл бұрын
superb explanation of framework design. Thank you very much for making video . I have one doubt - how to run these test cases on multiple browser parallel( ie,chrome,firefox,safari- same time parallel ) . in config file we are providing the browser value = firefox, so its running on firefox browser. if i want to run on multiple browser parallel , how i need to set up config file ?? from your frame work .
@malouyse6004
@malouyse6004 5 жыл бұрын
huuuummm so sweeeeeettt to watch your video, oooohh my God!!! I regret that I am now discovering your channel, I wish I could have discovered it earlier, but that's fine! I blessed that friend who advise me to come and check for Naveen video about automation on youtube! Thank you Naveen, thanks for making automation easy to understand! God bless you! I hope I won't meet you during an interview one day, otherwise... looollll
@naveenautomationlabs
@naveenautomationlabs 5 жыл бұрын
Thanks for watching
@thespeakingshutter8302
@thespeakingshutter8302 5 жыл бұрын
Hi Naveen, Thanks for your detailed video series on the Framework part. I have a question @1:05:47 time stamp Line 30 and 33, aren't the same ? Why are we instantiating at Line 30 when we are getting the object reference at line 33 as a return value of the method. I am new to Java, so ignore if this is silly.
@deepikasaini3324
@deepikasaini3324 5 жыл бұрын
Hi Naveen, really benefited from your videos. But somehow i am getting "The import org.apache.poi.ss.usermodel.Sheet cannot be resolved " while importing this particular class. Can you please help me here
@poojapandey7641
@poojapandey7641 7 жыл бұрын
Hi Naveen, Could you please help me in using Find Elements in PageFactory Model. I am following your Page Object Model (POM) Design With Selenium, but in my application i have to use find elements to identify object as they are dynamic. I used dynamic xpath using parent sibling but for some its not working. Please help how to use find elements like @FindBy
@fareedmohd3619
@fareedmohd3619 4 жыл бұрын
Do you have provision for session object so we can persist the web driver object on it .rather then freshly created for every request ? And also configure properties object we can load on session and finally close once the test cases pass .
@akshayak119
@akshayak119 3 жыл бұрын
Hi Naveen, can you please make a video Rregarding merging two data providers to use in the @Test method?. The videos which you make are really very helpful for the beginners. Thank you
@manish89arya
@manish89arya 3 жыл бұрын
@Naveen, why we have used @BeforeMethod and @AfterMethod in all Test classes OR you have shown better approach in some other video?
@sravanthikadam6781
@sravanthikadam6781 5 жыл бұрын
Hi Naveen, when the test case contains @finBy annotation, when does really the physical linking to the real web elements happen? if the used web element id property is changed in the next build, when does NoSuchElementException is thrown, is it at @FindBy element description line or at the line using the same. ie element.click(); Please clarify.
@jyothisree2710
@jyothisree2710 5 жыл бұрын
Hi Naveen Your Videos are very good and more helpful to learn Selenium. Thank you Naveen for posting such good videos. I have a question which is faced in interview : In Application selenium automation was complete , but 1 change from client to be performed added 1 more parameter like language in login page. Login validation to be performed in all pages of code like LoginPageTest, HomePageTest, ContactsPageTest etc in 1000 test cases. But without impacting/modifying the code of rest of pages like HomePageTest,ContactsPageTest etc how to change the code in login page in a single code change? Could you please help me to how to write code in base class (o)r login page without impacting other test cases in application?
@sarahqureshi9128
@sarahqureshi9128 5 жыл бұрын
what is the point of returning Home page object at the end of Log in method? Are we going to use that home page object that we are are returning or it is just the best practice?
@MyWalia
@MyWalia 6 жыл бұрын
Hi Naveen, could you also make videos on how the real world testing happens, i mean mainly which features can be automated and which not...it seems automating entire application not practical..
@kaustubhbaitule1822
@kaustubhbaitule1822 6 жыл бұрын
Hi Naveen, I followed all videos in the series & created a POM framework for my project. How can we create an executable jar file out of a maven project?. I tried to do so, but getting manifest related error though am using maven-assembly-plugin in the pom.xml file that we have. Please suggest.
@DurgaPrasadPatroOdisha
@DurgaPrasadPatroOdisha 3 жыл бұрын
Hi Naveen, thank you for these wonderful videos. Have a question, shouldn't we put the datasheet and testng XML outside src folder as these are not source file and don't require compilation.
@maheshwagh3273
@maheshwagh3273 5 жыл бұрын
Hello Naveeen Sir, This series really help me a lot I have implemented this framework in my current project and its rally awesome. Thank you very much sir to create such wonderful content. Sir I also need some help and Question for in such framework how I can communicate with you ?
Page Object Model (POM) Design With Selenium - Part -4
1:03:40
Naveen AutomationLabs
Рет қаралды 203 М.
Page Object Model (POM) Design With Selenium - Part -2
1:17:03
Naveen AutomationLabs
Рет қаралды 647 М.
NERF TIMBITS BLASTER
00:39
MacDannyGun
Рет қаралды 14 МЛН
Tilt 'n' Shout #boardgames #настольныеигры #games #игры #настолки #настольные_игры
00:24
ChainTest Report With Selenium + TestNG || Depreciation of ExtentReport
38:48
Naveen AutomationLabs
Рет қаралды 13 М.
Architecture  of Page Object Model (POM) Design With Selenium - Part -1
35:26
Naveen AutomationLabs
Рет қаралды 884 М.
How To Explain Test Automation Framework In Interviews For Selenium
13:42
Mystery of StaleElementReferenceException in Selenium WebDriver
18:10
Naveen AutomationLabs
Рет қаралды 51 М.
Generate Extent Report - Page Object Model (POM) with Selenium - Part -5
21:09
Naveen AutomationLabs
Рет қаралды 229 М.
NERF TIMBITS BLASTER
00:39
MacDannyGun
Рет қаралды 14 МЛН