-
Notifications
You must be signed in to change notification settings - Fork 128
More common locators
Jakub Raczek edited this page Apr 24, 2017
·
5 revisions
Web element locators in our framework can be parameterized "//*[@title='{0}' and @ms.title='{1}']"
by using Format method.
Example how to use it:
private readonly ElementLocator fileLink = new ElementLocator(Locator.CssSelector, "a[href='download/{0}']");
...
this.Driver.GetElement(this.fileLink.Format("first_file.txt")).Click();
this.Driver.GetElement(this.fileLink.Format("second_file.txt")).Click();
- Home
- Getting started
- Parallel tests execution
- MsTest DataDriven tests from Xml and CSV files
- NUnit DataDriven tests from Xml, CSV and Excel files
- Comparing files by NUnit DataDriven tests
- Visual Testing
- Screen shots: full desktop, selenium. PageSource saving
- Verify-asserts without stop tests
- Downloading files
- Helpers
- Override browser profile preferences, install browser extensions, Headless mode
- Debugging Test.Automation framework
- Logging
- Performance measures
- Webdriver Extends
- More common locators
- Selenium-Grid-support
- Advanced Browser Capabilities and Options
- AngularJS synchronization
- Update App.config or appsettings.json
- Cross browser parallel test execution with testing-Cloud-Providers\SeleniumGrid
- Verifying Javascript Errors from browser
- Enabling Performance Log for Chrome
- Azure DevOps Support
- Edge browser Support
- Downloading and running Selenium Grid with Powershell
- Run Ocaramba tests with Docker container
- HTTP auth in Internet explorer
- ExtentReports Support