cancel
Showing results for 
Search instead for 
Did you mean: 

Can't get milliseconds using aqConvert.DateTimeToFormatStr

Highlighted
Occasional Contributor

Can't get milliseconds using aqConvert.DateTimeToFormatStr

This is posted as a reminder of an unresolved issue in the newsgroups, which have become obsolete:



http://www.automatedqa.com/newsgroups/d.cgi?cmd=xover&group=automatedqa.public.testcomplete&related=...=
5 REPLIES 5
Highlighted

RE: Can't get milliseconds using aqConvert.DateTimeToFormatStr

Hi Karl,




As you are the only person asking to implement this functionality, the suggestion's rating is still very low, and therefore, it has not been implemented yet. Besides that, since the task can be accomplished in another way, the suggestion is not considered to be crucial. I can try to raise the suggestion's priority if you describe why the current approach (using the Utilities object) does not meet your needs and why you actually need to display the milliseconds in your test.

-----

Alexander
Customer Care Manager
Highlighted
Occasional Contributor

RE: Can't get milliseconds using aqConvert.DateTimeToFormatStr

I need to display and use milliseconds in my tests because they are quite time-sensitive and require exact times for comparison purposes.

However, I can use the Utilities object while it's available, albeit obsolete. I just thought it would be good practice to upgrade my code so it doesn't use obsolete methods.


K


Highlighted

RE: Can't get milliseconds using aqConvert.DateTimeToFormatStr

Hi Karl,


Measuring precise timing is not a task for an automated testing tool, actually. If you need to measure detailed performance of your tested application, I strongly recommend that you use a profiling tool instead. For example, you can use our tool - AQtime:

http://www.automatedqa.com/products/aqtime/


Note that TestComplete provides special features for integration with AQtime.



Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Contributor

RE: Can't get milliseconds using aqConvert.DateTimeToFormatStr

Hi, Allen





If you say that measuring precise timing is not a task for an automated testing tool then how can you explain that aqUtils.Deplay() takes time in milliseconds? Isn't it too precise for TestComplete? Following your words it's just a bug and we all know, that bugs must be removed from product.
Highlighted

RE: Can't get milliseconds using aqConvert.DateTimeToFormatStr

Hi Alexander,


First of all, note that the Delay method is not related to measuring performance in any way - it is usually used to make tests more stable when the default delay between events is too small and TestComplete works with the tested application faster than a real user. Secondly, in some cases, it is enough to wait less than one second and there is no need to delay the test longer. If there are multiple Delay method calls (for example, if the same call is performed in a loop), it is much more convenient to specify a more precise delay.



Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors