Свойство | Тип | Описание | |
---|---|---|---|
_d | IWebDriver | ||
maxwait | int |
Метод | Описание | |
---|---|---|
GetID ( string s ) : string | ||
GetOptionIndex ( |
||
GetOptionText ( |
||
GetOptionText ( IWebElement elem ) : string | ||
GetOptionValue ( |
||
RandomString ( int size ) : string | ||
ReplaceElementText ( |
||
SelectOption ( |
||
SelectOptionByIndex ( |
||
SelectOptionByValue ( |
||
SolutionDirectory ( ) : string | ||
WaitAndDoubleClick ( |
||
WaitForElement ( |
||
WaitForElementDisplayed ( |
||
WaitForElementExists ( |
||
WaitForElementValue ( |
Wait for both an element to exist and for the specified value to be present.
|
|
WaitForText ( String what ) : bool | ||
WaitForText ( String what, int waitfor ) : bool | ||
WaitThenClickElement ( |
||
activityCreate ( |
||
activityMenuLink ( ) : bool | ||
activitySignIn ( string idPrefix, int dwccardnum ) : bool | ||
activitySignInIsSanctioned ( ) : bool | ||
activitySignInValidate ( string idPrefix, int dwccardnum, int rowcount ) : bool | ||
activityValidate ( |
||
confirmWorkerDeleted ( ) : bool | ||
createSomeWorkers ( int numWorkers, DbSet |
||
elementExists ( |
||
employerCreate ( |
|
|
employerDelete ( |
||
employerValidate ( |
|
|
eventCreate ( |
||
eventValidate ( |
||
getSelectedTabRecordID ( string cssClass ) : int | ||
gotoMachete ( ) : bool | ||
login ( ) : bool |
|
|
logout ( ) : bool | ||
nextAvailableDwccardnum ( MacheteContext DB ) : int | ||
personCreate ( Person _per ) : bool | ||
personValidate ( Person _per ) : bool | ||
refreshCache ( ) : bool | ||
sharedUI ( IWebDriver driver, string url ) : System | ||
workAssignmentActivate ( Employer _emp, WorkOrder _wo, WorkAssignment _wa ) : bool |
Activate work order. Assumes start at WA ListTab.
|
|
workAssignmentCreate ( Employer emp, WorkOrder wo, WorkAssignment wa ) : bool |
Create new assignment. Last action executes Create Button, returning to List Tab.
|
|
workAssignmentValidate ( Employer _emp, WorkOrder _wo, WorkAssignment _wa ) : bool | ||
workOrderCreate ( Employer _emp, WorkOrder _wo ) : bool | ||
workOrderValidate ( WorkOrder _wo ) : bool | ||
workerCreate ( Worker _wkr, string imagepath ) : bool | ||
workerDelete ( Worker _wkr ) : bool | ||
workerSanction ( Worker _wkr ) : bool | ||
workerValidate ( Worker _wkr ) : bool |
Метод | Описание | |
---|---|---|
IsElementPresent ( |
Returns element or null if not found. Catches Selenium exceptions.
|
|
IsElementValuePresent ( |
Find element by the given By object and return true if the value matches the attribute value.
|
|
isTextPresent ( String what, IWebDriver driver ) : bool |
public static GetID ( string s ) : string | ||
s | string | |
Результат | string |
public GetOptionIndex ( |
||
by | ||
Результат | int |
public GetOptionText ( |
||
by | ||
Результат | string |
public GetOptionText ( IWebElement elem ) : string | ||
elem | IWebElement | |
Результат | string |
public GetOptionValue ( |
||
by | ||
Результат | string |
public ReplaceElementText ( |
||
by | ||
text | string | |
Результат | bool |
public SelectOption ( |
||
by | ||
opttext | string | |
Результат | bool |
public SelectOptionByIndex ( |
||
by | ||
index | int | |
Результат | bool |
public SelectOptionByValue ( |
||
by | ||
optvalue | string | |
Результат | bool |
public static SolutionDirectory ( ) : string | ||
Результат | string |
public WaitAndDoubleClick ( |
||
by | ||
Результат | bool |
public WaitForElement ( |
||
by | ||
Результат | IWebElement |
public WaitForElementDisplayed ( |
||
by | ||
Результат | IWebElement |
public WaitForElementExists ( |
||
by | ||
Результат | bool |
public WaitForElementValue ( |
||
by | ||
value | string | |
Результат | bool |
public WaitForText ( String what, int waitfor ) : bool | ||
what | String | |
waitfor | int | |
Результат | bool |
public WaitThenClickElement ( |
||
by | ||
Результат | bool |
public activityCreate ( |
||
_act | ||
Результат | bool |
public activitySignIn ( string idPrefix, int dwccardnum ) : bool | ||
idPrefix | string | |
dwccardnum | int | |
Результат | bool |
public activitySignInIsSanctioned ( ) : bool | ||
Результат | bool |
public activitySignInValidate ( string idPrefix, int dwccardnum, int rowcount ) : bool | ||
idPrefix | string | |
dwccardnum | int | |
rowcount | int | |
Результат | bool |
public activityValidate ( |
||
_act | ||
Результат | bool |
public createSomeWorkers ( int numWorkers, DbSet |
||
numWorkers | int | |
workers | DbSet |
|
Результат | bool |
public elementExists ( |
||
by | ||
Результат | bool |
public employerCreate ( |
||
_emp | ||
Результат | bool |
public employerDelete ( |
||
_emp | ||
Результат | bool |
public employerValidate ( |
||
_emp | ||
Результат | bool |
public eventCreate ( |
||
_ev | ||
Результат | bool |
public eventValidate ( |
||
_ev | ||
Результат | bool |
public getSelectedTabRecordID ( string cssClass ) : int | ||
cssClass | string | |
Результат | int |
public static nextAvailableDwccardnum ( MacheteContext DB ) : int | ||
DB | MacheteContext | |
Результат | int |
public personCreate ( Person _per ) : bool | ||
_per | Person | |
Результат | bool |
public personValidate ( Person _per ) : bool | ||
_per | Person | |
Результат | bool |
public sharedUI ( IWebDriver driver, string url ) : System | ||
driver | IWebDriver | |
url | string | |
Результат | System |
public workAssignmentActivate ( Employer _emp, WorkOrder _wo, WorkAssignment _wa ) : bool | ||
_emp | Employer | |
_wo | WorkOrder | |
_wa | WorkAssignment | |
Результат | bool |
public workAssignmentCreate ( Employer emp, WorkOrder wo, WorkAssignment wa ) : bool | ||
emp | Employer | |
wo | WorkOrder | |
wa | WorkAssignment | |
Результат | bool |
public workAssignmentValidate ( Employer _emp, WorkOrder _wo, WorkAssignment _wa ) : bool | ||
_emp | Employer | |
_wo | WorkOrder | |
_wa | WorkAssignment | |
Результат | bool |
public workOrderCreate ( Employer _emp, WorkOrder _wo ) : bool | ||
_emp | Employer | |
_wo | WorkOrder | |
Результат | bool |
public workOrderValidate ( WorkOrder _wo ) : bool | ||
_wo | WorkOrder | |
Результат | bool |
public workerCreate ( Worker _wkr, string imagepath ) : bool | ||
_wkr | Worker | |
imagepath | string | |
Результат | bool |
public workerDelete ( Worker _wkr ) : bool | ||
_wkr | Worker | |
Результат | bool |
public workerSanction ( Worker _wkr ) : bool | ||
_wkr | Worker | |
Результат | bool |
public workerValidate ( Worker _wkr ) : bool | ||
_wkr | Worker | |
Результат | bool |