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

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

Naveen AutomationLabs

7 лет назад

304,557 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Srhnu449
@Srhnu449 - 17.05.2019 12:52

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

Ответить
@svetlanamazhaykina6918
@svetlanamazhaykina6918 - 22.03.2024 21:46

Thanks for your work, Naveen! Well done!

Ответить
@vaishali749
@vaishali749 - 17.10.2023 11:10

Hi Naveen i followed the same approach to design frame work but for one web element i am getting stale element reference exception and I tried all the way to avoid this exception but some time my script work fine and some time i am getting stale element reference exception can you please suggest me some solution to avoid this exception

Ответить
@sreekanthm123
@sreekanthm123 - 27.07.2023 14:25

Hi @Naveen ' driver.switchto.frame("mainpanel") ;' is not working. Could you please suggest a way to get this working, Thankyou

Ответить
@abhaypaul4801
@abhaypaul4801 - 13.06.2023 21:06

Why are we initializing every class inside setup method. Is there any benefit of doing that? Can anyone please explain me.

Ответить
@ravisankar8259
@ravisankar8259 - 02.02.2023 16:13

hi Naveen, I am not able to run the test case post importing from github. It is giving error "The Selection cannot be launched, and there are no recent launches" do you know the reason please?

Ответить
@ishwaryabalasubramanian4844
@ishwaryabalasubramanian4844 - 20.01.2023 15:30

Hi Naveen,

Is there a way to optimize the before and after method codes? Because, the same code is being copied in all the pages and only the page name is modified in them. Apologies if I am missing something here and if my query sounds absurd.

Thank you

Ответить
@canadaWealth
@canadaWealth - 30.10.2022 03:55

I need Serious Help naveen. please help me to resolve Error........................


java.lang.NullPointerException: Cannot invoke "java.util.Properties.getProperty(String)" because "com.practice.qa.testcases.LoginPageTest.prop" is null

Ответить
@sriramm9912
@sriramm9912 - 13.08.2022 15:06

Thankq so much sir.. Your videos are very helpful..

Ответить
@dewanshudev5097
@dewanshudev5097 - 09.08.2022 14:37

❤️❤️

Ответить
@My.tales44
@My.tales44 - 16.07.2022 13:00

Doing hand's on along with sessions and this course's helping me alot

Ответить
@AllInOneQAAutomation
@AllInOneQAAutomation - 01.06.2022 12:00

@naveen can you please share the credential ?
I have tried creating new account but it is not working.

Ответить
@kshipra4504
@kshipra4504 - 24.04.2022 12:05

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.

Ответить
@kshipra4504
@kshipra4504 - 08.03.2022 08:38

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?

Ответить
@prajaktasudake8209
@prajaktasudake8209 - 05.03.2022 14:40

Hi Naveen,
Can you please explain how to click on the contact or deals button

Ответить
@preetimaurya1412
@preetimaurya1412 - 21.02.2022 08:29

Hi Naveen,
its very good learning video.
have one doubt..how to store the list of webelements returned by while using @FindBy annotation

Ответить
@mansasiva7420
@mansasiva7420 - 21.02.2022 02:03

Amazing explanation Naveen. Learnt a lot from all your videos. Thank you for posting these videos.

Ответить
@VipinShukla_SE
@VipinShukla_SE - 16.02.2022 16:16

Awesome

Ответить
@pujaguchait2903
@pujaguchait2903 - 11.02.2022 15:07

Hi Naveen, I am following this lecture and I am stuck with that <frame> part. Its "@keyframe" now can't move forward. If you cant help me out. Will be grateful.

Ответить
@monalisapramanick3298
@monalisapramanick3298 - 04.02.2022 16:41

Very well explained.. Thanks a lot..

Ответить
@aayushpatel3360
@aayushpatel3360 - 15.01.2022 18:01

Great work Naveen. It's out of box explanation.

Ответить
@cinthiyavincent9527
@cinthiyavincent9527 - 03.01.2022 03:43

i am getting timeout: Timed out receiving message from renderer: 20.00
can anyone help me to fix this
every time i get the same even if i changing the time units
Thanks in advance

