WebCrawler to Capture Objects

Don’t you know, you can create an instance of com.kms.katalon.core.testobject.TestObject runtime in memory by code and use it? See

Using xpath,

static TestObject makeTestObject(String id, String xpath) {
    TestObject to = new TestObject(id)
    to.addProperty("xpath", ConditionType.EQUALS, xpath)
    return to
}

If you use this technique, you no longer need to retrieve entities from the “Object Repository” managed by Katalon Studio. Your CSV file can be a custom testobject repository for you. You can instantiate TestObjects as defined in your CSV file directly.

Now you have to invent a set of Groovy codes that forms your custom testobject repository on top of your CSV file. That could be a fun and easy for you @gengland.