Is there a method to create an Object in the Object Repository using Groovy

Hi there,

You can create TestObject ‘on the fly’ using the following example:

TestObject to = new TestObject("dynamic")

dynamic.addProperty("id", ConditionType.EQUALS, 'foobar')

The ‘dynamic’ value is the test object’s ID you want to create. You can freely use any other value as you want. This solution doesn’t require you to pass in existing test object in Object Repository.