Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

How to solve errors when running the VAPI-XP test script

Options
LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in SOAtest
in HP Quality Center.
The following errors may happen when running the VAPI-XP test script in HP Quality Center.


1.) "Automation server can't create object"

Make sure you have installed the Microsoft SOAP Toolkit SDK as explained in the SOAtest User's Guide. The installer can be found on the Quality Center install disk. The installer can also be downloaded from the Microsoft Download Center: http://www.microsoft.com/downloads/details...53-86f052ec8450


2.) "WSDLReader: Loading of the WSDL file failed HRESULT=0x80040154: Class not registered."

This is a known problem when using the Microsoft SOAP Toolkit on some Windows computers. The Microsoft Support Knowlege Base describes the problem and various resolutions: http://support.microsoft.com/kb/922736
The problem can usually be fixed by re-installing the Microsoft SOAP Toolkit SDK (see above) then installing Microsoft XML Core Services 4.0 Service Pack 2 (MSXML 4.0 SP2): http://www.microsoft.com/downloads/details...b6-c5d7485f2b42


3.) "SOAtest XML test results not found!"

Verify the xmlReport variable is correct. SOAtest Server must also have write permissions on the folder where the XML file is to be written.


4.) "You do not have the required permissions to execute this action"

The above error gets thrown from within HP Quality Center when the QC user running a test from test lab module does not have one or more permissions turned on. The HP QC script, shipped with SOAtest, requires specific permissions to be turned on in order for the script to successfully perform certain tasks.

If you see the above error, you may not have the following permission set for the group that the logged in QC user belongs to: Status [RUN] (Modify Run > Status [RUN]), Attachment [RUN] (Modify Run > Attachment [RUN]), Delete Run

To view/change permissions for a group that a QC user belongs to in Quality Center 10, do the following:
1. From Tools menu select Customize...
2. On the left hand side, click on Groups link
3. Select the group which the QC user belongs to in the list on the left and press Change button to the right

To check permission Status [RUN], Attachment [RUN], and/or, Delete Run is turned on, do the following:
4. From the new dialog window select Test Lab tab
5. Scroll down to Modify Run node and expand it
6. Continue to scroll down to Status [RUN], or Attachment [RUN], or Delete Run

Make sure this permission is turned on
Tagged: