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 |
Can we use regular expressions to facilitate dynamic objects identification by SilkTest?
what is silk testing?
Define PEER Review ,what it contains & What we discuss in that meeting.
How to open an existing silktest project?
What is the vo browser extension?
How to create a test frame?
How do you create a user defined class in silk?
What is a test frame?
What is the standard flow of execution of a test case?
what .inc file consists in silk?
What are the possible failure scenarios and different types of errors you find in silkTest?
Why should we use Silk test .we can use QTP or other tool .What is the difference.