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

Re: HP ALM Trial version on Windows 10 Set Up Error

$
0
0

I'm using ALM 12.5 and tried installing SQL server 2012 and 2014 which didn't seem to work, I'll try the solution you suggested and will let you know if it works.

 

Thank you ManojkumarU.


Re: How to Find & Replace on Design Steps (step description & expected results)

$
0
0

forgot to mention.. myfolderpath is populated on selection of testplan folder:

 

Sub TestFolder_MoveTo
On Error Resume Next

myFolderID = TestFolder_Fields.Field("AL_ITEM_ID").Value
set TreeMgr = TDConnection.TreeManager
set TestPlanFolder = TreeMgr.NodeByID(myFolderID)
myFolderPath = TestPlanFolder.Path
Set TreeMgr = Nothing
set TestPlanFolder = Nothing

End Sub

Re: How to Find & Replace on Design Steps (step description & expected results)

$
0
0

hi all,

got it working..simple mistake... forgot statements to return step lists.. Enjoy and dont forget to click the kudos button.

 

Regards

Tman786

Sub FindReplaceFromTCDesignSteps
    'Preparation'
    Dim intTestID
    Dim intCounter
    Dim intReplaceCounter
    Dim Result
    Dim StepFactory
    Dim StepList

    strSearchText = Inputbox ("Enter Search text", "Find / Replace Text from Test Steps")

    if strSearchText = vbNullString Then
       Msgbox "Search text for test steps not provided - Cancelled",vbcritical
       Exit Sub
    End If
    strReplaceText = Inputbox("Enter a replacement text", "Find / Replace Text from Test Steps")

    if strReplaceText = vbNullString Then
       Msgbox "Replace text for test steps not provided - Cancelled", vbcritical
       Exit Sub
    End If

    result = MsgBox ("Search for [" & strSearchText & "] and replace with [" & strReplaceText & "] from test cases within [" & myFolderPath & "] ?" , vbYesNo, "Find / Replace Text from Test Steps")

    if result = vbNo then
        msgbox "Find / Replace Cancelled", "Find / Replace Text from Test Steps"
        Exit Sub
    End If

    Set tdc = TDConnection
    Set treemgr = tdc.treemanager
    Set myTestFact = tdc.TestFactory
    Set myTestFilter = myTestFact.Filter

    ' Search tests from last known test folder
    myTestFilter.Filter("TS_SUBJECT") = "^\" & myFolderPath & "^"

    Set myTestList = myTestFact.NewList(myTestFilter.Text)

    intCounter = 0
    'Loop through tests and their steps to seacrch string and display count to user
    for each acttest in myTestList

    set StepFactory = acttest.DesignStepFactory
    set StepList = StepFactory.NewList("")
        for each step in StepList
           if InStr(1, step.Field("DS_DESCRIPTION"), strSearchText, 1) <> 0 Then
              intCounter = intCounter + 1
           End If
           If InStr(1, step.Field("DS_EXPECTED"), strSearchText, 1) <> 0  Then
              intCounter = intCounter + 1
           End If
        Next
    Next
    set StepFactory = nothing
    set StepList = nothing

    resultcon = MsgBox ("A total of " &intCounter & " replacements have been found for Search string [" & strSearchText & "]. Shall we replace with [" & strReplaceText & "] ?", vbYesNo, "Find / Replace Text from Test Steps")
    intReplaceCounter = 0
    If resultcon = vbNo Then
       Exit Sub
    Else
        For each acttest in myTestList
            set StepFactory = acttest.DesignStepFactory
            set StepList = StepFactory.NewList("")

            for each step in StepList
                if InStr(1, step.Field("DS_DESCRIPTION"), strSearchText, 1) <> 0 Then
                   intReplaceCounter = intReplaceCounter + 1
                   step.Field("DS_DESCRIPTION") = Replace(step.Field("DS_DESCRIPTION"), strSearchText, strReplaceText, 1, -1, 1)
                End If
                step.Post
                If InStr(1, step.Field("DS_EXPECTED"), strSearchText, 1) <> 0 Then
                   intReplaceCounter = intReplaceCounter + 1
                   step.Field("DS_EXPECTED") = Replace(step.Field("DS_EXPECTED"), strSearchText, strReplaceText, 1, -1, 1)
                End If
                step.Post
            Next
            acttest.Post
            acttest.Refresh
        Next
    End If

    MsgBox "A total number of [" & intReplaceCounter & "] replacements have been made", vbOKOnly, "Find / Replace Text from Test Steps"
    ' Clean up
    Set tdc = nothing
    Set treemgr = nothing
    Set myTestFact = nothing
    Set myTestFilter = nothing
End Sub

[ALM12.5] Error hiding fields in defect details view

$
0
0

Hi I am receiving an error after attempting to hide some fields in defect details. The error is - 

A failure has occured in the workflow script (in function SetFieldApp)

Error at Line 125, (character 5)
Invalid field type definition.:
====================
'Sets a field's appearance
With Bug_Fields(FieldName)
==> .IsVisible = Vis
.IsRequired = Req
====================

 

Anyone faced this issue before? 

The fields I am trying to hide are -

 

"BG_CHANGESET"
"BG_BUILD_CLOSED"
"BG_CLOSING_VERSION"
"BG_BUILD_DETECTED"
"BG_DETECTION_VERSION"
"BG_DETECTED_IN_REL"
"BG_ENVIRONMENT"
"BG_HAS_CHANGESET_LINK"
"BG_PLANNED_CLOSING_VER"
"BG_REPRODUCIBLE"
"BG_SUBJECT"
"BG_TARGET_RCYC"
"BG_TARGET_REL"
"BG_USER_10"

