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

Dashboard Report to show status across many releases in ALM 12

0
0

I need a dasboard report/graphical representation to show the status/test progress of multiple releases (filter on active status) in ALM 12

 

I am only able to configure releases with start date but cannot get any progess to show up using the dasboard module. Can ALM dasboard be configured for this complex report?

 

Thanks in advance

 

 


Authentication failure when trying to connect HP ALM server

0
0

Hi, 

 

I get an authentication failure when trying to connect HP ALM server "http://myserver:port/qcbin" via third party tool. 

 

I should propmted to log in with my login name and password, but I do not see the message box.

 

I also tried "http://myserver:port/qcbin/rest/is-authenticated" and entered my username and password, but it gives me "401 - Unauthorized: Access is denied due to invalid credentials.”  

 

Please I need your help asap.

 

P.S.: I can enter HP ALM application (http://myserver:port/qcbin) with my username and password. 

 

Thanks in advance!

 

Unable to access Attachments

0
0

Hi All,

 

Background of the Issue:

 

We are in the process of manually migrating / upgrading the QC 10 projects.

QC 10 projects are first upgraded to ALM 11.52 and are further upgraded to ALM 12.

Since ALM 11.52 is transition environment it’s every project repository is further used in ALM 12 as well.

We faced the below issue in one of the QC10 project migration, Upgrade is carried out fine up till ALM 11.52, while further upgrading this project to ALM 12 ;; by mistake some other projects repository path has been provided in the physical directory tag of DBID.XML file [<PHYSICAL_DIRECTORY> Wrong Repository Path</PHYSICAL_DIRECTORY>] Which has been used to restore this current project in ALM 12; restored project was further upgraded from ver 11.52 to 12,even smart repository conversion is also 100% successfully completed for this project in ALM 12. Users started using this project without any issues for 3 days in ALM 12.

                After 3 days users started reporting few issues. Some of them are stated below.

  1. When User attempted to open any automated QTP script it displayed as “Cannot display test, Make sure test exists in the database”.
  2. 0 byte file Attachment’s with 1970 time stamp got created in this ALM 12 project by the application after upgrade.
  3. When users try to open migrated/old attachments nothing happens, there was a sign of buffering which gives a feel that attachment will be opened but after few second’s nothing is opened. When logs are verified below error message is found.

Failed to read physical file \\Filer\its_qc10repPROD\ALM12\qc\CO0600_ITC_27\xxx_project\ProjRep\000\000\000\001\234

Couldn't open file \\Filer\its_qc10repPROD\ALM12\qc\CO0600_ITC_27\xxx_project\attach\CYCLE_25707_Copy of Final BSI TUBS 38-41_Cyclic E1.xls

java.io.FileNotFoundException

Messages:
\\Filer\its_qc10repPROD\ALM12\qc\CO0600_ITC_27\xxx_project\ProjRep\000\000\000\001\234 (The system cannot find the file specified);

QC Administrator noticed that there is a wrong repository path mentioned in DBID.XML file from project properties, existing project is removed from SA ; <PHYSICAL_DIRECTORY> tag of DBID.XML file is corrected with actual repository path, restored , verified and repaired.

 

Above issues are still existent in this project, I tried below but there is no luck

  • Remove project from SA -> Restore -> Verify -> Repair did not work in this case.
  • Smart Repository conversion did not fix this issue.
  • Repository Realignment did not fix this issue.
  • Creating a copy of the existing project failed because of repository path issues.

 

Currently we rollback the migration of this project, Users are currently using the QC10 project not the ALM 12 one.

 

Is there a way to resolve these issues or only remigration from the scratch is only option?

 

-Srihari

Customizing the Check In/Check Out popup window for Version controlled projects for HP ALM 11.5

0
0

Hello All,

 

I have a requirement of customizing the content in Check In/Check Out popup window for Version controlled projects, in HP ALM11.5.

 

i.e. For a version controlled project, when we check out or check in an entity, a window pops up. In that window we enter our change comments. I want to change the content of the window using the workflow

 

I have tried the OTA guide, but was not able to find anything. Please point me in the right direction

 

Thanks and Regards,

Paila

users table not updating

0
0

As of yesterday, we are unable to add/update/delete anything from the Users table in the Site Admin schema.  It's really weird.  Anyone have any advice?  Our DBA said he can do a rollback, but only of the whole database not just the table. 

How to hard code the "Target Release" field in Requirements Module

0
0

Hello all,

 

I want to always populate a fixed target release (e.g. Release Id = 1001) for all the new requirements created.

 

Can anyone please help me in regards to it.

 

Thanks and Regards,

Paila

SQL Server for ALM 11.52

0
0

Hi,
Currently we're on Quality Center 10.0 on Windows Server 2003 and SQL Server 2005

We're planning to upgrade to ALM 11.52 on Microsoft Windows Server 2012 R2 Standard 64 Bit system. We want to upgrade the database server SQL Server 2005 as well.
1. Does ALM 11.52 support SQL Server 2012? If it does not support, what version of SQL Server that we need to upgrade to?
2. Do we need to install Microsoft IIS 8.5 (for web server) on ALM 11.52 app server to make the auto email work?
3. Can we upgrade to ALM 12 directly from QC 10?

Thanks,
Sastry

Failed to Get Project ECSupport?

0
0

Did any of you came across this message after creating a project and trying to access the project?  Also, throws an error "Failed to Set Project Properties". Please help...

 

 


How to set user defined field as X-axis in Analysis Graph

0
0

I create "Testing Language" field as test set field. In this field, you need to select testing languages such as French, German, Japanese etc.

Now I would like to see Testing status per language. so i want to set this Testing Language field as X-axis while creating the summary graph using Graph Wizard. However, i cannot find this field in X-axis option.

Coudl you please let me know how to do it?

sequence table in ALM11.52

0
0

I have performed merge of two project where i have copied test ,testset,run,step,defect,link to a new project.

After performing the merge all data is in new project and verify works without error.

When I try to run test from testlab, I get the popup to begin the test. As soon as i click on that i got an error "Failed to copy test design".  To get rid of this error i restarted HP ALM services to remove caching if any.

 

Now my test runs without error anymore but i notice that sequence table for step seqname is getting increased by 100 whereas it should be by 1.

 

Do you have any idea? please help.

Not connect to HP ALM IIS server using Java REST API

0
0

When I am try to connect to HP Application Lifecycle Management 11.52 on Jetty Server using java REST API it works fine (Using URL:> http://HPQC-IIS:8080/qcbin).

 

Authenticate Path : http://hpqc-iis:8080/qcbin/authentication-point/authenticate
Session URL========http://hpqc-iis:8080/qcbin/authentication-point/authenticate
AUTH HEADER : {null=[HTTP/1.1 200 OK], Date=[Mon, 29 Dec 2014 11:33:00 GMT], Content-Length=[0], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[LWSSO_COOKIE_KEY=PF1TI0D__3IMvIIkkEPaf8EVA6-n1eCXyAH9ObGSk3sROV-PKKdTix_Vr6Yk37VykBjBd3l0m0WOo73LFH0o0oIJKRDvOHTtlNoO8Bd5KPF3a5b4LNS6zA4Le4vNW6RcPNFFsaeMe8Dtn-MUKIwnSyUZWpuEl97mAZtfhSxSGvJHlz4Iru4HP2V7-tctl8i9KUQe7GTTA0-tl_oOH9Occw..;Path=/], Server=[Jetty(7.5.4.v20111024)], Pragma=[no-cache], Cache-Control=[no-cache, max-age=0]}
Authentication Conn : true , StatusCode :200 : 200
StartSession : http://hpqc-iis:8080/qcbin/rest/site-session
Session URL========http://hpqc-iis:8080/qcbin/rest/site-session
SESSION HEADER : {null=[HTTP/1.1 200 OK], Date=[Mon, 29 Dec 2014 11:33:00 GMT], Content-Length=[0], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[QCSession=ODM7MnRTVzBhckNGUHdNN3NvdGY0S3R6ZyoqO1JFU1QgY2xpZW50OyA7IA..;Path=/], Server=[Jetty(7.5.4.v20111024)]}
Session Cookie 1st :: [QCSession=ODM7MnRTVzBhckNGUHdNN3NvdGY0S3R6ZyoqO1JFU1QgY2xpZW50OyA7IA..;Path=/]
Session Conn : true , StatusCode :200 : 200
AddVAPITestRun URL : http://hpqc-iis:8080/qcbin/rest/domains/DEFAULT/projects/Sample/customization/users
Session URL========http://hpqc-iis:8080/qcbin/rest/domains/DEFAULT/projects/Sample/customization/users
res.getStatusCode() : 200 : 200
RETURN DATA &colon; <?xml version="1.0" encoding="UTF-8" standalone="yes"?><Users><User Name="alex_alm" FullName=""><userAvatarCache>-1</userAvatarCache><description></description><email></email><phone></phone><UserActive>true</UserActive></User></Users>
==== STOP ========

 

But I am trying to connect to HP Application Lifecycle Management 11.52 on IIS 7.0 Web server using java REST API its give an error below (Using URL:> http://HPQC-IIS/qcbin):

 

Authenticate Path : http://hpqc-iis/qcbin/authentication-point/authenticate
Session URL========http://hpqc-iis/qcbin/authentication-point/authenticate
AUTH HEADER : {null=[HTTP/1.1 200 OK], Date=[Mon, 29 Dec 2014 11:33:44 GMT], Content-Length=[0], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Set-Cookie=[LWSSO_COOKIE_KEY=XmipV1bP330abcfjiXwzmtf7CAp3C1Vxj_WSyefTTcMqOKEpUDE8VNAZt_5ZLlcehSXfxIYb23b6RpOz4xYCCQDIYG-fJKzu54Not4cMYhG9iFsEyDNQ6lmg_Bm4nyR65hLTFLCkXEA-snpSvOFRfSknWdtTV7kkLM5TrDX9p0H8pNCP6d6rHf4S_Fj8s9B123_HUFDWPdKJrU636I0wug..;Path=/], X-Powered-By=[ASP.NET, ARR/2.5], Server=[Microsoft-IIS/7.0], Pragma=[no-cache], Cache-Control=[no-cache, max-age=0]}
Authentication Conn : true , StatusCode :200 : 200
StartSession : http://hpqc-iis/qcbin/rest/site-session
Session URL========http://hpqc-iis/qcbin/rest/site-session
SESSION HEADER : {null=[HTTP/1.1 411 Length Required], Date=[Mon, 29 Dec 2014 11:33:44 GMT], Content-Length=[344], Connection=[close], Content-Type=[text/html; charset=us-ascii], Server=[Microsoft-HTTPAPI/2.0]}
java.io.IOException: Server returned HTTP response code: 411 for URL: http://hpqc-iis/qcbin/rest/site-session
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1672)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1670)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
at com.ice.HPQualityCenter.ALMConnection.retrieveHtmlResponseUsingHTTP(ALMConnection.java:612)
at com.ice.HPQualityCenter.ALMConnection.getHTTPResponse(ALMConnection.java:571)
at com.ice.HPQualityCenter.ALMConnection.StartSession(ALMConnection.java:469)
at com.ice.HPQualityCenter.APIAlmRest.almStartSession(APIAlmRest.java:52)
at com.ice.HPQualityCenter.APIAlmRest.testAddVAPITestRun(APIAlmRest.java:73)
at com.ice.HPQualityCenter.Main.main(Main.java:32)
Caused by: java.io.IOException: Server returned HTTP response code: 411 for URL: http://hpqc-iis/qcbin/rest/site-session
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:2700)
at com.ice.HPQualityCenter.ALMConnection.StartSession(ALMConnection.java:463)
... 3 more
Session Cookie 1st :: null
Session Conn : false , StatusCode :411 : 200

