Hi All,
Please explain how to use arrays in katalon
I need to store values in multiplication arrays and same will passed to another test cases or custom keyword
Hi All,
Please explain how to use arrays in katalon
I need to store values in multiplication arrays and same will passed to another test cases or custom keyword
since Katalon’s engine is groovy, you should read following:
http://docs.groovy-lang.org/latest/html/documentation/core-syntax.html#_arrays
You can use global variables also to export data across test-cases (in a test suite)
option 1 - pre-define the needed global with a default value
option2 - use the workaround to define it “on-the-fly”
https://docs.katalon.com/katalon-studio/docs/create-global-variables-on-the-fly.html
otherwise, you can simply return the array at the end of the test-case and call it from another test-case as suggested here:
http://forum.katalon.com/discussion/2023/using-global-variables-on-test-cases/