Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all 5491 articles
Browse latest View live

getting error ERROR: Failed to validate database connection parameters during ALM 12.5 installation

$
0
0

Hi,

We installed Softwares (Microsoft Windows Server 2012-R2 and Oracle 12c in that). Now we are installing ALM 12.5 While Configuring the Database Server details we are getting an error "ERROR: Failed to validate database connection parameters". Here I am giving the Correct credentials(with these credentials I am able to log-in to the Oracle) but still I am getting this issue. I searched some where about this, some discussions are happening about need to enable TCP/IP connection for oracle or Windows Server how can we do that?  Could you Please Provide me the Solution for this.

Thanks,

SasivaraPrasad.P


VAPI-XP Test to update fields of Test Cases

$
0
0

Hi All,

I have a script that updates fields of test cases in test plan. Can I achieve the same thing using a VAPI-XP test?
Though I had been using Quality Center and OTA API (with VBA in Excel) for years, I am very new to VAPI-XP tests. Looking forward to some help to get started.

Few specific questions:
1. Since the test is run from ALM, can I use the current session and skip login?
2.What is the server I should select to achieve the above stated objective (2nd step of wizard)?
3.Can someone help with a sample python script to show me usage of objects?

Thanks in advance. Regards.

Problem in installing HP ALM 12.50

$
0
0

