Skip to content

Commit bb2ea47

Browse files
committed
Update README
1 parent 53029fe commit bb2ea47

2 files changed

Lines changed: 20 additions & 12 deletions

File tree

ApplitoolsTutorial/UFGDemo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static void SetUp(Eyes eyes)
4949
Configuration config = new Configuration();
5050

5151
// You can get your api key from the Applitools dashboard
52-
//config.SetApiKey("APPLITOOLS_API_KEY");
52+
config.SetApiKey("APPLITOOLS_API_KEY");
5353

5454
// create a new batch info instance and set it to the configuration
5555
config.SetBatch(new BatchInfo("Ultrafast Batch"));

README.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,39 @@
22

33
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)
44
* [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)
610
* https://splinter.readthedocs.io/en/0.1/setup-chrome.html
711
* https://stackoverflow.com/questions/38081021/using-selenium-on-mac-chrome
812
* 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).
917

1018
# Steps to run this example
1119

1220
1. Git clone this repo
13-
21+
1422
* `git clone https://github.com/applitools/tutorial-selenium-csharp-ultrafastgrid.git`
1523

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).
1725

18-
3. Get your API key to set it in code (or in the APPLITOOLS_API_KEY environment variable).
19-
2026
* 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
2327

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

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

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

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

0 commit comments

Comments
 (0)