Adding a new TestObject
You can add a new TestObject when there are no TestObjects with the method that you want
to expose for a control, available within the set of predefined TestObjects provided by IBM® DevOps Test UI (Test UI). For example, you can expose any
button control as GuiTestObject()
and operations such as
click()
and doubleClick()
are defined as methods in it. You
can create a new TestObject if you want to introduce a new method call such as
myClick()
, which is not defined in any of the existing
TestObjects.
Note: Proxies are developed either in Java™ or in C#. However, you must implement TestObjects for proxies
in both Java and C#, because they are just wrappers to proxies in both Java and Visual Basic .Net
scripts. When you add a new custom TestObject, ensure that you define the Java implementation of the
TestObject. This is required even if you use VS.NET IDE for creating functional test scripts.