Interview Questions

Test Recorder about Control Points - If. … Else:

Mercury WinRunner FAQ


(Continued from previous question...)

Test Recorder about Control Points - If. … Else:

1. Before we start the "if else" construct the nature of the control point is commented along side. For e.g.,
# Home Page Validation
If (<return-code> == "0")
print ("Successfully Launched");
else
print ("Operation Unsuccessful");
2. For all Data Table operation the return-code of the Open function should be handled in the "if else" construct.

(Continued on next question...)

Other Interview Questions