Can I track the emails on audit log ?

0
0

QC 11.0

 

Defects > History > Audit Log

 

Can i find a trace of email sent on audit log generated within history of defects ?

 

If yes, kindly share the steps to enable it through Admin

How to customize a new field using client IP

0
0

 Hi, I want to use VBS to customize a field to record the currently logged in user IP address,but can not be achieved after check some information, the friend can help me?

Unable to load the login page

0
0

The login page was working fine for oneday after the installation.

I am getting a new error message from today when launching the ALM user login page at http://localhost:8080/qcbin/start_a.jsp.

 

Error dialog contains the following error message:

Failed to initialize. Please contact system adminstrator for hep.

Description: Failed initializing plugin 'QC9 Adapters'.

Unable to case COM object of type 'Mercury.TD.Client.Ota.QC9.TDConnectionClass' to interace type 'Mercury.TD.Client.Ota.QC9.ITDConnection9'. This operation failed becuase the queryInterface call on the COM component for the interface with ID '{ABA2DE60-E7A4-4D 38-B5B5-QA4D5F91705A}' failed due to the following error: No such interface supported (Exception from HRESULT: 0X80004002 (E_NOINTERFACE)).

 

I have uninstalled and reinstalled the ALM software and restarted the system. The pblm doesn't go.

 

