I need to write a automated test to calculate average response time for a screen to respond. I am using selenium and VB.net. Please guide how to calculate it. as waitforpage() only let you specify a maximum period of time for waiting. How I can actually get the time it took to load.
Kind regards
Thx
well, I’d share you approach that I used but only in java. Hope you’ll be able somehow adopt it ot vb.net.
the idea is following:
you press login button or any other element causign page load. Then you start timer. Then you select a set of elements which are supposed to be displayed on the page. And using fluentWait mechanism you wait till they appear. And then timer is supposed to be stopped.
fluent wait info
fluent wait method code:
Hope somthning comes clear to you)