Tuesday, April 3, 2012

Find out time delay between Lexicon to Categorized Entry pane.


Scenario : Find out time delay between Lexicon to Categorized Entry pane.

Explanation :
The time delay is found by using “time.time()” function in Python and the timer is started When click on first pane then second timer is ended when click on second pane. Total time delay is got subtract between second pane to first pane and the value is displayed in popup message box.
Please refer below picture to view code.

E.g
click("Lexicon.png") # first pane
start = time.time()
click("CdegorizedEn.png") # second pane
find("SemanticDoma.png")
actWait = time.time()-start

Code :

Video :


No comments:

Post a Comment