This is a migrated thread and some comments may be shown as answers.

Login dialog problem

2 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Uma Shankar
Top achievements
Rank 1
Uma Shankar asked on 17 May 2010, 10:19 AM
Hi,

I'm trying to test a simple Silverlight 3.5 - login window. I type the username and password..(WebUI QA Edition).

What I'm doing wrong:

ActiveBrowser.ContentWindow.SetFocus();
Pages.Home.ObjectTag.ScrollToVisible();
Pages.Home.ObjectTag.Focus();
ActiveBrowser.Manager.Desktop.KeyBoard.KeyPress(ArtOfTest.WebAii.Win32.KeyBoard.KeysFromString("J"), 150, 3);
ActiveBrowser.WaitUntilReady();

It think... it puts the code correctly... I guess correctly. but, while executing the test -  the login small dialog box opens, it would not automatically input the recorded username and password? why..

Thanks
Uma

2 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 17 May 2010, 04:25 PM
Hello Uma Shankar,

To figure out what is going wrong we need to better understand how your application works and what you tried. Did you use QA edition to record your test and then try to play it back as a regular .aii test? What steps are necessary to show the login prompt? Do you simply navigate to your test website and the logon immediate appears, or do you have to click a button or two before you see it? Is this logon in a popup window? Is it in a Silverlight ChildWindow object?

Can you zip up and send us your entire project and send it to us for study? We might be able to see what's wrong with it. You may need to open a support ticket in order to attach files.

Greetings,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Cody
Telerik team
answered on 21 May 2010, 06:18 PM
Hello Uma Shankar,

Just wanted to touch base with you and see if you still wanted assistance with this problem.

Kind regards,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Uma Shankar
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or