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

API document for QC 12.2

$
0
0

Hi, 

 

We're using QC 12.2.

 

I have a code that was written for QC 8. this is a simple vb script which is incrementing the test case IDs.

The thing is that it's not working on the new version.

 

Function SW_KeepTIDLastValue()
On Error Resume Next
Dim tdc, val
Dim cset
Dim bld
On Error Resume Next
bld = ""
Set tdc = TDConnection 'Open a connection using the QC API
Set tdc = CreateObject("TDApiOle80.TDConnection")
If (Err.Number <> 0) Then
MsgBox("Connection error")
End If
Set cset = tdc.CommonSettings
'Set cset = tdc.COMMON_SETTINGS
cset.Open ("KeepTIDValueSetting")
val = cset.Value("KeepTIDValueField") 'Retrieve the value stored in the DB
' val = CDbl(cset.Value("KeepTIDValueField"))
msgbox(TypeName(val) & " " & val)
SW_KeepTIDLastValue = val+1 'Increment the value by 1
msgbox(TypeName(val) & " " & SW_KeepTIDLastValue )
cset.Value("KeepTIDValueField") = val+1 'Store the value back in the DB
cset.Close

If Err.Number <> 0 Then
SW_DisplayError Err.Number, Err.Description, "Keep Last Value (" & action & ")"
End If

On Error GoTo 0

End Function

 

The value of "val = cset.Value("KeepTIDValueField")" is always Empty, i have no idea why.

 

Is there anything that i can do ?

 

 

 


HP ALM Sql Issue - Returning duplicate test conditions for single test set

$
0
0

Hello,

 

I was wondering if someone could help me out.

 

I have a sql query that returns the execution status of the test scripts in a project. I have been playing around with the test configuration feature.

 

I have One test script that contains 3 test configurations. When looking on the test configuration tab for that test script, there are a total of 4: The test script name itself along with the 3 test conditions. (This is just a simple test to see if my idea will work)

 

Test Script:

SCR.HOST.Portal.ST.1.1.1 - Accessing Portal

 

Conditions:

CON.HOST.Portal.ST.1.1 - Access Portal using IE

CON.HOST.Portal.ST.1.2 - Access Portal using Chrome

CON.HOST.Portal.ST.1.3 - Access Portal using FireFox

 

 

I have a test set created which contains that test scripts which includes those 3 conditions. Thus, in the execution grid there is a total of 4 tests to execute.

 

When I run my sql, it is returning 16 rows for that test set.

 

 

The SQL that I am attempting to execute:

 

