Checking when an application has opened - task manager
Posted: Thu Nov 21, 2013 3:57 pm
Hi,
I need to automate a test case which opens an Excel document from an email archiving system. The problem is: how do I measure - reliably - the time taken between the double-click on the document link in the archiving system and the moment when Excel has fully loaded the document ?
My ideas so far:
- open task manager, take a DateTime snapshot when double-clicking, and when Excel has appeared in the list, take a DateTime snapshot again. I haven't tried it yet, but it seems "laggy" to me.
- create a bespoke little app (C# or similar) which encapsulates all steps. Problem: that's not longer proper automation, rather, a Ranorex-triggered hack (I'd like it more maintainable...)
- Some Ranorex API magic - haven't found anything so far...
Any hints ladies and gents ? Thanks in advance !
Miss Marple
I need to automate a test case which opens an Excel document from an email archiving system. The problem is: how do I measure - reliably - the time taken between the double-click on the document link in the archiving system and the moment when Excel has fully loaded the document ?
My ideas so far:
- open task manager, take a DateTime snapshot when double-clicking, and when Excel has appeared in the list, take a DateTime snapshot again. I haven't tried it yet, but it seems "laggy" to me.
- create a bespoke little app (C# or similar) which encapsulates all steps. Problem: that's not longer proper automation, rather, a Ranorex-triggered hack (I'd like it more maintainable...)
- Some Ranorex API magic - haven't found anything so far...
Any hints ladies and gents ? Thanks in advance !
Miss Marple