Results 1 to 2 of 2

Thread: Tests that login with client certificate

  1. #1

    Default Tests that login with client certificate

    In Sencha Test, is it possible to write a test that logs into a server that uses HTTPS and mutual client authentication?

    In the test scenarios we're trying to automate, we need to log in as multiple distinct users with different roles, to exercise a workflow in our application. In the official test / integration / staging environment, logins are done with client certificates. I'm trying to understand if Sencha Test could be used in that environment, or only in our nightly build servers, which can use username / password logins.


    In Selenium its possible, but only by using an additional library called "AutoIt", that allows the test to interact with Windows GUI elements:
    https://sqa.stackexchange.com/questi...ecurity-dialog


    Is client certificate login as multiple users possible in Sencha Test, either directly with Sencha Test, or via some other workaround?

    VR,
    David

  2. #2
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    446

    Default

    Hi David--

    There's nothing currently built into Test that would support this. However, if you were able to execute the necessary bits to run AutoIt from Node JS, you could use a WebDriver-based scenario, import a custom node module that does the necessary interfacing, and then proceed with your normal testing.

    Thanks!
    Joel

Similar Threads

  1. Running Unit Tests hangs saying "Loading Tests"
    By nathaniel.fields in forum Q&A
    Replies: 8
    Last Post: 31 May 2016, 1:25 AM
  2. Certificate.p12: no identity found
    By kramprabhu in forum Sencha Touch 2.x: Discussion
    Replies: 0
    Last Post: 7 Mar 2013, 6:24 AM
  3. Replies: 1
    Last Post: 2 Aug 2012, 8:24 AM
  4. Validate SSL certificate
    By joostvanhassel in forum Sencha Architect 2.x: Help & Discussions
    Replies: 1
    Last Post: 12 Apr 2012, 1:22 PM
  5. guideline: Writing a client for an existing win32 client server application
    By bardaste in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 25 Nov 2010, 11:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •