Either you can run the same ‘hello world’ program to verify it is configured or you can insert the selenium C# test script. After selecting version, a pop up will be shown with asking permission to fix unresolved dependencies.Then select version according to your dotnet sdk version. It will show all package related to selenium from which, select ‘Selenium Webdriver’.After selecting, An input box will open then enter “Selenium” and Press Enter key.Select ‘Nuget package manager: Add package’ from result options.Enter ‘NuGet package manager’ into the input box. Click on ‘View’ from the menu bar, Select Command Palette option. Now Add selenium Package to the project.Go to “FirstTest” directory by “cd FirstTest” and trigger the below command to auto generate the related files which will help to run the tests. Once the above installation is completed, Create a New Folder under demoProject and name it ‘FirstTest’ or with any name, Then open Terminal from View (menu bar).Enter Nuget package manager in the input box and install it. Follow the same steps from above to add “NuGet Package Manager” extension.It will show a success message about installation.
0 Comments
Leave a Reply. |