[hemmerling] Application Lifecycle Management ( ALM ) 1/2

Hewlett-Packard 1/2

ALM Portefolio

Hewlett-Packard "ALM Octane"

The Tool

Resources

  • It feature a “Behaviour Driven Development” process for the test definition, test generation and test execution. So you write “user stories” and descibe “scenarios” and “features” by such phrases “As a user, I want to..”.
  • There is no textual script language neither on the ALM host nor on the ALM client ( i.e. no Python, no PowerShell ), in opposite to ALM.NET with its VBScript automation option. “ALM Octane” is designed like a web service.
    • The only chance for external test automation and excecution is by calling an URL by the “Call URL” option. By the HTML header, parameters may be passed. The called webserver my return some value to the ALM.
    • There is a ( currently quite limited ) graphical workflow system for ALM automation on the ALM host.

"ALM.NET" aka "Hewlett-Packard Quality Center" ( HPQC ) - Commercial Edition and free "HP Quality Center Community Edition"

The Tool

Online Services

Hewlett-Packard Quality Center as Cloud Service
The "Mercury Tours" Demo

Download of the free "HP Quality Center Community Edition"

The Tool
  • Hewlett-Packard "ALM Software Trials and Demos", Hewlett-Packard "Quality Center Enterprise Trials" - The free 64-bit Java application “Quality Center Community Edition” is available for download. Features:
    • ALM Desktop Client Modules ( strike-through = just available with the commercial edition, not available with the community edition ):
      • Dashboard.
        • Analysis View.
        • Dashboard View.
      • Management.
        • Releases.
        • Libraries.
      • Requirements.
        • Requirements.
        • Business Models.
      • Testing.
        • Test Resources.
        • Business Components.
        • Test Plan.
        • Test Lab.
        • Test Runs.
      • Defects.
    • ALM Web Client Modules:
      • Requirements.
      • Defects.
    • Limited to 5 named users.
    • Free for unlimited time.
    • Import of project export files ( .qcp ) is disabled :-(, while you may export projects indeed. See below in section 'How to install the Demo Projects “DEMO” and “LAB_PROJECT”' how to import projects :-)