SELECT RTRIM(LTRIM(SUBSTRING(REPLACE(CP.CF_ITEM_PATH,'\',REPLICATE(' ',100)),100,100))) AS "Release",
RTRIM(LTRIM(SUBSTRING(REPLACE(CP.CF_ITEM_PATH,'\',REPLICATE(' ',100)),200,100))) AS "Cycle",
CASE WHEN SUBSTRING(TS.TS_NAME, 1, CHARINDEX('.', TS.TS_NAME) - 1) = 'FIN' THEN
'Finance'
WHEN SUBSTRING(TS.TS_NAME, 1, CHARINDEX('.', TS.TS_NAME, 5) - 1) = 'SCR.HR' THEN
'HR'
WHEN SUBSTRING(TS.TS_NAME, 1, CHARINDEX('.', TS.TS_NAME, 5) - 1) = 'SCR.INFRA' THEN
'Infrastructure'
WHEN SUBSTRING(TS.TS_NAME, 1, CHARINDEX('.', TS.TS_NAME, 5) - 1) = 'SCR.HOST' THEN
'Hosted'
WHEN SUBSTRING(TS.TS_NAME, 1, CHARINDEX('.', TS.TS_NAME, 5) - 1) = 'SCR.OPS' THEN
'Operations'
WHEN SUBSTRING(TS.TS_NAME, 1, CHARINDEX('.', TS.TS_NAME, 5) - 1) = 'SCR.FIN' THEN
'Finance'
END AS "Work Stream",
CY.CY_CYCLE AS "Test Set",
TS.TS_NAME AS "Test Name",
TCON.TSC_NAME AS "Test Condition",
TC.TC_HOST_NAME AS "Script Execution Seq",
TC.TC_STATUS AS "Execution Status",
TC.TC_ACTUAL_TESTER AS "Executed By",
TC.TC_EXEC_DATE AS "Execution Date",
TC.TC_PLAN_SCHEDULING_DATE AS "Planned Exec Start Date",
CAST(TC.TC_USER_01 AS DATE) AS "Planned Exec End Date",
CP.CF_ITEM_PATH AS " Test Lab Path",
TC.TC_EXEC_DATE
FROM CYCLE CY
INNER JOIN TESTCYCL TC ON CY.CY_CYCLE_ID = TC.TC_CYCLE_ID
INNER JOIN TEST TS ON TC.TC_TEST_ID = TS.TS_TEST_ID
INNER JOIN TEST_CONFIGS TCON ON TS.TS_TEST_ID = TCON.TSC_TEST_ID
INNER JOIN (SELECT CF.CF_ITEM_ID, 'ROOT'
+ CASE WHEN CF1.CF_ITEM_NAME IS NULL THEN '' ELSE '\' + CF1.CF_ITEM_NAME END
+ CASE WHEN CF2.CF_ITEM_NAME IS NULL THEN '' ELSE '\' + CF2.CF_ITEM_NAME END
+ CASE WHEN CF3.CF_ITEM_NAME IS NULL THEN '' ELSE '\' + CF3.CF_ITEM_NAME END
+ CASE WHEN CF4.CF_ITEM_NAME IS NULL THEN '' ELSE '\' + CF4.CF_ITEM_NAME END
+ CASE WHEN CF5.CF_ITEM_NAME IS NULL THEN '' ELSE '\' + CF5.CF_ITEM_NAME END
+ CASE WHEN CF6.CF_ITEM_NAME IS NULL THEN '' ELSE '\' + CF6.CF_ITEM_NAME END
+ CASE WHEN CF7.CF_ITEM_NAME IS NULL THEN '' ELSE '\' + CF7.CF_ITEM_NAME END
+ CASE WHEN CF8.CF_ITEM_NAME IS NULL THEN '' ELSE '\' + CF8.CF_ITEM_NAME END
+ CASE WHEN CF9.CF_ITEM_NAME IS NULL THEN '' ELSE '\' + CF9.CF_ITEM_NAME END AS CF_ITEM_PATH
FROM CYCL_FOLD CF
LEFT OUTER JOIN (SELECT CF_ITEM_PATH, CF_ITEM_NAME FROM CYCL_FOLD
WHERE LEN(CF_ITEM_PATH) = 6) CF1 ON LEN(CF.CF_ITEM_PATH) >= 6
AND SUBSTRING(CF.CF_ITEM_PATH,1,6) = CF1.CF_ITEM_PATH
LEFT OUTER JOIN (SELECT CF_ITEM_PATH, CF_ITEM_NAME FROM CYCL_FOLD
WHERE LEN(CF_ITEM_PATH) = 9) CF2 ON LEN(CF.CF_ITEM_PATH) >= 9
AND SUBSTRING(CF.CF_ITEM_PATH,1,9) = CF2.CF_ITEM_PATH
LEFT OUTER JOIN (SELECT CF_ITEM_PATH, CF_ITEM_NAME FROM CYCL_FOLD
WHERE LEN(CF_ITEM_PATH) = 12) CF3 ON LEN(CF.CF_ITEM_PATH) >= 12
AND SUBSTRING(CF.CF_ITEM_PATH,1,12) = CF3.CF_ITEM_PATH
LEFT OUTER JOIN (SELECT CF_ITEM_PATH, CF_ITEM_NAME FROM CYCL_FOLD
WHERE LEN(CF_ITEM_PATH) = 15) CF4 ON LEN(CF.CF_ITEM_PATH) >= 15
AND SUBSTRING(CF.CF_ITEM_PATH,1,15) = CF4.CF_ITEM_PATH
LEFT OUTER JOIN (SELECT CF_ITEM_PATH, CF_ITEM_NAME FROM CYCL_FOLD
WHERE LEN(CF_ITEM_PATH) = 18) CF5 ON LEN(CF.CF_ITEM_PATH) >= 18
AND SUBSTRING(CF.CF_ITEM_PATH,1,18) = CF5.CF_ITEM_PATH
LEFT OUTER JOIN (SELECT CF_ITEM_PATH, CF_ITEM_NAME FROM CYCL_FOLD
WHERE LEN(CF_ITEM_PATH) = 21) CF6 ON LEN(CF.CF_ITEM_PATH) >= 21
AND SUBSTRING(CF.CF_ITEM_PATH,1,21) = CF6.CF_ITEM_PATH
LEFT OUTER JOIN (SELECT CF_ITEM_PATH, CF_ITEM_NAME FROM CYCL_FOLD
WHERE LEN(CF_ITEM_PATH) = 24) CF7 ON LEN(CF.CF_ITEM_PATH) >= 24
AND SUBSTRING(CF.CF_ITEM_PATH,1,24) = CF7.CF_ITEM_PATH
LEFT OUTER JOIN (SELECT CF_ITEM_PATH, CF_ITEM_NAME FROM CYCL_FOLD
WHERE LEN(CF_ITEM_PATH) = 27) CF8 ON LEN(CF.CF_ITEM_PATH) >= 27
AND SUBSTRING(CF.CF_ITEM_PATH,1,27) = CF8.CF_ITEM_PATH
LEFT OUTER JOIN (SELECT CF_ITEM_PATH, CF_ITEM_NAME FROM CYCL_FOLD
WHERE LEN(CF_ITEM_PATH) = 30) CF9 ON LEN(CF.CF_ITEM_PATH) >= 30
AND SUBSTRING(CF.CF_ITEM_PATH,1,30) = CF9.CF_ITEM_PATH) CP ON CY.CY_FOLDER_ID = CP.CF_ITEM_ID
WHERE CY.CY_FOLDER_ID IN (SELECT CF_ITEM_ID FROM CYCL_FOLD WHERE CF_ITEM_PATH LIKE 'AAAAA%')

 

 

Please see attachment of what sql returns

 

 

Thank you for any help that you can provide!!

 

version of ALM that works with Oracle 12C database

$
0
0

Hello,

 

Since Oracle is dropping support for the 11G database versions, we're looking to upgrade to 12C. Currently we have our ALM 11.52 instances installed with one of these 11G databases. I looked at the spec sheet an of course this version of ALM doesn't support 12C databases.. 

 

So the question is what version of ALM supports a 12C database? I looked up the two most recent version of ALM (12.0 and 12.20 I think..) and both of them only list 11.* as the Oracle version.. Hopefully I'm just missing something.  

How U.S. Government Clients are Leveraging HP ALM Solutions in a ‘CLOUD’ Based Environment

$
0
0

Find out how HP ALM software is provisioned in virtual data center cloud development and test environments, including a deployment supporting Agile development and test efforts in a private secure cloud environment for U.S. government agencies.

 

Join our July 30 webinar with Robert Linton, V.P. Application Lifecycle Management at CorTechs, Inc. http://bit.ly/1gzsNbe

 

US Government Pic 7_30.jpg

8/11 - Developing a Comprehensive Test Automation QA Strategy

$
0
0

We’re sharing ways to build a more responsive, scriptless test automation framework within your current ALM strategy and how to measure its value continuously across your business.

 

Join our Aug 11 webinar with Becky Karch, Director of Customer Success for TurnKey Solutions. http://bit.ly/1I0UjZs

Test Automation Picture 8-11.png

Problems installing HP QC Community Edition 12.20 on Windows 2012 R2 Server

$
0
0

Hi,

 

I have downloaded HP ALM QC Community Edition, during installation on license page, I have chosen evaluation -> HP QC Community. 

 

I got the following error:

 

-----------------------------------------------------------------------------------------------------------------------

 

Failed to create/upgrade Site Admin Schema. By default, the output is saved in
<ALM repository path>\sa\DomsInfo
\MaintenanceData\out on your ALM server machine.:
com.hp.alm.platform.exception.CTdException: Couldn't properly add application parameter SITE_LICENSES_TIMESTAMP to the cache
at com.hp.alm.platform.siteadmin.TdParamLogicImpl.addTDParam(TdParamLogicImpl.java:289)
wrapped in com.hp.alm.platform.exception.CTdException: Failed to add application parameter
at com.hp.alm.platform.siteadmin.TdParamLogicImpl.addTDParam(TdParamLogicImpl.java:295)
at com.hp.alm.platform.siteadmin.TdParamLogicImpl.setTDParams(TdParamLogicImpl.java:179)
wrapped in com.hp.alm.platform.exception.CTdException: Failed to set application parameter
at com.hp.alm.platform.siteadmin.TdParamLogicImpl.setTDParams(TdParamLogicImpl.java:210)
at com.hp.alm.platform.siteadmin.params.SiteParamsImpl.setParam(SiteParamsImpl.java:324)
at com.hp.alm.platform.siteadmin.params.SiteParamsImpl.setParam(SiteParamsImpl.java:313)
at com.hp.alm.platform.license.LicenseDataSourceImpl.OnLicensesChanged(LicenseDataSourceImpl.java:178)
at com.hp.alm.platform.license.LicenseDataSourceImpl.persist(LicenseDataSourceImpl.java:112)
at com.hp.autopassj.core.license.LicenseStore.syncWithDataSource(LicenseStore.java:1331)
at com.hp.autopassj.core.license.LicenseStore.synchronize(LicenseStore.java:1071)
at com.hp.autopassj.core.license.LicenseStore.addLicense(LicenseStore.java:747)
at com.hp.autopassj.core.install.Installer.updateLicenseStore(Installer.java:1571)
at com.hp.autopassj.core.install.Installer.addLicense(Installer.java:1168)
at com.hp.autopassj.core.install.Installer.installInstantOn(Installer.java:168)
at com.hp.autopassj.core.LicenseHandler.installInstantOnLicense(LicenseHandler.java:788)
at com.hp.autopassj.core.AutopassJ.installInstantOnLicense(AutopassJ.java:608)
at com.hp.alm.platform.license.autopass.AutopassManager.installInstantOnLicenses(AutopassManager.java:230)
at com.hp.alm.platform.license.LicenseEngineImpl.installEvaluationLicense(LicenseEngineImpl.java:586)
at com.hp.alm.platform.siteadmin.setup.CSiteAdminInstaller.updateLicenseKey(CSiteAdminInstaller.java:1601)
at com.hp.alm.platform.siteadmin.setup.CSiteAdminInstaller.fillSiteAdmin(CSiteAdminInstaller.java:1569)
wrapped in com.hp.alm.platform.exception.CTdException: Failed to create Site Admin database
at com.hp.alm.platform.siteadmin.setup.CSiteAdminInstaller.fillSiteAdmin(CSiteAdminInstaller.java:1574)
at com.hp.alm.platform.siteadmin.setup.CSiteAdminInstaller.createSADatabase(CSiteAdminInstaller.java:980)
at com.hp.alm.platform.siteadmin.setup.CSiteAdminInstaller.load(CSiteAdminInstaller.java:166)
at com.hp.alm.platform.siteadmin.setup.CSiteAdminInstaller.newInstallMain(CSiteAdminInstaller.java:556)
at com.hp.qc.install.setup.QcConfigWorkerTask$7.run(QcConfigWorkerTask.java:246)
at com.hp.qc.install.setup.AbstractWorkerTask$ActualTask.<init>(AbstractWorkerTask.java:138)
at com.hp.qc.install.setup.AbstractWorkerTask$2.construct(AbstractWorkerTask.java:76)
at com.hp.qc.install.setup.SwingWorker$2.run(SwingWorker.java:114)
at java.lang.Thread.run(Thread.java:744)

 

----------------------------------------------------------------------------------------------------------------------------

 

What does "Couldn't properly add application parameter SITE_LICENSES_TIMESTAMP to the cache" mean? 

 

Thanks in advance.

 

Regards,

HP ALM 11.52 > "A failure has occurred in the workflow script(in function )"

$
0
0

Hi,

 

Two recently added users are getting the attached error when they log in and whenever they click on any design step of a test. Meaning that any time they add, edit, or delete a step the error is displayed. Obviously this is quite tedious and costs them a lot of time. Other users are able to access and work with the system fine. Happening both in IE and the ALM client.

 

We've experienced glitches with new users before, but usually this is fixed by removing them from the project and adding them back again. Not so this time.

 

I've tried searching the forum and the usually the recommendation seems to be to modify the script. But in our case we haven't modified them so far and since it's only affects two users out of a couple hundred, I'm not too excited to start changing them. The <Debug> script this seems to be referring to (starting from line 97) is:

 

function clear_html(html)

    'Output is written here
    dim out
    out = ""
    'Running index of the HTML text
    dim index
    index = 1
    'Length of the HTML text
    dim length
    'Currently processed character
    dim t_txt

    length = len(html)

    while(index <= length)
      t_txt = mid(html,index,1)
      'Skipping tags here
      if (t_txt = "<") then
        index = instr(index,html,">",1)+1
      else
        out = out & t_txt
        index = index + 1
      end if
    wend

    out = Replace(out,"&lt;","<")
    out = Replace(out,"&gt;",">")
    out = Replace(out,"&amp;","&")
    out = Replace(out,"&quot;","""")

    clear_html = cstr(out)

end function

 

Any help/ideas would be greatly appreciated. Thanks!

Can I install HP ALM trail verson in windows 7 laptop?

$
0
0

Can I install HP ALM trail verson in windows 7 laptop?

 

Is it possible to use MySQL Database? Or the database should be either MS SQL / Oracle only?


How to call HP ALM from custom browser UI?

$
0
0

Hi,

 I want to develop a browser UI. Through that UI, I need to get input from user and pass the input as paraments to HP ALM REST API and trigger actions to view, create defect and test.

 

I am Java developer. How to do that? From where I have to start?

 

For now, I want to do it a simple Proof of Concept. Is it possible to use trail version to do that?

 

Can anyone guide me on that?

 

Thanks in advance.

Setting aa number range for defects in ALM

$
0
0

Hi All

 

 

I have a scenario where we need to use  a number of separate projects over the course of a testing phase.

I would like to set the 'starting ID' for defects in each project.

So Project A starts at 1, Project B 1000, Project C 2000 etc.

 

I am convinced I found a webpage, which said you could go into Site Admin and through some SQL set the starting number for the defect ID. However i cannot find this page anymore. Pretty sure it was just 1 line of SQL that did it.

 

Any help would be greatly appreciated

Receive info from HP qualuty center to my application

$
0
0

I am new to qc so I'm probably missing some basics. I would like to build a  application that would connect to qc and start some test, from what I have seen there is no problem with that (right?).

 

The problem is the  application need to receive info about some test and do something about the info, is there a way to preform that? 

 

 

Error when editing defect? "Failed to setValue"

$
0
0

I tried to submit this as a case to HP, but after an hour trying to figure out their website.....

 

 

We have been using this specific project for months, but just this week it has started giving us an error when we try to edit the Comments field on some defects. Other fields can be edited and saved, but when the Comments field is edited, this error appears when trying to save:

 

Failed to satValye for key  112 in table "BUG" in project.
'com.hp.alm.platform.connection.authentication. ThreadSafeCachedSessionContext@19512f62'

 

I've searched for the same error and found that some users corrected it by shortening the name of their project. I decreased our project name to 7 characters (18 characters total for domain/project), but the problem persists.

 

Any ideas?

OTA - Owner entity is not checked out by [user] issue.

$
0
0

I am using OTA to upload test cases from excel to ALM.

 

I have used the excel add-in and have found it to be quite cumbersome for my project needs, so I am writing a custom script to accomplish the task.

 

The issue that I am facing is when I attempt to add steps to my created test case(s).
I receive the following error:

 

      Run-time error '-2147220464 (80040410)':

 

      Owner entity is not checked out by [user]

 

I have noticed while creating tests, that they seem to be locked to myself, however I am unable to edit/delete them (before the lock timer expires).
I receive a similar error in ALM when I attempt to do so.

 

Is there a remedy or else, anyway around this issue (within the context of my script)?


This is the script that I am using:

 

'Create Project Folder
Set trfolder = trmgr.NodebyPath("Subject").AddNode(.Cells(3, 2))
trfolder.Post
'Loop through each row in sheet from A4
Set cache = ThisWorkbook.Sheets("Values").Range("$A$3")
For Each TCR In .Range(.Cells(4, 1), .Cells(.Cells(Rows.Count, 1).End(xlUp).Row, 1))
    Set TCName = .Range(TCR.Offset(0, 1).Address)
    Set TCType = .Range(TCR.Offset(0, 7).Address)
    'If Folder Then
        If TCType.Value = "Folder" Then
            Set trfolder = trmgr.NodebyPath("Subject" & TCR.Value).AddNode(TCName.Value)
            trfolder.Post
    'If Test Case Then
        ElseIf TCType.Value = "MANUAL" Then
            'If cached TC name = current row TC name then skip
            If TCName = cache.Value Then
            'Add Test Case
            ElseIf TCName <> cache.Value Then
                Set trfolder = trmgr.NodebyPath("Subject" & TCR.Value)
                Set trtest = trfolder.TestFactory.AddItem(TCName.Value)
                    ' set values
                    trtest.Field("TS_NAME") = TCName
                    trtest.Field("TS_RESPONSIBLE") = qcUserName ' Designer
                    trtest.Field("TS_TYPE") = "MANUAL"
                    trtest.Post
            'Steps
            Set dsf = trtest.DesignStepFactory
            Set steplist = dsf.Newlist("[empty]")
            ' loop through all the steps
            Set scount = .Range(TCName.Address)
            Do
                Set TCStep = .Range(scount.Offset(0, 1).Address)
                Set TCDesc = .Range(scount.Offset(0, 2).Address)
                Set TCExRe = .Range(scount.Offset(0, 3).Address)
                Set TCComm = .Range(scount.Offset(0, 4).Address)
                Set dstep = dsf.AddItem(Null)
                    dstep.Field("DS_STEP_NAME") = TCStep.Value
                    dstep.Field("DS_DESCRIPTION") = TCDesc.Value
                    dstep.Field("DS_EXPECTED") = TCExRe.Value
                    Set scount = .Range(scount.Offset(1).Address)
            Loop Until scount.Value <> scount.Offset(-1).Value
            dstep.Post
                'cache TC name
                cache.Value = TCName.Value
            End If
        Else:
            MsgBox ("Invalid type at cell: " & TCR.Address)
        End If
Next TCR

 

 

Any help is appreciated. Thanks.

Use function library for multiple user at the same time

$
0
0

Hi Team,

 

 

I have function Library which are used by mulitple user. Is there any method so that same function library can be used at the same time for multiple user.

 

Thanks for your input.

 

Regards,

Sunny

Requirement module field customization issue in ALM 11.52

$
0
0

Hi,

I made Reviewed, Target, Cycle, Creation Date, Creation Time, Status fields invisible using script but it works partially.

Fields looks hidden in the right pane if you hovered on child requirement. however when I right click on the Requirement and select “Requirement Details” or double clicked on the requirement , these fields still appear.  Is there a way to hide the fields on this page? Please help me to resolve this issue.

 

ALM Version : 11.52

 

Thanks in advance


Upgradation from QTP 10.0 to UFT 11.5

$
0
0

Hi,

 

I need to upgrade QTP 10.0 to UFT 11.5.

Could you please provide me detailed steps for the upgradation.

 

 

 

Thanks and Regards,

Dheeraj

Getting connetion time out error HP ALM REST API: AuthenticateLoginLogoutExample.

$
0
0

I am trying to run sample program given in HP ALM REST API: AuthenticateLoginLogoutExample.

 

Through that java program, I connect to QC server that has https coonection. It gives me Connection time out error.

 

How to resolve this? Anything I need to change?

 

C:\HP_ALM>java AuthenticateLoginLogoutExample Exception in thread "main" java.net.ConnectException: Connection timed out: conn ect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketI mpl.java:79) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.ja va:345) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocket Impl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java :188) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC onnection.java:1167) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn ection.java:1103) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne ction.java:997) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection .java:931) at RestConnector.doHttp(RestConnector.java:150) at RestConnector.httpGet(RestConnector.java:112) at AuthenticateLoginLogoutExample.isAuthenticated(AuthenticateLoginLogou tExample.java:135) at AuthenticateLoginLogoutExample.authenticateLoginLogoutExample(Authent icateLoginLogoutExample.java:32) at AuthenticateLoginLogoutExample.main(AuthenticateLoginLogoutExample.ja va:16)

 

Thanks in advance.

 

Test Plan Module Script

$
0
0

Dear,

 

I am trying to write code for following scenario and unsuccessfull so far.

 

In Test Plan module I have the test case in following folder structure:

 

FRUIT   <- Parent Folder

     APPLE   <- Sub-Folder 1

           RIPE   <- Sub-Folder 2

                  Test Case 01_Test the ripe apple    <- Test Case

 

I have created a new user field for Test module i.e. "Project".  Now, with the Test Plan Module Script code in Test_MoveTo, I want to update the "Project" field in the Test Case: "Test Case 01_Test the ripe apple" with the top most parent folder name i.e. "FRUIT".

 

Please advice me here.

 

 

Thanks,

Tanmay

 

 

 

 

How to monitor Failed Login attempts

$
0
0

Hi

 

I have a requirement to monitor failed login attempts. I have ALM 12.20 and can see failed login attempts via the logs. However the Logs give no indication as to the user whose login attempt failed is there a way to monitor this?

 

Below is the log entry created on failed login. In the other log entries a username is normally against the 'FREC' entry. However on this instance you can see the value against 'FREC' is N/A

 

16:48:19.535 Jul 23 16:48:19.412 qtp1140046689-337 [Login] [login_id:-1] [connect_id:-1] [call_id:20] FREC N/A fe80:0:0:0:2c48:afe6:60c3:bbd9%12 WRN CAbsServlet.doPost(450) Failed login attempt by an unauthenticated user

Getting error in QC when running Test Execution query

$
0
0
I am running below query for test execution extract. However, getting error during generate. Any help is appreciated. Thanks Error: The SQL query has failed to run, with following error: Failed:/*~~QC*/SELECT Query Starts Here: SELECT TO_DATE(TO_CHAR(SYSDATE,'mm/dd/yyyy'),'mm/dd/yyyy'), CF_ITEM_ID as 'Test Lab Folder ID', CF_ITEM_NAME as 'Test Set Folder', CY_CYCLE_ID as 'Test Set ID', CY_CYCLE as 'Test Set', TS_TEST_ID as 'Test Plan Test ID', TS_NAME as 'Test Plan Test Name', TC_STATUS as 'Execution Status', TC_PLAN_SCHEDULING_DATE as 'Planned Exec Date', TC_EXEC_DATE as 'Actual Exec Date', TC_ACTUAL_EXEC_TIME as 'Actual Exec Time', TC_TESTER_NAME as 'Responsible Tester', TC_ACTUAL_TESTER as 'Tester', ROUND(TO_DATE(TO_CHAR(SYSDATE,'mm/dd/yyyy'),'mm/dd/yyyy') - TO_DATE(TO_CHAR(TC_PLANNED_EXEC_DATE,'mm/dd/yyyy'),'mm/dd/yyyy')) AS 'Days Outstanding', RCYC_NAME as 'Target Cycle', RCYC_ID as 'Cycle ID' FROM TEST, CYCLE, TESTCYCL, RELEASE_CYCLES WHERE TC_CYCLE_ID = CY_CYCLE_ID and TC_TEST_ID = TS_TEST_ID and TC_ASSIGN_RCYC = RCYC_ID and RCYC_NAME IN ('SIT Pass 1', 'SIT Pass 2', 'SIT Pass 3') ORDER BY TS_NAME, CY_CYCLE ASC [Mercury] [Oracle JDBC Driver][Oracle]ORA-00923: FROM keyword not found where expected.
Viewing all 5491 articles
Browse latest View live


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