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 are the types of text lines in a testplan file?
how to pass TDS intery in tally?
How can you read the contents of PDF using silktest?
What is 4test?
what is the use of exception handling in Silk Test and how to use the commands?
What is multi-tagging?
what type of frameworks are you using in silk test?
How to download latest silk test trial version?
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.
Define Silk Testing.
What is a silktest testplan?
what is the operator for carriage return(Enter) in Silk Test for File.