Add-Ins shipped with the free "HP Quality Center Community Edition"
Add-Ins for the free "HP Quality Center Community Edition"
Add-Ins just for the commercial Edition of "HP Quality Center" or which require additional commercial Software
Add-Ins which require Download Permissions
History
  • The free “HPQC Community Edition 12.20”, released 2015-01-15 is for 64-bit Windows and 64-bit Linux only. For Windows, there is just a directory “Z:\ALM_Win64”.
  • The just-commercial “HPQC 12” for 64-bit Windows and 64-bit Linux only, released 2014-02-10, doesn´t offer a community edition license. For Windows, there is just a directory “Z:\ALM_Win64”.
  • The just-commercial “HPQC 11.52” is the latest edition with 32-bit support for Windows and Linux. It doesn`t offer a community edition license. For Windows, there are 2 directories “Z:\ALM_Win64” and “Z:\ALM_Win32”.
    • As shipped it installs properly on Win7Pro.
    • Installation message: “Database Server: MS-SQL server must be installed in the same server machine as ALM server. If it is not installed on the machine, download MS-SQL Express 2008... Important Note. While installing MS-SQL Express, set 'SQL Instance' to 'Default' and 'Authentification mode' to 'Mixed'. After the installation has completed, run the SQL Server Configuration Manager from start menu and set TCP/IP to 'Enabled'. Make shure that MS-SQL server is running, then click 'Configure Database'”.
    • Error Message “The wizard could not determine if MS-SQL Express is installed on this machine. If MS-SQL Express is installed on the machine, make shure that it is configured using the 'Default', and not the 'Named' instance”.
  • The just-commercial “HPQC 11” and “HPQC 9.2” just accept Win2003 Server and Win2008 Server. They refuse to install on Win7:-(
Documentation
  • The current documentation is available within HPQC at the “Site Administration”.
    • Login at “Site Administration” by your Internet browser.
    • Select the menu item “Help / ALM Help”.
    • Select the menu item “ALM Help Guide”. Most help is available both as local HTML help and as PDF. Tip: Download the PDFs and keep it at a safe place, to have valuable information even if HPQC is not running.
  • “HP ALM Administrator Guide”: “You can import data from exported ALM project files created in the same ALM version” :-(. “You can also import data from customized projects created by content providers....”. “Projects greater than 2 GB cannot be imported” :-(. “They must be imported in sections”.

Installation

System requirements
  • Host operating system: 64-bit Windows Server 2008 / 2012 or 64-bit Red Hat / Oracle / SUSE Linux.
  • Host database: Microsoft SQL Server 2008 R2 / 2012 or Oracle 11.2.0.3 / 11.2.0.4 / 12.1.0.1. The application is not shipped with a free edition of any of the SQL servers, so you have to setup a suitable database server by your own, before, properly.
  • CLient browsers: Microsoft Explorer, Firefox ( Win, Linux ), Chrome ( Win, MacOSX ), Safari ( MacOSX ).
Possible Installation Failures
  • On 32-bit computers, running Win7/Win8 and Java8, the installation aborts with the error message
    LaunchAnywhere Error. Windows error 216 occured while loading the Java VM
  • On 64-bit computers running Win8Pro and Java8, the installation aborts with the error message
    Installation Error. ERROR: This machine's operating system is not supported and recommended ALM (2.20) server. The installation cannot continue.
  • You may not install 2 different versions of HPQC on the same computer. If you try, the installer aborts with the error message
    Installation Error. THe installation cannot continue. A newer ALM version is already installed on this machine
Installation Process, Part 1
  • Install “Microsoft SQL Server Express 2014”, if not already done. Tips for suitable configuration see infos below about the HPQC installation process.
  • Configure “Microsoft SQL Server Express 2014” properly for use with HPQC, by activation of TCP/IP.
    • Call “Microsoft SQL Server Configuration Manager”, connect to the SQL server
      • Set “SQL Server Network Configuration / Protocols for SQLEXPRESS / TCP/IP / Protcocol / General / Enabled= 'Yes' ”.
        • Set “SQL Server Network Configuration / Protocols for SQLEXPRESS / TCP/IP / IP Addresses / IPALL”.
          • “TCP DynmicPorts = ''”.
          • “TCP Port = '1433'”.
      • Restart “SQL Services / SQL Server (SQLEXPRESS)” by mouse-rightclick “Restart”.
  • Installation on 64-bit computers running Win8Pro and Java8:
    • Mount the ISO image.
    • All files are read-lonly. If you try to unset the “Read-only” attribute, even as Windows systemaccount “Administrator”, there is the error message
      Access Denied. You will need to provide administrator permission to change these attributes
    • Therefore, please copy the contents of the ISO image to a directory on a local drive.
    • Modify the file “Z:\ALM_Win64\validation.xml”
      • From '<os enabled=“false”/>' to '<os enabled=“false”/>' to run the application on the unsupported operating system “Win8”.
      • From '<db-supported=“false”/>' to '<db-supported=“false”/>' to use the application with an unsupported database, e.g. “Microsoft SQL Server Express 2014”.
    • This is the file “validation.xml” with proper modifications
      <validations>
      	<os enabled="false"/>
      	<memory enabled="true" threshold="8"/>
      	<installation_disk_space enabled="true" threshold="8"/>
      	<db-supported enabled="false"/>
      	<license-key enabled="true"/>
      	<repository enabled="true"/>
      </validations> 
      
  • By calling “Setup”, you load the interactive menu “Application Lifecycle Managment Platform 2.20”.
    • By selecting “ALM Platform”, the software is installed.
Installation Process, Part 2, by "HP ALM Server Configuration Wizard
  • After the software installation, you configure now the application by “HP ALM Server Configuration Wizard” ( “Z:\ALM_Win64\ALM_installer.exe” ). You may restart the “HP ALM Server Configuration Wizard” at any time.
  • Installation process, step “License Key”: Enable ”[x] Use Evaluation Key” and select “QC Community”.
  • Installation process, step “Database Server”:
    • “Database Type”.
      • (x)“MS-SQL (SQL Auth.)”.
      • ( )“MS-SQL (Win Auth.)”.
      • ( )“Oracle”.
    • “Database Connection”:
      • (x) “Database Parameters”.
        • “DB host name” → In COMMAND.COM, execute the command “hostname”. This is not the “Server name” ( $hostname”\SQLEXPRESS” ) of “Microsoft SQL Management Studio”!
        • “DB port number” → 1433 is the given default.
        • At this point, without modified file “validation.xml”, the use of “Microsoft SQL Server Express 2014” is rejected by the error message
          Error. ALM Server does not support this database version
          • You may restart the “HP ALM Server Configuration Wizard”, after modification of “validation.xml”.
      • ( )“Connection String”, default:
        jdbc:mercury:sqlserver://%HOST_NAME%:1433
    • “Database Administrator”.
      • “DB admin user name” → Must be “sa” for Microsoft SQL Server Express.
      • “DB admin password” → I select “123456789012”, as “Microsoft SQL server 2014 Express” requires a password in mode “SQL Authentification”.
  • Installation process, step “Select Action* - Select the default action “Create a New Scheme”.
    • “SA Schema Details.
      • “Schema name”: “qcsiteadmin_db”, the given default name.
      • “Schema password”: → I select “123456789012”. This is the password for the user “td” of “Microsoft SQL Server”.
  • Installation process, step “Confidential Data Encryption” - ”[x]Use default value(unsecure)”.
    • “Communication Security - Enter passphrase with at least 12 characters for secure communication.
    • “Communication security passphrase” / “Repeat Communication security passphrase” - “123456789012”.
  • Installation process, step “Site Administrator User. Type user name and password to be used when logging in the Site Administration. This is not the same as the Site Administration database scheme name and password”.
    • “User name” → I select “sa”.
    • “Password” → I select “123456789012”.
  • Installation process, step “File Repository Path” → “C:\ProgramData\HP\ALM\repository” is the default value.
  • Installation process, step “Application Settings”.
    • “Deployment Path. Enter the path under which the application server is deployed. This path is also used for storing data and ALM server logs” → “C:\ProgramPath\HP\ALM” is the default value.
    • Web Server. Server HTTP Port” → “8080” is the default value.
  • Installation process, step “HP ALM Service. Type Your Windows login user name, password, and domain to enable HP ALM Server to run as a service using your local network. If you do not specify a user account, the local system account will be used to run the HP ALM Service. In this case, HP ALM Server will not have access to files over the network”.
    • “User name” → I select ””.
    • “Password” → I select ””.
    • “Domain” → I select ””.

Important URLs for local HPQC Operation

Enable Network Operation

Assign a Full License to a named User

  • With your browser, call the “HP Application Lifecyle Management. Quality Center” website ( e.g.http://localhost:8080/qcbin ).
  • Login at “Site Administration”.
  • Select the tab “Licenses”, and within that tab the tab “Named Licenses”.
  • In the column “Site Users”:
    • Select a user ( e.g. “sa” ), so that the field of the user is highlighted.
    • Then double click on the username, or click on the green arrow ( ”⇐” ).
    • Press on the blue “Save” button, which shows a legacy diskette. Don´t forget to save!!
  • By this, one of the 5 licenses is now assigned to a named user.

Login

  • Login without assigning a “Full License” to the user:
    • By “ALM Web Client” - works √.
    • By “ALM Desktop Client” - fails, by the error message
      Warning. No licenses are available for any modules
  • Login after assigning a “Full License” to the user:
    • By “ALM Web Client” - works √.
    • By “ALM Desktop Client” - works √.

How to install the Demo Projects "DEMO" and "LAB_PROJECT"

DEMO
  • HPQC 12.20 is not shipped with a demo project. Please download the project file “ALM 12.20 ALM_Demo.qcp” at HP Live Network "ALM Demo Project".
  • In opposite, the ISO images of “HPQC 11.52” and “HPQC 12” are shipped with a demo project, at “Z:\ALM Demo_Project”.
  • Is this the HPQC project for the “Mercury Tours” Demo ?
LAB_PROJECT
  • If you install the HPQC trial version, there is an additional project not available with the HPQC Community Edition already mounted in the database: LAB_PROJECT.
Resources
  • Remember, Hewlett-Packard promises in its official documentations: “You cannot import Quality Center project export files (.qcp files) to Quality Center if they were created in an earlier version of Quality Center” :-(.
HPQC Community Edition
  • Unfortunately, with the “HP Quality Center 12.20 Community Edition”, the import of project export files ( .qcp ) is disabled :-(.
HPQC Trial Version
  • The database files “demo_demo_db.mdf” and “demo_demo_db_log.ldf” of the project DEMO is at “C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA”.
  • If necessary to be able move the database files, please shut down the service “SQL Server (SQLEXPRESS)”.
Import of the DEMO and LAB_PROJECT Projects into the HPQC Community Edition
  • Install HPQC Trial editon.
  • Shut down the HPQC Trial server.
  • Move the files of the directory of SQL Server, e.g. “C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA” to a special directory.
    • “demo_demo_db.mdf”.
    • “demo_demo_db_log.ldf”.
    • “default_lab_project_db.mdf”.
    • “default_lab_project_db_log.ldf”.
  • At the “Microsoft SQL Server Management Studio”, login by Windows Authentication and delete the database “qcsiteadmin_db”. This database contains the expireing trial license.
  • Install HPQC Community editon, by ”(x) Yes, I want to keep all current settings”.
    • Create the domain “DEMO” and the projects “DEMO” and “LAB_PROJECT” within the domain “DEMO”.
  • Shut down the HPQC Community Edition server.
  • Renaming. The filenames of the copied files must match the ones created by the software application, sometimes the file name is not “demo_demo_db.mdf”, but e.g. “demo_demo_db0.mdf”.
    • Rename “default_lab_project_db.mdf” to “demo_lab_project_db.mdf”.
    • Rename “default_lab_project_db_log.ldf” to “demo_lab_project_db_log.ldf”.
  • Copy now the files from the spechial directory into the DATA directory of SQL Server, e.g. “C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA”. Check the filenames.
  • Activate the HPQC HPQC Community Edition server.
  • See

First Steps

  • Create a new domain.
  • Create a project.
    • With my “HPQC” & “MS SQL Server” installation and configuration, I get the error message
      Some of the database servers do not have the text search feature enabled.
      After this process completes, you can enable the text search in the DB Servers tab and then click the Enable/Rebuild Text Search button for this project from the Site Projects tab.
      

Using "HP Screen Recorder"

  • Server address: ”http://localhost:8080/qcbin”.
  • The screen recorder must be connected to an active HPQC project ( mouse-rightclick “Activate Project” ). If there is more an one active project, you may select a certain project ( “Domain”, “Project” ), when connecting to the ALM/QC server. The screen recorder may detect if there is not even a single active project. If so, it gives feedback by the error message:
    Warning. There are no associated projects. Please contact your project/site administrator.
    
  • If you didn´t assign the a “Full License” to the user ( e.g. “sa” ) to , then the use of the screen recording application is refused by the error message
    ALM/QC. You don´t have a valid license to connect to ALM/QC. The application will be closed
    
  • The video data is stored at “C:\Users\<username>\Documents\HP Screen Recorder Movies”.

Free Trainings

Online
Videos

Legacy Documentation & Legacy Software Downloads

Resources

Forums and Newsgroups

Appropriate OpenDirectory Directory Pages

 
en/alm.html.txt · Last modified: 2017/10/20 12:58 (external edit) · []
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki