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

What are the meanings of the XML tags for the Dbid.xml?

$
0
0

Dear Customer,

 

Below there is a list of some dbid.xml tag and a quick description of their values:

    <PROJECT_NAME>X_TES_PRJ</PROJECT_NAME> --Project Name
    <DB_TYPE>3</DB_TYPE>  -- Db types:

                                                                      1= SQL server Windows authentication
                                                                      2= SQL Server Sql authentication
                                                                      3= Oracle

 

    <DESCRIPTION>Created on 2015-01-22 14:29:03</DESCRIPTION> --Creation date
    <DB_CONNSTR_FORMAT>JDBCstring://dbserver:port;sid=orcl</DB_CONNSTR_FORMAT> --JDBC connection string to     the database server
    <DB_NATIVE_AUTHENTICATION>N</DB_NATIVE_AUTHENTICATION> -- If database uses Windows authentication
    <DB_NAME>X_TEST_PRJ_DB</DB_NAME> -- Project database name
    <DBSERVER_NAME>DB_Server Alias</DBSERVER_NAME> -- DB server alias name in the site administration
    <DB_USER_PASS>ciphered password</DB_USER_PASS>-- Database password
    <PR_HAS_VCSDB>N</PR_HAS_VCSDB> -- Project has version control enabled
    <PHYSICAL_DIRECTORY>C:\ProgramData\HP\ALM\repository\qc\domain\project name\</PHYSICAL_DIRECTORY> -- Physical project directory
    <USERS_QUOTA>-1</USERS_QUOTA> --User quota
    <PR_IS_ACTIVE>Y</PR_IS_ACTIVE> -- If project is active
    <SAQ_IS_ACTIVE>N</SAQ_IS_ACTIVE> -- If project has automail enabled
     <PROJECT_TYPE>Standard</PROJECT_TYPE> -- Project type
    <IS_TEMPLATE>N</IS_TEMPLATE> --If the project is a template
    <PROJECT_UID>id</PROJECT_UID> --Project unique ID
    <PR_SMART_REPOSITORY_ENABLED>Y</PR_SMART_REPOSITORY_ENABLED> --If project has smart repository enabled
    <PR_IS_QPM_AUTO_CALC_ENABLED>Y</PR_IS_QPM_AUTO_CALC_ENABLED> -- If project planning and tracking calculations run in this project

 

Cordially

Ameyjo


How restore ALM database project in SQL server from a network drive?

$
0
0

Dear Customer,

 

Here is one option that can be used to restore project database backups from a network drive. Useful when moving databases from one SQL server to another :

 

Locate the backup file in shared file system accross the network

   RESTORE FILELISTONLY

   FROM DISK =N'\\172.16.5.1\Shared Content\Viviana Ortiz\default_X_Test_db.BAK'

The above command will inspect the Back and list the number of objects contained.
To restore from a COPY_ONLY backup, use a command similar to the following:
 

RESTORE DATABASE [default_X_Test_db] –-name your database

FROM DISK = N'\\Server\Shared Folder\Folder\default_X_Test_db.BAK'

WITH FILE = 1

    , MOVE N'default_cfi_nextgen_db'

        TON'F:\Restore\databases files folder\default_X_Test_db.MDF'--the restore target directory for MDF

    , MOVEN'default_X_Test_db_log'

        TON'F:\Restore\databases files folder\default_X_Test_db.LDF' --the restore target directory for LDF

      --If you need to restore a full text search catalog find the name with the previous command and add another line as ldf and mdf

    , NOUNLOAD, STATS = 10

 

Results.PNG

 

Same steps can apply to the management database .

 

Cordially

Ameyjo

Hi, I need to VB code to connect to QC 11 with OTA

$
0
0

Hi, I am very new to VB code.  I am trying  to connect to QC 11 using OTA API. I am using Windows 7 64-bit OS. I read lots for blogs and  I find out the OTA doesn't work  in 64-bit OS. 

This is what I am going to do. I will create a .vba file and try to run from commadline. 

