Méthode | Description | |
---|---|---|
AreEqual ( string expected, string actual ) : void |
Asserts that two "rows" of strings are identical.
|
|
AreEqual ( string expected, string actual, string message ) : void |
Asserts that two "rows" of strings are identical.
|
|
CurrentUrlEndsWith ( |
Asserts that the specified browser's current URL ends with a specific string. Start your expectedEndOfUrl with a '/' for maximum accuracy.
|
|
CurrentUrlEndsWith ( string expectedEndOfUrl ) : void |
Asserts that the default browser's current URL ends with a specific string. Start your expectedEndOfUrl with a '/' for maximum accuracy.
|
|
NotVisible ( Tester tester ) : void |
Asserts that a specific control is not on the current web page, or if it is, its "Visible" parameter is set to "false." This method does not distinguish between non-existant controls and non-visible controls: use with caution.
|
|
NotVisible ( Tester tester, string message ) : void |
Asserts that a specific control is not on the current web page, with the "Visible" parameter set to "true." This method does not assert that the control is actually visible to the user.
|
|
Visible ( Tester tester ) : void |
Asserts that a specific control is on the current web page, with the "Visible" parameter set to "true." This method does not assert that the control is actually visible to the user.
|
|
Visible ( Tester tester, string message ) : void |
Asserts that a specific control is on the current web page, with the "Visible" parameter set to "true." This method does not assert that the control is actually visible to the user.
|
Méthode | Description | |
---|---|---|
AreEqual ( object expected, object actual, string message ) : void | ||
AreEqualIgnoringOrder ( string expected, string actual ) : void | ||
AreEqualIgnoringOrder ( string expected, string actual, string message ) : void | ||
ArraysEqual ( string expected, string actual ) : bool | ||
AssertTableContainsRow ( string message, string expected, string actual, string actualRow ) : void | ||
Compare ( string a, string b, DataType type ) : int | ||
Fail ( string message ) : void | ||
Fail ( string message, string expected, string actual ) : void | ||
Flatten ( string a ) : string | ||
NotNull ( object o, string message ) : void | ||
RenderArray ( string array ) : string | ||
RenderDoubleArray ( string doubleArray ) : string | ||
Sorted ( string data, int column, bool isAscending, DataType type ) : void | ||
Sorted ( string data, int column, bool isAscending, DataType type, string message ) : void | ||
TableContainsRow ( string table ) : void | ||
True ( bool condition, string message ) : void | ||
Visibility ( Tester tester, bool expectedVisibility ) : void | ||
Visibility ( Tester tester, bool expectedVisibility, string message ) : void |
public static AreEqual ( string expected, string actual ) : void | ||
expected | string | |
actual | string | |
Résultat | void |
public static AreEqual ( string expected, string actual, string message ) : void | ||
expected | string | |
actual | string | |
message | string | |
Résultat | void |
public static CurrentUrlEndsWith ( |
||
browser | The browser to check. | |
expectedEndOfUrl | string | What you expect the URL to end with. |
Résultat | void |
public static CurrentUrlEndsWith ( string expectedEndOfUrl ) : void | ||
expectedEndOfUrl | string | What you expect the URL to end with. |
Résultat | void |
public static NotVisible ( Tester tester ) : void | ||
tester | Tester | The tester for the control to check. |
Résultat | void |
public static NotVisible ( Tester tester, string message ) : void | ||
tester | Tester | The tester for the control to check. |
message | string | The error message to display if the assertion fails. |
Résultat | void |