what is the use of exception handling in Silk Test and how
to use the commands?
Answers were Sorted based on User's Feedback
Answer / ramu.m
use of exception handling
systax:
do
statements
except
statements
any errors are raised in do statements the currsor is posted
to except statements
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / palguna.akuleti
When an unexpected window or an error is corrupted or pop up
during the execution of the scripts then we use EH
In ST we use Do and Expect .
after (recoding )we write Do And
.
.
.
At the end We write Expect and some code
"MessageBox.SetActive"
"MessageBox.yes"
Is this correct
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sai
The purpose of exception handling is to capture the errors
and then use the reraise statements to pass the control to
the Recovery system, so that the default base state is
retained and starts executing the remaining test cases.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jonathan
there 6 exception handling methods in Silk:
ExceptCalls()
ExceptData()
ExceptLog()
ExceptNum()
ExceptPrint()
ExceptClear()
we can use these methods in do...except statements
| Is This Answer Correct ? | 0 Yes | 0 No |
How to run a test case from a test script file?
what is the operator for carriage return(Enter) in Silk Test for File.
What are the default testplan attributes?
What is the wait statement in Silktest?
What is defaultbasestate?
What is 4test?
How to define an object verification in a test case?
Need information on how the scripts (test cases) are written for any application in silktest.
What is custom object .what it contains. Difference between custom & standard objects.
In SilkTest we have a function Except Log which displays the path of the error occured in a Script.In QTP do we have any function like that?
How do you identify an exception is silk?
Is there any way of passing values at runtime? Like scanf does in C.