Interface IComponentFactory2

    • Method Detail

      • convertManualTestToComponent

        String convertManualTestToComponent​(int destFolderId,
                                            String newComponentName,
                                            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

        String convertAllManualTestsInFolder​(int destFolderId,
                                             String srcFolderIds,
                                             int recursive,
                                             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​(Object items,
                  String sendTo,
                  @DefaultValue("")
                  String sendCc,
                  @DefaultValue("0")
                  int option,
                  @DefaultValue("")
                  String subject,
                  @DefaultValue("")
                  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 ""