ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Manual Testing
 
 


 

 
 Automation Testing interview questions  Automation Testing Interview Questions
 Manual Testing interview questions  Manual Testing Interview Questions
 QA Concepts interview questions  QA Concepts Interview Questions
 Mobile Testing interview questions  Mobile Testing Interview Questions
 Test Cases interview questions  Test Cases Interview Questions
 Test Documents Reporting interview questions  Test Documents Reporting Interview Questions
 Testing AllOther interview questions  Testing AllOther Interview Questions
Question
Hello! can anyone explain IN DETAILS what is API???
thank you!
 Question Submitted By :: Skipper.25
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hello! can anyone explain IN DETAILS what is API??? thank you!
Answer
# 1
Before dwelling into the subject of API Testing, we should 
understand what is the meaning of API or, Application 
Programming Interface.  

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. 

API testing is different from other testing types as GUI is 
rarely involved in API Testing. Even if GUI is not involved 
in API testing, you still need to setup initial 
environment, invoke API with required set of parameters and 
then finally analyze the result. 

Setting initial environment become complex because GUI is 
not involved. It is very easy to setup initial condition in 
GUI, In most cases you can find out in a glance whether 
system is ready or not. In case of API this is not the 
case, you need to have some way to make sure that system is 
ready for testing.  

This can be divided further in test environment setup and 
application setup. Things like database should be 
configured, server should be started are related to test 
environment setup. On the other hand object should be 
created before calling non static member of the class falls 
under application specific setup. 

Initial condition in API testing also involves creating 
conditions under which API will be called. Probably, API 
can be called directly 

or it can be called because of some event or in response of 
some exception. 

Output of API could be some data or status or it can just 
wait for some other call to complete in a-synchronized 
environment. Most of the test cases of API will be based on 
the output, if API 

Return value based on input condition 

This are relatively simple to test as input can be defined 
and results can be validated against expected return value. 
For example, It is very easy to write test cases for int add
(int a, int b) kind of API. You can pass different 
combinations of int a and int b and can validate these 
against known results. 

Does not return anything 

For cases like these you will probably have some mechanism 
to check behavior of API on the system. For example, if you 
need to write test cases for delete(ListElement) function 
you will probably validate size of the list, absence of 
list element in the list. 

Trigger some other API/event/interrupt 

If API is triggering some event or raising some interrupt, 
then you need to listen for those events and interrupt 
listener. Your test suite should call appropriate API and 
asserts should be on the interrupts and listener. 

Update data structure 

This category is also similar to the API category which 
does not return anything. Updating data structure will have 
some effect on the system and that should be validated. If 
you have other means of accessing the data structure, it 
should be used to validate that data structure is updated. 

Modify certain resources 

If API call is modifying some resources, for example 
updating some database, changing registry, killing some 
process etc, then it should be validated by accessing those 
resources. 

You should not get confused with API Testing and Unit 
Testing. API testing is not Unit testing. Unit testing is 
owned by dev team and API by QE team. API is mostly black 
box testing where as unit testing is essentially white box 
testing. Unit test cases are typically designed by the 
developers and there scope is limited to the unit under 
test. In API testing, test cases are designed by the QE 
team and there scope is not limited to any specific unit, 
but it normally cover complete system. 

Main Challenges of API Testing can be divided into 
following categories. 

Parameter Selection 
Parameter combination 
Call sequencing
 
Is This Answer Correct ?    2 Yes 0 No
Anant
 
  Re: Hello! can anyone explain IN DETAILS what is API??? thank you!
Answer
# 2
A formalized set of software calls and routines that can be
referenced by an application program in order to access
supporting system or network services.
 
Is This Answer Correct ?    1 Yes 1 No
Abdul Sameer
 
 
 

 
 
 
Other Manual Testing Interview Questions
 
  Question Asked @ Answers
 
What is Defect containment? Accenture2
what is the difference between quality assurence and quality control SunGard3
What is the difference between functional specifications and business requirement specification?  2
I m writting the test cases in Excel sheet. After wrting test cases for version 2.0.0 If there is new feature added in build 2.0.1, I will write test cases for newly added feature. Then 3.0 version release for testing with new feature. I will write test cases for newly added feature 3.0 But if in between 2.0.2 build release for testing with same feature of 3.0.Then should I have to write test cases for same feature again? If not --> when 2.0.2build again release for testing after 2months then How should I came to know that I have to run these test cases on 2.0.2build?  2
Explain Load testing CSC5
What is meant by Domain knowledge?What are the Domains?How many types of Domains are there?  3
what is Scalability,Critical Analysis Exalt1
What is Service Pack?  1
what are the different statuses of test cases?  8
what is the diff b/w black box and white box Synergy6
How can we tes the performance of the web site?  1
what is mean by configuration managaement.. explain with example ? CSS4
Can any1 tell me what is the use of Shell Scripting on Manual Testing ? Subex3
What is difference between static and dynamic and testing? Ordain-Solutions3
what is metrices?  2
how does a client server environment affect testing?  1
There are 2 options for Editing say Edit User. 1) Press Alt+E 2) Double click the user 3) Press Edit button Should I have to write 3 different cases for it?  3
What is the Stub abd the driver ?Are these both using at the time of Top-up approach of integration testing and bottom-down approach testing .? Kanbay3
What is Check list for review test cases ?  1
What is Client Server/Web Server Configuration(ISS). Accenture1
 
For more Manual Testing Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com