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

Writing test cases for Users login and selecting a correct certificate

1 Answer 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mindy
Top achievements
Rank 1
Mindy asked on 11 Jun 2012, 06:57 PM
Hi,

I’m trying to test different Users using different cert to login an application.  For example: user1 has certA, user2 has certB, ect…. 

When the Window Security dialog displays, I can see different certificates (certA, certB, ect…) that I can select.  For example, I used User2 and selected certB and clicked the OK button.  The Window Security dialog closes and then a Password dialog of my application displayed.

When I played back, it seemed to select the one in the first row; which is certA

When I looked at the step in this test, it displays the “Handle ‘Generic’ dialog”.  I can’t seem to manipulate this line so that it can pick the correct certificate for my test.  I even used the up and down keys on the keyboard when I re-record the step and it still didn’t work.

Could someone help?

I’m running stand-alone Test studio.

Thanks,
Mindy

1 Answer, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 13 Jun 2012, 03:17 PM
Hello Mindy,

I can't definitively say without seeing or testing your dialog directly, but I suspect it includes more options than our Generic Dialog step was designed to handle.

Try adding a coded step that invokes "Blind" Key Presses/Typing to make the appropriate selections and continue.

Kind regards,
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Mindy
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Share this question
or