Both JUnit 4 and TestNG provide parameterized tests, but I am not sure if
they support the parameterized @Before or @BeforeMethod methods.

In Tellurium 0.8.0, you read the urls from somewhere by using

void setEnvironment(String key, String value)

to store it to the environment, then you could call

String getEnvironment(String key)

to fetch it from the environment in your test case.
But not sure if this is what you want.

On Tue, May 31, 2011 at 2:38 AM, Hari <[email protected]> wrote:

> Hi,
>    HI am executing 100 and more test cases in my project.Each and every
> testcase am using the following code.
>
> @Before
>
> *public* *void* setUpForTest() {
>
> *connectUrl*(http://localhost:8080/web.jsp);
>
> }
>
> If i want to change the url  mean. i have to manually change the url in my
> all testcases.....
>
> How to  
> parameterized<http://www.google.co.in/search?hl=en&biw=1020&bih=603&sa=X&ei=u4zkTePvMMbJhAeW3KjzBw&ved=0CB0QBSgA&q=parameterized&spell=1>
>   url
> code or can you help me ..
>
>
>
>
>
>
>
>
>
> --
> 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.
>

-- 
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