![]() | Row Class |
[Missing <summary> documentation for "T:TescoSW.MW.UITests.Common.PageModel.Components.DataGrid.Row"]
Namespace: TescoSW.MW.UITests.Common.PageModel.Components.DataGrid
public class Row : Row<DropDownRecordActions>, IRow<DropDownRecordActions>, IRow<DropDownRecordActions, ICell>, IBaseElement, IWebElement, ISearchContext, IWrapsElement, IContextAware
The Row type exposes the following members.
Name | Description | |
---|---|---|
![]() | Row(IWebElement) |
Vytvoří nový element
|
![]() | Row(IWebElement, IWebElement, By, By, By) | Initializes a new instance of the Row class |
Name | Description | |
---|---|---|
![]() | FindElementOrNull |
Najde element a pokud není nalezen, tak vrací místo výjimky null
(Defined by ExtensionMethods.) |
![]() | GetParent |
Metoda vrací rodiče "IWebElement" objektu
(Defined by ExtensionMethods.) |
![]() | HasAttribute |
Zkontroluje, zda element obsahuje daný atribut
(Defined by ExtensionMethods.) |
![]() | HasClass |
Metoda ověřuje, zda "IWebElement" objekt obsahuje třídu s daným názvem
- Příklad použití
var randomField = By.CssSelector("...");
IWebElement randomIWebElement = driver.FindElement(randomField);
bool result = randomIWebElement.HasClass("Disabled");
(Defined by ExtensionMethods.) |
![]() | TryFindElementOrNull(By, Int32) | Overloaded.
Pokusí se najít element a pokud není nalezen, tak vrací místo výjimky null
(Defined by ExtensionMethods.) |
![]() | TryFindElementOrNull(By, Int32) | Overloaded.
Pokusí se najít element a pokud není nalezen, tak vrací místo výjimky null
(Defined by ExtensionMethods.) |
![]() | WaitForAttributeValue |
Metoda ověřuje, zda má vlastnost objektu "IWebElement" požadovanou hodnotu
- Příklad použití
var randomFieldInput = By.CssSelector("...");
IWebElement randomIWebElement = driver.FindElement(randomFieldInput);
randomIWebElement.WaitForAttributeValue("value", "testValue");
(Defined by ExtensionMethods.) |
![]() | WaitForElementAttributeNotPresent |
Ověřuje, zda element obsahuje zadaný atribut
(Defined by ExtensionMethods.) |
![]() | WaitForElementAttributePresent |
Ověřuje, zda element obsahuje zadaný atribut
(Defined by ExtensionMethods.) |
![]() | WaitForElementClassNotPresent |
Ověřuje, zda element neobsahuje danou třídu
(Defined by ExtensionMethods.) |
![]() | WaitForElementClassPresent |
Metoda ověřuje, zda "IWebElement" objekt obsahuje danou třídu
(Defined by ExtensionMethods.) |
![]() | WaitForElementNotValue |
Ověřuje, zda má element danou hodnotu
(Defined by ExtensionMethods.) |
![]() | WaitForElementNotVisible |
Ověřuje, zda není element viditelný
(Defined by ExtensionMethods.) |
![]() | WaitForElementValue |
Ověřuje, zda má element danou hodnotu
(Defined by ExtensionMethods.) |
![]() | WaitForElementVisible |
Metoda ověřuje, zda je "IWebElement" objekt viditelný
(Defined by ExtensionMethods.) |
![]() | WaitForInputValue |
Ověřuje, zda má element danou hodnotu elementu (Defined by ExtensionMethods.) |