cancel
Showing results for 
Search instead for 
Did you mean: 

Using AQTime to profile TestComplete Test Scripts

SOLVED
Highlighted
New Contributor

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Using AQTime to profile TestComplete Test Scripts

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.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

3 REPLIES 3
Highlighted
Community Hero

Re: Using AQTime to profile TestComplete Test Scripts

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.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

Highlighted
New Contributor

Re: Using AQTime to profile TestComplete Test Scripts

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

Highlighted
Community Hero

Re: Using AQTime to profile TestComplete Test Scripts

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.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors