cancel
Showing results for 
Search instead for 
Did you mean: 

How to test performance of particular screen with Test Complete Tool

SOLVED
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
Community Manager

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

my 2 cents Smiley Happy

 

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

Join the annual community event and share your stories to win gifts
Wintertainment2019

View solution in original post

7 REPLIES 7
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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
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

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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
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
[Community Expert Group]
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
Extensions available
Occasional Contributor

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

Thank you.

Let me give a try.

Occasional Contributor

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

Okie ThankYou. Will check on these links.

Community Manager

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

my 2 cents Smiley Happy

 

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

Join the annual community event and share your stories to win gifts
Wintertainment2019

View solution in original post