How to measure the time between certain steps in testing

Ask general questions here.
ejji09
Posts: 54
Joined: Thu Sep 10, 2015 2:48 pm

How to measure the time between certain steps in testing

Post by ejji09 » Wed Oct 28, 2015 10:58 am

Hi,

Am testing a patient registration application. where i want to measure the time taken to open the patient panel after login in into system and add the time to a text file.

my code:

Code: Select all

            var repo = TestRIS_iRepository.Instance;
            var username = repo.LogIn.Username;
            username.Click();
            username.PressKeys("tau1");
            
            var password = repo.LogIn.Password;
            password.Click();
            password.PressKeys("tau1");
            
            var logIn = repo.LogIn.LogIn;
            logIn.Click();
//want to check how much time taken, after clicking the login button utill the patient panel opens
            var patient = repo.CentricityRISI50.Patient;
            patient.Click();
            var registration = repo.CentricityRISI50.Registration;
            registration.Click();
Thanks

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3921
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to measure the time between certain steps in testing

Post by odklizec » Wed Oct 28, 2015 11:20 am

Hi,

Already answered here:
http://www.ranorex.com/forum/post35031.html#p35031

In future, please do not post the same question multiple times. It does not help with getting the answer faster ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration