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

Send mail if field value is change, the field type is user list.

$
0
0

Hi,

 

In requirement module, I created a new user list type field.

 

 

I want to do that if the field value changed to other username, then send mail to the new username.

 

I writed below workflow, but it does not work...

Sub Req_FieldChange(FieldName)
  On Error Resume Next

     If FieldName= " RQ_USER_12 " then
              strEMail=TDConnection.Customization.Users.User(Req_Fields.Field("RQ_USER_12").Value).Email
          strEMail, "", 0, "The username of Demand Manager was changed"& _
          " for project " & TDConnection.DomainName&"/"&TDConnection.ProjectName
     End if

 

  On Error GoTo 0
End Sub

 

Thanks.

BR,

Derek


HP ALM session disconnects very frequently in less sthan 10 minutes

$
0
0

We are using HP ALM 11.5x verison.  Our sessions have suddenly begun to disconnect very refquently.

 

we have even tried to update the 'WAIT_BEFORE_DISCONNECT' parameter in site administration, but no use.

 

OTA QC : How to get Testset/Testset Folder of a test selected in the TestPlan at first.

$
0
0

Hi everyone,


I'm develloping a tool in AutoIT for a project at work and I'm a little bit stuck with the API.

It could be long to explain all the requierements but basicaly it's a test launcher with a lot of "other actions outside of QC".

 

So far I've managed to :

- Get the list of test contains in defined foldef in the TestPLAN

- Get the INSTANCEID (2 to 4 in my case) of a selected test.

 

And i'm stuck with that ID... I would need at the end to be able to see all the TestLAB Folder where a selected test from the TestPLAN is used, and then run my test and update status/Comment/... in this folder especialy.

 

TESTPLAN > Select a test > Get InstanceID > Return TestLab Folder(???)



Kind of the same function that is available in QTP when you start a test, you can select on which instance you wanna launch it.

 

 

blablabla connection...

Global $IDTest=$Testset.name ;the name of the test

;Finding the TestINstance for that test
Global $findinstance=$tdc.TestSetTreeManager
	Global $Fol=$findinstance.root
	Global $lis=$Fol.FindTestInstances($IDTest)
	Global $con=$lis.count

		For $t=1 To $con
			Global $InsItem=$lis.item($t)
			Global $InsName=$InsItem.ID
;Result is ID of the instance
		Next

 

 

Can't remove user from group using OTA api

$
0
0

Hey,

 

I'm trying to remove a user from a group that he's a member of.

I'm familiar with the OTA api but seems that I'm missing something.

 

I'm using RemoveFromGroup function which is part of the OTA api but the scrit won't effect nothing.

Here's a part of my code:

 

For Each x In Users
   If ShouldBeDeleted = True Then
      x.RemoveFromGroup(QCGroupList(i))
   End If
Next

 

I've used MsgBox to debug both values :  x and QCGroupList(i) and both are totally fine and match what I'm expecting.

After running the code (without any errors), nothing changes and the user is still at the group.

 

Is there any reason that this function won't work?

Defects History

$
0
0

Can we see the history of changes for following fields in ALM Defects

 

Priority

Responsibility

Urgent issue! Cannot push code from template to project

$
0
0

Hi,

 

We have an urgent issue with ALM 11. We have a template project, with 3 normal projects linked to it. The problem is that when I go to the "Cross Project Customization" tab, I get the following error message:  "Failed to Get Template Linked Projects" and no linked projects are shown in the list, so I cannot push any code to the project.

 

Does anyone have an idea how I can solve this? I need to do some bug fixes, but as I can't do any push to the projects I can't fix any bug.

 

Is it possible to unlink a project from a template and link it again without any data loss?

 

Thanks!

Using multiple calls to sub-test with different parameters

$
0
0

Hi,

 

I have a test that calls several times a sub-test as following:

 

Execute task A

   L Call "282_Inform via email" (rcpt: "userX", subject: "task A is completed")

Execute task B

   L Call "282_Inform via email" (rcpt: "admin", subject: "task B is completed successfully")

 

The fact is that whenever I will create the run, parameters for "282_Inform via email" will only be presented ONCE. This means that calling 2x the sub-test doesn't permit to specify different parameters.

 

Any workaround (except creating different sub-tests?).

 

Bests

How to read test cases from Word document ?

$
0
0

Hello All,

 

It is a bit confusing, so in short need to know how word addin for alm works, reads test cases from word document and then update to ALM.

 

I am trying to find a way how to read bookmarks in MS word addin.

 

So basically i do need code or logic how ms word addin read test cases from word document and import it to ALM.

 

I need to read Text from document containing test cases and put them into different variables. Like if there is a folder bookmark created by word addin in word document how can i read / copy that text name to variable?

 

 


Unable to display the requirement tree control text for REQ.RQ_REQ_PATH

$
0
0

I used the Query Builder to enter the following query:

 

SELECT REQ.RQ_REQ_PATH AS "Path", REQ.RQ_REQ_NAME AS "Name"

FROM REQ

 

And reeived the following MS excel output:

 