Hi,

  I am trying to install HP ALM 12.50 in Windows server 2012 R2, initially I was created Oracle database in the same machine, I created a user with admin privilages(in oracle) and created table space(default and temporary) for that user and TCP protocal is enabled on the port 1521. Now while configuring the Oracle with HP ALM 12.50 I am getting the issue of "Failed to validate database connection parameters."(please refer stack trace#1 for this).

So I set the database validations value as "false" in "validations.xml"(as per the installation documentation) and trying to re-run the application, now I am getting the issue of "Failed fetching tablespaces from Oracle database"(please refer stack trace#2).

Please help me how can I resolve this problem. Thanks in Advance.

 

Thanks & Regards

SasivaraPrasad

 

stack trace #1
----------------

Executing: DatabaseServerCustomPanel
Is validation 'DB_SUPPORTED_VALIDATION_ENABLED' enabled: false
Is validation 'DB_ACCESS_VALIDATION_ENABLED' enabled:
Validation name: 'DBConnectionStringValidation'
Validation status: SUCCEED
Message type:
User message: 'null'
Log message: 'null'
Validation name: 'ConnectToDBValidation'
Validation status: FAIL
Message type: ERROR
User message: 'Failed to validate database connection parameters.'
Log message: 'Failed to connect to the DB

EXCEPTION:
com.hp.alm.platform.db.CTdDriverManager.getConnection(CTdDriverManager.java:64)
com.mercury.optane.core.qccheckhelpers.DbAccessUsingConnection.openConnection(DbAccessUsingConnection.java:115)
com.mercury.optane.core.qccheckhelpers.DbAccessUsingConnection.<init>(DbAccessUsingConnection.java:47)
com.mercury.optane.core.qccheckhelpers.CTdCheckDBHelper.useConnection(CTdCheckDBHelper.java:444)
com.mercury.optane.core.qccheckhelpers.CTdCheckDBHelper.getDbHelper(CTdCheckDBHelper.java:85)
com.hp.alm.installAnywhere.utils.InstallationDbUtilFactory.getDbCheckHelper(InstallationDbUtilFactory.java:37)
com.hp.alm.installAnywhere.validations.InstallationValidations.db.ConnectToDBValidation.execute(ConnectToDBValidation.java:36)
com.hp.alm.installAnywhere.validations.InstallationValidations.AbsInstallationValidation.validate(AbsInstallationValidation.java:34)
com.hp.alm.installAnywhere.validations.InstallationValidations.AbsValidationsExecutor.executeValidation(AbsValidationsExecutor.java:49)
com.hp.alm.installAnywhere.validations.InstallationValidations.AbsValidationsExecutor.executeValidations(AbsValidationsExecutor.java:33)
com.hp.alm.installAnywhere.panels.gui.customPanels.DatabaseServerCustomPanel.executePanelValidations(DatabaseServerCustomPanel.java:420)
com.hp.alm.installAnywhere.panels.gui.customPanels.AbsInstallerCustomCodeValidatablePanel.checkOkToContinue(AbsInstallerCustomCodeValidatablePanel.java:23)
com.hp.alm.installAnywhere.panels.gui.customPanels.AbsInstallerCustomCodePanel.okToContinue(AbsInstallerCustomCodePanel.java:59)
com.zerog.ia.installer.AAMgr.clickNextButton(Unknown Source)


stack trace # 2

----------------

Executing: SiteAdminDatabaseCustomPanel
java.sql.SQLNonTransientConnectionException: [Mercury][Oracle JDBC Driver][Oracle]ORA-12514 Connection refused, the specified service name (orcl) was not recognized by the Oracle server.
at com.mercury.jdbc.oraclebase.ddcr.b(Unknown Source)
at com.mercury.jdbc.oraclebase.ddcr.a(Unknown Source)
at com.mercury.jdbc.oraclebase.ddcq.b(Unknown Source)
at com.mercury.jdbc.oraclebase.ddcq.a(Unknown Source)
at com.mercury.jdbc.oracle.OracleImplConnection.a(Unknown Source)
at com.mercury.jdbc.oracle.OracleImplConnection.ai(Unknown Source)
at com.mercury.jdbc.oracle.OracleImplConnection.b(Unknown Source)
at com.mercury.jdbc.oracle.OracleImplConnection._(Unknown Source)
at com.mercury.jdbc.oraclebase.BaseConnection.b(Unknown Source)
at com.mercury.jdbc.oraclebase.BaseConnection.k(Unknown Source)
at com.mercury.jdbc.oraclebase.BaseConnection.a(Unknown Source)
at com.mercury.jdbc.oraclebase.BaseConnection.a(Unknown Source)
at com.mercury.jdbc.oraclebase.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.hp.alm.platform.db.CTdDriverManager.getConnection(CTdDriverManager.java:57)
wrapped in com.hp.alm.platform.exception.CTdException:
at com.hp.alm.platform.db.CTdDriverManager.getConnection(CTdDriverManager.java:64)
at com.hp.alm.installAnywhere.utils.InstallationGeneralUtils.getTableSpace(InstallationGeneralUtils.java:240)
wrapped in com.hp.alm.platform.exception.CTdException: Failed fetching tablespaces from Oracle database
at com.hp.alm.installAnywhere.utils.InstallationGeneralUtils.getTableSpace(InstallationGeneralUtils.java:294)
at com.hp.alm.installAnywhere.panels.gui.customPanels.SiteAdminDatabaseCustomPanel.fillTablespaceCombos(SiteAdminDatabaseCustomPanel.java:800)
at com.hp.alm.installAnywhere.panels.gui.customPanels.SiteAdminDatabaseCustomPanel.initUI(SiteAdminDatabaseCustomPanel.java:256)
at com.hp.alm.installAnywhere.panels.gui.customPanels.AbsInstallerCustomCodePanel.setupUI(AbsInstallerCustomCodePanel.java:45)
at com.zerog.ia.installer.AAMgr.a0(Unknown Source)
at com.zerog.ia.installer.AAMgr.ac(Unknown Source)
at com.zerog.ia.installer.AAMgrBase.am(Unknown Source)
at com.zerog.ia.installer.AAMgrBase.runNextInstallPiece(Unknown Source)
at com.zerog.ia.installer.AAMgr.clickNextButton(Unknown Source)
at com.zerog.ia.installer.AAMgr.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton400(Unknown Source)
at java.awt.EventQueue3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


Status: ERROR
Additional Notes: ERROR - Failed fetching tablespaces from Oracle database

Executing: DatabaseServerCustomPanel
Is validation 'DB_SUPPORTED_VALIDATION_ENABLED' enabled: false
Is validation 'DB_ACCESS_VALIDATION_ENABLED' enabled: false

 

LEANFT-TEST Failed adding customization element to project

$
0
0

Hi

We recently patched the ALM 11.52 to patch 07 from patch 01. After we patched to 07, we had ran couple of cross customization on linked projects without any issues until now. It is giving error in Entity Subtypes  LEANFT-TEST.  FYI, we don't have this application installed in any machines. So we don't what is the cause of the issue and how to resolve it. Please help.

Entity subtypes LEANFT-TEST.JPG

Style tempate headings

$
0
0

Hello all, I am facing an issue with the style template.  I am attempting to adjust the font for the header templates but I am finding that they won't change when I change the template, (which involves updating, uploading the template to ALM, and then pointing to the just uploaded template.)

Additionally, when the requirements are added to the rich text portion of ALM, the style template won't set the default font size.

The vitals:

(This involves generating a report from the requirements modules in ALM 11.52. Additionally, we are generating these reports into the Microsoft Word document format. In addition, I have added the style template we are using.)

 

Thanks in advance.

Integrate Keyword driven framework in HP ALM Quality Center

$
0
0

Hello,

How can i integrate the keyword driven framework in HP ALM Quality Center?

I have an excel file wich contains test cases and test steps 

Example : 

TestCaseID  |  Environment                        |      Action             |         Param1           

------------------------------------------------------------------------------------------------------------

STEP1          |  JavaWindow("WindowTitle")  |  ClickJavaButton    |      JavaButtonName

Here , ClickJavaButton is the keyword which aims to click on a specified button

***Questions***

1. Where , xls files  containing test cases & test steps should be stored? 

2. How can i execute the keyword associated to a test step?

 

Could you please help me.

Thanks in advance :)

Kind Regards,

Rafika.

 

 

Auto Populate additional Fields when creates Defect from Manual Runner:Step Details page .

$
0
0

When user users the manual runner, user is redirected to the  Manual Runner:Step Details page .

To Raise a defect, user can click the Create new defect ICON , which will open a new Defect Page, with some fields such as 'Detected In Cycle' , 'Detected in Release' and some information in the 'description' section auto populated.

We need some other custom field values also to be auto populated when the user clicks the Create new defect ICON  from the Manual Runner:Step Details page .

 

Unable to delete the user in ALM

$
0
0

Hi, We recently upgraded from ALM 11.52 to ALM 12.20. During which we did not upgrade couple of projects in ALM. 

Now we have some users(Who are from those non upgraded projects) are leaving the organization. Hence when we try to remove them from site admin we are getting an error("General Error"). Please assist on how to remove the se user from ALM.

 


Project Customization: Rename item of custom list and populate change to all items that use it

$
0
0

Hi all,

I use a lot of custom field for my different requirements types. One of the custom fields offers a selection for a rating. Currently the values are (1,2,3) and I would like to rename the items to (low, medium, high). I did that and whenever I add a new requirement or change an existing one, the new selection values appear. 

All the old existing requirements are still on the old values and were not automatically updated to the new selection. I was under the impression that internally in the DB there would be only a link to the actual visible text of the list and as soon as I update the project list in the project customnization this change would automatically populate through the whole database and through every item that is using this custom field.

Is there a way to automatically update all requirements items that use the field to now use the new values?

thanks!
Marco

HPQC API or Automatic Excel Extract

$
0
0

Hi All!

Here is my dilemma:

We need to build views in Sharepoint and need to have data pulled automatically from HPQC DEfects Module to Sharepoint views. What we do now is use power query in Excel, build a view using that Excel in Sharepoint and what user needs to do is whenever needed to refresh data in Excel and refresh Sharepoint view.

What I am trying to achive is either

1) A way to automatically update Excel file once a day and update contents on Sharepoint 

