What is the difference between Test and a Business Component in QTP?

Questions by Varsha Santosh

Showing Answers 1 - 6 of 6 Answers

Test objects are the objects in your test that represent the objects in your Website or application and is created and maintained by QTP. Run-time (Business) objects are the objects in your application during the test run and is created and maintained by IE,Netscape etc

  Was this answer useful?  Yes

Anu

  • Feb 6th, 2007
 

Business Process Testing uses a keyword-driven methodology for testing, based on the creation and implementation of business components and business process tests. A business component is an easily-maintained, reusable unit comprising one or more steps that perform a specific task within an application. A business process test comprises a series of business components, which together test a specific scenario or business process. For example, for a Web-based application, a business process test might contain five components?one for logging on to the application, another for navigating to specific pages, a third for entering data and selecting options in each of these pages, a fourth for submitting a form, and a fifth component for logging off of the application. Business components and business process tests are generally created in Quality Center by Subject Matter Experts, although Automation Engineers can also create business components in QuickTest.

  Was this answer useful?  Yes

A test is composed of actions. The steps you add to a test are included within the test's actions. Note that by default, each test begins with a single action.A component does not contain actions?you add steps directly to a component.

  Was this answer useful?  Yes

Babu

  • Feb 9th, 2007
 

Thanks for providing the explanation. But it will be helpful if you could provide with an example.Could you please give me the example.

Thanks,
Babu

  Was this answer useful?  Yes

Anupama

  • Feb 22nd, 2007
 

Test object is The object present in the "Object repository".It is reference to the actual object.
Business object is Runtime object ,QTP performs operations on those object while it is running,These objects present in the "Application".

  Was this answer useful?  Yes

1.both tests/component have these test object and run time objects

A test object is an object that QuickTest creates in the test or component to represent the actual object in your application. QuickTest stores information about the object that will help it identify and check the object during the run session.

A run-time object is the actual object in your Web site or application on which methods are performed during the run session.
we follow test object model inqtp itself
but Business components we work in qtp through Quality center
A component
is a reusable script that is easily maintained.
The Business Component Expert can create a new component and define its shell in the Quality Center Business Components module.

From QuickTest, you implement components by recording steps on any supported environment, adding checkpoints and output values, parameterizing selected items, and enhancing your test with flow statements, user-defined functions, and other VBScript statements.

Once a component has been implemented, the Business Component Expert can open the component in the Quality Center Business Components module to view a summary of a component's steps in understandable sentences in the Summary tab.

  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