This repository was archived by the owner on Jun 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
HelpIM development wiki
winfried edited this page Dec 16, 2011
·
5 revisions
- Download the Selenium IDE firefox extension from http://seleniumhq.org/download/ and install it.
- Install the "Selenium IDE - Sel Blocks" extension from the mozilla add-ons.
- Install the Selenium timer extension from: http://wiki.openqa.org/display/SEL/Timer+Extension. To install it, place it in the file pointed to by the "Selenium Core extensions" setting in the options of Selenium.
- Optionally: install the "File Logging (Selenium IDE)" from the mozilla add-ons.
Put the following script in the Selenium IDE (you can copy the html-source):
Stresstest | ||
timerStart | total | |
for | i=0; i <= 300; i++ | i |
typeKeys | css=textarea.sendTextarea.goog-textarea.goog-textarea-focused | . |
type | css=textarea.sendTextarea.goog-textarea.goog-textarea-focused | iter ${i} |
keyPress | css=textarea.sendTextarea.goog-textarea.goog-textarea-focused | \13 |
timerStart | iter | |
waitForTextPresent | iter ${i} | |
timerStop | iter | |
endFor | ||
timerStop | total |
Then open a chat-window and run the script. The 300 iterations in this script should take about 5 minutes. More iterations are not very useful: it then becomes more a stress-test of the browser then of he server, because the list to find the text in, becomes longer.