Hi all

In My testcases I created a wrapper around Watir.rb

def login(ie,username,password)
       ie.text_field(:name, "ranger_user[name]").set(username)
       ie.text_field(:name, "ranger_user[password]").set(password)
       ie.button(:name, "commit").click
     sleep 2
     return ie.frame("ifr_content")#returns the iframe object
end

where login is the function called in my testcase .

After that whenever the screen refreshes the object is lost.And all other
funtctions start failing.

Do we need to modify the refresh method for this or there is any other
workaround.

Thanks and regards

Ajitesh Srinetra
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to