I am using Windows Server 2008 OS and IE8 and ALM 12

 

 

Dashboard view

0
0

Hi ,

Is it possible to have a dash board view by having the following detials

 

X-axis:- Dates

Y-axis:- Test case count.

 

At present i would make dash board either with req vs test case count by adding the dates in filter part of connfiguration section. It would be good if i can get day wise test case count in a single view. Request your help.


Run Results Export as HTML with Hyperlinks to Network stored screenshots

0
0

 

I built a function that will capture a screenshot on a failure and write that to the Reporter.  Works great unless you want to export the Run Results to PDF or HTML and send out.  There does not seem to be any way to see any screenshots.

 

I also attempted to write some HTML code and put it into the report event text but it's Replacing the < and > with their HTML values.   &lt; and  &gt;

 

Any idea how I can force this html code to be written as html in the reports?

 

 

Function CaptureCurrentScreen(ProcessName)
FileName = "\\DOMAIN\DRIVE\QAdept\PNG_Files\" & ProcessName & "_" & Year(Now) & "-" & Month(Now) & "-" & Day(Now) & "-" & Hour(Now) & "-" & Minute(Now) & "-" & Second(Now) & ".PNG"
HTMLLink = "<a href=""file:///" & FileName & """> Link is Here </a>"
Window("WindowName").CaptureBitmap FileName
Reporter.ReportEvent micFail, ProcessName, "Screenshot has been stored. " & HTMLLink, FileName
End Function

 

 

Test Coverage Report

0
0


I am using following query to generate Test coverage:

Select  REQ.RQ_REQ_ID,  TPR_NAME,  REQ.RQ_REQ_COMMENT,  TEST.TS_NAME
From   REQ, REQ_COVER,  TEST, REQ_TYPE
Where  REQ.RQ_TYPE_ID = REQ_TYPE.TPR_TYPE_ID and REQ.RQ_REQ_ID =  REQ_COVER.RC_REQ_ID and  REQ_COVER.RC_ENTITY_ID =  TEST.TS_TEST_ID

generated report looks like:

 

RQ_REQ_ID    TPR_NAME    RQ_REQ_COMMENT    TS_NAME
1                         Functional       Description_1                TC1
1                         Functional       Description_1                TC2
2                         Functional       description_2                 TC3
2                         Functional       description_2                 TC4
3                         Functional       description_3                 TC5



I am looking for :

 

RQ_REQ_ID    TPR_NAME    RQ_REQ_COMMENT    TS_NAME
1                           Functional    Description_1               TC1
                                                                                                   TC2
2                           Functional    description_2                TC3
                                                                                                   TC4
3                           Functional    description_3                TC5



I am looking to group the test case testing same requirement into a cell.

Thanks for Help.

Issue while connect QC after migrating to 11.52 from Java code

0
0

Hello,

I have developed a tool in JAVA to access Quality Center version 9 through Java code.
I have used COM4J based approach to generate the Java code out of OTAClient.dll file.
The command used to generate the API -
java -jar tlbimp.jar -o hpqc -p com.qc OtaClient.dll

I have downloaded the COM4J jar from below URL -
http://java.net/projects/com4j/downloads

OtaClient.dll taken from path - C:\Program Files (x86)\Common Files\Mercury Interactive\Quality Center\

I used below code to connect to QC -

ITDConnection qcConnect = ClassFactory.createTDConnection();
qcConnect.initConnectionEx("http://myurl/qcbin");

qcConnect.connectProjectEx("DOMAIN", "PROJECT",
"USER",
"pass");

It was all working fine till we migrated to QC 11.52 version.

After migrating when I used same code to run the application - It throws below exception on line
qcConnect.connectProjectEx();

Exception in thread "main" com4j.ComException: 800403ea (Unknown error) : Failed to Login : .\invoke.cpp:517
at com4j.Wrapper.invoke(Wrapper.java:166)
at com.sun.proxy.$Proxy5.connectProjectEx(Unknown Source)

Then I used new OTAClient.dll which I got from path - C:\Users\XXXXX\AppData\Local\HP\ALM-Client\qcalm\

I got below error in line ITDConnection qcConnect = ClassFactory.createTDConnection();

Exception in thread "main" com4j.ExecutionException: com4j.ComException: 80004002 QueryInterface failed : No such interface supported : .\com4j.cpp:163
at com4j.ComThread.execute(ComThread.java:203)
at com4j.Task.execute(Task.java:25)
at com4j.COM4J.createInstance(COM4J.java:97)
at com4j.COM4J.createInstance(COM4J.java:72)
at com.qc.ClassFactory.createTDConnection(ClassFactory.java:16)

Please help me how to resolve the issue.
- Do I need to use new COM4J library?
- If we can use REST also to fetch defect from QC, please let me know where will I get the REST API Client for the QC.

Any help is appreciated.

Thanks,
Jyoti Balabantaray

Need REST URL to fetch all defects assigned to someone

0
0

Hello,

 

Kindly let me know QC REST URL to fetch all the defects which assigned to some name (i.e assigned to QC_SUPPORT)

 

And also the REST URL to fetch the defecst created in certain date range (i.e 1 dec 2014 to 31 dec 2014)

 

Please help.

 

Thanks,

Jyoti

Workflow: getting father requirement objects from Req_FieldChange

0
0

In WorkFlow, Script Editor

 

I am trying to implement to update a certain field of father requirement when a certain field of child requirement is changed.

I wrote a macro as below. however, I am trying to get the father requirement by using ReqFactory Item, i received an error message in the red marked parts that i need an object. coudl you please help me on this?

 

<CODE>

 

Sub Req_FieldChange(FieldName)
' On Error Resume Next

if FieldName = "RQ_REQ_STATUS" and Req_Fields (FieldName).value = "Passed" then
      Update_Father Req_Fields ("RQ_FATHER_NAME").value
end if
' On Error GoTo 0
End Sub


Public SubUpdate_Father (RQ_FATHER_ID)

' Get the requirement Factory.

 

Dim rFact 'As ReqFactory

Set rFact = TDConnection.ReqFactory
Dim father_req 'As Req
Set father_req = rFact.Item(RQ_FATHER_ID)
father_req .Field("RQ_USER_07").value = 5

 

End Sub

 

Viewing all 5491 articles
Browse latest View live




Latest Images