Fwd: Selenium Test refactoring

6 views
Skip to first unread message

Sarah Bird

unread,
Apr 12, 2013, 12:47:25 AM4/12/13
to econsens...@googlegroups.com
Hi Jo,

I tried sending this to econsensus discuss a couple of days ago, but I guess I wasn't subscribed with my aptivate account - hopefully this is less mysterious now!

Bird

---------- Forwarded message ----------
From: Sarah Bird <sa...@aptivate.org>
Date: 9 April 2013 16:56
Subject: Selenium Test refactoring
To: econsens...@googlegroups.com


Hi all,

So I couldn't help myself and did a pretty major overhaul of the selenium test work we'd done this morning to do the following:
- include some skeleton PageObjectModel to build off (its not perfect but should give you the idea)
- put back in py.test so we could have easy test discovery and use fixtures
- build in some saucelabs integration, specifically reporting the pass/fail status of the test so that we get to see a nice report at saucelabs - this resulted in me using a context manager instead of an assert, but I think its the right approach....thoughts very welcome

Cheers,

Bird

--
Sarah Bird
sa...@aptivate.org
skype: birdsarah



--
Sarah Bird
sa...@aptivate.org
skype: birdsarah
Reply all
Reply to author
Forward
0 new messages