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

Re: How to set Req risk values using OTA ?

$
0
0

Hi Trudy, thank you for your response!

 

I am using connecting to QC using 

QCUtil.QCConnection via QTP, basically I am running this in QTP.

 

I tried to access BIChosenAnswerForQuestion propety under interface "ISupportRBTAssessment" , to connect to additinal interface in example , they used the follwing code, but when I tried to implement the same code, its throwing an error on line - Dim aFollowUp As IFollowUpManager, basically can't use AS , syntax error so..

 

so I am not sure how to connet to "ISupportRBTAssessment" interface via REQ object

 

I am not sure if I can use anyother objects to connet so..

 

please let me know if this is confusing..

 

Sub GetAdditionalInterface()

'This example shows how to access the members of
' additional implemented interfaces from the implementing object.
'This example uses the Bug object and the IFollowUpManager interface,
' but the technique applies to all objects that implement
' additional interfaces.

    Dim aFollowUp As IFollowUpManager
    Dim aBug As Bug
    Dim aList As List

' Get a bug object at random.
    'tdc is the global TDConnection object.
    Set aList = tdc.BugFactory.NewList("")
    Set aBug = aList(0)

'Cast the Bug object to the type of
' the implemented interface, in this
' case, IFollowUpManager.
    Set aFollowUp = aBug

'Call a method of the implemented interface
    Debug.Print aFollowUp.HasFollowUp

EndSub

 

 


Viewing all articles
Browse latest Browse all 14708

Trending Articles



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