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 write the good frame work for application.
How to include a test case into a testplan?
Can we use regular expressions to facilitate dynamic objects identification by SilkTest?
What are the reasons behind silk test hanging? Is any particular problem or it is just because of system problem.?
Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website
What is the wait statement in Silktest?
Hi All, An newbiee to silk test tool. I wanted to write a function which checks the browser type installed in the local machine & then based on the browser type test case should run. I tried little bit writing the function : Void Func_ValidateBrowserType() Window myWin myWin = Browser.GetRealBrowser () print (myWin) Any help please.. Thanks, V
why silk test sees each objects as custom windows?
what is the base class for all the classes in silk?
What is the segue testing methodology?
What statement in for test is used to transfer control of the script out of the innermost nested for, for each, while switch or selected statement?
Why should we use Silk test .we can use QTP or other tool .What is the difference.