Forum Discussion

yingkai1208's avatar
yingkai1208
Contributor
12 years ago

TC log error of 'object does not exist',but actually retrieve the object

Hi,

 

I encountered an odd issue.

 

The pseudo code is:

1. Set object = anObject

2. object.DblClick

3. object.Keys(avalue)

 

When I run the code, TC could retrieve the object, and then double-click the object,

then input a value. But in the test log, it gives the warning 'action may be performed incorrectly, because the control is disabled.' to step2 and gives the error 'The object does not exist' to step3. Which means that TC log warning and error, but actually the object is keeping enabled and existed during the process because the cell is double-clicked and value is entered into the cell.

 

Please refer to the attached image for details. TC only logs warning and error when it try to double-click and input value to the cell I circled out with blue. The issue only happens in the shifting of third row, not first, not second, not forth, only the third row. It is quite weird.

 

Appreciate any thoughts given.

 

Cheers!

 

Kai