C:\Windows\SysWOW64\cscript.exe qctest.vbs

 

This is the code I am using that I got from the  internet.

 

 

Public Sub ConnectToQC(ByVal ServerName, ByVal Domain, ByVal Project)

Dim QCServer, UserName, Password, QCConnection
QCServer = "http://hpqc.xxxx.com/qcbin/"
UserName = "xxxxx"
Password = "xxxxx"
Domain = "test"
Project = "test_project"

Set QCConnection = CreateObject("TDApiOle80.TDConnection")
QCConnection.InitConnectionEx QCServer
QCConnection.login UserName, Password
QCConnection.Connect Domain, Project

Set ConnectToQC = QCConnection
If (QCConnection.LoggedIn <> True) Then
MsgBox "QC User Authentication Failed"

End Sub

 

I am running with 32-bit command  but I don't know whether it is connecting to QC or  not. 

 

Kindly help me how to find out  and how to connect QC with VB code.

 

Thank you in advance. 

How to Report on test set folders (and not test sets)

$
0
0

Hi All,

 

I need to create a filter to be able to report on test set folders. Ex: Test set folder 1 has 5 test sets and test folder 2 has 10 test sets - currently it displays all 15 test sets in the report. I just need to know the summary of test execution status grouped by tes set folder. Please advise.

 

TIA

HP QC ALM Installation error on Windows 7

$
0
0

Hello,

 

I have a question. I am a beginner in terms of installation programms such HP QC ALM 12.0 therefore i need your help.

I have a trial version of program mentioned above, dowloaded from HP website (software solutions). And i cannot perform an installation because it gives me an error that looks like this:

'This machines operating system is not supported and recommended ALM (12.00) server.'

Please help me somebody to install it on Windows 7 or tell me where did i go wrong. I saw a video tutorial on youtube and it shows how to install ALM om Windows 7. Here is the link:  

https://www.youtube.com/watch?v=NGCHQznKvFY

 

Thank you so much

project customization

$
0
0
Hi,

I am working with enterprise edition license on ALM which does not come with template cross project customization feature.Also, creation of a project using a template is disabled.

I have imported a qcp file of a template with all customization that I need.I am also able to login to the template.

Now, since CPC is not available with enterprise edition, how can I set the customization of my project exactly like that of this template?

Any help appreciated.

Thanks,
Rs

query to fetch all records from TEST and Requirement tab

$
0
0

select  TEST.TS_TEST_ID "Test Id", TEST.TS_NAME "Test Name", TEST.TS_USER_03 "CCC_Test_Type" ,
 TEST.TS_TYPE "Test Type", TEST.TS_USER_01 "Reviewed"/*Test.Reviewed*/,
 TEST.TS_USER_04 "Story number"/*Test.Story Number*/,  TEST.TS_STATUS "Status" /*Test.Status*/,
 TEST.TS_RESPONSIBLE "Responsible"/*Test.Designer*/, TEST_CONFIGS.TSC_CREATED_BY "Created By"/*Test Configuration.Created by*/,
 TEST_CONFIGS.TSC_CREATION_DATE "Creation Date"/*Test Configuration.Creation date*/,
 TEST_CONFIGS.TSC_EXEC_STATUS "Execution Status"/*Test Configuration.Execution Status*/,
 TEST_CONFIGS.TSC_VTS "Modification Date"/*Test Configuration.Modified*/, TEST.TS_STEPS "Step Count"/*Test.Steps*/,
 DESSTEPS.DS_STEP_NAME "Step No" /*Design Step.Step Name*/ , DESSTEPS.DS_DESCRIPTION "Description"/*Design Step.Description*/,
 DESSTEPS.DS_EXPECTED "Expected Result"/*Design Step.Expected Result*/,TEST.TS_USER_02 "Comments"/*Test.Reviewed By*/
 ,a.AL_ITEM_ID "Parent Id", a.AL_FATHER_ID, a.AL_DESCRIPTION "Parent Folder"  /*Test Plan Folder.Name*/, m.AL_ITEM_ID "Folder Id",
  m.AL_FATHER_ID , m.AL_DESCRIPTION "Current Folder" , REQ_COVER.RC_REQ_ID "HPQC ID" , REQ.RQ_REQ_NAME "HPQC Description" /*Requirement.Name*/
