This is a migrated thread and some comments may be shown as answers.

Timing and Metrics Gathering

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ken White
Top achievements
Rank 1
Ken White asked on 26 May 2010, 10:55 PM
Is there any native way to gather timing and metrics within TWTS?

The scenario I'm thinking of is something like:

  1. Start Timer
  2. Do some steps (click login, type my password, hit OK, etc. Whatever.)
  3. Stop Timer
  4. Calculate the time (in miliseconds?)
  5. Write it to the log.

The ultimate goal is to run the script before and after some performance improvements in my application and have a consistent, reliable way to measure those improvements in the user experience.

Thanks,
Ken White, ASI

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 26 May 2010, 11:32 PM
Hello Ken,

Thanks for the post and question. WebUI Test Studio no longer officially supports Visual Studio load or web tests, so there is not really any built in metrics we offer.

So you could either create your own load or web tests in VS, or add a custom timer code solution in a code behind file for your WebUI tests. To write to the log, all you would need in code is:

Log.WriteLine("My Test Info");

and the string will be writted to the Log/.TRX file for the test run.

Sincerely,
Nelson
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Ken White
Top achievements
Rank 1
Answers by
Missing User
Share this question
or