Tests fail due to incorrect browser control on first iteration

Cedric

I have created a few tests for the authentication portion of our website by recording authentication in IE and substituting data driven authentication credentials. We have three inputs, two RadTextBoxes with empty messages and an asp:TextBox with TextMode="Password" Each test begins as follows:

When I run the tests in IE, on the first iteration the test runner puts the UserName in the UserName box and tabs to the password box (this is incorrect since, when recording I tabbed once from the username box to the account box, but is insubstantial since the test still runs correctly on later iterations), it then enters something into the password box, puts the focus on the account text box entering no data, continues with the rest of the test, and fails bacause it never entered the account value in the second RadInput. On later iterations it correctly inserts the text into the account RadTextBox. If I run it through a debugger, it inserts the text into the correct text box. If I remove the tab keypresses the test still fails. Changing the delay between 400 and 1000 milliseconds doesn't change whether or not the test fails.

Stoich

I'm not sure I'll be able to help you based only on this description. The first thing that comes to mind is that you might want to try to re-record the login without using the Tab button - but his is pretty much a stab in the dark.

Could you please provide some (the more the better) of the following:
-your actual WebUI test and if possible the login page you run it against
-a video demonstrating the problem (Jing is really good for this)
-the log of the failure error

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.