in Technology by
How to automate the basic login in a web application?

1 Answer

0 votes
by

Assuming a tester has configured the test environment and a test tool like Selenium, here are the steps I would take to automate the login functionality.

  • Test the login manually to understand all the input fields, checkboxes, and buttons on the login screen. Keep a note of which pages the user is redirected to in both successful and failed logins. 
  • Prepare a test dataset that contains the username and password combinations. The inputs consist of varying lengths and have alphanumeric character sets. 
  • Develop test cases to test various paths the user might take in a real-world scenario. Note down the expected outputs for each test case. 
  • In the test tool, configure each test case to be manually invoked, and use the test data prepared in step 2. Record the instances where the actual output doesn’t match the expected result. 
  • Verify and validate the success/error messages and the redirects after each login attempt.

Related questions

0 votes
    we're planning to use some robotics for copy and paste some routine information to our internal tool. ... machine learning concepts Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    we're planning to use some robotics for copy and paste some routine information to our internal tool. ... machine learning concepts Select the correct answer from above options...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    How to automate the password input in playbook using encrypted files?...
asked Jul 28, 2021 in Technology by JackTerrance
0 votes
    How do you automate the testing of CAPTCHA?...
asked Jul 11, 2021 in Technology by JackTerrance
0 votes
    How to automate reports in Tableau?...
asked Oct 30, 2020 in Technology by JackTerrance
0 votes
    We have a customer requesting data in XML format. Normally this is not required as we usually just hand ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 20, 2022 in Education by JackTerrance
0 votes
    We have a customer requesting data in XML format. Normally this is not required as we usually just hand ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 19, 2022 in Education by JackTerrance
0 votes
    Whenever we get a new release of code from our vendor, we need to perform basic tests to ensure ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    When is a good time to automate a test?...
asked Jul 9, 2021 in Technology by JackTerrance
0 votes
    Why Should We Automate Smoke Tests?...
asked Oct 17, 2020 in Technology by JackTerrance
0 votes
    Issue : Unable to multiply in Power Automate. Error Message : Unable to process template language expressions ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 6, 2022 in Education by JackTerrance
0 votes
    When is not a good time to automate the tests? 1. The test is repeatable. 2. The software is changing ... for a human tester. 4. The test involves complicated calculations....
asked Jul 11, 2021 in Education by JackTerrance
0 votes
    Can you automate all testing?...
asked Jul 9, 2021 in Education by JackTerrance
0 votes
0 votes
    How to get time in hours and the hour difference between login and logout times? I used the below ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 12, 2022 in Education by JackTerrance
...