GetTestResult

Parent Previous Next

GetTestResult

Description: the method returns the status of the test being performed

Syntax: GetTestResult()

Return value: string (the value of which is checked by constants: Tester.PASSED, Tester.FAILED, Tester.PROCESS)


Example:

Tester tester = new Tester(browserForm);

await tester.TestBeginAsync();

...

if(tester.GetTestResult() == Tester.PROCESS) { }

...

await tester.TestEndAsync();

if(tester.GetTestResult() == Tester.FAILED) { }

if(tester.GetTestResult() == Tester.PASSED) { }

Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications