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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors