Possible to get elapsed time?

Is it possible to get the elapsed time before all the elements in a table on a html page are loaded in?

EDIT: I already found a solution. It is to record the time through Java steps through the script before a certain element in the table is visible on the page. It looks something like this:

int start = System.currentTimeMillis();

WebUI.verifyElementVisible(findTestObject('TestObject'))

int end = System.currentTimeMillis();

int loadintime = end - start;
4 Likes

Hi @rewien.durga,

Credit for posting back your own solution!

You should repackage this information as a β€œTip” and post it to

http://forum.katalon.com/c/katalon-studio/katalon-studio-tips-and-tricks

1 Like

Hi Katalon Team,

If we want to display that loadintime in email. how to achieve this through katalon?

Thank You!