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 |
How record a test case into a testplan automatically?
What is the perpose of user-defined base state method?
Is there any way to retrieve content of the image i.e If image contains text... how to retrieve in silk test In QTP there is GetVisibleText is there any function similar to this in silktest...
In how many ways we can perform datadriven test in silk test, throgh flatfiles can we perform?
What is 4test?
How to Write user defined functions?
How dom browser extension identify a web application ui object?
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
What is stored in a test frame?
What is custom object .what it contains. Difference between custom & standard objects.
How to define an object verification in a test case?
can you test an application in silk test that is running on another system?