Answer Posted / 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 |
Post New Answer View All Answers
How load testing can be done with silk international?
Hi All, An newbiee to silk test tool. I wanted to write a function which checks the browser type installed in the local machine & then based on the browser type test case should run. I tried little bit writing the function : Void Func_ValidateBrowserType() Window myWin myWin = Browser.GetRealBrowser () print (myWin) Any help please.. Thanks, V
What are the types of text lines in a testplan file?
What is defaultbasestate?
How to define new testplan attributes?
In SilkTest we have a function Except Log which displays the path of the error occured in a Script.In QTP do we have any function like that?
can we test the application by inserting checkpoints using silktest as we do in qtp and winrunner and also what are the automation frameworks in silktest
Where are the testplan attributes stored?
What is a silktest testplan?
Is there any way of passing values at runtime? Like scanf does in C.
How record a test case into a testplan automatically?
How to open an existing silktest project?
How to run all test cases in a testplan?
What are the problems you faced while identifying an object in silk?
How to run a test case from a test script file?