Page 1 of 1

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

Posted: Mon Mar 30, 2020 6:30 am
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

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

Posted: Mon Mar 30, 2020 1:37 pm
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