from  TEST /*Test*/,  TEST_CONFIGS /*Test Configuration*/, DESSTEPS /*Design Step*/, ALL_LISTS a,  ALL_LISTS m  ,REQ_COVER, REQ
where  TEST.TS_TEST_ID/*Test.Test ID*/  =  TEST_CONFIGS.TSC_TEST_ID /*Test Configuration.Test ID*/ and
       DESSTEPS.DS_TEST_ID = TEST.TS_TEST_ID/*Test.Test ID*/ and
       a.AL_ITEM_ID= m.AL_FATHER_ID and  m.AL_ITEM_ID =  TEST.TS_SUBJECT /*Test.Subject*/ and
           TEST.TS_TEST_ID=REQ_COVER.RC_ENTITY_ID  and
            REQ.RQ_REQ_ID =  REQ_COVER.RC_REQ_ID
ORDER BY  TEST.TS_TEST_ID,DESSTEPS.DS_STEP_ORDER

 

 

i have written this quey to get data records from TEST and Requirement tab.

but i want records if test cases doesn't have any data in requirement tab + test cases that have records in requirement tab.(now i am getting only test cases that have records in requirement tab )

 

 

please reply if anyone can help,

thanks in advance

How to change filename field?

$
0
0

Hi,

 


I have problem with changing Filename field at metadata test case.  Other fields like TS_DESCRIPTION,ts_status ts_name have been modified without problem but filename is not possible.

Regards,

 


SAapi Delete Project

$
0
0

Hello,

 

I cant delete project from ALM 11 with the SAapi 

This is my code :

 

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

Private Sub DeleteProject()

Dim sDomainName As String
Dim sProjectName As String
Dim sReply As String

On Error GoTo err
sDomainName = "****"
sProjectName = "****"

Dim m_SAClient As New SACLIENTLib.SAapi
m_SAClient.Login "*******", "******", "*******"
MsgBox ("Admin Logged ")

sReply = m_SAClient.DeleteProject _
(sDomainName, sProjectName, "*******", "******")
MsgBox sReply
Exit Sub

err:
MsgBox "Program failed:" + err.Description
End Sub

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

 

 

 

the error is in attachments

 

any  help! 

 

TS_STATUS field not updating after changing list of values for test status

$
0
0

Long story short is that I think we broke something.

 

We are new to QC and BPT.  Not realizing the tight integration with BPT we deleted and changed some of the test status values in list under QC customizations.  Now BPT statuses (TS_STATUS) are not being updated in the TEST table.  We have tried adding the values (Ready, maintenance, etc) back to the list of values but the TS_STATUS field still does not update.

 

My main troubleshooting path right now is that the test "form" in QC loads correctly with the correct status.  However, that status does not get written to the "TS_STATUS" field in the database.  so where is the form loading that value from?  is it real-time?

Cut and Paste of Requirements retains wrong review Status....

$
0
0

I have a need to set the Review Status of a Requirement to "New" when a new requirement is pasted from an existing one.

Currently the status is always set to the same as the requirement you are copying from.

 

What I thought of doing was this:

1) In ActionCanExecute in Common Script I am testing for Requirements.Paste.

2) If it is found then I set a global variable (CopyReq) to "Yes"

3) In the Requirements module in the Sub Req_MoveTo I added a line testing for the value of the variable and if it = "Yes" then I set the Status and reset the variable:

     If CopyReq = "Yes" then
         Req_Fields.Field("RQ_REQ_REVIEWED").Value = "New"
         CopyReq = "No"
     end if

 

This works ok sort of, but I now have 2 history entries of changing the Status when I really just wanted it to be created as New. I am concerned this will ask the question of why did x change the state?

 

Any ideas?

