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

Re: Failed to restore project in hp alm 11.52 because of Extensions table

$
0
0

Hi ,

Thanks for the response..!!

In HP QC 10 it is windows authentication (dbo) but HP ALM 11.52 is expecting sql authentication (td) so i contacted hp support they suggested one query to change the schema from 'dbo' to 'td'. I executed below query, and this project have two extensions. i expecting because of extensions i am getting error.

 use default_pvt_db

go

sp_MSforeachtable @command1 = "sp_changeobjectowner '?'.'td'"

go

Thank you

Praveen

 

Re: Setting RN_TEST_NAME to visible=false

$
0
0

Beate

You aren't mistaken. I don't think it is possible, but it should be...

Sub Run_MoveTo
msgbox "Hit"
Run_Fields.Field("RN_RUN_NAME").IsVisible = False
End Sub

Of course that .IsVisible property is effective in other contexts, but not here. I put the msgbox in the sub to make sure it was firing when I opened a Run. I also explored Data-Hiding at the Group level and this field doesn't exist in that context.

You can do it by altering the project db/schema directly and making the field inactive. First backup the project database. Then issue the following...

For MSSQL...

update td.SYSTEM_FIELD set sf_is_active = 'N' where sf_column_name = 'RN_RUN_NAME'
update td.sequences set sq_seq_value=sq_seq_value+1 where sq_seq_name='fields_version';
update td.sequences set sq_seq_value=sq_seq_value+1 where sq_seq_name='lists_version';
update td.sequences set sq_seq_value=sq_seq_value+1 where sq_seq_name='tree_version';

For Oracle...

update SYSTEM_FIELD set sf_is_active = 'N' where sf_column_name = 'RN_RUN_NAME'
update sequences set sq_seq_value=sq_seq_value+1 where sq_seq_name='fields_version';
update sequences set sq_seq_value=sq_seq_value+1 where sq_seq_name='lists_version';
update sequences set sq_seq_value=sq_seq_value+1 where sq_seq_name='tree_version';

Note, the first statement changes the value for the field so its not active.

The following three statements update the sequences so the change will be seen in the project. If we don't issue these the field will still be visible even after we issue the first line where the change is made.

Then bounce the ALM service to refresh server cache. This is because the sequences are cached at the server. Alternatively you can remove the project (careful not to delete!) and restore the project by pointing to the project's dbid.xml file. Either will refresh the server cache.

Phil

Re: Setting RN_TEST_NAME to visible=false

$
0
0

One more note. After making the change I ran some tests, both manual and automated, and there isn't an issue. A value in the RN_RUN_NAME will still be populated in the database. You'll just not see it in the GUI.

Re: what is a Test Type of ALT-SCENARIO and when is it used?

$
0
0

I scanned all of the TD/QC/ALM documentation going back to Test Director 8.0 and the only manual that makes mention of it is the 11.5x User Guide but even here it says nothing about it.

It appears to be LoadRunner related, VUser specifically. I scanned the LR 12.53 documentation and it doesn't make mention of the type either.

I then checked our R&D wiki. Information here is not public but here too the type is mentioned but which there is no description.

My guess is that it is a legacy test type that is kept but which is no longer implemented.

Re: Failed to restore project in hp alm 11.52 because of Extensions table

$
0
0

Are you using SQL Authentication and did you move the database from one server to another?

If so try issuing the following to the database used by your ALM 11.5x instance...

EXEC sp_change_users_login 'Report'
EXEC sp_change_users_login 'Update_One', 'td', 'td'

Re: Emailing a Test Run upon completion of a manual test run - Workflow

$
0
0

You can accomplish this by using the .Mail method of the Run object in Workflow. Know that because Workflow is only invoked while using the browser that only manual test executions will fire the sub. This because automated tests are an outside process and do not invoke workflow at all. Here is the code...

Sub Run_AfterPost
Set rFact = TDConnection.RunFactory
Set rItem = rFact.Item(Run_Fields.Field("RN_RUN_ID").Value)
rItem.Mail rItem.Field("RN_TESTER_NAME"), ,0, "Run - " & rItem.Field("RN_RUN_NAME") & " Completed"
Set rItem = Nothing
Set rFact = Nothing
End Sub

In the first parameter I'm passing "rItem.Field("RN_TESTER_NAME")" This is the user who executed the manual test. You can use a literal expression instead but it must be a user ID of a user in the project, for example...

rItem.Mail "alex_alm", ,0, "Run - " & rItem.Field("RN_RUN_NAME") & " Completed"

Re: Backup of large project - QC 11

$
0
0

The GC Overhead limit exceeded isn't caused by GC but rather the JVM heap being consumed to the point where GC (Garbage Collection) is no longer able to free any more data. Its at this point that heap is consumed and exceeded. We can't disable GC but if we could it would exacerbate the issue.

The best approach here is to backup the project the old fasioned way.

1) disable the project - disconnects users so changes can't be made while the backup proceeds

2) Perform a backup of the db/schema and the file repository

You may also wish to examine the backup process described here: https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM1373517

Use the procedure under the title, "How to backup a project after the file repository migration was completed"

Re: HP ALM Installation is not proceeding

$
0
0

