Hi guys, can you help me with this?
try { WebUI.callTestCase(findTestCase(‘Callee’), [:], FailureHandling.STOP_ON_FAILURE) } catch (StepFailedException e) { println e.getCause() }
Description
Resource
Path
Location
Type
Groovy:Catch statement parameter type is not a subclass of Throwable.
loginAndGetRFQ.groovy
/C%%Users%User001%Desktop%Deals_bot_v0.1%Deals Bot.prj/Keywords/ccnpackage
line 47
Java Problem
Description
Resource
Path
Location
Type
Groovy:unable to resolve class StepFailedException
loginAndGetRFQ.groovy
/C%%Users%User001%Desktop%Deals_bot_v0.1%Deals Bot.prj/Keywords/ccnpackage
line 47
Java Problem
There’s a problem in line 47.
No, really. I’m really, really sure of it.
How about you read this, then try posting again:
My test is BROKEN! NOTHING WORKS! HELP ME!
Relax. We get it. We really do. There are some pretty smart and clever people on this forum, but you must realize, they are not magicians or wizards or gods. They cannot see your code, they can’t see your errors and they don’t even know what your AUT is meant to do even though it might seem perfectly obvious to you.
So please relax and follow the advice below, before you start writing your post. The advice below will tell you the exact information …
You should post more relevant information. But from the error message, it looks like StepFailedException has not been imported into your test script. Please try Ctrl + Shift + O to auto import.
1 Like