|
INTERVIEW QUESTIONS
TESTING
WIN RUNNER
DETAILS
Question: What does auto, static, public and extern variables means?
Answer: auto: 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: 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: A public variable can be declared only within a test or module, and is available for all functions, tests, and compiled modules. d. extern: An extern declaration indicates a reference to a public variable declared outside of the current test or module.
|
|
|
Category |
Win Runner Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7920 users |
Added on |
10/25/2009 |
Views |
69684 |
Rate it! |
|
|
Question:
What does auto, static, public and extern variables means?
Answer:
auto: 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: 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: A public variable can be declared only within a test or module, and is available for all functions, tests, and compiled modules. d. extern: An extern declaration indicates a reference to a public variable declared outside of the current test or module. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How do you declare constants?
|
View Answer
|
|
How do you declare arrays?
|
View Answer
|
|
How do you load and unload a compile module?
|
View Answer
|
|
Why you use reload function?
|
View Answer
|
|
Write and explain compile module?
|
View Answer
|
|
How do you call a function from external libraries (dll).
|
View Answer
|
|
What is the purpose of load_dll?
|
View Answer
|
|
How do you load and unload external libraries?
|
View Answer
|
|
How do you declare external functions in TSL?
|
View Answer
|
|
How do you call windows APIs, explain with an example?
|
View Answer
|
|
Write TSL functions for the following interactive modes: i. Creating a dialog box with any message you specify, and an edit field. ii. Create dialog box with list of items and message. iii. Create dialog box with edit field, check box, and execute button, and a cancel button. iv. Creating a browse dialog box from which user selects a file. v. Create a dialog box with two edit fields, one for login and another for password input.
|
View Answer
|
|
What is the purpose of step, step into, step out, step to cursor commands for debugging your script?
|
View Answer
|
|
How do you update your expected results?
|
View Answer
|
|
How do you run your script with multiple sets of expected results?
|
View Answer
|
|
How do you view and evaluate test results for various check points?
|
View Answer
|
|
How do you view the results of file comparison?
|
View Answer
|
|
What is the purpose of Wdiff utility?
|
View Answer
|
|
What are batch tests and how do you create and run batch tests?
|
View Answer
|
|
How do you store and view batch test results?
|
View Answer
|
|
How do you execute your tests from windows run command?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Win Runner Interview Questions & Answers - Exam Mode /
Learning Mode
|