Forum Discussion

atul_acrolinx's avatar
atul_acrolinx
Occasional Contributor
5 years ago

Can I add Delay until Region Checkpoint is true

Hi Team,   I am currently trying to automate desktop application using TC v14.  Where in I am using region checkpoint to validate certain image to appear on one the control of the application.  b...
  • Wamboo's avatar
    Wamboo
    5 years ago

    Yo!

     

    tristaanogre is right.

     

    Another solution is to use ImageRepository:

     

    1) Create an image of this example "Test Executed: 01/10"

    2) ImageRepository is a simple object so You can check it's Existing in if or while loop.

     

    example:

     

    do {
       Obj.Keys("[PageDown]");
    } while(!ImageRepository.ImgeSetName.ImageName.Exists(Sys.Desktop));
  • atul_acrolinx's avatar
    atul_acrolinx
    5 years ago

    Thank you so much Wamboo for providing above peice of code. it helped and now able to wait until the image appears on the desktop. 

     

    Thanks tristaanogre for your inputs as well. I contacted support to see if we can also get IQ in our license. 

    Cheers !!