1

Here is the scenario: 1. Run couple of API tests before starting my Automation. 2. User Signup though Application-A which is a mobile app. User will be asked to enter mobile number to receive OTP at the time of Sign up and will be asked to upload a photo too. 3. Submitted application will be stored in the Mongo Database. 4. Admin login through Application-B which is a Angular web based one and can review those information and approve them. 5. Run performance test may be separately or with other 1-4 steps.

I was asked to come up with a solution to approach end to end automation in a single test possibly. I can automate individual pieces using Karate or Rest Assured for API, Appium for Mobile app based, Selenium/Mongo DB integration for Mongo Database validation and finally Protractor for Angular web application testing. Also, i can do JMeter for Performance testing.

I wanted to understand what all and how much of my scenarios are possible with Karate framework and what is the best solution that this framework can offer.

Karthick G
  • 11
  • 1
  • You should really break down your goals into smaller pieces. Your question is begging for an opinionated answer, not necessarily the right answer. – djangofan Jan 23 '20 at 00:03

1 Answers1

1

You can do all of this with Karate. Read the docs:

I suggest you do a PoC because you have asked a big, blanket question and only you can answer it for yourself. I also recommend not combining Mobile testing into the same single flow, because it may make things more complicated than necessary. You should have a separate test where the auth token is generated via an API (create a special end point for test if needed) and then you enter the mobile test.

Peter Thomas
  • 54,465
  • 21
  • 84
  • 248