Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all 14708 articles
Browse latest View live

Re: Regarding LDAP Authentication in HP ALM

$
0
0

Hi

First of all you will need to do this in a test environment, to make sure how everything works, which the important IDs are and so on.

1. If your are going to use LDAPS and your ldapserver uses a certificate that is not issued by an Issuer defined in the standard java cacert store. Then you will need to import the issuer certificate. To do so, you will need to download and save it.

Then on the ALM server start a cmd-prompt as Admininstrator and run something like this. Paths can differ depending on where installation was done.

"C:\Program Files\HP\ALM\java\jre\bin\keytool" -keystore "C:\Program Files\HP\ALM\java\jre\lib\security\cacerts" -storepass changeit -import -trustcacerts -file "c:\temp\Issuer_cert.crt" -alias Issuer_cert 

More information can be found in the installation documentation.

3. Switching to LDAP will only change the authentication/login everything else will be the same.

When we did the migration we made a (vb)script that was using OTA, that looped through all users and read/searched in the ldap server for the correct user and then wrote the correct fiels back.

It is a bit to complicated to explain in detail here.

In your case I would have checked how everyting looks in the database after importing a user from the ldap. Then get a list of all users in the ldap and then created inserts to the USERS_AUTH_DATA-table and executed them direcly to the database

br /ola


Please mark post as solved if your problems or questions is/are resolved.
If this post was valuable to you, please consider kudo it..

 

 

 


HP ALM 12.53 REST QPI Querying defects using predefined query

$
0
0

Hi, In forums I see many examples on querying defect entity via REST API using different query fields e.g.

http://<your hp alm server>:/qcbin/api/domains/<your domain>/projects/<your project>/defects?query={some filter confition inside}

I have defined query with name "my_query" inside my HP ALM and I want to refer to that query using REST API. Does anyone know how to do it.

 

Questions 2:

is there any WADL for HP ALM REST API. if yes, where I can find that.

 

Thanks

Re: Workflow to restrict deletion of test cases

$
0
0

Thank you Jan,

I was able to make that work with your help and below is my working code.

Function Template_TestSet_CanRemoveTests(Tests)
  'On Error Resume Next
  Dim testID, runs, run, testSet, tsTestFact
  For Each testID In Tests
    Set testSet = TDConnection.TestSetFactory.Item(TestSet_Fields.Field("CY_CYCLE_ID").Value)
    Set tsTestFact = testSet.TSTestFactory
    Set runs = tsTestFact.Item(testID).RunFactory.NewList("")
      For Each run In runs
        If runs.Count > 0 Then
          Template_TestSet_CanRemoveTests = False
          Set runs = Nothing
          Set run = Nothing
          MsgBox "One or more tests selected for deletion have previous run results and can not be deleted.", vbOKOnly + vbExclamation + vbSystemModal, "Can Not Delete Tests"
          Exit Function
        Else
          Template_TestSet_CanRemoveTests = True
        End If
      Next
  Next
  Set runs = Nothing
  Set run = Nothing
  'call TestSet_CanRemoveTests(Tests)
  'Template_TestSet_CanRemoveTests = Template_DefaultRes
  On Error GoTo 0
End Function

Appreciate your help a ton

 

Error installing ALM / QC v12 - The signature of ALM-Platform-Loader.msi is corrupted or invalid

$
0
0

Cannot install the latest version of ALM Qualty Center, when navigating to the URL, http://xx.xxx.xx.xxx:xxxx/qcbin/start_a.jsp, and clikc on Install (as prompted by the windonws to install the update), the file ALM-Platform-Loader.msi donwload fine, but when trying to run it it displays that error message. If I save the file, I can install it, but when navigating to the URL I got now this error message: "Initialization has failed. Contact your system administrator. Failure details: http://xx.xxx.xx.xxx:xxxx/qcbin/setup_a.cab - This file has no digital signature or signature cannot be validated".   If I check on the file, the certificate is revoked. How can I by pass that validation or fix it. I 've already (during the last three days) read and try almost everything people has posted about. Configuration is Windows 7 with SP1, iE11 32 bits, I have full admin privileges. Tried unistall manually and with the ALM/QC unistall tool. Install all the certificates everyone has mentiones.  Set Internert Options with the recommended securiry/privacy/advanced settings. I have no more ideas, unless this is caused by incompatibility of a windows update and the iE. I did restar iE11, but I cannot do same for Windows.  Any fresh ideas....? most of our team was able to install it and is working fine, just a copule of us have this issue. 

 

 

 

Re: Workflow to restrict deletion of test cases

$
0
0

Although, I still have an issue with deleting a folder from the test plan or test lab in the testing module. It is restricting me from deleting the folder even if there are no test cases underneath. Even a newly created folder cannot be deleted. Below is my code. Appreciate your advise. 

This is the error I get:

Error at Line 161, (character 5)

Object doesn't support this property or method: 'Entity.ID':

====================

Dim runFilter

Set runFilter = TDConnection.RunFactory.Filter

==> runFilter.Filter("RN_TEST_ID") = Entity.ID

Msgbox "filter"

====================

Below is my code:

Function Template_TestFolder_CanDelete(Entity)
  'On Error Resume Next
    Dim runFilter
    Set runFilter = TDConnection.RunFactory.Filter
    runFilter.Filter("RN_TEST_ID") = Entity.ID
    Msgbox "filter"
    If runFilter.NewList.Count > 0 Then
      Msgbox "This test folder cannot be deleted as there are existing runs against one or more tests.", vbCritical, "Delete Action Not Allowed"
      Template_TestFolder_CanDelete = False
    Exit Function
    End If
  'call TestFolder_CanDelete(Entity)
  Template_TestFolder_CanDelete = Template_DefaultRes
  'On Error GoTo 0
