Fun with web testing

waltman on 2002-08-28T18:40:55

So I'm testing a bunch of web pages using Skud's excellent WWW::Automate module, and I thought it wasn't handling radio buttons correctly. Turns out the module is working fine, but the system is taking several minutes to update the database after hitting submit!

It's great fun -- go to the page, hit the radio button, click submit. It says it's saved, but reload the page and it's still at the old setting. But come back in a minute or two and then it's fine.

Sigh.

Time to add some nice long sleeps to my test script...


Fix the problem, not the tests

Robrt on 2002-08-28T23:55:38

Wouldn't it make more sense to fix the problem causing the database not to update?

Re:Fix the problem, not the tests

waltman on 2002-08-29T02:23:47

Yes, but unfortunately the author is out at Burning Man this week. :-)