December 2022…it was 3 am and I was suffering from jet lag. ChatGPT was all over the news and it wasn’t good…kids will use it to cheat on their term papers!
Hmmm…could I use it to cheat on my work? Specifically, could I get it to write test cases? Here goes nothing…
Write some test cases for a login screen.
Sure! Here are some test cases for a login screen:
- Test the correct username and password combination.
- Test the wrong password for a correct username.
- Test the wrong username and correct password combination.
- Test the correct username and an empty password field.
- Test the correct password and an empty username field.
- Test a combination of a wrong username and a wrong password.
- Test the case sensitivity of the username and password fields.
- Test the maximum and minimum length of the username and password fields.
- Test special characters in the username and password fields.
- Test the login button’s functionality when the input fields are empty.
Wow.
It knew what “write test cases” meant.
It knew what a login screen was.
And its list of test cases was more complete than the example I had been using in my testing classes or in the TAME tool guide.
One prompt typed into ChatGPT and I knew the world would change forever…

Leave a Reply
You must be logged in to post a comment.