StoryTeller with Watin and initializing 1 browser

23 views
Skip to first unread message

Glory Lo

unread,
Dec 28, 2011, 6:05:21 PM12/28/11
to StoryTeller Users
Hi all,

I'm new to storyteller and watin. I am starting to write some
acceptance tests using storyteller with watin against a simple web
application.

I created a base fixture with the intent that it can store a base uri,
login credentials, etc. It will initialize one browser (I'm using a
static class variable for this as in singleton). Ideally on the
SetUp() method it should initialize the browser, preferably with base
uri and the above info. Then inherited fixtures can access this
browser to do its functionality acceptance tests.

When I did run the suite of tests, I get a runtime Null error on the
2nd test and it appears the browser object had been destroyed.
Anyhow, I would like to know if anyone has a snippet of the
StoryTeller and Watin working with the Setup() initializing one
browser as I described.

Help is appreciated,

Glory

Reply all
Reply to author
Forward
0 new messages