Thanks in advance for any assistance you can provide.

 

Re: export runs report with snapshots in excel

$
0
0

I don't think you can do that easily. Perhaps with the old Excel reports where you are allowed to add macro code.

Re: [ALM12.5] Error hiding fields in defect details view

$
0
0

Some of the fields like BG_CHANGESET are not in the basic version of ALM (at least not in 12.01), so I guess you are using some Extension? It could be that some of the fields you are referring to are not available for this particular project.

Try temporarily adding On Error Resume Next on top of SetFieldApp, then after the line where you got the error:

If Err.Number <> 0 Then
   MsgBox FieldName
End If

That way you can find out which field is causing the error.

 

Re: QC Licenses

$
0
0

Actually, in 11.52 the new .dat format for license files was already in use, so you should be able to load the same license files to 12.53.

Re: Changing REQ field type from String to Memo

$
0
0

No, once a memo field has been defined in a project, that slot is forever reserved for a memo field. This is an old problem, and one reason for being careful when defining new memo fields.


Re: Why Defect and Requirements are not auto linked?

$
0
0

Defects are only showing direct linkage to other entities. I guess the reason is there are so many indirect links involved, so that HP assume it would make users choke.

You are probably aware you can see the indirect links from the other end, by selecting All Links on the Linked Defects tab of a Requirement.

How to enable Customer Admin Role

$
0
0

Hi Friends,

We are facing an issue with HPQC, One of my colleague is having Customer admin role in HPQC and mine role is Administration. Unfortunatelly his account was locked and i am unable to unlocking his ID. why because of If we need to change anything for Customer admin role our role also should be same.

Could anyone help me out of this issue.

 

How to enable Customer Admin Role

$
0
0

Hi Friends,

We are facing an issue with HPQC, One of my colleague is having Customer admin role in HPQC and mine role is Administration. Unfortunatelly his account was locked and i am unable to unlocking his ID. why because of If we need to change anything for Customer admin role our role also should be same.

Could anyone help me out of this issue.

 

Re: How to enable Customer Admin Role

$
0
0

Mallikarjun,

are you referring to the user defined rles in QC? (Customer Admin & Adminstration).

& what you mean Account Locked? Password forgoten, in that case he can go ahead for 2 options.

If LDAP, use any service portal or Alt+Ctrl+End.

If QC Authentication, Click on Forgot Password link below the login Credential blocks.

If nothing useful & you are not an site admin, contact your QC Admin to get this job done for you.

Re: How to enable Customer Admin Role

Migration from QC 10.0 to ALM 12.50

$
0
0

Hello,

Currently we are using QC 10.0 and recently purchased ALM 12.50. ALM 12.50 will be installed in a separate server as a stand alone application. Now, we would like to migrate a particular project from QC 10.0 to ALM 12.50.

When i searched in the knowledge portal, i read that upgrading from QC 10.x to ALM 12.x is not possible directly. In our case, its not exactly upgradation but, migration. So, is it possible to migrate a project form 10.x to 12.x ? if so, can someone point me to the relevant documentation ?

Thanks

Re: How to enable Customer Admin Role

$
0
0

It is for QC Authentication, If i go with Forgot Password link, the issue is regisered email is not using currently.

Recently we had changed our domain name that is the issue.

 


Error while installing Quality Centre (ALM 12.5 trial version)

$
0
0

I am trying to work with trial version of QC and as i have understood, it can be installed on one machine which must be carrying Windows Server 2008. My machine is having following details

-- Windows server 2008 R2

--IIS 7

--Microsoft Sql Server 2008 R2

But when i try to set up database connection during ALM installtion, the error says 'ALM does not support this database version'. Can anybody please help in understanding what is the pre requirement for ALM 12.5 trial version? What shall i do correctly to avoid the error and acheive successfull installtion?

 

Thanks

Monica

Re: QC Licenses

$
0
0

Thanks Jan for the response.Had a quick question though while trying to generate licenses in HP portal it usually asks for what version is it and generates license based on the selected version.So wondering if I simply apply the licenses (in .dat format) of 11.52 to 12.53 would there be any compatibility issues as such??

Re: QC Licenses

$
0
0

I did exactly that a couple of weeks ago (11.52 to 12.53), and there were no issues.

Re: QC Licenses

$
0
0

Thanks again Jan.We were provided with multiple keys as we initially bought some licenses for 11.52 and went on to increase the licenses later.Since from QC 11.52 the licenses are additives we kept adding the keys as and when we received new ones.So I suppose we can do the same of adding keys one after other in QC 12.53 site??

How to extract Requirement Coverage by Cycle via SQL

$
0
0

All

I have the following set up in ALM:

Requirement A - Target Cycle 'Cycle 1'

Requirement B - Target Cycle 'Cycle 2'

Both requirements are linked to the same test. This test is then executed in 2 separate test sests:

Test Set A - Assigned to Cylce 'Cycle 1'

Test Set B - Assigned to  Cylce 'Cycle 2'

Instance in Test Set A is Passed, Instance in Test set B is failed

I want a report, derived from SQL, that shows Req A in Cycle 1 has passed and Req B in Cycle 2 has failed.

As per standard ALM, the Requirement Direct Cover status shows the latest 'Execution Status' of the Test, which in this instance shows both requirements as failed. 

In the requirements module i can go to the 'Coverage Analysis' select the 'Settings' Button, check the 'Execution Analysis' button and filter by cycle. This 'visually' gives me want i want. However i wish to do this using SQL and have an Excel sheet where the data can be sliced and diced for onward processing.

Any help would be gratefully received.

Viewing all 14708 articles
Browse latest View live


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