Forum Discussion

DurgaPrasad's avatar
DurgaPrasad
Occasional Contributor
12 years ago

Performance Testing

Hi,

      We had a issue where we need to check the time interval,The following is the problem.

Screen1:we Save a Record

Screen2:Appearnce of that saved Record.(In this it is a grid with around 1000 of records)



Problem: The time for the appearnce of Record in Screen2 when in Screen1 it is saved.This appearnce in screen2 is done in less than second(which it was checked manually).But we need that time even.

How to achieve that time? Also we can view one screen at a time in our application.



Thanks and Regards,

Durga.




  • Hi Durga,


     


    You can use the following script to measure the time (in milliseconds) between two events:




    //JScript


    startTime = GetTickCount();


    //do something


    loadTime = GetTickCount() - startTime;