|
2 | 2 |
|
3 | 3 | 1. Visual Studio installed on your machine. Workload ".NET desktop development" should be installed in Visual Studio too (if no - add it with Visual Studio Installer) |
4 | 4 | * [Install it from here](https://visualstudio.microsoft.com/downloads/) |
5 | | -2. Chrome Webdriver is on your machine and is in the PATH. Here are some resources from the internet that'll help you. |
| 5 | +2. Chrome browser is installed on your machine. |
| 6 | + |
| 7 | + * [Install Chrome browser](https://support.google.com/chrome/answer/95346?co=GENIE.Platform%3DDesktop&hl=en&oco=0) |
| 8 | +3. Chrome Webdriver is on your machine and is in the PATH. Here are some resources from the internet that'll help you. |
| 9 | + * [Download Chrome Webdriver](https://chromedriver.chromium.org/downloads) |
6 | 10 | * https://splinter.readthedocs.io/en/0.1/setup-chrome.html |
7 | 11 | * https://stackoverflow.com/questions/38081021/using-selenium-on-mac-chrome |
8 | 12 | * https://www.youtube.com/watch?time_continue=182&v=dz59GsdvUF8 |
| 13 | +4. Git is installed on your machine. |
| 14 | + |
| 15 | + * [Install git](https://www.atlassian.com/git/tutorials/install-git) |
| 16 | +5. Restart your machine to implement updated environment variables (need for some OS). |
9 | 17 |
|
10 | 18 | # Steps to run this example |
11 | 19 |
|
12 | 20 | 1. Git clone this repo |
13 | | - |
| 21 | + |
14 | 22 | * `git clone https://github.com/applitools/tutorial-selenium-csharp-ultrafastgrid.git` |
15 | 23 |
|
16 | | -2. Open the folder `tutorial-selenium-csharp-ultrafastgrid` |
| 24 | +2. Get your API key to set it in code (or in the APPLITOOLS_API_KEY environment variable). |
17 | 25 |
|
18 | | -3. Get your API key to set it in code (or in the APPLITOOLS_API_KEY environment variable). |
19 | | - |
20 | 26 | * You can get your API key by logging into Applitools > Person Icon > My API Key. |
21 | | - |
22 | | -4. Double click the `ApplitoolsTutorial.sln`. This will open the project in Visual Studio |
23 | 27 |
|
24 | | -5. Change the `APPLITOOLS_API_KEY` with your own in code. |
25 | | - Set your ApiKey in string 'conf.SetApiKey("...") ' (or comment the string and set APPLITOOLS_API_KEY environment variable) |
| 28 | +4. Navigate to folder `tutorial-selenium-csharp-ultrafastgrid` and double click the `ApplitoolsTutorial.sln`. This will open the project in Visual Studio |
| 29 | + |
| 30 | +5. In Visual Studio open file UFGDemo.cs and change the `APPLITOOLS_API_KEY` with your own in code. |
| 31 | + Set your ApiKey in string 'config.SetApiKey("...") ' (or comment the string and set APPLITOOLS_API_KEY environment variable) |
26 | 32 |
|
27 | | -6. Build the project. It can take several minutes. |
| 33 | +6. In Visual Studio open Package Manager Console (Tools > NuGet Package Manager > Package Manager Console) and enter command `dotnet restore` in the console. Command execution can take several minutes. |
| 34 | + |
| 35 | +6. Build the solution (Build > Build Solution). It can take several minutes. |
28 | 36 |
|
29 | | -7. Navigate to Test Explorer, select test VGTest and hit Run |
| 37 | +7. Run project (Debug > Start Without Debugging). Execution of project can take several minutes. |
30 | 38 |
|
31 | 39 | 8. If needed, in case of some problems - update package Eyes.Selenium by NuGet Package Manager - Tools > NuGet Package Manager > Manage Nuget Packages for Solution, tab Updates. Select package for update (Eyes.Selenium), select needed version in right panel and tap Install |
32 | 40 |
|
|
0 commit comments