Suppose there is a global variable called Counter.And there
is a user defined function called my_function.which does
not take in any parameters. How can a test engineer utilize
Counter inside my_function body?



Suppose there is a global variable called Counter.And there is a user defined function called my_f..

Answer / dibya

hi ...

U can use extern key word for that variable..
like-- extern counter ;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WinRunner Interview Questions

how to upload an application in winrunner which we want to test

1 Answers  


How to set a value in to a data table from the script in winrunner?

1 Answers   Accenture,


Can anyone tell me the real usage of compiled modules and user defined functions stating real time example

1 Answers  


write a function for addition of two numbers

1 Answers   Polaris,


Are you created any custom dialog box during test runs?

1 Answers   MBT,






in which file Data of a Table is stored for further analysis

1 Answers  


Explain the purpose of gui spy?

0 Answers  


How to handle exceptions in for loop of DDT script.

1 Answers   HP,


How to find the local host name using winrunner ?

0 Answers  


How to Import(insert) data from an excel sheet to Database(table).

2 Answers   GE Capital, iGate,


how to create checklist in winrunner?

1 Answers  


Where can I find a tutorial on WinRunner 7.0?

1 Answers  


Categories