|
INTERVIEW QUESTIONS
TESTING
WIN RUNNER
DETAILS
Question: How do you handle TSL exceptions?
Answer: A TSL exception enables you to detect and respond to a specific error code returned during test execution. b. Suppose you are running a batch test on an unstable version of your application. If your application crashes, you want WinRunner to recover test execution. A TSL exception can instruct WinRunner to recover test execution by exiting the current test, restarting the application, and continuing with the next test in the batch. c. The handler function is responsible for recovering test execution. When WinRunner detects a specific error code, it calls the handler function. You implement this function to respond to the unexpected error in the way that meets your specific testing needs. d. Once you have defined the exception, WinRunner activates handling and adds the exception to the list of default TSL exceptions in the Exceptions dialog box. Default TSL exceptions are defined by the XR_EXCP_TSL configuration parameter in the wrun.ini configuration file.
|
|
|
Category |
Win Runner Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 8381 users |
Added on |
10/25/2009 |
Views |
73031 |
Rate it! |
|
|
Question:
How do you handle TSL exceptions?
Answer:
A TSL exception enables you to detect and respond to a specific error code returned during test execution. b. Suppose you are running a batch test on an unstable version of your application. If your application crashes, you want WinRunner to recover test execution. A TSL exception can instruct WinRunner to recover test execution by exiting the current test, restarting the application, and continuing with the next test in the batch. c. The handler function is responsible for recovering test execution. When WinRunner detects a specific error code, it calls the handler function. You implement this function to respond to the unexpected error in the way that meets your specific testing needs. d. Once you have defined the exception, WinRunner activates handling and adds the exception to the list of default TSL exceptions in the Exceptions dialog box. Default TSL exceptions are defined by the XR_EXCP_TSL configuration parameter in the wrun.ini configuration file. 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 handle object exceptions?
|
View Answer
|
|
How do you comment your script?
|
View Answer
|
|
What is a compile module?
|
View Answer
|
|
What is the difference between script and compile module?
|
View Answer
|
|
Write and explain various loop command?
|
View Answer
|
|
Write and explain decision making command?
|
View Answer
|
|
Write and explain switch command?
|
View Answer
|
|
How do you write messages to the report?
|
View Answer
|
|
What is a command to invoke application?
|
View Answer
|
|
What is the purpose of tl_step command?
|
View Answer
|
|
Which TSL function you will use to compare two files?
|
View Answer
|
|
What is the use of function generator?
|
View Answer
|
|
What is the use of putting call and call_close statements in the test script?
|
View Answer
|
|
What is the use of treturn and texit statements in the test script? b. To set the search path, choose Settings > General Options. The General Options dialog box opens. Click the Folders tab and choose a search path in the Search Path for Called Tests box. WinRunner searches the directories in the order in which they are listed in the box. Note that the search paths you define remain active in future testing sessions.
|
View Answer
|
|
Where do you set up the search path for a called test.
|
View Answer
|
|
How you create user-defined functions and explain the syntax?
|
View Answer
|
|
What does static and public class of a function means?
|
View Answer
|
|
What does in, out and input parameters means?
|
View Answer
|
|
What is the purpose of return statement?
|
View Answer
|
|
What does auto, static, public and extern variables means?
|
View Answer
|