Ответить
@mukulsharma9977
@mukulsharma9977 - 24.12.2021 00:05

Thanks Sir ❤️

Ответить
@KARTHIKPANCH97
@KARTHIKPANCH97 - 08.12.2021 17:41

crm link is not working

Ответить
@yashu7296
@yashu7296 - 30.11.2021 12:31

Thank You, Sir!

Ответить
@nithin152
@nithin152 - 24.11.2021 18:05

God of automation 🔥....

Ответить
@shaikafzalhussain
@shaikafzalhussain - 17.11.2021 09:35

@Naveen,

The below ones are just gaps in your framework videos

1. There is concept of grouping in Test NG with that you need not create multiple TestNG.xml files [@groupBy= "Sanity", "Regression"]
2. Test Case class should only have steps not like calling utility methods. Those methods need to be reused in Page class
3. Test cases should have steps and assertion (Expected results)

Please let me know, my point of view is not correct.

Ответить
@trivenimh2762
@trivenimh2762 - 07.11.2021 22:07

Thanks lot, much needed knowledge which is easy to follow and excel through the learning

Ответить
@palashborah1271
@palashborah1271 - 07.11.2021 21:51

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

Ответить
@sandeepchaudhary6884
@sandeepchaudhary6884 - 20.10.2021 12:19

Thanks Naveen for such a great video.
I have a question. When we create a test case for a link/button which connects to another page ,you always makes it return the object of that page but how do we validate the test case ? We did not use any Assert for it. For example how do we get to know that "clickOnContactLink" test case is actually passed?
Please rep.

Ответить
@subhashini6459
@subhashini6459 - 20.10.2021 06:55

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!!.

Ответить
@DurgaPrasadPatroOdisha
@DurgaPrasadPatroOdisha - 29.09.2021 13:23

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.

Ответить
@prasannamaithili8231
@prasannamaithili8231 - 13.08.2021 19:39

Naveen you are awesome. No words to say. Superb explanation

Ответить
@prasadthakur4220
@prasadthakur4220 - 05.08.2021 18:01

Thanks for such a brilliant session, request you to explain if static driver object can be used for parallel execution while cross-browser testing

Ответить
@suhasini4731
@suhasini4731 - 03.08.2021 18:05

I faced an issue for reading property file from initialization method was getting NullPointerException so fixed the issue by declaring public static properties prop = new properties(); and public static fileinputstream ip ; globally before declaring constructor.Hope this helps to someone.

Ответить
@manish89arya
@manish89arya - 07.07.2021 21:58

@Naveen, why we have used @BeforeMethod and @AfterMethod in all Test classes OR you have shown better approach in some other video?

Ответить
@shaner217
@shaner217 - 03.07.2021 21:36

Why did he create testng.xml in a new folder/package? The testng.xml file was already created in a different folder so what was the purpose of moving it?

Ответить
@mayuriminiyar2540
@mayuriminiyar2540 - 24.06.2021 13:58

Recommending this series to all who are asking. From where shd I learn selenium testing.. Best ever selenium series.. To learn

Ответить
@akshayak119
@akshayak119 - 23.06.2021 16:22

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

Ответить
@yadhu5113
@yadhu5113 - 15.05.2021 20:30

Naveen, I really enjoyed your video. I'm glade that I found you. Your the best!

Ответить
@sowmiyaabi8802
@sowmiyaabi8802 - 28.04.2021 07:08

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.

Ответить
@PureRealm01
@PureRealm01 - 18.04.2021 09:02

Do I have to teardown() after every tests. Seems like overkill

Ответить
@chauhanrahul155
@chauhanrahul155 - 08.04.2021 10:23

I am getting error of no tests found on running certain pages in intellij idea according to this framework.I tried debugging ,searched google but was not able to find solution.Can anyone suggest a solution?

Ответить
@vijilakshmi1863
@vijilakshmi1863 - 22.03.2021 10:10

Hi Naveen, I have a question.. is it mandatory to return the object of the landing page..?

Ответить
@vishwass110
@vishwass110 - 15.03.2021 11:16

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.

Ответить