Hello! Is it possible to use Test Objects in Test data?
Hi @n.ochkur
Katalon calls findTestObject('testObjectID')
to retrieve the Test Object corresponding to the ID. The ID is just a string, so you can store them as CSV, Excel, Database or Internal Test Data.
In your test case with a test case variable tcId1
you can call:
findTestObject(tcId1)
and map the ID from Test Data to tcId1
in Test Suite UI.
Is that what you’re looking for ? Can you elaborate more on your specific use case ?
Thank you for reply. I have a case when test object elements have a difference only in text it contain.
Can you, please, give some example from the real test (and test data), how to use test object by ID?