Get help with testing, discuss unit testing strategies etc.


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

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

Post Reply