Usually, @BeforeClass is good to initialize the UI module unless you have
different UI modules for different test cases.

Thanks,

Jian

On Fri, Feb 4, 2011 at 6:14 AM, ghanshyam baheti <[email protected]>wrote:

> Hi Jian,
>
> We are using below method in each testcase class to initilize the modules.
> are there any states which may impact if we use similar initUi method in
> each testcase class.
>
> What annotation should be used for this?
> @BeforeClass or
> @Before
>
> Do we need to initilize this modules seperately  before each testcase
> execution?
>
>
> /**
> * init method for initilizing all the groovy modules and defining UI for
> all modules
> */
> @BeforeClass
> *public* *static* *void* initUi() {
> *      LoginMod* = *new* LoginPageModule();
>        useTrace(
> *true*);
> }
>
>
> Thanks in advance
>
> --
> *Thanks,
> *Ghanshyam Baheti.
>

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to