or

2) Automatically update Sharepoint view with up to date defect information

Ideally the end result is either real time or almost real time (minimal user interaction) custom reports on sharepoint with data from HPQC.

Can anyone suggest anything?

Thank you in advance!

Live Analysis - Default Graphs for all Users?

$
0
0

Is it possible to set default graphs for all users as part of Live Analysis when selecting a folder within Test Plan or Test Lab?

The user guide for version 12.20 contains this comment on page 1141  "The Live Analysis graphs that you create are unique for your user login. Each project user can create Live Analysis graphs which will be visible only to that user but will not be visible to other users."

However, I know that some of the smart people on here normally find ways to get round limitations.

Updating a dashboard from a favourite view / filter automatically?

$
0
0

Is it possible to update a dashboard from a favourite view / filter?

I have a favourite filter with individual defect numbers that I keep adding defects to. I have created a dashboard for these, but am manually inputting these numbers into the filter everytime I change it.

It would be great to have the favourite view linked to the dashboard and update manually.

Can anyone help?

How to disable Attachments and History in Send E-mail (Defects Module)

$
0
0

Hi,

is it possible to disable adding Attachments in Send E-mail dialog?

I would like to disable this function for all the users.

Thanks in advance.

Emil

HP ALM 12.01

Error when running a query

