I add more variable at profiles item. After that never more the old variable and new variable added has used during run TC.
It is hard to understand what you want from us… Maybe read this post:
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 …
And if you have problems with plain english you could try to use google translate maybe it spits out anything with sense
No offense btw, just want to help.
Let me try with images.
I’m using “profiles” item to represent different environments (Ex:QA), but the last time I insert variables, change every because now dont check the variable to use.
I think you are missing an import statement in your script…
You can either go in to every script and press CTRL+SHIFT+O
or
right click > Source > Organize Imports …
Or just add
import internal.GlobalVariable as GlobalVariable
I hope that fixes your problem.
I fixed the issue, but the problem it’s “class” name at variable. If you have that name, “grovy” think you try create a class.
Yes, "class’ is a reserved word of the groovy programming language. Here is a link to other reserved words NOT to be used as variables.
https://docs.oracle.com/cloud/latest/big-data-discovery-cloud/BDDDE/rsu_transform_unsupported_features.htm#BDDDE-reference_B4D419B4A7634CDD8E312D3AF68F8277
If you need to, you could have something like myClass or classObject, as long as it is not the reserved word.