Screening questions: Interviewer can Reject the candidate if he /she is not able to answer 2 questions out of following 4 questions:
1. Where did you learn WinRunner and TestDirector?
If they say it was in a mercury class, ask if they can show you their
certificate of completion. If they say no, let them know you will verify it
with Mercury.
2. Have you ever created a start-up script?
If they answer “yes”, ask them
what was in it and how they got WR to execute the start-up script when WR is
invoked.
They should answer something like this, “In the start-up script, we loaded all
the gui maps for the application, any library files we needed, and any custom
gui object mapping we have to do. We also loaded global variables and system
variables here. The startup script location is added to the WR .ini file,
wrun.ini located under the windows or winnt directory as wrun.ini”
3. 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.
4. 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.
These are some simple questions that should be very easy for a WR user who has
at least 6 months of good experience to answer.



7 comments ↓
Can you list some more questions please? I need all the winrunner interview questions. I am failing the interview in automation questions and mostly winrunner questions so please help me.
[…] This is part of Winrunner Interview question series post. I have previously wrote posts on some Basic Winrunner FAQ’s part-1 and Winrunner basics part-2. […]
@ Sunita - I have updated one more Winrunner testing article here
http://www.softwaretestinghelp.....eparation/
and will continue posting more questions. Keep on checking.
Hi Sunitha,
This is Suresh Working as a Test Engineer . i have WinRunner materials as well as Interview Questions so please give me ur mail id i ll send to u through mail.
Thanks,
Suresh
bsuresh7282@gmail.com
Hi Suresh i want WinRunner Interview Questions,could u send me.
preeti
Hi Suresh!
I am Srikanth. I am working as Test Engineer.
Can you please send me the WinRunner meterials and Interview questions?
Thanks,
Srikanth.
srikanth.mca@hotmail.com
Hi all!
I am Srikanth. I am working as a Test Engineer.
Can anybody send me the WinRunner meterials and Interview questions?
Thanks,
Srikanth
srikanthvelivela@gmail.com
Leave a Comment