cancel
Showing results for 
Search instead for 
Did you mean: 

Region checkpoint - update region

SOLVED
Highlighted
Occasional Contributor

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 !  

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Occasional Contributor

Re: Region checkpoint - update region

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

 

 

View solution in original post

3 REPLIES 3
Highlighted
Community Hero

Re: Region checkpoint - update region

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.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Occasional Contributor

Re: Region checkpoint - update region

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

 

 

View solution in original post

Highlighted
Community Manager

Re: Region checkpoint - update region

Thank you tristaanogre!

 

@JovanaS  Great job. Thank you for sharing your approach.


Sonya Mihaljova
Community and Education Specialist
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors