Hero Background

Power Your Software Testing with AI Agents and Cloud

The Native AI-Agentic Cloud Platform to Supercharge Quality Engineering. Test Intelligently and Ship Faster.

Kane CLIPayments

Test EMI plan display and the eligibility that gates it

Four tenures, four interest rates and four monthly amounts, plus a check that EMI is only offered where it should be.

Published on:

EMI turns an unaffordable price into a monthly one, which makes it a conversion feature. It is also a set of numbers a customer will be held to, which makes a wrong monthly figure a consumer credit problem rather than a display bug.

This use case checks both halves on the Razorpie clone: who is offered EMI, and whether the plans shown are correct.

The flow under test

The first step is the one most EMI tests leave out, and it is a negative assertion.

  • Eligibility is enforced - the high value order carries an EMI badge and the low value one does not.
  • The modal reflects the order - the dialog title carries the correct amount and lists EMI as a method.
  • The provider is named - the plans belong to a specific bank rather than appearing unattributed.
  • Every plan is correct - four tenures, each with its own interest rate and monthly amount.

Checking that EMI is absent on the cheaper item is what proves the eligibility rule exists. Without it, a page that offers EMI on everything passes every other assertion in the file.

Note

Note: Asserting all four EMI rows costs one instruction, which is a cheap way to cover a set of figures a customer will be contractually held to. Start on TestMu AI. Try free!

The test file

The fourth step asserts twelve values at once, three per plan across four plans, which is the right way to cover a table where any single wrong cell is a problem.

---
mode: testing
url: https://my-testing-repo-main.vercel.app/razorpay-clone-app?reset=true
max_steps: 45
tags: [razorpay, payments, emi]
---

# Razorpie 11.3: EMI options

Catalog objective: open payment options on a high value order and verify the EMI plans list.
Key assertion: the EMI tenures are shown with the correct interest.

## Verify EMI is offered only on the high value order
Verify the "Nexa 12 Pro 5G (256 GB)" card at "₹48,999.00" carries an "EMI available" badge and the "Cotton kurta set" card does not.

## Open the checkout for the high value order
Click "Pay now" on "Nexa 12 Pro 5G (256 GB)" and verify the dialog title reads "Razorpie · ₹48,999.00" and an "EMI" method is listed.

## Open the EMI panel
Choose "EMI" and verify the bank is "HDFB Bank" with a plans table.

## Verify the tenures and monthly amounts
Verify the plans table lists 3 months at "13% p.a." with a monthly of "₹16,688.00", 6 months at "14% p.a." with "₹8,503.00", 9 months at "15% p.a." with "₹5,790.00" and 12 months at "16% p.a." with "₹4,446.00".

Tenure, rate and monthly amount are asserted together for each plan rather than separately, because a correct rate against the wrong monthly figure is the error that actually reaches a customer.

Step by step coverage

The four steps move from the rule, to the surface, to the provider, to the figures.

StepWhat it proves
Verify EMI is offered only on the high value orderThe eligibility threshold is enforced in both directions
Open the checkout for the high value orderThe modal opens at the right amount and lists EMI
Open the EMI panelPlans are attributed to a named bank
Verify the tenures and monthly amountsAll four tenures carry the correct rate and monthly figure

Testing a rule in both directions, present where it should be and absent where it should not, is the difference between verifying a threshold and verifying a badge.

Next-generation test execution with TestMu AI

Running it

kane-cli testmd run tests/razorpay/emi-options_test.md

The result is coverage on a table of numbers that a customer is entitled to rely on, plus the rule that decides who sees it.

Financing terms change more often than the page around them, which makes the assertions the volatile part. Deriving assertions from a requirements document covers keeping them aligned with the source, and running flows in CI covers catching drift automatically.

Author

...

Bhawana

Blogs: 77

  • Twitter
  • Linkedin

Bhawana is a Community Evangelist at TestMu AI with over 3 years of experience creating technically accurate, strategy-driven content in software testing. She has authored 50+ blogs on test automation, cross-browser testing, mobile testing, and real device testing. She also serves as Product Marketing Manager for Kane CLI, the command-line tool that runs browser automation from the terminal using natural-language flows in a real Chrome browser. Bhawana is certified in KaneAI, Selenium, Appium, Playwright, and Cypress, reflecting her hands-on knowledge of modern automation practices. On LinkedIn, she is followed by 6000+ QA engineers, testers, AI automation testers, and tech leaders.

Add to Google preferred sources

Summarise with AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free

EMI Display FAQs

Did you find this page helpful?

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests