Archive for March, 2006
Winrunner Notes
Written by meena on March 31, 2006 – 9:35 amWinrunner Notes
- getenv(“M_ROOT”); – Gets the value of “M_ROOT” variable in the wrun.ini file. M_ROOT gives the path of the WinRunner installation on the system.
- “treturn” statement returns the control to the calling test. Eg: In the burger application the individual tests call the “load_aut” test which loads the application or initializes the application that already is open and returns the control to the calling test.
- report_msg ( message ); ( message A valid string expression. The report_msg function inserts a message or expression into the test report.
- # Check that the Order-Entry Box cannot be minimized separately from the main Burger window.
if (win_check_attr (”Order-Entry Box”, “minimizable”, FALSE) != E_OK)
report_msg (rep_can_be_minimized);
- sprintf ( format, exp1, exp2,…expn ); ( returns a formatted string to a variable.
Format :May include both a literal string to be printed and formatting specifications.
exp :The expressions to format.
The sprintf function returns a formatted string to a variable. However, the formatted string output is not printed but is returned to a variable.
March 31, 2006
Posted in Functional Testing | No Comments »