Interface IComponentFactory2

    • Method Detail

      • convertManualTestToComponent

        java.lang.String convertManualTestToComponent​(int destFolderId,
                                                      java.lang.String newComponentName,
                                                      java.lang.String testIDs,
                                                      int numOfTests)

        For HP use. Converts one or more manual tests to components.

        Parameters:
        destFolderId - Mandatory int parameter.
        newComponentName - Mandatory java.lang.String parameter.
        testIDs - Mandatory java.lang.String parameter.
        numOfTests - Mandatory int parameter.
        Returns:
        Returns a value of type java.lang.String
      • convertAllManualTestsInFolder

        java.lang.String convertAllManualTestsInFolder​(int destFolderId,
                                                       java.lang.String srcFolderIds,
                                                       int recursive,
                                                       java.lang.String newfolderName,
                                                       int numOfFolders)

        For HP use. Converts all manual tests in a folder or folders to components.

        Parameters:
        destFolderId - Mandatory int parameter.
        srcFolderIds - Mandatory java.lang.String parameter.
        recursive - Mandatory int parameter.
        newfolderName - Mandatory java.lang.String parameter.
        numOfFolders - Mandatory int parameter.
        Returns:
        Returns a value of type java.lang.String
      • mail

        void mail​(java.lang.Object items,
                  java.lang.String sendTo,
                  @DefaultValue("")
                  java.lang.String sendCc,
                  @DefaultValue("0")
                  int option,
                  @DefaultValue("")
                  java.lang.String subject,
                  @DefaultValue("")
                  java.lang.String comment)

        Mails the list of IBase Factory Items. 'Items' is a list of ID numbers.

        Parameters:
        items - Mandatory java.lang.Object parameter.
        sendTo - Mandatory java.lang.String parameter.
        sendCc - Optional parameter. Default value is ""
        option - Optional parameter. Default value is 0
        subject - Optional parameter. Default value is ""
        comment - Optional parameter. Default value is ""