| # BOL Test Tool - Public Layer (tlbct3250m000) Use this session to test the public methods of a Business Object as they occur in the BOL. To execute a test To perform a test, take the following steps: Enter the Test ID and Description. Select the business object and the public method to be tested. For all methods except List, click Enter Request and specify the instance values for the Request argument of the selected method. For the List and Show methods only, click Define Selection and select the attributes for the selected method. The attribute selection is part of the Request argument. For the List and Show methods, optionally click Define Filter to define a filter or a condition for the selected method. The Filter is part of the Request argument. Click Execute Test to perform the test. The test results appear in a Menu Browser. View the test results. Upon completion of the test, optionally click Update History to store the test data in the test history, so that you can reuse the test later. Note For details on how to test a particular public method, for example, the Create method or the SyncAll method, refer to the Create method or the Change method, refer to To test the public methods. Developers mode You can run this session in developers mode. In that mode, the following additional commands are available: Show XML Edit Request To run the session in developers mode, you must specify the following command in the configuration properties of your BW interface: `-set TMODE=1`. If you use the Infor ERP LN Web UI interface, you cannot work in developers mode. Related topics How to test public methods for LN To Model a Business Object Test ID A unique number for the test, used to store the results of the test in the test history. Description The description of the test case. Package VRC The package code of the current package VRC. Via this, the system knows that you have permission for this package VRC and is able to ask the application dictionary information/ BOR information needed to perform the test. You can only select business objects that belong to this package. To switch to another package VRC, click Change Curr PVRC. Package VRC The version of the current package VRC. To switch to another package VRC, click Change Curr PVRC. Package VRC The release of the current package VRC. To switch to another package VRC, click Change Curr PVRC. Package VRC The customer code of the current package VRC. To switch to another package VRC, click Change Curr PVRC. Package VRC The description of the current package VRC. To switch to another package VRC, click Change Curr PVRC. Package Combination Your package combination. You can only select and test business objects that occur in your current package combination. Module The module to which the Business Object belongs. Module The description of the module. Business Object The code that identifies the Business Object. Business Object The description of the Business Object. BOL Method The public Business Object method to be tested, for example, Create. Note The method name is case sensitive. For details on how to test a particular public method, for example, the Create method or the Change method, refer to To test the public methods. BOL DLL The DLL of the method that is tested. This DLL represents the main component of the public layer that is run when executing the test. Request Argument The package code of the additional file that contains the request XML schema argument of the selected method. If the request argument is not displayed, something is wrong and the test cannot be executed. The VRC is most likely incorrect or the additional file is removed. Request Argument The module code of the additional file that contains the request XML schema argument of the selected method. If the request argument is not displayed, something is wrong and the test cannot be executed. Most likely, the VRC is incorrect or the additional file is removed. Request Argument The name of the additional file that contains the request XML schema argument of the selected method. If the request argument is not displayed, something is wrong and the test cannot be executed. Most likely, the VRC is not correct or the additional file is removed. Request Argument The address of the XML Schema file on the server. If the request argument is not displayed, something is wrong and the test cannot be executed. Most likely, the VRC is not correct or the additional file is removed. Response Argument The package code of the additional file that contains the response XML schema argument of the selected method. Response Argument The module code of the additional file that contains the response XML schema argument of the selected method. Response Argument The name of the additional file that contains the response XML schema argument of the selected method. Response Argument The address of the XML Schema file on the server. Result Argument The package code of the additional file that contains the result XML schema argument of the selected method. Result Argument The module code of the additional file that contains the result XML schema argument of the selected method. Result Argument The name of the additional file that contains the result XML schema argument of the selected method. Result Argument The address of the XML Schema file on the server. Execute Test Carries out the test. Sends the Request argument to the public layer. Receives the Response and Result arguments from the public layer, and displays the arguments in Menu Browsers. You must have specified the request argument before you can perform the test. Refer to To execute a test for details. The Response and Result arguments are saved automatically. You can use the Show Result button to view these arguments later. Change Curr PVRC Starts the Change Current Package VRC of User (ttadv0140s000) session. Changing your current package VRC is useful if you want to test a Business Object from another package. Update History Adds the details, such as the Business Object, method, and request argument, of a new test case to the History, or updates the history data of an existing test case. The details are stored by test ID and login name. To reuse a saved test case, zoom on the Test ID field, which starts the Test History (tlbct3550m000) session, and select the desired test ID from the list. Copy History Copies the current test case to a new test case in the History. The new test ID is entered in a separate dialog box. Remove History Removes all information that is related to the current test ID from the test history. Show XML Displays the XML code of the incoming and outgoing messages in read-only mode using your default XML editor. This option is only available in Developers mode. Enter Request Starts a Menu Browser, in which you can specify the instance values of the request argument. Note Mandatory elements are marked with an asterisk (*). Define Selection Starts a graphical browser, in which you can select the attributes for the List and Show methods. Define Filter Starts a Menu Browser, in which you can define a filter or a condition for the List and Show methods. Edit Request Starts your default XML editor where you can edit the XML code of the request argument. Through this option, you can create a more complicated XML structure than through the Menu Browser. This option is only available in Developers mode. Show Result Starts two Menu Browsers that respectively show the response and result arguments of the test. You must have performed the test before you can use this option. This option does not carry out the test (again), but shows the results that were saved automatically after the execution of the test. |