Forum Discussion

Stevan's avatar
Stevan
Contributor
2 years ago

How do I update my password in a keytest

I have some keytest I created with test complete using an application. Recently my password changed and all my test fail. 

 

How can I update my password in a keytest that was already created?

3 Replies

  • Hey Stevan!

     

    Normally TestComplete detects passwords and when it does, it creates a Project Level Variable that holds your password.

     

    If this is the case, then you can change the Password variable value by clicking on your Project, then selecting the 'Variables' tab at the bottom of the screen. This will show you any variables created and allows you to alter the 'Default Value' to your new password. 

     

    Below is an example of a Password variable found at the Project Level;

     

    I hope this helps!

    • Stevan's avatar
      Stevan
      Contributor

      Thanks that makes sense. 

       

      Can you answer another question. I have created multiple test in smartbear using different username and password. The issue I am having is that when I change 1 test to use a different password, it changes all my test to use that same password. 

       

      How can I have multiple test using different passwords?

      • npaisley's avatar
        npaisley
        Staff

        Hi Stevan!

         

        Sure, you can just create multiple Password type variables and designate the specific variable in the desired test. So one variable for each test, and point the test step as the desired variable.