
| Key: |
WTR-216
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Critical
|
| Assignee: |
Unassigned
|
| Reporter: |
Hugh
|
| Votes: |
2
|
| Watchers: |
2
|
|
If you were logged in you would be able to see more operations.
|
|
|
Watir
Created: 05/Jun/08 10:37 AM
Updated: 03/Nov/08 11:26 AM
|
|
| Component/s: |
HTML Controls
|
| Affects Version/s: |
1.5.4
|
| Fix Version/s: |
1.6.0
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
File Attachments:
|
1.
wallofcheckboxes.html (95 kb)
|
|
Environment:
|
XP, Watir 1.5.4 and Ruby 1.8.2 (needed for modal dialogs)
|
|
|
If I have a large number of controls, an html page like the following takes 10 seconds to check the last box with 1.5.4 where the same page in 1.5.1.1230 is almost instantaneous...sadly there's a page in our app that is a wall of checkboxes...
This is the IRB command I used:
irb(main):016:0> s= Time.now.to_i; ie.checkbox(:name, 'custom_monetary_value10:config.admin.required999').set; puts Time.now.to_i -s
HTML snippet (I just used excel to quickly create the rows for a total of 1000):
<head><title>Test</title></head>
<table>
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required1 ></td></tr>
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required2 ></td></tr>
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required3 ></td></tr>
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required4 ></td></tr>
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required5 ></td></tr>
...
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required1000 ></td></tr>
</table>
|
|
Description
|
If I have a large number of controls, an html page like the following takes 10 seconds to check the last box with 1.5.4 where the same page in 1.5.1.1230 is almost instantaneous...sadly there's a page in our app that is a wall of checkboxes...
This is the IRB command I used:
irb(main):016:0> s= Time.now.to_i; ie.checkbox(:name, 'custom_monetary_value10:config.admin.required999').set; puts Time.now.to_i -s
HTML snippet (I just used excel to quickly create the rows for a total of 1000):
<head><title>Test</title></head>
<table>
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required1 ></td></tr>
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required2 ></td></tr>
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required3 ></td></tr>
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required4 ></td></tr>
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required5 ></td></tr>
...
<tr><td> <INPUT type=checkbox name=custom_monetary_value10:config.admin.required1000 ></td></tr>
</table>
|
Show » |
|