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 |
What are the problems you faced while identifying an object in silk?
What is 4test?
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
What is the segue testing methodology?
How to Write user defined functions?
How to define values for a testplan attribute?
How to create a test frame?
What is Silktest?
Where is a testplan stored?
Imagine you have a string variable that holder a credit card (16digit). There are multiple ways of obtaining last four digits of this number programmatically on a run time. Name one; for practical purpose variables name is sCCnumber?
Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website
How to run a test case from a testplan file?