End Function

Re: Error installing ALM / QC v12 - The signature of ALM-Platform-Loader.msi is corrupted or invali

$
0
0

Hello,


Please check if there are any hewlett Packard certificates are available under untrusted publishers.You should remove them if any HP certificates avaialble under untrusted publishers. Please access below path to check for untrusted publishers.
Internet options->Content-->Certificates-->untrusted publishers

Thanks,

Satya

Re: Finding attachments with 0 size

$
0
0

SivaKumarRaju,

How long you have the db storage of your project schema? & the snapshot references of the Physical storage.

& did yo recollect from when this is showing such?

the first comment would be "Attachments corrupted" & if it is not a Imported/ Upgraded project, you cannot get these attachments without restoring it to the back available attachment date.

Which is again like I said, check with your back up storage days (how many days prior to the current are stored in the Database & the physical storage of the QC repository).

If all sounds great, then you have to restore the project to some time in past, where you can able to fetch the attachments and load it to the current project after removing the corrupted attachments. (If you cannot do it from GUI, use the below query to Fetch / remove the attachments from the Cross Ref.)

This is some sample Select query:

SELECT * FROM CROS_REF WHERE CR_ENTITY = 'BUG'  AND CR_KEY_1 = 1

Re: Workflow to restrict deletion of test cases

$
0
0

In this case, Entity is of type SubjectNode. That object does not have an ID property. Use NodeID instead.


Re: HP ALM 12.01Business view excel add in error

$
0
0

Lets try this.
In IE click Tools>Internet Options
Select the Advanced tab
Scroll down to the bottom third of the list
Try unchecking the following items...

Check for publisher's certificate revocation
Check for server certificate revocation
Check for signatures on downloaded programs

Let me know the results you get

Re: Delete project in QC admin page - but still folders and tables present in QC server and database

$
0
0

Looks like the user doesn't have the required privilges to DB, that is the reason you still see the schema and the project data here in DB and Repository.

 Now you have two options - one is delete the data left out in DB manually and cleaup Repo.

 

Noe try again the same steps.

Tester Managing Performance Center

$
0
0

Will a Testing engineer be keen in taking administration activities as additional responsibilities OR a Performance Center Administrator can also do Performance Testing using Loadrunner and VuGen Scripting

I came across a situation where a Performance Tester is expected to do the following as additional responsibilities. 

1. HP ALM Performance Center administration

2. VuGen Script code troubleshooting

3. Build/maintain the HP ALM, Performance Center, loadrunner dashboards

2. Create HP ALM PC/Loadrunner test scripts. 

 

Re: HP ALM exporting defects reports

How to pass all the test cases in test lab in one gp

$
0
0

Hi,

I have 12 Test sets and each test set has 300 Test Cases. I want to pass all the test cases in one go. Can any one help me in explaining. I'm new to this tool. Can i do it using excel or do i need to use any script, if so kindly explain me in detail. I was trying to use replace option in ALM. But, my access was restricted to perform that action. Help Pls!!

Re: error attempting to retrieve test parameter values from a test using OTA

$
0
0

After searching the web with no luck...I decided to use my brains...  & it worked :)

See below VBS code... Hope this helps

    Dim aParam As ISupportTestParameters
    Dim ParmFactory As TestParameterFactory
    Dim ParmeterList As List
    Set aParam = TestCase
    Set ParmFactory = aParam.TestParameterFactory
    Set ParmeterList = ParmFactory.NewList("")
    For Each Param In ParmeterList
        MsgBox ("Name: " & Param.name & " ~ Def Value: " & Param.Description)
    Next

Re: What is the database limit for a single project in HP ALM?

$
0
0

There is usually no such limit as long as there is an empty table space at DB level.There used to be some support document which shows the no.of records each table (defects\test cases) can fit.But it was significantly big as far as i remember.You may want to check with support once to confirm.


Re: Error installing ALM / QC v12 - The signature of ALM-Platform-Loader.msi is corrupted or invali

$
0
0

Thank you very much, that worked. There was one Hewlett Packard certificate under the untrusted list. I deleted it and next tine navigating the URL it started to auto-install the upgrade. Now is ready and I can logging again!

  

Who updated the defect

$
0
0

Hi, 

I am trying to create a query that provides the information about who modified a defect. Are you able to help with the query in ALM12 

TDAddin folder and the TDExcelAddin.xla file are not found after HP ALM Excell Add-ins installed.

$
0
0

TDAddin folder and the TDExcelAddin.xla files are not found after installing HP ALM Excell Add-in. user can't upload to Quality center because Validate and Upload to ALM buttons are grayed out. User currently has Office 2016 installed on the PC.

Please help.

Thanks,

 

Cecilia.

Implementing the extension of trial version of ALM on my system

$
0
0

Hi All,

The license of the trail version of ALM on my machine was extended by the HPE team for a month. 

Can anyone please let me know how to sync with the ALM on my machine ?  (The ALM on my PC shows the old expiry date).

Please help.

 

Thanks & Regards,

Rashmi 

 

Re: Stop QC Test Run Scheduler via OTA API

$
0
0

i had the similar issue. found the solution for this. what you have to do is . put the script execution code inside a function. when the function ends the scheduler will automatically stop.

Viewing all 14708 articles
Browse latest View live


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