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 |
I have Silk Test 7.5 installed to my machine. My silk recoginizes all the windows applications.But its not recoginizing the web application.When i try to ENABLE EXTENSION for any web application i am not getting the window with the two radio button namely DOM and VO. What could be the problem? I also tried using browsers like IE,FF and also uninstalled the silk n reinstalled it again.But it works out with my neighbours system....Wht could be the problem?????
what type of frameworks are you using in silk test?
How to open an existing silktest project?
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 are agents in silk?
How to add objects of other pages to a test frame?
Can silktest switch browsers automatically?
What is the segue testing methodology?
Can we use regular expressions to facilitate dynamic objects identification by SilkTest?
What is silktest host?
What is the vo browser extension?
What statement in for test is used to transfer control of the script out of the innermost nested for, for each, while switch or selected statement?