Tue, 26 Aug 2003 11:51:41 -0400
Thanks, that works.
From: Aatish Arora [mailto:email@example.com]
Sent: Monday, August 25, 2003 10:49 PM
Subject: Re: [Webtest] subroutines
Check out the <ant> tag ;).
Theres an example called AllLanguagesTestSuite.xml on
Although in this case a test suite is mentioned - u
can also try it out for a test case. The idea is to
pass properties from outside - just like you would do
in a subroutine. ;)
--- "Thakkar, Hetal" <firstname.lastname@example.org>
> If I have several tests that are very similar, but
> differ just a little
> bit, then is there a way to extract the common
> things into a subroutine?
> For example, If I have two testcases, the testcases
> are navigating upto
> a page and verifying a table on thege. On one page
> the table's data
> starts at first column, while on the other data
> starts at line 2. The
> data is exactly the same, but the lines are
> displaced by 1 lets say. Is
> there a way to extract the table verification as a
> subroutine and pass
> it a parameter that specifies which line the table
> starts from or
> something similar to that?
> WebTest mailing list
THE FOUR STAGES OF LIFE:
1) You believe in Santa Claus.
2) You don't believe in Santa Claus.
3) You are Santa Claus.
4) You look like Santa Claus.
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
WebTest mailing list