سؤال

From Google the below command can be used to get the list of available domains in ALM: QCConnection.VisibleDomains

But I am not able to find the code to get the list of projects under each domain. Please let me know how to get the projects list under each and every domain or a particular domain.

Thank You.

هل كانت مفيدة؟

المحلول

Got it... The below code works just fine...

For i = 1 To QCConnection.GetAllVisibleProjectDescriptors.Count
  If QCConnection.GetAllVisibleProjectDescriptors.Item(i).DomainName = "Your Domain" Then
     Debug.Print QCConnection.GetAllVisibleProjectDescriptors.Item(i).Name
  End If
Next

نصائح أخرى

Try using this:

For i = 1 To QCCon.GetAllVisibleProjectDescriptors.Count <br>
For Each projectName In QCCon.ProjectsListEx(QCCon.GetAllVisibleProjectDescriptors.Item(i).DomainName) <br>
        Debug.Print QCCon.GetAllVisibleProjectDescriptors.Item(i).DomainName & "/" & projectName <br>
Next projectName <br>
Next i<br>

Let us know if it works for you.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top