ALM 11.52 Automail Setup

$
0
0

Hello Folks,

 

I was looking for some information related to ALM automail setup.I was trying to create an automail condition from defects module.Basically trying to trigger an email to specific user group based on specific status change.

Ex:I have Status values as New,Open,Fixed,Assign to BA,Assign to Dev,Rejected,Closed etc and I have custom user groups as Dev,QA,UAT,PM,BA etc.I was looking for a way to implement the condition as When status is modified and set to "Assign to BA" an email should be sent to the user group "BA","PM" like wise if the status is modified and set to "Assign to Dev" then an email should be sent to the user group "Dev","PM".I don't think so these can be achieved via Automail feature in ALM,correct me if I am wrong.So planning to go through workflow and looking for some inputs.

 

1.I suppose this has to be in Bug_After post action.Looking for any sample codes that can help to implement this condtion.

2.If I go by the workflow channel of sending mails,do i need to switch off the "Send Automail feature" at the project level in site admin for that project??,If not would there be any conflicts in using both automail and workflow mail??

3."From_email_address"  in siteadmin--Should we create a separate and valid email account for this or could we use a tduser@xyz.com??Just wondering if we create a separate mail account and mails coming from ALM should reflect this from email ID,do we need any extra configuration or simply setting the site parameter with this new account would do??

4.Is there an option to set a from email adrress at a specific project level too in workflow code??,if so it would be helpful if you can provide any sample code.

 

Thanks,

what does the _PC_SYSTEM_ id do?

$
0
0

what does the _PC_SYSTEM_ id do?

I see it all over the log files.

Generating hundreds of records, especially in the Lab Manager logs. 

It's been adding and deleting Lab Reservations since we installed the tools.

 

 

Modal Dialog When Opening a Defect

$
0
0

Sorry if this has been asked before, but I have searched and not found any posts relating to this.

 

I am using HPALM 11.00 and every time I open a defect, just by double clicking on it in the list, the defect opens in a modal browser window.  This makes it difficult to work with multiple defects at the same time.  Is there any way around this behavior?  I would rather have defects open in a separate tab.

Error 401 QCSession cookie missing from request

$
0
0

I am using the REST API examples as prvoided by QC12.0 . I can successfully authenticate and login to QC12 from my java application using the examples provided in the ALM docs.

However I am unable to read or update as per ALM12 examples as I am always getting http 401 error or misising the QCSession cookie.

 

The restconnector code seems to be ok as it suppose to read the implicit cookie from the response and update the cookie for a POST or GET operation.

 

When I try the command from the browser manually  I can see the QCSession cookie. However, the restconnector code is unable to read/see. The code can see LWSSO cookie during login process but not the QCSession cookie.

 

Do you have any advise ?

 

Thanks,

MS.


create requirement using HP ALM REST API BUT Error: Failed to setup for key 12 in table 'REQ'

$
0
0

I'm trying to create requirement using HP ALM(11.5) REST API

 

 Error:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><QCRestException><Id>qccore.general-error</Id><Title>Failed to setValue for key 63 in table 'REQ' in project 'com.hp.alm.platform.connection.authentication.ThreadSafeCachedSessionContext@1d5698d'</Title><ExceptionProperties/></QCRestException>

 

Below is sample xml code:

 

String xml="<?xml version='1.0' encoding='UTF-8' standalone='yes'?>"
+ "<Entity Type='requirement'>"
+ "<Fields>"
+ "<Field Name='description'> "
+ "<Value>Plan journey1</Value>"
+ "</Field>"
+ "<Field Name='status'>"
+ " <Value>Not Covered</Value>"
+ "</Field>"
+ "<Field Name='req-type'> "
+ "<Value>Draft</Value>"
+ "</Field>"
+ "<Field Name='parent-id'>"
+ "<Value>0</Value>"
+ "</Field>"
+ "<Field Name='owner'> "
+ "<Value>e228782</Value>"
+ "</Field>"
+ "<Field Name='user-02'> "
+ "<Value>123</Value>"
+ "</Field>"
+ "<Field Name='name'> "
+ "<Value>Plan journey5</Value>"
+ "</Field>"
+ "<Field Name='type-id'> "
+ "<Value>3</Value>"
+ "</Field>"
/*+ "<Field Name='req-reviewed'> "
+ "<Value>Draft</Value>"
+ "</Field>"*/
+ "<Field Name='father-name'> "
+ "<Value>Requirements</Value>"
+ "</Field>"

