Forum Discussion

JovanaS's avatar
JovanaS
Occasional Contributor
5 years ago

Region checkpoint - update region

Hi everyone,

I need to execute tests with small differences and compare the results.

So in the first execution i need to update a region and in the second execution

to compare the previously saved region with the active window.

Is there a possibility to change the 'Update regions' option automatically

between the two executions?

Thanks in advance !  

  • JovanaS's avatar
    JovanaS
    5 years ago

    Thank you tristaanogre !

    I have achieved what I needed with a combination of

    Regions.Remove + Regions.AddPicture in the first test

    and a standard Region checkpoint in the second test

     

     

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    No, I don't believe so.  Consider that as a "compiler" option when compiling an application.  It makes changes to the automation run at the time it starts rather than a dynamically changing value as it goes.

    • JovanaS's avatar
      JovanaS
      Occasional Contributor

      Thank you tristaanogre !

      I have achieved what I needed with a combination of

      Regions.Remove + Regions.AddPicture in the first test

      and a standard Region checkpoint in the second test

       

       

      • sonya_m's avatar
        sonya_m
        SmartBear Alumni (Retired)

        Thank you tristaanogre!

         

        JovanaS  Great job. Thank you for sharing your approach.