Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: Scenario Test Voucher Fisik dengan PIN
- Background: Show Homepage
- Given Homepage "Alphapay"
- @dev
- Scenario Outline: Trx Voucher Fisik sukses dengan nomor telepon dan PIN yang valid
- When Voucher Fisik Check Saldo Awal
- And Voucher Fisik Scroll Home Product "<homeproduct>"
- And Voucher Fisik Click Home Product Isi Pulsa
- And Voucher Fisik Input Nomor Telepon "<phonenumber>"
- And Voucher Fisik Pilih Denom "<denom>"
- And Voucher Fisik Input Pin "<pin>"
- And Voucher Fisik Click Konfirmasi Pesanan
- Then Voucher Fisik Show Transaksi Sukses Page
- Then Voucher Fisik Show Pop Up Deposit
- And Voucher Fisik Click Lihat Riwayat Transaksi
- And Voucher Fisik Click Last Transaction
- And Voucher Fisik Check Status Harus Sukses
- And Voucher Fisik Click Back
- And Voucher Fisik Click tab Home
- And Voucher Fisik Check Saldo terakhir
- Examples:
- | homeproduct | phonenumber | denom | pin |
- | Voucher Fisik | 081100000001 | Rp5.000 | 123456 |
- | Voucher Fisik | 081400000001 | Rp5.000 | 123456 |
- @dev
- Scenario Outline: Trx Voucher Fisik sukses dengan nomor telepon dan PIN yang valid with cashback poin
- When Voucher Fisik Check Saldo Awal dan Poin Awal
- And Voucher Fisik Scroll Home Product "<homeproduct>"
- And Voucher Fisik Click Home Product Isi Pulsa
- And Voucher Fisik Input Nomor Telepon "<phonenumber>"
- And Voucher Fisik Pilih Denom "<denom>"
- And Voucher Fisik Input Pin "<pin>"
- And Voucher Fisik Click Konfirmasi Pesanan
- Then Voucher Fisik Show Transaksi Sukses Page
- Then Voucher Fisik Show Pop Up Deposit
- And Voucher Fisik Click Lihat Riwayat Transaksi
- And Voucher Fisik Click Last Transaction
- And Voucher Fisik Check Status Harus Sukses
- And Voucher Fisik Click Back
- And Voucher Fisik Click tab Home
- And Voucher Fisik Check Saldo terakhir dan Poin terakhir
- And Voucher Fisik Check Inbox
- And Voucher Fisik Click Last Message
- Then Voucher Fisik Show Content Message
- Examples:
- | homeproduct | phonenumber | denom | pin |
- | Voucher Fisik | 081100000001 | Rp5.000 | 123456 |
- | Voucher Fisik | 081400000001 | Rp5.000 | 123456 |
- @dev
- Scenario Outline: Trx Voucher Fisik sukses dengan nomor telepon dan PIN yang valid with cashback rupiah
- When Voucher Fisik Check Saldo Awal
- And Voucher Fisik Scroll Home Product "<homeproduct>"
- And Voucher Fisik Click Home Product Isi Pulsa
- And Voucher Fisik Input Nomor Telepon "<phonenumber>"
- And Voucher Fisik Pilih Denom "<denom>"
- And Voucher Fisik Input Pin "<pin>"
- And Voucher Fisik Click Konfirmasi Pesanan
- Then Voucher Fisik Show Transaksi Sukses Page
- Then Voucher Fisik Show Pop Up Deposit
- And Voucher Fisik Click Lihat Riwayat Transaksi
- And Voucher Fisik Click Last Transaction
- And Voucher Fisik Check Status Harus Sukses
- And Voucher Fisik Click Back
- And Voucher Fisik Click tab Home
- And Voucher Fisik Check Saldo terakhir
- And Voucher Fisik Check Inbox
- And Voucher Fisik Click Last Message
- Then Voucher Fisik Show Content Message
- Examples:
- | homeproduct | phonenumber | denom | pin |
- | Voucher Fisik | 081100000001 | Rp5.000 | 123456 |
- | Voucher Fisik | 081400000001 | Rp5.000 | 123456 |
- @abnormal
- Scenario Outline: Trx Voucher Fisik gagal dengan nomor telepon yang tidak valid
- When Voucher Fisik Scroll Home Product "<homeproduct>"
- And Voucher Fisik Click Home Product Voucher Fisik
- And Voucher Fisik Input Nomor Telepon "<phonenumber>"
- And Voucher Fisik Pilih Denom "<denom>"
- Then Voucher Fisik Menampilkan Pesan Nomor Tidak Valid"<message>"
- Examples:
- | homeproduct | phonenumber | denom | message |
- | Voucher Fisik | 0811000 | Rp5.000 | Silahkan periksa kembali No. Handphone anda |
- | Voucher Fisik | 0814000 | Rp5.000 | Silahkan periksa kembali No. Handphone anda |
- @abnormal
- Scenario Outline: Trx Voucher Fisik dengan invalid prefix
- When Voucher Fisik Scroll Home Product "<homeproduct>"
- And Voucher Fisik Click Home Product Voucher Fisik
- And Voucher Fisik Input Nomor Telepon "<phonenumber>"
- Then Voucher Fisik Menampilkan Pesan Invalid Prefix "<message>"
- Examples:
- | homeproduct | phonenumber | message |
- | Voucher Fisik | 0800 | Hasil Tidak Ditemukan |
- | Voucher Fisik | 62813 | Hasil Tidak Ditemukan |
- @abnormal
- Scenario Outline: Trx Voucher Fisik sukses dengan PIN yang tidak valid
- When Voucher Fisik Check Saldo Awal
- And Voucher Fisik Scroll Home Product "<homeproduct>"
- And Voucher Fisik Click Home Product Isi Pulsa
- And Voucher Fisik Input Nomor Telepon "<phonenumber>"
- And Voucher Fisik Pilih Denom "<denom>"
- And Voucher Fisik Input Pin "<pin>"
- Then Voucher Fisik Menampilkan Pesan PIN Tidak Valid "<message>"
- Examples:
- | homeproduct | phonenumber | denom | pin | message |
- | Voucher Fisik | 081100000001 | Rp5.000 | 111111 | PIN Salah |
- | Voucher Fisik | 081400000001 | Rp5.000 | 111111 | PIN Salah |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement