Commit f11025a4 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix typos in examples.

parent c9867ec5
......@@ -11,8 +11,8 @@ def createPerson(result, browser):
script and userInfo.py. Further information about performance_tester_erp5
options and arguments are available by specifying ``--help''.
This tests requires the bt5 erp5_simulation_performance_test
to be isntalled for relation with organisation
This test requires the bt5 erp5_simulation_performance_test to be installed
for relation with organisation.
Also, in order to get more realistic results with concurrent users, random
sleep must be introduced to simulate a "real" user. This can be done through
......@@ -57,7 +57,7 @@ def createPerson(result, browser):
browser.mainForm.submitSelectAction(value='add Telephone'))
# Fill telephone title and number
browser.mainForm.getControl(name='field_my_title'). value = 'Personal'
browser.mainForm.getControl(name='field_my_title').value = 'Personal'
browser.mainForm.getControl(name='field_my_telephone_number').value = '0123456789'
# Submit the changes, record the time elapsed in seconds
......
......@@ -40,7 +40,7 @@ def createWebPage(result, browser):
# Edit content
WebPage_url = '/'.join(WebPage_url.split('/')[:-1])
browser.open(WebPage_url+"/WebPage_viewEditor")
browser.mainForm.getControl(name='field_my_text_content'). value = '<html><body><h1>Test</h1><p>Content if test</p></body></html>'
browser.mainForm.getControl(name='field_my_text_content').value = '<html><body><h1>Test</h1><p>Content if test</p></body></html>'
# Submit the changes, record the time elapsed in seconds
browser.randomSleep(10, 30)
result('Save', browser.mainForm.submitSave())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment