Hi all,
I have written Nunit test case using C#. I am using same database located in different server for example server1 and server2.
My config file is
<configuratio n>
<appSettings>
<add key="x" value="server1"/>
</appSettings>
</configuration
when i execute the test case then it will execute with server1
Now the question is:
I want to execute the same test case with server2
How can i pass connection string of server2 to test case dynamically or run time
please help me
Reagrds
Prashant
I have written Nunit test case using C#. I am using same database located in different server for example server1 and server2.
My config file is
<configuratio n>
<appSettings>
<add key="x" value="server1"/>
</appSettings>
</configuration
when i execute the test case then it will execute with server1
Now the question is:
I want to execute the same test case with server2
How can i pass connection string of server2 to test case dynamically or run time
please help me
Reagrds
Prashant
Comment