Hi
What is limiting you from having two slots, one for each Test-set?
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.
Hi
What is limiting you from having two slots, one for each Test-set?
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.
You may want to have a look at this page that lists the key features and limitations of the community edition of Quality Center, which is free but limited to 5 named users and has limited functionality.
This page is about QC trials. That's where you would start to download a trial version.
It looks like the system or technical requirements for installation are not available at this time (this link does not work for me: https://hpln.hp.com/page/alm-qc-enterprise-technical-specifications). You may have to use some install switches to install on WIndows 7, as this software is intended to be installed on server versions of Windows.
What do you mean by "current domain and project" ?
If you let ALM/QC choose the database for you when you created the project and if the domain and project names are not too long, you can ask for the database name with SELECT user FROM DUAL (Oracle) ot SELECT DB_NAME() (SAL Server).
Under all the above conditions the answer should be domain_project_db.
Hi
Not so quick as it seems :-)
The reason is that the projectdatabase itself have no reference back to Siteadmin-database. This way the project itself can be renamed or moved to another domain without making any changes in the database. This feature is also used when reading back database backups to a new project with a different name.
So we have to go the way through the database engine and check the current database. The following should work for SQL-server.
SELECT DOMAIN_NAME, PROJECT_NAME FROM SITEADMIN_DB.TD.PROJECTS WHERE DB_NAME IN (SELECT DB_NAME());
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.
Sorry about the lack of info!
I am running an excel report from within the analysis module pulling a bunch of stats. I would like to put at the top of the report the name of the project, so the QC domain is "NORDIC" and the project is called "MODEL" and I am looking for a SQL select statement that returns these two bits of information.
Thanks, the DB_NAME() function is close enough, Given that the domain won't change I can parse the output from db_name
<edit>
specifically. ... UPPER(RIGHT(LEFT(db_name(),LEN(db_name()) - 3),10))
and I thought this one was going to be easy!
</edit>
Hi,
My company wants to explore using SSO for our ALM instance. I see from the ALM documentation that ALM "officially" only supports CA SiteMinder for SSO authentication. However what about "unofficially"? At my company we use ADFS for web based SSO, so we support SAML 2.0 which is the standard for federation. Would those options work? Has anyone out there tried them? Please advise.
Best regards,
Mark
Mark.Herbert@DignityHealth.or
Tanmay
This can't be done but allow me to explain why.
If you select a folder, either a folder of Tests at the Requirements module, or a folder of Reqs from the Test Plan module, you can add them all.
What we need is an array of Tests or Reqs to be added.
To give you a better idea about this click on the “Test Lab module script”, then click on either the “TestSet_CanAddTests” or “TestSet_CanRemoveTests”
You’ll see in that function this…
Function TestSet_CanAddTests(Tests)
Function TestSet_CanRemoveTests(Tests)
See that object “Tests” in both functions? That is an array object. It contains a the tests to be added/removed from the test set.
We need something like that in similar functions. In the Req module script, hypothetically…
“Function Req_AddCoverage(Tests)”
“Function Req_RemoveCoverage(Tests)”
Then in the Test Plan module script, hypothetically…
“Function Test_AddCoverage(Reqs)”
“Function Test_RemoveCoverage(Reqs)”
Like the Test Lab function that does exist we could use a UBound function to check how many Tests or Reqs the user is attempting to add.
An enhancement to ALM would have to be honored to include such functionality and it would be at version level. Something like this is outside of scope for patch level.
Phil
Tanmay,
We are able to do this but it is a bit involved to get things going.
First, add a User Defined Field to the Run entity. In this example we'll call it RN_USER_01. Specify a field label. In my case I used "Test Set ID".
Then, in workflow, in the Toolbar Button Editor, select the "Test Lab" from the "Command Bar" drop down.
Add a button, save it, select an icon for your button, whatevery you like, then save again.
While in this view note the value for the "Action Name in workflow". It will be something like "UserDefinedActions.TestLab_Action1". Copy this name to a notepad as we'll use it again in a moment.
Click on the "Script Editor" tab, then select the Workflow Scripts>Project Scripts>Common script>ActionCanExecute
Once in this function add the following code. I"m including the Function name and End Function in the code below to give you context...
Function ActionCanExecute(ActionName)
'Use ActiveModule and ActiveDialogName to get
'the current context.
If ActionName = "UserDefinedActions.TestLab_Action1" Then
Set rFact = TDConnection.RunFactory
Set rList = rFact.NewList("")
For Each rItem in rList
rItem.Field("RN_USER_01") = rItem.Field("RN_CYCLE_ID")
rItem.Post
Next
End If
ActionCanExecute = DefaultRes
End Function
If you have a different field than RN_USER_01 be sure to specify that field name appropriately.
Save your changes, return the project, and select the Test Lab module.
Find your icon that you added in the toolbar and click it. The workflow is going to populate every run with the value for the Test Set ID. This might take a while but let it finish. Monitor the activity in the lower left corner of the ALM GUI. When it stops you'll know its complete.
At this point you can build your Analysis graph for Runs and group them by Test Set ID, or filter, etc
I know, a bit lengthly, but it does work.
Phil
For all it's worth, I get the same error. Haven't figured out a fix yet,
This is the exception I get.
Name:
From: file:///C:/Program Files/Hewlett-Packard/Addins/HP.ALM.ExcelAddIn.vsto
************** Exception Text **************
System.Deployment.Application.InvalidDeploymentException: Exception reading manifest from file:///C:/Program%20Files/Hewlett-Packard/Addins/HP.ALM.ExcelAddIn.vsto: the manifest may not be valid or the file could not be opened. ---> System.Deployment.Application.InvalidDeploymentException: Manifest XML signature is not valid. ---> System.Security.Cryptography.CryptographicException: SignatureDescription could not be created for the signature algorithm supplied.
at System.Security.Cryptography.Xml.SignedXml.CheckSignedInfo(AsymmetricAlgorithm key)
at System.Security.Cryptography.Xml.SignedXml.CheckSignatureReturningKey(AsymmetricAlgorithm& signingKey)
at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
--- End of inner exception stack trace ---
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
Doesn't look like this is possible through the API.
Take a field such as Defect Status. This uses a lookup list which resides in the LISTS table.
The API is only able to get lookup lists which point to this table and the TS_TYPE doesn't pull from here.
It might be easier to also see this from the databases by issuing the following query...
select sf_table_name, sf_column_name, sf_root_id from system_field where sf_column_name = 'TS_TYPE' or sf_column_name = 'BG_STATUS'
The TS_TYPE will have a null for the sf_root_id where the BG_STATUS will have a numerical value. This value points to the LS_ID field in the LISTS table. Another way to view is to issue these two queries...
select * from td.lists where ls_id = (select sf_root_id from td.system_field where sf_column_name = 'BG_STATUS')
select * from td.lists where ls_id = (select sf_root_id from td.system_field where sf_column_name = 'TS_TYPE')
The TS_TYPE actually pulls the type from the ENTITY_SUBTYPES table.
Given all this the best approach might be to use the "command" object in the API to query the ENTITY_SUBTYPES table and populate a recordset object (also in the API) and iterate through the recordset to get the test types. The query to use in the command object's "commandtext" property is...
select * from ENTITY_SUBTYPES where EST_ENTITY_TABLE_NAME = 'TEST'
Use the Command object's Execute method to populate the recordset object with the test types.
Phil
Dear Support,
I am trying to add a new defect in QC using OTA API. Below is my code. Connection is happenning properly but it's throwing System.ArgumentException: ReleaseSemaphore failed. at TDAPIOLELib.IBugFactory2.AddItem(Object ItemData) in line 10 (bugFactory.AddItem(null)). Can you please tell me what could be the reason? I am using .NET framework 4.5 and C# for code development.
string qcUrl = "http://xx.xx.xx.x:8080/qcbin";
string qcDomain = "XXXX
string qcProject = "TestProject";
string qcLoginName = "testuser1";
string qcPassword = "testuser1";
TDConnection connection = new TDConnection();
connection.InitConnectionEx(qcUrl);
connection.ConnectProjectEx(qcDomain, qcProject, qcLoginName, qcPassword);
BugFactory bugFactory = connection.BugFactory;
Bug bug = bugFactory.AddItem(null);
bug.Status = "New";
bug.Project = "TestProject";
bug.Summary = "This bug has created using eZscript";
bug.DetectedBy = "John";
bug.AssignedTo = "Dave";
bug.Priority = "Low";
Thanks for your support.
Regards,
Rajeev
Hi,
Did anybody of you figured out what is the cause of this issue and what is the resolution.
This example/code works for duplicating the folder structure from Test Plan to Test Lab ONLY where Test Cases exist under folders in Test Plan. This is because it is based on the For Each ActTest in MyTestList loop found in CopyToLab().
It is suggested, within the thread comments, herein, that removing the Test Set and Test Case creation steps will allow the folders, alone, to be created. That only works if Test Cases exist within the folder (or, a lower folder in a path under the folder). However, it will not work to create a folder for any folder that does not have a Test Case somewhere in its path, or lower.
Can you suggest a way to copy the folders, regardless of Test Case existence, from the Test Plan to the Test Lab module?
Thanks!
This example/code works for duplicating the folder structure from Test Plan to Test Lab ONLY where Test Cases exist under folders in Test Plan. This is because it is based on the For Each ActTest in MyTestList loop found in CopyToLab().
It is suggested, within the thread comments, herein, that removing the Test Set and Test Case creation steps will allow the folders, alone, to be created. That only works if Test Cases exist within the folder (or, a lower folder in a path under the folder). However, it will not work to create a folder for any folder that does not have a Test Case somewhere in its path, or lower.
Can you suggest a way to copy the folders, alone, regardless of Test Case existence, from the Test Plan to the Test Lab module?
I'd like to just be able to just pick a folder in the Test Plan module and have the Copy function copy it, and all its subfolders, to the same location within the Test Plan module.
Thanks!
Hi
I need to undo checkout on some business compoents but ALM won't let me. Throws an error "Closure Fuse exceeded". ALM 11.52.
QC log says:
com.hp.alm.platform.exception.CTdException
Messages:
Closure Fuse exceeded ; Closure id 131129 for feature MANAGE_VERSION has exceeded size limit fuse of 2250 for entity ASSET_REPOSITORY_ITEMS;
Stack Trace:
com.hp.alm.platform.exception.ClosureFuseExceededSizeException: Closure id 131129 for feature MANAGE_VERSION has exceeded size limit fuse of 2250 for entity ASSET_REPOSITORY_ITEMS
at com.hp.alm.platform.closure.Close
How can I do this via the UI?
I can run 'DELETE FROM td.VC_COMPONENT' but that is a last resort.
Please help
Hi,
I am new to HP ALM 12.00 as a SAAS.
I would like to copy test steps but when I click on the 'Copy Steps' button I get an error 'The URL data object is invalid.'
Has anyone else experienced this issue?
Regards,
mickcl
Hey,
There are two solutions for this linked here ( one of them is mine, the better one is not! )
You probably want to run this as two reports, one for linked defects and one for unlinked.
You can use a UNION statement if you have the same number of columns.
Ed.
Hi All,
I am using Sprinter for the first time. I have installed Sprinter 12.53, ALM 12.20 , IE 11 and UFT 12.52 in the machine.Am able to create a test and record the actions as the steps in ALM and able to pull the testcase in the Run mode.But getting error as "Run session cannot be started - Unspecified Error" while executing test case.
Have found following exceptions in the Sprinter Log file:
Kindly let us know whether we are missing something or have to change any confirguration settings.
Note: Have tried with notepad application also. But No luck.
Thanks in Advance.
Hi there,
I am an ALM Admin and I removed a user from a user project in ALM Site Administration, then I added the user back to the user project.
I did this because the user was unable to access the project and I thought that maybe removing and adding her to the project would fix it.
It did fix it, however, in the process of removing her from the project, she also has lost all the favourites she has saved in the Defects tab.
Is there any way of getting those favourites back for her?
Thanks,
Suraj