Class PageModel
Page Model is the repository to store all test objets which are been used by the test script. Page Model contains one or more ElementDescription, each Element Description indicates how to identify the
Inheritance
System.Object
PageModel
Namespace: AxaFrance.WebEngine.Web
Assembly: AxaFrance.WebEngine.Web.dll
Syntax
public class PageModel
Constructors
| Improve this Doc View SourcePageModel(WebDriver)
Initialize the Page model with the associated Selenium WebDriver
Declaration
public PageModel(WebDriver driver)
Parameters
Type | Name | Description |
---|---|---|
OpenQA.Selenium.WebDriver | driver | The Webdriver to use for the localization of Web Elements |
Methods
| Improve this Doc View SourceAccessibilityCheck()
Run accessibility test on the current page
Declaration
public void AccessibilityCheck()
AccessibilityCheck(ElementDescription)
Run accessibility test on the given element
Declaration
public void AccessibilityCheck(ElementDescription context)
Parameters
Type | Name | Description |
---|---|---|
ElementDescription | context |
AccessibilityCheck(IWebElement)
Run accessibiity test on the given element
Declaration
public void AccessibilityCheck(IWebElement context)
Parameters
Type | Name | Description |
---|---|---|
OpenQA.Selenium.IWebElement | context |