Test Process is collection of such components.
A component is a summation of some reusable code or in advanced BPT these are only human readable
On top of this there are libraries available,Such as
- Project Specific lib--Flows that are common only for a specific project
- Navigation lib---A small set of functions that reads from datatable and handles navigation related queries
- Environment lib--Details of environment are passed from here
- Common lib---Set of functions common across Projects.
So it is an example of Components.Now what is inside of a components--some set of codes or a keyword structure that performs User Interface related activities.There it might call the Navigation lib to perform Navigation to a certain portal.
Example of Keyword-
Example of full component Do_login
for this login components we need to initialize first then load the component
this URL will come from the navigation library
Again the launch_Browser is a common function will come from common library.
After login there might occur two scenarios.
- Successful login
- Failure login
So the algo for component development is...
- Call launch_Browser(URL)
- Validation of login code
- Unload Component