Forum Discussion

3jtechtest's avatar
3jtechtest
Occasional Contributor
12 years ago

Issue with WaitProperty call in TC 9.20

Hello,

my code for WaitProperty call seem to have been broken after TestComplete upgrade from 8.70 to 9.20.

The code below used to work fine in 8.7, waiting 1 second for the object to appear:



    textObject = ttpDBEditGrid.Pay_Due_Date;

     while (!textObject.WaitProperty("Exists",true,1000))

        .......



However, in 9.20 the same code waits for object property for the Auto-timeout value (set to 40 seconds) instead of specified 1 second as per parameter.

I found the workaround to use WaitAliasChild method which seems to work Ok, however there are too many updates in the libraries which I would have to make which would be really annoying.

Please advise if there will be a patch for this defect.

  • Hi Djordje,


     


    Hmm. Your code looks fine. Have you tried TestComplete 9.30, our latest product version?