45,000 Jobs - Get an Interview Call,  Post Your Resume Here
SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




interview Q&A asked in winrunner

        

Reply
 
LinkBack Thread Tools Display Modes
Old 27-03-06, 12:31 AM   #76 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


114) What does auto, static, public and extern variables means?[/b]


a. auto[/b]: An auto variable can be declared only within a function and
is local to that function. It exists only for as long as the function is
running. A new copy of the variable is created each time the function is
called.


b. static[/b]: A static variable is local to the function, test, or
compiled module in which it is declared. The variable retains its value until
the test is terminated by an Abort command. This variable is initialized each
time the definition of the function is executed.


c. public[/b]: A public variable can be declared only within a test or
module, and is available for all functions, tests, and compiled modules.


d. extern[/b]: An extern declaration indicates a reference to a public
variable declared outside of the current test or module.


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 27-03-06, 12:32 AM   #77 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


115) How do you declare constants?[/b]


a. The const specifier indicates
that the declared value cannot be modified. The class of a constant may be
either public or static. If no class is explicitly declared, the constant is
assigned the default class public. Once a constant is defined, it remains in
existence until you exit WinRunner.


b. The syntax of this
declaration is:


[class] const name [=
expression];[/i]


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 27-03-06, 12:34 AM   #78 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


116) How do you declare arrays?[/b]


a. The following syntax is used
to define the class and the initial expression of an array. Array size need not
be defined in TSL.


b. class array_name [ ] [=init_expression][/i]


c. The array class may be any of
the classes used for variable declarations (auto, static, public, extern).


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 27-03-06, 12:35 AM   #79 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


117) How do you load and unload a compile module?[/b]


a. In order to access the
functions in a compiled module you need to load the module. You can load it
from within any test script using the load command; all tests will then be able
to access the function until you quit WinRunner or unload the compiled module.


b. You can load a module
either as a system module or as a user module. A system module is generally a
closed module that is “invisible” to the tester. It is not displayed when it is
loaded, cannot be stepped into, and is not stopped by a pause command. A system
module is not unloaded when you execute an unload statement with no parameters
(global unload).





load (module_name [,1|0]
[,1|0] );[/i]





The module_name[/i] is the
name of an existing compiled module.





Two additional, optional
parameters indicate the type of module. The first parameter indicates whether
the function module is a system module or a user module: 1 indicates a system
module; 0 indicates a user module. (Default = 0)


The second optional
parameter indicates whether a user module will remain open in the WinRunner
window or will close automatically after it is loaded: 1 indicates that the
module will close automatically; 0 indicates that the module will remain open.
(Default = 0)


c. The unload function removes a loaded module or selected
functions from memory.


d. It has the following syntax:


unload ( [ module_name |
test_name [ , "function_name" ] ] );[/i]


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 27-03-06, 12:37 AM   #80 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute


118) Why you use reload function?[/b]


a. If you make changes in a
module, you should reload it. The reload function removes a loaded module from
memory and reloads it (combining the functions of unload and load).


The syntax of the reload function is:


reload ( module_name [ ,1|0
] [ ,1|0 ] );[/i]





The module_name is the name of an existing compiled module.





Two additional optional
parameters indicate the type of module. The first parameter indicates whether
the module is a system module or a user module: 1 indicates a system module; 0
indicates a user module. (Default =
0)


The second optional
parameter indicates whether a user module will remain open in the WinRunner
window or will close automatically after it is loaded. 1 indicates that the
module will close automatically. 0 indicates that the module will remain open. (Default = 0)








COMPLETED


Spoorthi is offline Offline   Reply With Quote
The Following User Says Thank You to Spoorthi For This Useful Post:
AjayKumar.Kataram (22-11-08)
Old 22-11-08, 11:48 PM   #81 (permalink)
Senior Member
 
Join Date: Aug 2006
Location: Hyderabad,India
Age: 30
Posts: 8,044
Thanks: 2,105
Thanked 425 Times in 303 Posts
Rep Power: 124 AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute
Re: interview Q&A asked in winrunner

Thanks and Good collections
AjayKumar.Kataram is offline Offline   Reply With Quote
Reply

Tags
asked , interview , qanda , winrunner


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +6.5. The time now is 09:52 AM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0