# Execute Selenium Test

## Execute Selenium Test with Test Studio

If you have written your selenium tests using C# then you can easily execute them using Test Studio. Steps to follow:

1. In Test Studio <a href="/getting-started/create-test-standalone/web-test" target="_blank">create a new test</a>.

2. Add a <a href="/advanced-topics/coded-steps/coded-step" target="_blank">coded step</a> in the test.

3. Download selenium dlls from <a href="http://docs.seleniumhq.org/download/" target="_blank">here</a> and <a href="/advanced-topics/coded-steps/add-assembly-reference" target="_blank">add the assembly references</a>.

4. Make sure you add the using statements:

   ![using statements](https://www.telerik.com/teststudio/documentation/assets/c38c89cbd057a9b404194dae53f62b6d/fig1.png)

5. Paste/write the selenium test in the coded step:

   ![code sample](https://www.telerik.com/teststudio/documentation/assets/654cbde54da9bd7523e1f5525fa9e32a/fig2.png)

The provided code sample above opens Firefox browser and navigates to Google.com. In the search field it types "webdriver" and hit the search button.

6. Click the <a href="/getting-started/test-execution/quick-execution" target="_blank">**Execute**</a> button to run the test.

7. You can also execute the test as a part of a <a href="/getting-started/test-execution/test-lists-standalone" target="_blank">test list</a>.

8. As soon as the test is executed you can review the test result using the <a href="/troubleshooting-guide/troubleshooting-tools-tg/using-the-execution-log" target="_blank">execution log</a> or using the <a href="/getting-started/test-results/calendar" target="_blank">calendar</a> if executed as a part of a test list. The test can fail if an Assert statement fails.

> **Note!**
> <br>
> Test Studio web test always launches the selected browser upon execution. However, this shouldn't be the same browser in which the Selenium test runs as this might cause any inconsistency.
