Ask a Question

Region checkpoint - update region

SOLVED
JovanaS
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 !  

3 REPLIES 3
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.


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
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
SmartBear Alumni (Retired)

Thank you tristaanogre!

 

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


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: