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 |
Need information on how the scripts (test cases) are written for any application in silktest.
What are the reasons behind silk test hanging? Is any particular problem or it is just because of system problem.?
What is 4test?
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 PEER Review ,what it contains & What we discuss in that meeting.
Can we use regular expressions to facilitate dynamic objects identification by SilkTest?
can any one please tell me the full form of .g.t in silktest datadriven method
How can you get the moving contents of flash image using silktest.
Define Silk Testing.
I'm involved in automation using silk test of an swing application running in a browser. There is a window whose name is a dynamic. i.e based on the input(eg: some filename) the window name keeps on changing. I need to capture the window name for every run of silk test case for different input filenames. I'm aware of GetName() in SilkTest, but its not working for me. Can anybody suggest me any logic to achieve this using silktest?
what is the operator for carriage return(Enter) in Silk Test for File.
How to test your defaultbasestate?