What is the difference between STATIC FUNCTION & STATIC?

Answers were Sorted based on User's Feedback



What is the difference between STATIC FUNCTION & STATIC?..

Answer / girish k.s.

static: 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 a Stop
command.

STATIC FUNCTION: A static function is available only to
the test or compiled module within which the function was
defined.

Is This Answer Correct ?    4 Yes 0 No

What is the difference between STATIC FUNCTION & STATIC?..

Answer / sachin

static is a keyword whic is invoked automatically.The value
of the static variable is 0.

static function is a function whic inturn helps in
accessing static variables. ONly static functions can
access the static variables

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More WinRunner Interview Questions

what is the difference between unit testing,integration testing and interface testing?

4 Answers  


we have three windows with title(logical description),India.com,Government of India.com,India Inc.com.All three windows have similar properties and object.A test script has to be run on all these windows.what changes will u make in GUI or script so that the script runs succesfully on all these three windows with the least alteration required? Please explain clearly with steps.

2 Answers   FCG, Philips,


How to get the resolution settings?

0 Answers  


Is 'public' allowed inside of the function declarations?

2 Answers   Accenture,


hi everyone today is the first time i saw this website,and hi iam siraj,iam very impressed by seeing evryones response towards questions,iam a newcomer and i have got tryining in testing can anyone please send me some projects relaited to testing.i know it is very confidential but still if u send it will a great help. my mail id mateen_012005@yahoo.com

3 Answers   Satyam,






How to write a content in to the file..which function did u use for that..?

1 Answers   Accenture,


The default type of Constants and variables supported by TSL are..

2 Answers   FCG,


In the system of coordinates used by WinRunner,the origin(0,0 coordinate)is located in the --- screen?

3 Answers   FCG,


Does winrunner supports applications with environment Visualbasic 6.0 SQL server 2000.??

2 Answers   Redisolve, Visuals India,


how to open an application

1 Answers   Polaris,


write a function for addition of two numbers

1 Answers   Polaris,


What are the modes of script recording in winrunner ?

0 Answers  


Categories