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 are the default testplan attributes?
who is the head of the BMC
Any tools to test the performance of SQL Quarries and SP? If any one are using them please provide the site names or software names...
How to assign attribute values to test cases?
I'm involved in automation using silk test of an swing application running in a browser. There is a window whose name is a dynamic. i.e based on the input(eg: some filename) the window name keeps on changing. I need to capture the window name for every run of silk test case for different input filenames. I'm aware of GetName() in SilkTest, but its not working for me. Can anybody suggest me any logic to achieve this using silktest?
What are the problems you faced while identifying an object in silk?
How to attach silk test results to test director?
How to define values for a testplan attribute?
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?
how to pass TDS intery in tally?
What is the wait statement in Silktest?