0
how to measure loading time page in Robot Framework
Please, help me this problem, I am a fresher.
1 CÂU TRẢ LỜI
-1
Just try this
Here is a simple example which measures the time that the page took to load some distinct element:
${start} = Get Current Date Open Browser https://ixquick.com/ Wait Until Page Contains Element //input[@id='query'] ${stop} = Get Current Date ${diff} = Subtract Date From Date ${stop} ${start} Log ${diff} You need Selenium2Library and DateTime library to run this. Adjust it to your needs, i.e. you have to find a definition of ready. This might be some HTML element to be present or some other criteria.
@Gin Could you, please explain more about the issues that you've got?
@huukimit That means write the test scrip in Robot Framework. And I have done it. If you do not mind, you will help me explain how to test database in Robot