cancel
Showing results for 
Search instead for 
Did you mean: 

How to test performance of particular screen with Test Complete Tool

SOLVED
Highlighted
Occasional Contributor

How to test performance of particular screen with Test Complete Tool

Hello All,

 

I want to check my application screen performace using TestComplete tool, can anyone please tell me on how to Check screen performance with tool, what are the options i need to enable in tool to check this.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: How to test performance of particular screen with Test Complete Tool

my 2 cents 🙂

 

Take a look at the following article and those related:

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/monitoring-performance/index.h...

 

The contains a description of different performance counters TestComplete provides and how to use them.

 

 
---------
Tanya Gorbunova
SmartBear Community Manager

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

View solution in original post

7 REPLIES 7
Highlighted
Community Hero

Re: How to test performance of particular screen with Test Complete Tool

Hi,

 

Consider the aqPerformance object to measure time intervals in TestComplete. Note however, that the result will be not a real performance, but some averaged approximate figure from the end-user point of view without the possibility of the future analysis.

If you have access to the source code and need to measure performance of application's code you may consider AQTime profiling tool (https://smartbear.com/product/aqtime-pro/overview/) that integrates with TestComplete and will provide you with much more detailed result.

 

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
================================
Highlighted
Occasional Contributor

Re: How to test performance of particular screen with Test Complete Tool

Actually im new to TestComplete tool and no idea on how to use these objects, can you please be clear

Highlighted
Community Hero

Re: How to test performance of particular screen with Test Complete Tool

Hi,

 

Actual implementation depends on your needs and tested application, but some pseudo-code may look like this:

// Start a time counter
aqPerformance.Start();

// Do some actions
Aliases.ParentForm.btnOpenChild.Click();
var oChildForm = Aliases.ParentForm.WaitAliasChild('frmOrderChild', 30000);
if (oChildForm.Exists)
  // Log the elapsed time, in ms
  Log.Message(aqString.Format('It took %ims to open child Order form', aqPerformance.Value()));
else
  // process error here

 

 

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
================================
Highlighted
Community Hero

Re: How to test performance of particular screen with Test Complete Tool


@thoshima wrote:

Actually im new to TestComplete tool and no idea on how to use these objects, can you please be clear


To add to Alex's info, the online documentation for TestComplete has a lot of good code samples that demonstrate.

https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqperformance/index.html

 

If you're using Keyword tests, you can also reference

https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/performance/index.html


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Occasional Contributor

Re: How to test performance of particular screen with Test Complete Tool

Thank you.

Let me give a try.

Highlighted
Occasional Contributor

Re: How to test performance of particular screen with Test Complete Tool

Okie ThankYou. Will check on these links.

Highlighted
Community Manager

Re: How to test performance of particular screen with Test Complete Tool

my 2 cents 🙂

 

Take a look at the following article and those related:

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/monitoring-performance/index.h...

 

The contains a description of different performance counters TestComplete provides and how to use them.

 

 
---------
Tanya Gorbunova
SmartBear Community Manager

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

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
A new challenge is here!

Create a function to drag one element to another for the TechCorner tag!

Will you dare to take the challenge?


Scripts created in July:
- Passing custom command-line arguments as a test parameter
Top Kudoed Authors