They're probably ajax requests. I can only say that this application
is very user-unfriendly :( Maybe you can talk with your (project)
managers/developers about it in the perspective of a regular normal
user who doesn't want to get beaten up while deciding how to spend his/
her limited time in the net. Just my opinion.

But if even user has to look at the status bar to know if anything is
happening, well...

Okay, but then you could do a little hack like this in pseudocode:
fill field A and B with some control-value
wait_until B.value.empty?
now fill field B and C with some control-value
wait_until C.value.empty?
...

Jarmo

On Dec 28, 5:06 pm, xeranas <[email protected]> wrote:
> If user too quick click next input (e.g. field 'B') while request for
> field 'A' isn't finished warning pop-up shows up. After it close pop-
> up and request still isn't finished user can fill other inputs (field
> B, field C and so on) no more pop-up shows up (it shows only once via
> request) BUT after request field 'A' is was finished all fields which
> was filled until field 'A' response are cleared (deleted values).
> "what is the essential point of that request or these requests"
> These request sent data to db or other services and waiting response.
> The response data needed for collecting future data.
>
> Application sent and retrieve data on almost every input. User are
> forced wait till get response (all additional inputs will be cleared
> if user enters). These request are visible on browser status bar, but
> it looks like Watir don't see them :(
>
> On 28 Gruo, 14:14, Jarmo Pertman <[email protected]> wrote:
>
>
>
>
>
>
>
> > So what happens if the request is made? How do you as a user use that
> > page and what value will you get if that request is made? In another
> > way - what is the essential point of that request or these requests?
> > Try to think in these terms what could you set as your condition.
>
> > If there isn't any point, then do you even have to care about these
> > requests? Why?
>
> > Jarmo Pertman
> > -----
> > IT does really matter -http://www.itreallymatters.net
>
> > On Dec 27, 5:03 pm, xeranas <[email protected]> wrote:
>
> > > Hi, i'm new with Watir and I need help with situation below..
>
> > > I'm trying create tests for web application. The problem is that
> > > almost every input send request to main server when input was
> > > triggered. After request response page content have not changed.
>
> > > The only one field request can exist at time on my web application.
> > > Other inputs must wait until previous field request are finished.
>
> > > So i'm stuck. ie.wait not help, ie.wait_until with .exit? also not
> > > help (page content haven't change after response). The only thing help
> > > is sleep. But i don't want add sleep on every input X sec (response
> > > sometime get almost instant but sometime need wait more than 1 min..)
>
> > > I need be sure that no requests running at the moment before next test
> > > step. Maybe I misread function which help with my problem..
>
> > > Any help is much appreciated

-- 
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