Test case

Test Case Table
Login Test Cases
TEST CASE TEST DATA DATA DESCRIPTION EXPECTED ACTUAL RESULT
Login xxx@gmail.com Check customer login with valid data. Should get login email id correct Valid Pass
Login xxx@gmai l.com Check customer login with valid data Should get login email id incorrect Invalid Fail
Login xxx@g mail.com Check login valid data is incorrect Should get login email id incorrect Invalid Fail
Login abcdef Check username is filled or not Should get login email id correct Invalid Fail
Login xxx@23 Check customer login password with valid data Should get password is correct Valid Pass
Login xxx@23 Checks customer login password is incorrect Should get password is correct Invalid Fail
2 ATM Test Cases
ATM Functional Test Cases
Test Case ID Description Expected Result Actual Result Result
TC–ATM01Insert a valid ATM cardCard detected successfullyValidPass
TC–ATM02Insert a damaged cardShow “Card error” messageInvalidPass
TC–ATM03Enter correct PIN numberLogin successfulValidPass
TC–ATM04Enter wrong PIN onceShow “Incorrect PIN”InvalidPass
TC–ATM05Enter wrong PIN three timesCard should be blockedInvalidFail
TC–ATM06Select “Withdraw Cash” optionWithdraw menu opensValidPass
TC–ATM07Select “Deposit Cash” optionDeposit menu opensValidPass
TC–ATM08Withdraw ₹1000 from accountAmount dispensedValidPass
TC–ATM09Withdraw amount greater than balanceShow “Insufficient balance”InvalidPass
TC–ATM10Withdraw below minimum ₹100Display “Invalid amount”InvalidFail
TC–ATM11Withdraw above daily limitShow “Limit exceeded”InvalidFail
TC–ATM12Deposit torn noteDisplay “Invalid note”InvalidPass
TC–ATM13Transfer ₹1000 to another accountTransaction successfulValidPass
TC–ATM14Transfer wrong account numberShow “Invalid account”InvalidPass
TC–ATM15Check balanceBalance should displayValidPass
TC–ATM16Mini statement requestStatement printedValidPass
TC–ATM17Cancel transactionReturn to main menuValidPass
TC–ATM18Wait 30 seconds (no input)Timeout message should appearInvalidPass
TC–ATM19Deposit wrong noteShow “Note not accepted”InvalidPass
TC–ATM20Change PIN (correct old & new PIN)PIN changed successfullyValidPass
TC–ATM21Change PIN with wrong old PINShow “Incorrect old PIN”InvalidPass
TC–ATM22Fast cash ₹500Amount dispensed quicklyValidPass
TC–ATM23Network failure during transactionShow “Transaction failed”InvalidPass
TC–ATM24Card ejection after completing transactionCard ejected successfullyValidPass
TC–ATM25Session timeout (no activity after completion)System should auto logoutValidPass
object repository Step 1: Open the QTP tool and create a new test. Step 2: Launch the application that needs to be tested. Step 3: Record the test script. Switch to recording mode in QTP Perform normal actions in the test field, e.g., click on button Stop recording to generate the test script Step 4: The object repository is renamed or object properties are modified. Step 5: Edit the object properties manually and save the changes. Step 6: Re-execute the recorded test with modified properties. Step 7: Then observe the result. Step 8: Analyze the result and identify the failures. Step 9: Re-edit the changes in the object repository. Step 10: Re-run the test to confirm the success of execution.

Comments