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:
Yes, there are some pretty smart people on this forum. But even so, they/we are not magicians or wizards or gods. We can’t see your code. We can’t see your errors…
Remember: We don’t even know what your application is meant to do even though it might seem perfectly obvious to you.
So relax. Follow the advice below and take the time to gather the information we need, before you start writing your post.
Here are some things you can do to help us help you…
We need to see what you are deal…
ThanhTo
December 9, 2019, 4:14am
#3
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