Show / Hide Table of Contents

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
Object
PageModel
Namespace: AxaFrance.WebEngine.Web
Assembly: AxaFrance.WebEngine.Web.dll
Syntax
public class PageModel

Constructors

| Edit this page View Source

PageModel(WebDriver)

Initialize the Page model with the associated Selenium WebDriver

Declaration
public PageModel(WebDriver driver)
Parameters
Type Name Description
WebDriver driver

The Webdriver to use for the localization of Web Elements

Methods

| Edit this page View Source

AccessibilityCheck()

Run accessibility test on the current page

Declaration
public void AccessibilityCheck()
| Edit this page View Source

AccessibilityCheck(ElementDescription)

Run accessibility test on the given element

Declaration
public void AccessibilityCheck(ElementDescription context)
Parameters
Type Name Description
ElementDescription context
| Edit this page View Source

AccessibilityCheck(IWebElement)

Run accessibiity test on the given element

Declaration
public void AccessibilityCheck(IWebElement context)
Parameters
Type Name Description
IWebElement context
  • Edit this page
  • View Source
In this article
Back to top Copyright ® 2016-2024 AXA France, All rights reserved.