Automate Postman using Leapwork
Automate Postman using Leapwork
Introduction
Automating API testing to ensure fast development and code quality would be a great help for an API developer. You can automate Postman tasks using Leapwork in many ways.
Automate sign in to Postman using Leapwork
To automate sign in to Postman using Leapwork, follow the steps.
- Click Sign in button in the Postman application. A window with Open Postman and Cancel button appears.
- Click Cancel button in the browser.
- Copy the generated token entered for successful sign in.
Automate Postman using Leapwork on an already signed in instance
To automate Postman using Leapwork on an already signed in instance:
- Pass the user argument in the Arguments attribute of Start Electron Application building block: " --user-data-dir=C:\Users<username>\AppData\Roaming\Postman ".
Automate Postman using Leapwork, wherein the user needs to type some text in the fields
To automate Postman using Leapwork, wherein the user needs to type some text in the fields:
- Use Click Electron Element building block, to bring the focus on the respective field, and then make use of Type Electron Text building block, to type the desired text.
- If the Click Electron Element building block is skipped, the typed text in the respective field may not be typed completely.
If you have any questions, contact our Priority Support.