API Automation Flashcards

1
Q

What is SOAP UI?

A

SOAP UI is a free, open source cross-platform functional Testing solution. It enables you to rapidly and easily create and execute automated regression, compliance, functional and load tests. Its used for Web Services Testing

Example: SOAP UI is commonly used by software testers to automate testing of web services.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is soap ui

A

SoapUI is a desktop application that helps developers and testers test APIs, web services, and back-end services allows you to easily and rapidly create and execute automated functional, regression, and load tests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What kinds of test would I run on soap uI

A

Functional test
Load test
Regression
Performance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

If you ran a script in automation w 500 test how to you track the ones that failed?

A

Use a Test Framework: Utilize a framework like JUnit or TestNG, which supports detailed reporting.
JUnit: Use @Test annotations and check the generated reports or logs for test outcomes.
TestNG: Integrate with TestNG’s XML or HTML reports for detailed failure information.
Integrate Reporting Tools: Enhance reporting with tools like ExtentReports
ExtentReports: Provides a comprehensive HTML report with pass/fail details and logs.
Implement Logging: Use SLF4J with Logback or Log4j to log detailed error messages and stack traces when tests fail.

Review Reports: After test execution, analyze the generated reports to identify which tests failed and investigate the issues.
This approach ensures you have a structured way to track, log, and report on test failures effectively.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Different types of asserts and what do they do?

A

Hard assert halts the test when one test failed

Soft assert continues and reports failed tests at the end

Assert.assurttrue
Assert.assertequals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Implicate and explicit waits explain what they are?

A

implicit” and “explicit” waits are techniques used to handle timing issues and ensure that elements on a web page are loaded and ready for interaction

Implicit waits apply to all elements in the WebDriver instance, while explicit waits are specific to particular conditions or elements.

Explicit waits are more precise and are applied only to specific elements or conditions.
They allow you to wait for certain conditions to be true before proceeding. For example, waiting until an element becomes visible or clickable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly