Using AQTime to profile TestComplete Test Scripts
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using AQTime to profile TestComplete Test Scripts
Hi,
I have been using TestComplete for few years to create an Automation Framework and have implemented many custom script routines using javascript(now over 11K lines of script code) and some of it is quite complex(ie. using recursion and dynamic generation). I want to use AQTime to profile my test routines in TestCompete so I can optimse them. I understand that this is possible from what is mention here: https://support.smartbear.com/screencasts/aqtime/profiling-scripts/
which states: " You can also profile test scripts of TestComplete projects"
However, there is no other information that I can find which explains how this is done. I have gone through the AQTime manual, the SmartBear website and google-fu without any success.
Any help with this will be greatly appreciated.
Cheers
Ian
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ian,
Really good question indeed!
I would recommend to address this question directly to Support via either the https://support.smartbear.com/message/?prod=AQtime or the https://support.smartbear.com/message/?prod=TestComplete form and I will appreciate it if you update this thread with their reply.
> many custom script routines using *javascript*
Profiling of JavaScript is not supported by AQtime. Only VBScript and JScript can be profiled as per the documentation.
I never tried profiling of test code for TestComplete, only for IE, but after going through AQtime's documentation, I think that approach should be pretty similar to the one described for IE. With the only difference that TestComplete should be specified as the host application instead of IE.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alex,
Thank you very much for the prompt reply. My mistake - I had assumed that Javascript support was a given seeing as jscript is effectively deprecated by Microsoft and both are very similar in syntax and structure.
I am somewhat surprised that AQTime script support is limited to jscript and vbscript as both are deprecated by Microsoft - I am guessing AQTime is no longer focused on supporting script languages going forward. I had originally developed the automation framework in jscript and recently made the painful change to javascript ie. had to change all my excel com object calls to use excel ddt driver calls instead due to the performance issues of the javacript com object due to it being not native.
In short, AQTime in its current state is not going help me improve the performance of my TestComplete javascript routines. If you know of any other performance profiling tools I can use, please lmk.
Cheers
Ian
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ian,
Yes, JScript and JavaScript names are pretty similar but corresponding languages are significantly different as to my knowledge.
I never was interested in profiling of JavaScript code, so cannot help here. It is my guess that been asynchronous by its architecture and nature and been designed for web pages automation, JavaScript profiling is best supported by browsers. I am not sure that JavaScript is used for desktop applications creation (correct me if I am wrong) and thus I do not expect (a lot of) desktop profilers exist for it outside of browsers.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
