How do you configure the Handler for a Logon into a website?
I've clicked on the Handler & then on the Logon Dialog. The the Telerik - WebUI Test Studio popup says:
A 'Logoin' dialog handler step has been added to your test. Please select the added step in 'Test Explorer' and edit its properties to customize dialog handling.
I see the step, I see the properties. But where/what is Test Explorer? And how does this work?
I've clicked on the Handler & then on the Logon Dialog. The the Telerik - WebUI Test Studio popup says:
A 'Logoin' dialog handler step has been added to your test. Please select the added step in 'Test Explorer' and edit its properties to customize dialog handling.
I see the step, I see the properties. But where/what is Test Explorer? And how does this work?
7 Answers, 1 is accepted
0
Hello Raymond Stewart,
I apologize for the confusion of the wording. "Test Explorer" refers to the window in the Dev edition showing the test steps. The window name is different in QA edition and we do need to change the wording. It really should say the Steps tab. All you really need to do is edit the properties for the step as shown in the attached screenshot.
Does that clear it up for you?
Sincerely yours,
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.
I apologize for the confusion of the wording. "Test Explorer" refers to the window in the Dev edition showing the test steps. The window name is different in QA edition and we do need to change the wording. It really should say the Steps tab. All you really need to do is edit the properties for the step as shown in the attached screenshot.
Does that clear it up for you?
Sincerely yours,
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

R Stewart
Top achievements
Rank 1
answered on 27 May 2010, 05:55 PM
thanks the response. I have 2 questions.
1. I had already changed the Properties for the Handle :'Logon' dialog to include the Password and Username but it no luck. I go to the login screen which requres a user name & password. (1_loginscreen.jpg), I verify that the Accept button is there and if so the step to click on the button is there followed by the Handle 'Logon' dialog (2_steps.jpg). But how do the username & password get passed, do I need more steps?
2. My goal is to loginto the website and then run the tests contained in an Excel spreadsheet.
a) Currently the only way Ive been able to do this seems for me to all the steps executed: Login, it reads the first line of the spreadsheet, drops the data in, then I logout, and it logs in again and does the 2nd line in the Excel spreadsheet. (3_datadriven.jpg)
b) I tried creating a static list where I called a login test and then went to the data bind steps but after the first test the window is closed and the data bind steps wont start until I manually navigate to the page, manually login and then the data bind test run in the screen after the login screen.
I'm stuck.
1. I had already changed the Properties for the Handle :'Logon' dialog to include the Password and Username but it no luck. I go to the login screen which requres a user name & password. (1_loginscreen.jpg), I verify that the Accept button is there and if so the step to click on the button is there followed by the Handle 'Logon' dialog (2_steps.jpg). But how do the username & password get passed, do I need more steps?
2. My goal is to loginto the website and then run the tests contained in an Excel spreadsheet.
a) Currently the only way Ive been able to do this seems for me to all the steps executed: Login, it reads the first line of the spreadsheet, drops the data in, then I logout, and it logs in again and does the 2nd line in the Excel spreadsheet. (3_datadriven.jpg)
b) I tried creating a static list where I called a login test and then went to the data bind steps but after the first test the window is closed and the data bind steps wont start until I manually navigate to the page, manually login and then the data bind test run in the screen after the login screen.
I'm stuck.
0
Accepted
Hi Raymond Stewart,
I see the confusion now. Your login screen is a custom login screen. Our Login dialog hander only handles the IE built-in logon dialog. It does not handle custom login screens like yours. Instead you need to treat it like a regular test script which means recording your login sequence such that you should get 4 steps out of it (or more if you want to add verifications to it):
Since you also want to perform data driven testing, I recommend splitting things into two tests that can be combined. So Test A is does the login for you but nothing else. Test B performs your data driven testing and assumes you're already logged in. The first step in Test B runs Test A via "Test-as-a-step".
With that combination it should achieve what you're after by simply normally running Test B 9which runs Test A, the login, indirectly). Did I explain it clearly enough?
Sincerely yours,
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.
I see the confusion now. Your login screen is a custom login screen. Our Login dialog hander only handles the IE built-in logon dialog. It does not handle custom login screens like yours. Instead you need to treat it like a regular test script which means recording your login sequence such that you should get 4 steps out of it (or more if you want to add verifications to it):
- Navigate to your login page
- Type text in the user name field
- Type text in the password field
- Click the login button (I believe Accept in your case)
Since you also want to perform data driven testing, I recommend splitting things into two tests that can be combined. So Test A is does the login for you but nothing else. Test B performs your data driven testing and assumes you're already logged in. The first step in Test B runs Test A via "Test-as-a-step".
With that combination it should achieve what you're after by simply normally running Test B 9which runs Test A, the login, indirectly). Did I explain it clearly enough?
Sincerely yours,
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

R Stewart
Top achievements
Rank 1
answered on 27 May 2010, 07:26 PM
Nice explanation, makes perfect sense. The Test as Step Tool is very helpful here. I just created a new test with A login Test as the first step & B Data Bind test as the 2nd step and it works well.
Thank you!
Thank you!
0
Hi Raymond Stewart,
We have many customers taking advantage of the Test-as-a-Step feature. I am glad to hear you really like it as well. Thank you for the update!
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.
We have many customers taking advantage of the Test-as-a-Step feature. I am glad to hear you really like it as well. Thank you for the update!
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.
0

R Stewart
Top achievements
Rank 1
answered on 01 Jun 2010, 06:20 PM
When I run the test with the 'Test as a Step' feature my results come back that both tests completed sucessfully. However each test had a hundred or a thousand tests as one of the test is Data Bound to a spreadsheet and I can't find the log information on each of the hundred or thousand tests that were completed. Where can I find a log or list of all of the tests that were done which would correspond to my spreadsheet?
Thank you!
Thank you!
0
Hello R Stewart,
We are aware that, unfortunately, results from data driven tests are not being correctly bubbled up in some cases. This is actively being worked on right now. We will probably be releasing a fix for this at the end of this week.
In the mean time, when you run your tests via a Test List in QA Edition, you should be able to drill down into the test results to see all the iterations run and their results separately corresponding to your spreadsheet. See the attached screenshot for an example.
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.
We are aware that, unfortunately, results from data driven tests are not being correctly bubbled up in some cases. This is actively being worked on right now. We will probably be releasing a fix for this at the end of this week.
In the mean time, when you run your tests via a Test List in QA Edition, you should be able to drill down into the test results to see all the iterations run and their results separately corresponding to your spreadsheet. See the attached screenshot for an example.
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.