The WhileTestCase type exposes the following members.

Properties

  NameDescription
ActualResult
The actual result of the test case.

Remarks

It is recommended to set the actual result on any code path inside the Body method (much like return)
(Inherited from TestCase.)
Children
The children of this test case
(Inherited from FolderTestCase.)
CSharpExpression
A C# expression that should return true or false (you can include variables as well)

Examples

If you have a variable named 'myVar' you can set an expression which tests if myVar equals 'hello world', like this : "$myVar$" == "hello world"

Remarks

To learn more about C# syntax in expressions click <a href="http://msdn.microsoft.com/en-us/library/aa691304(VS.71).aspx">here</a>
Description (Overrides TestCase..::.Description.)
ExitBranchOnError
Tells the QAliber Runner whether to continue the scenario on the next branch, if this test case fails
(Inherited from TestCase.)
ExitOnError
Tells the QAliber Runner whether to quit the scenario, if this test case fails
(Inherited from TestCase.)
ExpectedResult
The expected result for this test case, for support of both positive and negative tests in the same test case
(Inherited from TestCase.)
HasBreakPoint (Inherited from TestCase.)
Icon
A bitmap by the size of 16x16 to be shown next to the test case in the QAliber Test Builder, this should be set in the constructor of your test case
(Inherited from TestCase.)
ID
A unique identifier of the test case, when in a scenario
(Inherited from TestCase.)
MarkedForExecution
Tells the QAliber Runner whether to run this tes case
(Inherited from TestCase.)
Name
The logical name of the test case
(Inherited from TestCase.)
NumOfRetries
Tells the QAliber Runner how many times to retry this test case, if this test case fails
(Inherited from TestCase.)
OutputProperties (Inherited from TestCase.)
Parent
The parent of the test case
(Inherited from TestCase.)
Scenario
The test scenario that this test case belongs to
(Inherited from TestCase.)
ScreenshotOption
Tells the QAliber runner when to take screenshots in the test case life cycle
(Inherited from TestCase.)
Timeout
The longest time to wait for the C# expression to return true, after that an error will be posted and the run will continue, for infinte time enter 0
VideoOptions (Inherited from TestCase.)

See Also