+ "</Fields> <RelatedEntities /> </Entity>";

 

String dummyxmlReqid=hpAlmClient.createEntity("ABC", "PROJ1","requirement", xml);

 

Thanks in Advance...

Custom Group can not add users to project even though they have permission to "Set up Project Users"

$
0
0

We setup a group that should have allowed a custom group to add users to their HP-ALM project.

They are not allowed to Customize Project Entities, Project Lists,  Setup User Groups.

In Administration,  both "Change User Properities and Passwords"  and "Setup Project Users" have been enabled.

 

When member of custom group attemps to "Add users from Site",  they are getting an error "EXTERNAL COMPONENT HAS THROWN AN EXECPTION".

 

Any one know how to fix this?   We want to restrict user access,  but also allow them to perform some of the duties to lessen load on the HP Site Admin.

 

Saving UFT 12.0 scripts with SAP GUI add-in fails during loading to ALM 12.01

$
0
0

We can save all other UFT protocols, except SAP GUI, to ALM with no issues.

We tried updating UFT to 12.02 but still get the same error.

 

Has anyone run into this?  If so, were you able to find a solution?

Excel Analysis Report - Release and Cycle values not reporting

$
0
0

I am trying to get a new Excel Report created in the Dashboard/Analysis module.

 

I have the following Query that appears to work except the values for Releases and Cycles reports nothing but there are values in those fields. Can anyone help?

 

SELECT
 RQ_REQ_ID as ID,  RQ_REQ_NAME as 'Name',  RQ_REQ_REVIEWED as Status,  RQ_TARGET_REL as 'Target Rel',
 RQ_TARGET_RCYC as 'Target Cycle',  RQ_USER_01 as 'CC ID',  RQ_USER_07 as 'Impacted Apps',  RQ_REQ_PRIORITY As Priority,  TPR_NAME as 'Req Type',  RQ_USER_02 as 'HLD ID',  RQ_USER_05 as 'LLD ID'
FROM
 REQ, REQ_TYPE
WHERE
 RQ_TYPE_ID <> '1' and RQ_TYPE_ID = TPR_TYPE_ID

 

Double blank spaces appearing after each line in Test Plan (Test case decsription)

$
0
0

Hi,

 

We are facing issue in one of our project having double space issue. Whenever user adds any description to Test case, it keeps on adding double blank lines:

 

Example(Before):

This is test.

This is test for the double blank spaces.

 

Example(now):

 

 

This is test.

 

 

This is test for the double blank spaces.

 

********************************************************

 

Code for Test_MoveTo is:

 

Sub Test_MoveTo
  On Error Resume Next
   'Test_Fields("TS_DESCRIPTION").Value= Replace (Test_Fields("TS_DESCRIPTION").Value, "</html>")
   'Test_Fields("TS_DESCRIPTION").Value= Replace (Test_Fields("TS_DESCRIPTION").Value, "<html>")
   'Test_Fields("TS_DESCRIPTION").Value=""
   Text=Replace(Test_Fields("TS_DESCRIPTION").Value, "<Html> <Body>","",1)
   Text=Replace(Text, "</Body> </HTML>","",1)
   ignoreHtmlFormat=True
   On Error GoTo 0
End Sub

 

We added IgnoreHTML=True because there was HTML tags appearing in Test case description field.

If I comment to the line ignoreHtmlFormat=True, double blank space space issue gets resolved, but HTML tags appear in the test case description field.

 

Please help.

 

Regards,

Bhushan Patil

Viewing all 5491 articles
Browse latest View live


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