I examined the error you attached and I believe you're installing ALM 12.53, correct?

On the server where you're installing ALM could you indicate if the following path exists?...

<drive>\Program Files\HP\ALM\ALM\AppResources


Re: Failed to restore project in hp alm 11.52 because of Extensions table

$
0
0

Hi ,

I am using SQL Authentication and i tried mentioned queries on project db schema then tried to restore project from hp alm but getting same error.

com.hp.alm.platform.exception.CTdException

Messages:
Failed to restore project; Failed to load data from EXTENSIONS table of project 'default_poc_db@jdbc:mercury:sqlserver://HTXQSQLALM01P:1433(td)'; [Mercury][SQLServer JDBC Driver][SQLServer]Invalid object name 'EXTENSIONS'. Failed SQL: /* ~~QC */ SELECT EX_NAME FROM EXTENSIONS;

Regards,

Praveen

 

Re: Failed to restore project in hp alm 11.52 because of Extensions table

$
0
0

Praveen, had you tried Amey's suggestion as well? This was the first response to your question. His suggestion is also most valid.

Phil

Re: C# API for QC ALM OTA 11

$
0
0

Why do you care what language the API is written in? You write code to interact with the API,  It doesn't matter what language was used to write the API.

Re: Setting RN_TEST_NAME to visible=false

$
0
0

Hi Phil,

thanks for your input and all your effort. 

I need to "remove" RN_TEST_NAME and not RN_RUN_NAME.

I think your proposed solution would have more impact if I do that for the test name. Also, I'm not too comfortable changing things directly in the DB. 

best regards,

Beate

ALM and Eclipse IDE

$
0
0

How to save And run java based testscripts in ALM .

could you please suggest me on Integration between ALM and Eclipse IDE

 

 

How to move requirements to another folder automatically ?

$
0
0

Hi all,

I have 3 folder in requirements module. One of them has the all requirements within. Every each requirements has a field which keeps information about folder that the requirement will be moved. I would like to move all the requirement to related folder automatically. 

For example;

Folder A -> 50 requirements

Folder B -> 0 requirement

Folder C -> 0 requirement

In Folder A, 20 requirements should be moved to Folder B, 30 requirements should be moved to Folder C. It will be specified by the special requirement field which should moved to which folder.

It can be SQL Procedure or action does not matter.

Thanks in advance.

Re: Execution Flow diagram

$
0
0

Thanks Martin

Can you please give me further information on "You can use it for manual only if you use the Execute TestSet option which sort of manages the execution". Does it mean by working with 'Run Test Set'?


QC 12.53 failing to initialize.

$
0
0

We have recently upgraded to HP QC Version 12.53 from QC Version 11.
It was a two step process.  QC 11.0--> QC 11.52--> QC 12.53
We had no issues with 11.52 during the process.
So we deployed QC 12.53.
But QC 12.53 is failing to initialize on startup.

Once we open the link to QC 12.53 , we have a page describing the process to install HP Application Lifecycle
Management Client.
There is a hyperlink in the step - "Click here to launch the installation."
On Clicking, an IE pop up comes saying to run or save the ALM- Platform- Loader. On running it directly or saving it and running, the ALM platform Loader 12.5x starts and before it completes we get an IE pop up.
IE pop says " An add on for this website failed to run".
We have IE version 11.
Do we need to have some specific add on to host the application?

Workflow at step level with different tester

$
0
0

Hi All,

I am trying to find out how we can run a test case with different steps and each step will be manage by a different tester. Let's put an example:

TEST CASE 1: Step1 (Tester 1); Step 2 (Tester 2); Step 3 (Tester 3)

Tester 1 will be able to run Step 1 (Tester 2 and 3 will not be able to run steps 2 and 3 until step 1 is Passed)

When Step 1 is Passed, Tester 2 will be able to run Step 2 (if possible Tester 2 should receive a notification/email to be informed step 2 is ready for run)

Idem for Step 3...

In summary, we need to work with workflow at step level, and each level with a different tester

Is there any way to do it in HPQC?

Thanks in advance. Regards

Re: MS Word Add-In for large number of tests import

$
0
0

Thanks for the thoughts, I agree that tests are usually created directly in the tool. 

This is not a process decision, but QC is only just being introduced for the project, so legacy tests do exist I'm afraid which have to be imported by some means.

Thanks.

Re: TestFactory.AddItem not works

$
0
0

Nope. Nothing is happening upon calling the function. 

Workflow code to get defect lifecycle for particular user groups.

$
0
0

Hi Members,

I want to design a defect workflow using ALM workflow but i am unable to do so.

My requirement is  -

If a defect status is chenged to Duplicate by Test Lead, then when a Test Designer see the defect, he should only see Deferred and canclled, rest other statuses should be hidden. Then again if a TestLead sees the status as Deferred, then his dropdown should have only Status as Invalid Defect or valid Defect, rest all status should be hidden.

I am trying to achieve this functionality to reduce any incorrect values in Defect.

Can anyone please help me guiding how to write this routine. Its little urgent.

I dont want to do it using Groups and permission as i dont want to see any other values.

 

Thanks,

Ameet

Viewing all 14708 articles
Browse latest View live


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