- Download & Install MicroFocus Silk WebDriver for free
- Start Silk WebDriver
- Start the recording
- Select the browser
- Enter the URL
- Record any workflow
- Use the action chooser to select a different action
- Verify certain states of the application by pressing ctrl-alt and select the any property of the active object
- Select the browser icon to record browser actions like Back, Forward, Get
- Replay the script
- By pressing play to replay all actions or
- selecting a single action and than press play or
- selecting multiple actions by holding down the ctrl-key and than press play
- Modify the script
- Delect actions or
- Reorder them
- Open a Visual Studio solution
- Use a pre-configured solution: Clone the repository
and open the C# or Visual Basic solution or
bash git clone git://github.com/MicroFocus/SilkWebDriver-QuickStart-DotNet.git - Create your own solution:
- Start Visual Studio
- Create a new project: File->New->Project...
- Select Visual Basic or Visual C#
- Select the Test template
- Select Unit Test Project (.Net Framework)
- Fill in the names for project and solution and click OK
- Install Selenium WebDriver by using the NuGet Package Manager:
- Select Tools->NuGet Package Manager->Package Manager Console
- In the opened Package Manager console, enter the following commands:
Install-Package Selenium.WebDriver -Version 3.4.0Install-Package Selenium.Support -Version 3.4.0
- Use a pre-configured solution: Clone the repository
- Export the script
- To the clipboard or
- As a .cs (C#) or .vb (Visual Basic) file, ideally to the created solution's folder
- Run the created script: Test->Run->All Tests
Scripts provided by Micro Focus are licensed under the MIT license.
You want to contribute to our sample scripts? Great!
Sample scrips may be contributed after signing the Micro Focus Individual Contributor License Agreement 1.0. Signed contributor agreements are to be sent, via PDF, to licensing@microfocus.com. You will be notified via email when the agreement has been accepted by Micro Focus.