Advantage and disadvantage of POM Page Factory with continous integeration

3,021 views
Skip to first unread message

Usman

unread,
Jul 16, 2013, 10:56:16 AM7/16/13
to webd...@googlegroups.com

Hi,

Can someone explains the Advantage and disadvantage of POM Page Factory with continous integeration?

Please share your experiences.


Regards
Usman

Mark Collin

unread,
Jul 17, 2013, 7:35:09 AM7/17/13
to webd...@googlegroups.com
What is a POM Page Factory?
> --
> You received this message because you are subscribed to the Google
> Groups "webdriver" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to webdriver+...@googlegroups.com.
> To post to this group, send email to webd...@googlegroups.com.
> Visit this group at http://groups.google.com/group/webdriver.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Tarun Kumar

unread,
Jul 18, 2013, 12:03:10 AM7/18/13
to webd...@googlegroups.com
I suppose Page Object Model Page Factory, which are two different things. 
But not sure how they are linked to Continuous Integration

NareshKumar

unread,
Jul 18, 2013, 12:30:09 AM7/18/13
to webd...@googlegroups.com
Usman,  Do you mean using POM ( Project Object Model) comes with Maven and Page Object pattern how do we integrate it ? and  what are the Advantages and Dis-Advantages ?

Answer is these two work in CI ( Continuous integration) but these are 2 different concepts all together.
--
Have a Nice Day
Thanks n Regards
Naresh

Usman afzal

unread,
Jul 18, 2013, 8:31:38 AM7/18/13
to webd...@googlegroups.com
Naresh Kumar,

No,the POM stands for "Page Object Model" which is the pattern to identify the objects used in the web page,some methods representing use case and page factory is used to initialized the page objects in the tests.
I am developing a framework in java using testNG and reading some data from excel sheet and then using the framework for CI.


Anyone,who has implemented the framework please share the difficulties faced.

Regards
Usman

robbiewinston

unread,
Jul 22, 2013, 5:40:57 AM7/22/13
to webd...@googlegroups.com
I don't understand how Page Objects and CI are linked.

If you write stable and reliable tests, then you can implement them into a CI solution. Whether you followed Page Objects or not is immaterial.  BTW - I woudl definitely reccommend using Page Objects for all webdriver testing

Usman afzal

unread,
Jul 22, 2013, 8:01:38 AM7/22/13
to webd...@googlegroups.com
Robbie,

Thanks for the answer.

Can you please explain how to write a stable tests? What should be added in stable tests?


Regards
Usman




On Mon, Jul 22, 2013 at 11:40 AM, robbiewinston <wareham...@gmail.com> wrote:
I don't understand how Page Objects and CI are linked.

If you write stable and reliable tests, then you can implement them into a CI solution. Whether you followed Page Objects or not is immaterial.  BTW - I woudl definitely reccommend using Page Objects for all webdriver testing

--

robbiewinston

unread,
Jul 22, 2013, 8:38:03 AM7/22/13
to webd...@googlegroups.com
"Stable tests" just means tests which stable; they don't  fail because of poor automation.  When they fail, you can be pretty sure it is an issue or change in teh system under test and not a problem with the test.

All automated tests shoudl be stable else they are not worth running.
Reply all
Reply to author
Forward
0 new messages