Forum Discussion

narender_1's avatar
narender_1
Contributor
14 years ago

Problem while executing the recorded script

Hi,

 I am facing problem to execute the following code:

  Set CIMDocPanel =  javaw.Device_Name.RootPane.null_layeredPane.CIMDocPanel

The "Device_Name" is the name of the device which will be created in earlier step. The above statement is a recorded by testComplete.



 When it is executing the above statement it is showing the following error:

Unable to find the object Device_Name.



Can I use a variable in place of "Device_Name" whose value will be taken from the configuration file?



Thanks,

Narender