How to get time required to open any dialog or switch between tabs ?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to get time required to open any dialog or switch between tabs ?
How to get time required to open any dialog or switch between tabs ?
I want to record time required to open dialog and note down the time.
Also, time required to switch between the tabs available in a dialog.
Does Test Complete support this ?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use StopWatch >> or the native time counter for the language you are coding on.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alternatively, you can use the aqPerformance object in scripts (equivalent is the Performance options in keyword tests). These do pretty well as well.
Keep in mind that there is overhead of TestComplete's processing. Depending upon what you have wrapped within the timer checks, there may be object recognition, script parsing/execution, etc., that may add to the time. So... while it will be a good timing, it won't be a fully accurate timing of the actual load time for the dialog. Just keep that in mind as you're taking your measurements.
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