$
0
0

Hi All,

 

I am having an issue with the following query ;

 

SELECT
     RUN.RN_RUN_ID /*Run.Run ID*/,
      RUN.RN_RUN_NAME /*Run.Run Name*/,
      RUN.RN_TESTER_NAME /*Run.Tester*/ ,
      RUN.RN_EXECUTION_DATE /*Run.Exec Date*/,

      RUN.RN_TEST_CONFIG_ID /*Run.Configuration ID*/,
      RUN.RN_RUN_VER_STAMP /*Run.Version*/,
      RUN.RN_COMMENTS /*Run.Comments*/,
      RUN.RN_STATUS /*Run.Status*/,

 

FROM  RUN /*Run*/

    ORDER BY  RUN.RN_RUN_ID /*Run.Run ID*/,

 

Can someone help me understand what i am doing wrong. Thanks

ALM REST API search memo text

$
0
0

I am using the ALM REST API with version 12.21 and would like to get all requirements that have specific text in the requirements descrption. I can query the requirement name without any issues but not memo fields. I assume it's because the name is designated as Filterable and RQ_REQ_COMMENT (the description field) is not. Does anyone if there is way to search or filter memo fields using the REST API?


Qeries for Requirement tracibility, Requirements -Tcs, Requriements-Defects

$
0
0

Hi All,

I need couple of queries to use in my reportng.

1. Query which shows Requirements from X,Y,Z.....AZ folders and sub folder has mapping/coverage or not, If yes what are the test cases and in which folder

2. Requirements from X,Y,Z.....AZ folders and sub folder and its associated testcases status(Pass/Fail etc)

3. Requirements from X,Y,Z.....AZ folders and sub folder and its associated failed testcases status and its defects.

 

I tried loads of places, however as I am new to SQL I am unable to build in succesfull query.

Need help in Creating test case as Testype with VAPI-XP Test

$
0
0

Hi All,

I am trying to create an test case in new trial version of  HP ALM 12.5  as  test type (VAPI-XP test)

Step1. Chose the  Script type ( Vbscript, JScript, PerlScript)

Step 2. Choose the  console of the   application (COM/DOM console / Java Class/ SOAP web console)

Step3. For my Curretn Scenario , I am trying to create a javaScript and Select my console as ( Java Class)

Step 4: Click on NEXT and when i am trying to  add my Java class i'm facing an  Error as "MSJVM should be installed in the Machine"

So far  i have resarched link  I hear the  MSJVM is outdated currenlty . No  recent  version of MSJVM is being released.

https://en.wikipedia.org/wiki/Microsoft_Java_Virtual_Machine.

If any one has known  solutions or any guided steps to follow . Please suggest me.

Thanks,

AJ

 

 

Failed to Create Project

$
0
0

We just stood up a new ALM server configured with the SQl database. When i try to create a project, i get an error that just states "Failed to Create Project". I'm able to create users and domains. Just not project. Does anyone know what could be the issue?

I can provide more information if needed. Thanks.

HP ALM Test Set are not extracting from macro

$
0
0

Hi,

we have macro which will extract the data from HP ALM to Excel for Requirements,Test plan and Test lab data.

Requirements and Test Plan it is working only Test Lab it is not working

Password for macro is :- qcdownload

Regards

Mohan

 

How to use encrypted password in OTA code

$
0
0

Hello,

Can someone provide me solution for passing the encrypted password to  OTA connection code. my code is something like below but not working for me. how to use set secure method using OTA code. can some one please help? 

tdc = CreateObject("TDApiOle80.TDConnection")

tdc.InitConnectionEx("URL")

tdc.Login("Username", "5bcee4afeyii234aacee")

 

-Srid

Viewing all 5491 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>