motorola
14 years agoContributor
problems with pop up window
I
input a login credential in a login form, and then after clicking log in
button, the app will call a pop up window. there's a slight delay
between clicking button and the pop up appears. the next step in the
test after logging in is to input additional credentials in the
mentioned pop up window. This is where I got "object is missing". Is it
because testcomplete tries to send keyboard input to the popup window
when it's not appeared yet? could you please explain this case and the
solution?
also in
another popup window, I use the alias in an If....Then statement during
test. The funny thing is sometimes the test will say "Unexpected window"
and the entire test stops with an error. When I toggled a breakpoint,
the name of the object becomes something like
Sys.Process("abc").VCLObject("AddForm") instead of Aliases.App.AddForm.
Can you explain this and what's the solution to prevent this problem?
input a login credential in a login form, and then after clicking log in
button, the app will call a pop up window. there's a slight delay
between clicking button and the pop up appears. the next step in the
test after logging in is to input additional credentials in the
mentioned pop up window. This is where I got "object is missing". Is it
because testcomplete tries to send keyboard input to the popup window
when it's not appeared yet? could you please explain this case and the
solution?
also in
another popup window, I use the alias in an If....Then statement during
test. The funny thing is sometimes the test will say "Unexpected window"
and the entire test stops with an error. When I toggled a breakpoint,
the name of the object becomes something like
Sys.Process("abc").VCLObject("AddForm") instead of Aliases.App.AddForm.
Can you explain this and what's the solution to prevent this problem?