Object-oriented testing

Why should you care about objects and object-oriented testing?

Questions by juniorQA

Showing Answers 1 - 3 of 3 Answers

Object Oriented approach is allways better than the age old method of testing.
In testing we call object oriented testing as component based testing. here we create multiple components which can be used across multiple test cases.
E.g. if we have a web application which starts with login. then we can create a component named "Login" which can have 2 parameters username, password.
Now there can be different userroles but we can use the same component (can be called as class and method in the programing world) for all the roles, but the parameters will be different in different test cases.

How is it related with Object-oriented testing ?
Whenever we use the component "Login" we are creating an object of it.

Read HP BPT related documents for more information on Object-oriented testing

Regards,
Vaibhav

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions