Thursday, 5 February 2015

WinRunner Automation Testing Interview Questions and Answers

Below are some important WinRunner interview questions which are asked in most MNC company interviews for beginners or professionals.

31. What is the difference between writing a function and writing a script?
They should mention some of these things:
1. A function goes into a “compiled module”, a script does not.
2. A function follows strict “c” syntax. For instance, you have to declare all variables created and used in the function. In a script you do not.

32. What is the difference between “set_window” and “win_activate”.?
When would you use “set_window” and when would you use “win_activate”?
win_activate has the format win_activate(window);. The win_activate function makes the specified window the active window by bringing it into focus and
raising it to the top of the display. (It is the equivalent to clicking on the window banner)
Set_window has the following format: set_window(window,[time]);
The set_window function directs input to the correct application window. This directs the GUI map to this window. It also sets the scope for object
identification in the GUI map.
The most important difference is that set_window has a timing option.
WinRunner will wait a maximum of the number used in the function, PLUS the system set timeout, to wait for the window to appear. Win_activate assumes the
window is already on the desktop and has no timing option.
Basics of WinRunner:

33. Difference between WinRunner and Test Director?
“WinRunner handles automation test scripts TestDirector manages test scripts, defects and test plan”

34. What is TSL? What 4GL is it similar too?
“Test Script Language, TSL C++”
More Questions & Answers :-

No comments:

Post a Comment