How does validation work?
Posted: Mon Jun 25, 2018 10:43 am
My project is to measure runtime on a program with Ranorex and in this post I will share my biggest problem. I want to measure how much time does it take to load a file(load_alg rec. loads the file) but the problem is that the validation takes too much time and therefore I don't know when was the file loaded in reality.
If I run only the load_alg recording there is no warning, the validation completes quite fast. But running the whole test case a warning occurs and the validation takes too much time (so my runtime measurement is very inaccurate). The validation happens by comparing two pictures. If no file was uploaded there is a red box, and as the file was uploaded this box turns to green. So in my validation I search for this green box. The warning is that this box could not be found using its absolute path, just the relative path.
Why does this warning not occur if I run only the recording? What does this warning mean at all?
How can I eliminate the warning and make my validation faster?
If I run only the load_alg recording there is no warning, the validation completes quite fast. But running the whole test case a warning occurs and the validation takes too much time (so my runtime measurement is very inaccurate). The validation happens by comparing two pictures. If no file was uploaded there is a red box, and as the file was uploaded this box turns to green. So in my validation I search for this green box. The warning is that this box could not be found using its absolute path, just the relative path.
Why does this warning not occur if I run only the recording? What does this warning mean at all?
How can I eliminate the warning and make my validation faster?