1

I have to test following application as seen below in the price. I am confused about writing test scenario and test cases. Is there anyone who can help me how to write test scenario and test cases by giving few examples?

enter image description here

  • Can you post the scenarios you have formed so far? We will try to add up on that. – LittlePanda Apr 8 '15 at 15:01
1

Considering "classic" architecture where you have back-end, mobile operator which delivers SMSs with OTP and front-end (where user enters received OTP), you have several options to test this functionality.

In order to simplify the testing procedure and make it more applicable for automated testing, I would exclude mobile operator part (as the one related to 3rd party supplier) from the testing by introducing the opportunity to somehow get generated OTP by tester directly (I would consult here with developers in order to see whether this potentially possible in your system).

In this case you'll be able to verify whether the OTP generated by back-end and entered on front-end will be accepted by back-end, without introducing mobile operator into scenario (assuming that this part is stable and corresponds to availability expectations) The simplified scenario looks in this way:

  1. You initiate OTP generation by back-end
  2. You get OTP from back-end directly (from the database, etc.)
  3. You enter OTP on the front-end in order to verify whether it'll be accepted by back-end

Of course you have also consider corner-cases like:

  • Unavailability of mobile operator web-services/APIs
  • Reuse of OTP by one/several users
  • Getting more than 1 OTP from single user
|improve this answer|||||
0

why are you confused ? If you know how to use OTP and how does it work then prepare a list of use cases, if not then you should start by understanding the system you are testing.

|improve this answer|||||
  • You mean to say I have to write use cases first? – Muhammad Ali Khamis Apr 8 '15 at 6:48
  • I do, it makes sense to that bottom line of your effort would be covering those – Rsf Apr 8 '15 at 6:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.