-
Notifications
You must be signed in to change notification settings - Fork 5
Onboarding
peterrexj edited this page Sep 1, 2019
·
3 revisions
Visual Studio 2017 or higher
You need to know
- basics of writing test using Selenium (the concept of IWebDriver, IWebElement)
- inspect and find elements (defining selectors that are required for page objects)
- basics of integration testing if you are planning for API tests
Install the nuget package against your working project
nuget install Selenium.Essentials
Refer the namespace on all your class files where you want to use this extension. All the required extensions and methods are now defined under the same namespace.
using Selenium.Essentials
Initialize the framework to start using the extension. Initialization process creates a test context (test container) which holds the test information against the test case scenario. Call this method before the test start, for example [Setup] method or in hooks for Specflow [BeforeScenario] method
[SetUp]
public void Setup()
{
Utility.InitializeFramework();
}
You are all ready to start writing code using Selenium.Essentials