Hi Ranganath,
you have to do this in code. We have a method OnAfterTestCompleted(TestResult result) that can access the results, you'll have to overwrite it.
Now open your test. If you don't have any Coded Steps add a "Script Step" (see screenshot 1). Now click on the View Class (screenshot 1) to open the class. Add the following logic inside the BaseWebAiiTest (but not inside a method):
publicoverridevoidOnAfterTestCompleted(TestResult
result) {
inta= result.TotalPassedSteps;
intb = result.AllTestStepCount;
}
This is how you get the number of Passed Steps: int a= result.TotalPassedSteps;
and this is how you get all the steps: int b = result.AllTestStepCount;
WebUi doesn't offer any way to implement a Message Box so you'll have to implement it yourself.