Forum Discussion

RajibPradhan's avatar
RajibPradhan
Occasional Contributor
14 years ago

Unable to execute a 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,

Rajib
  • Hello Rajib.

    Your co-worker, Narender, has already asked this question in the parallel thread.

    Please see the answers there.



    Best regards, Artem