[Webtest] Question about organizing tests

Dierk König Dierk König
Thu, 29 Dec 2011 12:06:23 +0100


Hi Manish,

> I was wondering if keeping all the xpath expressions in one or
> multiple properties file is a good way of organizing the tests?

this is certainly a good move, especially when you can reuse the 
xpath expressions in multiple places.

> What are some of the other best practices of organizing the tests?
> (other than mentioned here:
> http://webtest.canoo.com/webtest/manual/samples.html)

everything that helps you:
- avoiding duplication
- proper naming
- sensible comments and descriptions

Beside that, it very much depends on your environment.

happy testing
Dierk