Arie
August 2, 2018, 2:07pm
1
Hi,
I want to record a test skeleton, add a for loop and load it in Katalon Recorder. So I:
- recorded a test in Recorder
- loaded it in Studio
- modified it with a for loop
Now I need to export it again so I can load it in Katalon Recorder.
Can someone give me a pointer?
Thanks.
According to this post, it is not possible at the moment
Hi @aaltenkirch , the answer is because test cases in Katalon Recorder are of a simpler format than test cases in Katalon Studio, and therefore converting Recorder’s test cases to other formats are easier to implement - which is what we’ve already done.
Katalon Studio’s test cases are more complex and currently somewhat heavily dependent on Studio’s framework, hence the efforts required to convert them into other formats are quiet high.
This also explains why it’s easy to integrate Recorder’s t…
However, it is possible to simulate for
loops in Recorder using the while...endWhile
commands
Command | Target | Value |
storeEval | 5 | max |
storeEval | 0 | counter |
while | ${counter} < ${max} | |
echo | | ${counter} |
storeEval | ${counter} + 1 | counter |
endWhile | | |
1 Like
Piotr
February 15, 2019, 9:38pm
3
Nothing to add to @Mark_Gibson answer. While command (and “if” command as well) are pretty powerful. I just can’t imagine my testcase’s without them anymore.