Is there any solution to get the exact time between two steps/actions executed on application?

Hello,

I need to record time between two steps/actions in EggPlant.
Example -
I am clicking on the search button, then I need to know the time until the next image appears, after clicking on search button…

The found some useful code in other topics,
put now into starttime…endtime… like that

In my case, after clicking on Search button, I wait until next image is found.
So in this case, if I use “put now…” the time between start and end will be
1)the actual time between two steps
+
2)time required by eggplant to search the image which appears after clicking Search button.

Is there any solution to get the exact time between two steps/actions executed on application??

Hi,

Try BeginTestCase & EndTestCase.
http://docs.eggplantsoftware.com/epp/9.0.0/ePP/epvuinserting_productname_timings_.htm

Thanks,
Vinay

1 Like

There really isn’t any way to eliminate the time required for Eggplant to search for the image which appears when the operation is complete, because that’s the only way for Eggplant to know the action is done. But you can make the image search much quicker by setting the search rectangle to be very small around the area where you know the image will appear. By not having to search the entire screen for the image, this can make a dramatic difference in the responsiveness.

2 Likes