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 record a test case?
What is present in review report .
How to do text verification point in silktest for a specific content.Suppose in the text editor, i have typed some "aaaa,bbbb,cccc,dddd" in different lines. now i want to capture only aaaa of first line from the text editor. How can i do it.Can any one help me.
What is silktest host?
Can u Tell me why we use Advanced tool like Silk Test other than QTP, Or WIN RUNNER And others what is the advantage of these compared o others
How to test your defaultbasestate?
What is silktest project?
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?
can we test the application by inserting checkpoints using silktest as we do in qtp and winrunner and also what are the automation frameworks in silktest
How to run a test case from a testplan file?
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?
What is a test frame?