- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Procedure start time and stop time within procedure and availabili ty to the called procedure
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-11-2010 01:10 AM
Is it possible to get the start time and end time of the procedure like the way we get for a test case.
I was looking at one of the old message to use procedure as a test case but my in my case I need
more information than just the result of the procedure. Any help?
Re: Procedure start time and stop time within procedure and availabili ty to the called procedure
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-11-2010 03:08 PM
You could do this yourself crudely by adding "eval" steps to the OnProcedureEnter and OnProcedureExit events and then picking up the values and doing something with them. Or even more crudely, you could just add eval steps at the start and end of interesting procedures. The [info] and [clock] commands gives you access to information you'll probably want.
Re: Procedure start time and stop time within procedure and availabili ty to the called procedure
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-18-2010 07:25 AM
One suggestion I'd gotten on this was to hook into com.fnfr.open.automation.enginemonitor and tack listeners onto onPreparingStep(IStep, IExecutionDirective) and procedure steps.
Haven't tried it yet as I've been busy with other things, but seems like a nice way to avoid users embedding things in their script.
Re: Procedure start time and stop time within procedure and availabili ty to the called procedure
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-18-2010 11:54 PM
That is correct. Engine Monitor SDK can be used to generate any form of test report you want because you have access to complete information resulting from executing a step.
Re: Procedure start time and stop time within procedure and availabili ty to the called procedure
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-29-2010 04:51 PM
I am not sure how effective it is to use onPreparingStep since IStep ( or our executable step ) does not have notion of a being a procedure step, it is a just a step and one can not use step action being "call" as we now have quick call feature..
What Kingston suggested seems to be a better way to go...
