Forum Discussion

NisHera's avatar
NisHera
Valued Contributor
10 years ago

FindEx not waiting......

I wrote following 

 

Log.Message('Starting');
grpThresh = Aliases.Myapplication.......CalenderMonth.FindEx('ObjectIdentifier','grpThresholds',50,true,2000000);
Log.Message(grpThresh.VisibleOnScreen);

 

where CalenderMonth is available but not child I'm searching.

TC supporse to waite for 200 seconds, isn't it?

I'm getting starting message and false message same time...what do I missing?

 

  • It's finding it pretty much instantly. (The find is only searching based on the identifier, nothing to do with visibility)

     

    It then reports the visibility, also pretty much instantly, which is false as it hasn't rendered/displayed yet.

     

    Sounds like you need to expand your find properties to include visibility.

  • It's finding it pretty much instantly. (The find is only searching based on the identifier, nothing to do with visibility)

     

    It then reports the visibility, also pretty much instantly, which is false as it hasn't rendered/displayed yet.

     

    Sounds like you need to expand your find properties to include visibility.