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

Problem OTAClient filter - listResults seems to be limited to 30

$
0
0

Hello,

 

I tries to query AuditProperty datas with OTAClient in visual basic

 

I have the following problem : if the list results is greater that 30, we can not access the datas that are after 30th place in the list.

Here is my code :

 

Set tdc = CreateObject("TDApiOle80.TDConnection")
tdc.InitConnectionEx "URL HP QC"
tdc.login "mylogin", "mypassword"
tdc.Connect "mydomain", "myproject"
If tdc.LoggedIn = "Vrai" Then
Debug.Print "Connexion successfull"
End If

Set AuditPropertyFact = tdc.AuditPropertyFactory
Set AuditPropertyFactFilter = AuditPropertyFact.Filter
Set AuditPropertyList = AuditPropertyFact.NewList(AuditPropertyFactFilter.Text)

Set AuditPropertyListFields = AuditPropertyFactFilter.Fields
Debug.Print ("Number of elements")
Debug.Print (AuditPropertyList.Count)
Set objAP = AuditPropertyList(31)
Debug.Print (objAP.ActionID)

tdc.Disconnect
Exit Sub

errorhandler:
'MsgBox Error(Err)
Debug.Print ("Erreur :")
Debug.Print (Error(Err))
tdc.Disconnect

 

 

Here is the results in the debug screen :

Connexion successfull
Number of elements
8514
Erreur :
The element does not exist.

 

 

If I put AuditPropertyList(30) or lower AuditPropertyList(25), it managed to get the datas.

 

Here is the version :

HP Application Lifecycle Management
Édition Application Lifecycle Management 11.52.444

Composants internes Compilation

Client OTA 11.52.444.0
Quality Center 11.50.444

 

 

Can it come from the driver ?

I download it from the server itself (TDCConnect.exe) and install HP ALM Client Registration 

 

Thanks for help,

 

Regards

François 

 

 


Viewing all articles
Browse latest Browse all 5491

Trending Articles



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