Implementing Support for the AllLights Control

In this part of the lesson, you modify the AllLightsCS class to extend UFT support of the AllLights control, as per your plan (Planning Support for the AllLights Control).

Open the AllLightsCS.java file. In the label_attr method, replace the code: return super.label_attr(obj); with the code: return "Lights"; to change the name of the test object. Then perform the following procedures: