Live data from Hacker News

Cross-Browser Testing Tool Will Rock Your Socks Off

browserstack.com

11–20 of 35 posts

Re: Cross-Browser Testing Tool Will Rock Your Socks Off

#12

One thing I never quite understood about online testing tools like browserstack and saucelabs is how to reset server state. Most webapps have some kind of datastore. Poking around a web ui will CRUD records in that datastore, possibly corrupting the next test. Another problem with this is coupling between tests, making them hard to modify without breaking a bunch of others. Most automated test setups I have seen run…

I think they just delete the user profile which is where browsers usually save their data.

(not 100% sure about that, but I think Selenium mentioned that in the logging output)

Re: Cross-Browser Testing Tool Will Rock Your Socks Off

#14
post #12

One thing I never quite understood about online testing tools like browserstack and saucelabs is how to reset server state. Most webapps have some kind of datastore. Poking around a web ui will CRUD records in that datastore, possibly corrupting the next test. Another problem with this is coupling between tests, making them hard to modify without breaking a bunch of others. Most automated test setups I have seen run…

I think they just delete the user profile which is where browsers usually save their data. (not 100% sure about that, but I think Selenium mentioned that in the logging output)

By datastore I meant server side database (SQL/NoSQL)

Re: Cross-Browser Testing Tool Will Rock Your Socks Off

#15
post #12

Earlier quoted context omitted.

I think they just delete the user profile which is where browsers usually save their data. (not 100% sure about that, but I think Selenium mentioned that in the logging output)

By datastore I meant server side database (SQL/NoSQL)

The way you'd usually do it is either having a multi-user application and just create a new user for a new test (also helps testing concurrently) or you'll have to reset the app by:

- redeploying it on a new e.g. EC2 instance

- clearing out the database and inserting your original blank state from an SQL dump

- clearing out the filesystem by e.g. using a git reset

p.s. you should try to have an automated deployment for your product. That way you could also just spin up a new EC2 instance -> deploy -> test -> kill instance

Re: Cross-Browser Testing Tool Will Rock Your Socks Off

#19
post #11

Sadly doesn't seem to offer an option to do automated testing (such as a selenium endpoint).

Thats entirely a different problem, as of now we are completely focused in providing browsers across OSes and Mobile platforms with a very easy to use UI!

Re: Cross-Browser Testing Tool Will Rock Your Socks Off

#20
post #9

I would add a per-test pricing plan, which is useful when you need to do just a few tests while developing, rather than forking $19/month. 99c to test in 5 different browser/OS combinations would be cool.

For you we already have reasonable prepaid plans!
Post reply on HN