Can we have page object model concept in Siesta like selenium?

Get help with testing, discuss unit testing strategies etc.


Post Reply
User avatar
maddymb
Posts: 1
Joined: Mon Mar 30, 2020 6:27 am

Can we have page object model concept in Siesta like selenium?

Post by maddymb »

Hi All,

i want to use page object model concept in Siesta like selenium .
and do we have any concept of creating of methods and passing the parameters using siesta .
Could anyone help me on this .

Thanks
Madhur

User avatar
nickolay
Core Developer
Core Developer
Posts: 3466
Joined: Mon May 16, 2011 10:48 am

Re: Can we have page object model concept in Siesta like selenium?

Post by nickolay »

Hi,

Do you mean you would like to test page behavior, where page is like a browser tab performing navigation? Check this guide if so: https://www.bryntum.com/docs/siesta/#!/guide/cross_page_testing
There are some restrictions compared to Selenium - navigation should be same-origin. Advantage is you can execute code on the page directly.

As about methods creation you probably mean customization of the test class: https://www.bryntum.com/docs/siesta/#!/guide/extending_test_class
We offer training in both Ext JS and our products, read more here.
Read the API documentation

Post Reply