How do you identify an exception is silk?
Answers were Sorted based on User's Feedback
Answer / jinsha
we can identify exception when an error window comes. stop
the window. run the script. abort it. next to the line
recording in the script give command do. make all statements
under do. At the end give except statement. capture the name
of the window. after except statement write
messagebox.yes.click()
print("exception handled")
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vimalkanth
in do accept block use verification statement with
exception number.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / santhosh
use the
do
...........
...........
accept log()
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / skylark
you can use "Raise" statement also
like,
if(a==b)
.....
else
raise "any comment"
Is This Answer Correct ? | 0 Yes | 0 No |
what is the use of exception handling in Silk Test and how to use the commands?
How to test your defaultbasestate?
What is the vo browser extension?
What are the types of text lines in a testplan file?
what is silk testing?
What is the dom browser extension?
How can i used If Else statement in Silk Test. And my table name is login how can i get rowcount in the table having
How to define values for a testplan attribute?
why silk test sees each objects as custom windows?
Can we use regular expressions to facilitate dynamic objects identification by SilkTest?
In how many ways we can perform datadriven test in silk test, throgh flatfiles can we perform?
How to download latest silk test trial version?