Re: [Wtr-general] Watir no longer always waits for all frames to load
Bret, I've filed the issue in Jira as low priority. The ticket# is: WTR-165 Thanks for your help. -David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Watir no longer always waits for all frames to load completely (gem 1.5.1.1166)
I've been using the development gem 1.5.1.1166 which includes the re-written wait logic to test a complex SAP web application. The main content that I am automating is nested 4 frames deep. Up until this past Friday this version of watir seemed to handle waiting for all of the inner frames to load properly. Now however this wait logic isn't always waiting until the pages load completely which causes my scripts to fail. I don't think there have been any changes in the web app I'm testing which would cause this. I did happen to install the important/critical Microsoft security patches for June which could have effected watir? http://www.microsoft.com/technet/security/bulletin/ms07-jun.mspx Has any one else experienced this problem with the new wait logic not waiting quite long enough when there are many nested frames? I wish this was a public web-app so I could provide an example w/html to look at but it's not. Thanks! -David Brown ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Watir no longer always waits for all frames to load
Gems prior to 1.5.1.1166 would either give me the access denied errors as it tried to wait for the inner frames to load - or if those were suppressed, I had to put in a manual wait whenever I navigated to a new page: sleep 0.1 until some_element_on_inner_frame.exists?. After installing 1166 all of these delay problems were fixed... Until now. Now that this issue has surfaced I'm forced to put the manual delays in again. It is not a big deal to do this, but, it's always cleaner if watir handles the delays properly. -David From: Bret Pettichord [EMAIL PROTECTED] Brown, David wrote: I've been using the development gem 1.5.1.1166 which includes the re-written wait logic to test a complex SAP web application. The main content that I am automating is nested 4 frames deep. Up until this past Friday this version of watir seemed to handle waiting for all of the inner frames to load properly. Now however this wait logic isn't always waiting until the pages load completely which causes my scripts to fail. I don't think there have been any changes in the web app I'm testing which would cause this. I did happen to install the important/critical Microsoft security patches for June which could have effected watir? http://www.microsoft.com/technet/security/bulletin/ms07-jun.mspx Has any one else experienced this problem with the new wait logic not waiting quite long enough when there are many nested frames? What happens if you use an earlier Watir gem, before we rewrote the frame wait logic? Bret ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Watir no longer always waits for all frames to load
wait_until is a cleaner method to invoke. sleeps are too error prone, wait_until a specific control exists. I removed the http error checks around that time and there have been some changes in the frames handling. -c On 6/19/07, Brown, David [EMAIL PROTECTED] wrote: Gems prior to 1.5.1.1166 would either give me the access denied errors as it tried to wait for the inner frames to load - or if those were suppressed, I had to put in a manual wait whenever I navigated to a new page: sleep 0.1 until some_element_on_inner_frame.exists?. After installing 1166 all of these delay problems were fixed... Until now. Now that this issue has surfaced I'm forced to put the manual delays in again. It is not a big deal to do this, but, it's always cleaner if watir handles the delays properly. -David From: Bret Pettichord [EMAIL PROTECTED] Brown, David wrote: I've been using the development gem 1.5.1.1166 which includes the re-written wait logic to test a complex SAP web application. The main content that I am automating is nested 4 frames deep. Up until this past Friday this version of watir seemed to handle waiting for all of the inner frames to load properly. Now however this wait logic isn't always waiting until the pages load completely which causes my scripts to fail. I don't think there have been any changes in the web app I'm testing which would cause this. I did happen to install the important/critical Microsoft security patches for June which could have effected watir? http://www.microsoft.com/technet/security/bulletin/ms07-jun.mspx Has any one else experienced this problem with the new wait logic not waiting quite long enough when there are many nested frames? What happens if you use an earlier Watir gem, before we rewrote the frame wait logic? Bret ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Watir no longer always waits for all frames to load
Brown, David wrote: Gems prior to 1.5.1.1166 would either give me the access denied errors as it tried to wait for the inner frames to load - or if those were suppressed, I had to put in a manual wait whenever I navigated to a new page: sleep 0.1 until some_element_on_inner_frame.exists?. After installing 1166 all of these delay problems were fixed... Until now. Now that this issue has surfaced I'm forced to put the manual delays in again. It is not a big deal to do this, but, it's always cleaner if watir handles the delays properly. Could you please open up a jira ticket for this problem? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general