History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WTR-170
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Shyamala Balekuduru
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Watir

Peformance issue with 1.5.1192 gem

Created: 02/Aug/07 07:31 AM   Updated: Monday 04:31 PM
Component/s: None
Affects Version/s: 1.5.0/1.5.1
Fix Version/s: 1.6.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. HTML File MaterialSpecification2.html (163 kb)
2. HTML File MaterialSpecification3.html (163 kb)

Environment: Windows XP - IE.


 Description  « Hide
I was using Watir 1.4.1 and the performace was pretty good. But when I uninstalled 1.4.1 and installed 1.5.1192 gem - the test execution time increaded dramatically.

Here goes:
test.rb
------------------------
  require 'watir' # the watir controller
  include Watir
  require 'test/unit'
  require 'test/unit/ui/console/testrunner'
  
  
   
   class TC_BTMSSID < Test::Unit::TestCase
 
   def setTestVars
      $no_rows_programs = 11
      $ProgramName = "Program001"
   end
    
      
    def test3_drugSubstance
      $ie = Watir::IE.attach(:title, /Material/)
      
      $ie.text_field(:index, 1).flash
      $ie.text_field(:id, /NoOfTests/).set("4")
      $ie.wait
      
      
      
    end
      
  end
------------------------------------

I have 2 html files that will demonstrate this problem - They are fairly large.


 All   Comments   Work Log   Change History      Sort Order:
Shyamala Balekuduru - 02/Aug/07 07:34 AM
test.rb with MaterialSpecification2.html is sloooooow -
Finished in 21 secs or so
- Now if tthe Left Navigation menu is removed it finishes in 3 sec

Shyamala Balekuduru - 02/Aug/07 07:35 AM
File with Left Navigation removed.
test finished in 3 secs

Bret Pettichord - 08/Oct/08 06:05 PM
This could be fixed in trunk. Some one should check.

Bret Pettichord - 01/Dec/08 04:31 PM
Probably fixed in 1.6. Reopen if not.