Page Object Model in Selenium -- Part6 (Automation Framework Design and Development Video Series)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Hi Karthik, You are a great instructor, thanks a lot for your great presentation.

sshishesazshishesaz
Автор

I have been watching your POM videos you so much

nagagsalka
Автор

Very nicely explained. But at 15:22, where a non-parameterized constructor is added, its mentioned that the approach is not correct and a more generic approach would be covered later. Does nyone know what is the right approach?

rasikagadgil
Автор

Hi karthik,

How will POM PageFactory, work in dynamic object identification?

akanshasaraswat
Автор

Hi Karthik,

Excellent and very helpful tutorial. I have question about returning back other PageObject form clickSelenium method. Why we handling multiple constructor in SeleniumPageObject and whats happen when you return an instance of this object without webdriver and will try trigger other methods on this object? I suppose there will by some InvocationMethodExceptions caused by NullPointer.
Regards,

cx.silver.bullet
Автор

Hey .. It is nice video... But when you that test it will fails. Because ur return the default constuctor of seleniumO=pageObjects. But we need to click on download link we required driver object, that we initilzation in parameterization constructor. So as per my knowledge we need to return parameterizaed constructor of seleniumpageobjects. If it is wrong expainlation please ignore this.  Any way it is good video...

artbyakhilesh
Автор

@Kartik,
If a page has a form with 25 and more fields then wont it be to complex if we use POM ?

satyajeetpaygude
Автор

Hi Karthik,

Are you using "PageFactory.initElements" in script, Is it mean it's page factory framework or PageObject Framework?

Anand S.

somanianands
Автор

+Execute Automation Thanks for the very helpful tutorials. I have 1 question which has not been answered yet. Multiple commenters have asked this question but you have not provided an exact answer on your replies. In the video at the end, you add "return new SeleniumPageObjects" to the ClickSelenium method. And you add a non-parameterized constructor. This does not initialize the page when using this method... "SeleniumPageObjects selPage = page.ClickSelenium". It throws a NullReferenceException because it never initialized the selenium page objects because a driver was never passed to the constructor. How can this be fixed? You say to watch part 7, but I watched part 7 and you don't fix this erroneous code

mikejohnston
Автор

Hi dude, thanks for the video, I add the jar files, and I made the same in your video, when I execute a message displayed, but I dont know why (I try with Firefox and Chrome and is the same): Exception in thread "main"
at
Caused by:
at Source)
at Source)
at Source)
at Source)
... 1 more
any idea?

zeapaez
Автор

Hi Karthik 
You returned the default constructor of second page due to which an error is coming ...can you pls tell me how to correct it .

sushantshandilya
Автор

+Execute Automation hi i am unable to run when we use this code
public SeleniumPageObject clickSelenium()
{
Seleniumclick.click();
return new SeleniumPageObject();
}



SeleniumPageObject ss= page.clickSelenium();



Exception in thread "main"
at
at





how will it work. without calling parametric please do reply

shrikanthabm
Автор

@Kartik,
If a page has a form with 25 and more fields then wont it be to complex if we use POM ?

satyajeetpaygude
welcome to shbcf.ru