Katalon: When is a GlobalVariable reset?

烈酒焚心 提交于 2019-12-10 23:19:42

问题


When using Katalon and changing the values of a GlobalVariable during, before or after a test case or test suite, when exactly does the changes reset to the defined value in the profile?


回答1:


The value of the GlobalVariables is reset to default on the teardown of the test suite (or the teardown of a test case when a single test case is run).

For example, if you have GlobalVariable.x=1 set in the Global Variables and you have GlobalVariable.x=2 line in your test case, after the test case ends, x is reset to 1.



来源:https://stackoverflow.com/questions/51427982/katalon-when-is-a-globalvariable-reset

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!