Hello guys,
I’m trying to make a Wait for Page Load and in some tutorials and videos I’ve seen that many people use that kind of global variable: GlobalVariable.TimeOut, but for some reason I can’t see that variable. I’m trying to change value type to globalvariable and then value to globalvariable.timeout.
Hi @brithwulf!
You need to set the global variable yourself.
- Go to “Profiles” on the left side of Katalon Studio window
- Double-click a desired profile
- Add a variable called
TimeOut
and set it to a default value - Now, when a test is executed with a profile from step 2, you can get the value from step 3 with
GlobalVariable.TimeOut
- Remember to
import internal.GlobalVariable as GlobalVariable
to the test script.
3 Likes
Hi @Mate_Mrse,
thank you for answering ! I just thought that it was already defined as some value by katalon or something like that. Thanks !
hi, im not found the profiles on katalon 6.1.1, should you want to tell me?
thank you helena