Path                                  Name

AAA                                  Requirements

AAAAAJAADAAYAAB      Req-275

 

Is there a way to cast the REQ.RQ_REQ_PATH field so that the actual Reqirement tree control text appears in the first column of the MS Excel report?  We are using MS SQL server for our ALM backend.  Any help you could provide would be greatly appreciated.

Download and Attach test data & test results respectively to QC

$
0
0

I need to Get the Attachment from a test case and upload snap shot to a test instance using REST API. I am using Selenium test framework in JAVA.. Can some one tell how to do that ?

ALM 11.52 Installation Issue

$
0
0

Hi,

 

I am Installing ALM 11.52 on SQL 2008 + windows 2008r2.

 

In the ALM platform configuration wizard, on "HP ALM Platform Service" tab, after entering the username, password and domain, I am always getting error:

 

"you must run installation with the same username that is used to run alm as a service "!!

 

I am using windows authentication for SQL, and also, for logging in sql server, windows authentication is used.

 

the user has admin previleges on sql server and on my machine as well.

 

am i missing on something?? please help !

 

since i had to cancel the configuration wizard , so can i start the configuration by clicking on repair before configuration wizard opens up or i should uninstall it and then re try the configuration??

 

regards,

Rishi

HP ALM - Can I call Custom scripts (workflow scripts) via REST API ?

$
0
0

A would like to call my customized workflow scripts over REST API. Do you think is it possible? How?

Thanks!

Is there a way to restrict a folder in Test Resources to a specific group?

$
0
0

Is there a way to restrict a folder in Test Resources to a specific group?

 

We have a group of users who need to test security functions.

They want to create a folder and resources under test resources module and restrict its access to their team.

They prefer it be hidden from all other users, if possible.

 

Is this possible?

If so, how?

Drag and Drop Camera function not working on Window 8?

$
0
0

The function working okay on my previous laptop on Window 7 but since I have window 8 the drag and drop no longer capturing screen print?

 

Help please.  thanks

ALM Module Type Definitions

$
0
0

Question: Where can I find a clear list of definitions for ALM new requirements, new tests, and new test-sets?

 

Test Set Example: What are the differences between the following test-set types?

 

  • Performance
  • Functional
  • Default

Requirements Example:  What is the difference between a 'BR Scenario' and a 'UC Flow' requirement type.

 

* I am somewhat new to some of these terms, so please bare with me as I respond.  Thanks!


How to mass undo check out entities before ALM 12 upgrade from backend without users

$
0
0

Here is my technical situation,

 

I have some Version controlled project in ALM11 and trying to upgrade to ALM12.

But due to checked out assets/entities upgrade could not run.

 

Is there are a bunch of SQL queries (MS SQL 2012) to run which would Undo Check out the assets/ entities from backend safely.

 

Pls note: (Safe means)

 

1. No Project Corruption occurs later

2. Upgrade process runs smoothly post execution of the SQL queries.

 

pls provide the Advanced DDL statements..... SQL queries complete....

 

If there is an API approach.....do share that....

 

How do i import formatted requirement description using OTA

$
0
0

How do i import formatted requirement description using OTA

 

currenltly i am using fowlloing to retrive

MyReq.Field("RQ_REQ_COMMENT")

but it is only returning plain text ..

 

 

P.S. This thread has been moved from HP Support Center (Website) Feedback & Suggestions to Quality Center Support and News Forum. - Hp Forum Moderator

Reset project content for Training

$
0
0

Dear all,

My teams want to use a clean project fo each training.

So each time a training has been done, I would like to know if I can clear data created by trainee and so reset project content.

In this case I will avoid deleting project and create it again from template.

Any ideas to help gain time.

Thnaks a lot by advance.

Best regards

Rebecca

Workflow: Referring Selected Item in Grid

$
0
0


Hello,

I would like to perform a certain action on the selected requirement in Grid view.
is there anyway to recognize the selected requirement in Grid view in Workflow scirpt?

Thank you,
Esti

failed to upgrade project step 26 of 27 what are upgrade_flow_script processes

$
0
0

We are finally upgradign from QC10 to 12, so have to go via 11.52 first. Both versions of QC installed and new blank projects created without a problem. Issue is when trying to upgrade a project from QC 10 to 11.52, it keeps failing with some kind of permission problem on the last but one step, we think all the permissions are correct so trying it again with a trace to see what's going on. 

 

(Step 26/27):  Update database statistics ...

Exception occurred. Message: [Mercury][SQLServer JDBC Driver][SQLServer]User does not have permission to perform this action. Failed SQL: /* ~~QC */ sp_updatestats

 

 

Has anyone seen this before or know how to manually fix it and finish the upgrade?

 

The upgrade flow script suggests there is just two bits left to go;

<DataUpgrader class="com.hp.alm.platform.siteadmin.maintenance.UpdateStatistics"/>

<DataUpgrader class="com.hp.alm.platform.siteadmin.maintenance.upgrade.ProjectVersionUpgrader"/>

 

Thanks

Viewing all 5491 articles
Browse latest View live


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