Use Siesta to test traditional website.
Posted: Mon Aug 26, 2013 4:16 am
I recently found Siesta which is a great tool for testing extjs applications. I like the solution using js to develop test script. It gives developer full control of the extjs applications being tested.
Just want to give it a go to use it to test traditional website. So just set up a very simple sceanrio including two pages:
Login.html and Success.html. Login.html includes a link to simply jump to Success.html
I setup the a testcase to simulate a click to the link which is straight forward and works fine. While I try to retrieve the DOM in Success.html page I found I couldn't access to it even the current page showing is actually the Success.html page in DOM panel. And even more interesting, I can still access the DOM of Login.html page.
I guess Siesta doesn't reload the DOM when the page's redirected.
Maybe Siesta doesn't designed to test these traditional websites.
Can anyone give me a bit idea?
Thanks
Just want to give it a go to use it to test traditional website. So just set up a very simple sceanrio including two pages:
Login.html and Success.html. Login.html includes a link to simply jump to Success.html
I setup the a testcase to simulate a click to the link which is straight forward and works fine. While I try to retrieve the DOM in Success.html page I found I couldn't access to it even the current page showing is actually the Success.html page in DOM panel. And even more interesting, I can still access the DOM of Login.html page.
I guess Siesta doesn't reload the DOM when the page's redirected.
Maybe Siesta doesn't designed to test these traditional websites.
Can anyone give me a bit idea?
Thanks