Hi recently in an interview I was asked to write API test
cases. Since I am not familiar with it can someone put more
light towards API testing and give some example test cases
for the same.
Thanks!
Answers were Sorted based on User's Feedback
Answer / aparna
Application programming interface may be a function or
procedure which is called by the source by passing values
to the same.
Let us take CRM, TIBCO and ADC(Billing system)systems
When CRM sends the request to TIBCO, it will filer ADC
parameters from that and it will call ADC API by passing
CRM values into.
TC1: Check whether CRM is sending req to TIBCO or not
TC2: Check whether TIBCO is received or not
TC3: Check whether TIBCO sends request by calling so and so
API of ADC or not.
TC4: Check whether request is updated in ADC or not.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / manish
An API (Application Programming Interface) is a collection
of software functions and procedures, called API calls,
that can be executed by other software applications. API
testing is mostly used for the system which has collection
of API that needs to be tested. The system could be system
software, application software or libraries.
Is This Answer Correct ? | 4 Yes | 3 No |
when you don't have time to write test cases, what do you do?
This part of a program is given: WHILE (condition A) Do B END WHILE How many decisions should be tested in this code in order to achieve 100% decision coverage? A. 2 B. Indefinite C. 1 D. 4
There is project earlier it was developed in VB then they had replaced the project by java and there is no documentation available then how you are going to check that project. (Hint: - Parallel Testing).
As we are using QTP 9.1 version, is there is any method to connect the remote desk top?
Write a test cases on a facebook
10 Answers Accenture, CTS, General Electric, Intel, Inventures, Maveric, TCS,
can someone tell me the test cases for following scenario of password: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consists of 1 uppercase letter. 3. Password should consists of 1 numeric. 4. Password should consists of 1 special character.
Write a test scenario for a project which is developed in a VB then after wards it is converted in Java and there is no documentation available.
If I wrote test cases for Login Window with test case Name Login window & test case id L_01.Now if Name of Login window get changed in the next version.then May I have to change the Test case name & Test case id OR HAVE TO block the previous test case and write the new one
Can anybody help me out to write test cases for booking train ticket online???
how to write a test procedure & test log for login system
Write the tescases for a login page
write test case for button of google page?"i am feeling lucky" if button is not appear on page?