Writing test cases for Users login and selecting a correct certificate

2 posts, 0 answers
  1. Mindy
    Mindy avatar
    28 posts
    Member since:
    Sep 2012

    Posted 11 Jun 2012 Link to this post

    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

  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 13 Jun 2012 Link to this post

    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
Back to Top