Planning to calculate page response time using "Timer Extension" using http://wiki.openqa.org/display/SEL/Timer+Extension.
I have copied the code in "User-Extension.js" and updated the path in Selenium RC.
When I execute following code using eclipse, I am getting following error message "method timerStart(st开发者_C百科ring) is undefined".
System.out.println("Test Strated");
timerStart("LoginPage");
selenium.open(BASE_URL_1);
selenium.waitForPageToLoad(MAX_WAIT_TIME_IN_MS);
timerStop("LoginPage");
How to make eclipse recognize this new method ?
-Bharath
The new method is added to Selenium's prototype. So I think you would have to do:
selenium.timerStart("LoginPage");
精彩评论