Hello

I'm trying to make memory measurements of my web application 
(javascript/jquery) in IE with Watir.

This is a complex webapplication, we must connect to a portal and then open 
a new window to access an application.

*require "watir"*
*
*
*test_site = "my_portal"*
*count = 100*
*ie = Watir::IE.new*
*ie.goto test_site*
*
*
*count.times do*
* ie.link(:href, /* *my_app* */).click*
* sleep 1
*
* $ie_popup = Watir::IE.attach(:url, /my_app/)
*
* sleep 1
*
*        logMemory()*
*        ### DO TEST ACTIONS HERE ####*
* $ie_popup.close
*
*end*
*
*
*ie.close*

When i do simple test like, open/close *ie_popup *(or just a refresh x 
times) the memory usage is ok (like manual test)...
*
*
But when I want to do more actions on  *ie_popup * , like : click, open 
popup, display tables or informations... when i close  *ie_popup*, IE don't 
free the memory. At first I thought that was a memory leak on my webapp but 
when i do the test manually there isn't any problem of memory.

I don't understand why there is "memory leak" on my complex test and not on 
a basic test (open/close)...

I have try to simulate Alt F4 to close ie_popup instead of use 
ie_popup.close, but memory leak still there

Problem with watir ie driver ?

Someone can help me
Thanks in advance, and sorry for my french english ^^

pym//

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to