for Executing the Automated C# scripts for my tests I used the following code:
To RUN the same test in Internet explorer, a small change will be sufficient to execute similarly.see following code replacement :
To RUN the same test in Internet explorer, a small change will be sufficient to execute similarly.see following code replacement :
To run the test for a different browser, simply supply the name of the browser as the second argument. For example,
*iexplore
uses Internet Explorer as the browser instead of Firefox. Use *opera
for the Opera browser or *safari
for Apple Safari.
Note that the browser must be supported on the operating system on which you are running the tests. You will get exceptions and, therefore, failed tests if you attempt to execute tests for a browser that doesn't exist on your operating system, such as
*safari
or *iexplore
on a system running Linux®.