Integrating STP With Quick Test Professional (QTP)

Quick Test Professional (QTP) is one of the most popular functional test tool that test professionals and organisations have embraced. The rich features within the tool itself is a drawcard for most users of QTP, leveraging from its keyword driven framework and other functionalities it provides.

The reality is that not too many organisations have the budget to invest in a complete test management solution so they opt to purchase QTP standalone. This implies that the test professional is responsible for developing a framework around QTP to manage test results and reports. This is where Stream Test Pro (STP) comes in providing a 'ready-made' framework and test management solution (end-to-end) to trace all your testsing artefacts from requirments, test cases and QTP test scripts.

Speak with a consultant today to learn more.

 

Calling STP from QTP

  • Ensure STP is installed successfully on your local machine
  • In your QTP Functional library or test action type the following:

Set myobject=CreateObject("TestPointStreamTestDLL.StreamTest")

  • Use the created object to call methods within the STP library:

sRet = myobject.SendAutoTests (1,1,0,"Testing","TestScript","TestApp","TestENV","TestSuite",0,0)