Possible to get elapsed time?


#1

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;

#2

Hi @rewien.durga,

Credit for posting back your own solution!

You should repackage this information as a “Tip” and post it to

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