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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How you integrated your automated scripts from TestDirector?

641


How to test Fonts and its size thru "Font Expert" in Win Runner.

1812


How do you find an object in an gui map.

783


What information is contained in the checklist file?

597


two file is there how will compate it by useing qtp.

1670






Explain the use of test director software?

611


How enviornment veriable can be included into my script. I want to include some information into my Excel file using Test run in WR. like User name of system? waht is function to be used? Please clarify.....

1760


This Is Sekar, Can Any One Of You Help Me? Question: How To Draw Charts In Excel Sheet Using Winrunner Scripts. Thanks, Sekar.

1687


What is a checkpoint and what are different types of checkpoints?

710


What is the purpose of regexp_msw_class property?

675


How do you filter the objects in the gui map?

683


What is debug mode in Winrunner?

1711


Explain the difference between gui map and gui map files?

601


What are the reasons that winrunner fails to identify gui object?

588


Explain the winrunner testing process?

631