SysTestProject Class [AX 2012]
The SysTestProject class is a project node that is used for storing test projects.
| Method | Description | |
|---|---|---|
| addContextMenuItems | Adds a list of items to the context menu of the test project node. (Overrides the addContextMenuItems Method.) |
| addNode | Adds an existing node to the project. (Inherited from ProjectNode.) |
| addSpecialOverlayIcon | (Inherited from ProjectNode.) |
| addUtilNode | Adds a node to the project. (Inherited from ProjectNode.) |
| addXMLNode | Saves the settings for the test project as XML in a string. |
| AOTadd | Creates a subnode to the tree node in the Application Object Tree (AOT). (Inherited from TreeNode.) |
| AOTaddExtendedDataType | This method is not supported in Microsoft Dynamics AX. If you need to add a subnode of this type, use the instead. (Inherited from TreeNode.) |
| AOTaddRelation | This method is not supported in Microsoft Dynamics AX. If you need to add a subnode of this type, use the instead. (Inherited from TreeNode.) |
| AOTaddSubNode | Creates subnodes for extended data types and relations. (Inherited from TreeNode.) |
| AOTaddXref | (Inherited from TreeNode.) |
| AOTAllowEdit | (Inherited from TreeNode.) |
| AOTbitmapId | Returns the resource ID of the bitmap of the tree node. (Inherited from TreeNode.) |
| AOTchildNodeCount | Counts the number of child nodes that a given tree node has. (Inherited from TreeNode.) |
| AOTcompile | Compiles this node and its subnodes. (Inherited from TreeNode.) |
| AOTconfigure | (Inherited from TreeNode.) |
| AOTdelete | Deletes the tree node in the development layer that you are currently working in. (Inherited from TreeNode.) |
| AOTDrop | Creates a copy of a specified tree node as a child to the TreeNode object. (Inherited from TreeNode.) |
| AOTDuplicate | (Inherited from TreeNode.) |
| AOTedit | Opens the appropriate editor for this node. (Inherited from TreeNode.) |
| AOTendXref | (Inherited from TreeNode.) |
| AOTfindChild | Finds the specified child node of this node. (Inherited from TreeNode.) |
| AOTfirstChild | Retrieves the first child of the tree node. (Inherited from TreeNode.) |
| AOTfirstChildEx | (Inherited from TreeNode.) |
| AOTgetExecutableLineCount | Returns the number of executable lines of code for this node. (Inherited from TreeNode.) |
| AOTgetExecutableLines | Returns the executable lines of code for this node. (Inherited from TreeNode.) |
| AOTGetModel | (Inherited from TreeNode.) |
| AOTgetProperties | Returns a string containing the properties of the tree node. (Inherited from TreeNode.) |
| AOTgetPropertiesExt | (Inherited from TreeNode.) |
| AOTgetProperty | (Inherited from TreeNode.) |
| AOTgetSource | Returns the source code of this node. (Inherited from TreeNode.) |
| AOTIncludeInCompare | (Inherited from TreeNode.) |
| AOTinsert | Inserts a node among the subnodes of this node. (Inherited from TreeNode.) |
| AOTIsDirty | (Inherited from TreeNode.) |
| AOTIsOld | Indicates whether this node is from a file found in the old model store. (Inherited from TreeNode.) |
| AOTIsPersisted | Indicates whether this node has been persisted in the model store. (Inherited from TreeNode.) |
| AOTIsProxyNode | (Inherited from TreeNode.) |
| AOTiterator | Returns an object which can be used to iterate the child nodes of the tree node. (Inherited from TreeNode.) |
| AOTKernelHelpType | (Inherited from TreeNode.) |
| AOTLayer | Returns the layer of the tree node. (Inherited from TreeNode.) |
| AOTLayers | Returns a collection of the layers the tree node is defined in. (Inherited from TreeNode.) |
| AOTload | Ensures that the object is loaded. (Inherited from TreeNode.) |
| AOTmakeXref | Compiles this node and its subtree in the AOT, updating the cross-reference system. (Inherited from TreeNode.) |
| AOTmessageLine | Writes text to the Application Object Tree (AOT) Message window. (Inherited from TreeNode.) |
| AOTMove | (Inherited from TreeNode.) |
| AOTname | Returns the value of the name property of the node. (Inherited from TreeNode.) |
| AOTnewWindow | Opens a new AOT tree window with the tree node as the root. (Inherited from TreeNode.) |
| AOTnextSibling | Returns the next node on the same level as the tree node. (Inherited from TreeNode.) |
| AOTObjectNode | Indicates whether the node is an application object. (Inherited from TreeNode.) |
| AOToverlayBitmapId | Returns the resource ID of the overlay in the AOT associated with this node. (Inherited from TreeNode.) |
| AOTparent | Returns the parent node of the tree node. (Inherited from TreeNode.) |
| AOTprevious | Returns the previous sibling of this tree node. (Inherited from TreeNode.) |
| AOTrefresh | Refreshes the node with the latest changes to the .aod file. (Inherited from TreeNode.) |
| AOTregenerate | (Inherited from TreeNode.) |
| AOTRename | (Inherited from TreeNode.) |
| AOTrestore | Reloads this node from the disk, if applicable. (Inherited from TreeNode.) |
| AOTrun | Compiles this node and its subtree in the Application Object Tree (AOT). (Inherited from TreeNode.) |
| AOTsave | Saves an Application Object Tree (AOT) node. (Inherited from TreeNode.) |
| AOTSetModel | (Inherited from TreeNode.) |
| AOTsetProperties | (Inherited from TreeNode.) |
| AOTsetPropertiesExt | (Inherited from TreeNode.) |
| AOTsetProperty | (Inherited from TreeNode.) |
| AOTsetSource | Sets the source code of this node. (Inherited from TreeNode.) |
| AOTshowProperties | Opens the property sheet (if not already open) and shows the properties for this node. (Inherited from TreeNode.) |
| AOTtoolTip | Returns the tool tip associated with the tree node. (Inherited from TreeNode.) |
| AOTToString | (Inherited from TreeNode.) |
| AOTtypeStr | Returns the internal string code for the element type used in XPO files. (Inherited from TreeNode.) |
| AOTUtilFileType | Retrieves the value of the UtilFileType enumeration type for the TreeNode object. The UtilFileType indicates which kind of file the application object is stored in. (Inherited from TreeNode.) |
| applObjectId | Returns the application object ID, if applicable. (Inherited from TreeNode.) |
| applObjectLayerMask | Returns a bitmask that specifies which layers contain this element. (Inherited from TreeNode.) |
| applObjectOldLayerMask | Returns a bitmask that specifies which layers contain this element in the baseline model store. (Inherited from TreeNode.) |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| changedBy | Gets or sets the name of the user who last changed the application object. (Inherited from ProjectNode.) |
| changedDate | Gets or sets the date an application object was last changed. (Inherited from ProjectNode.) |
| changedTime | Gets or sets the time an application object was last changed. (Inherited from ProjectNode.) |
| clear | Removes the contents of a project. (Inherited from ProjectNode.) |
| created | Called when a new instance of the test project is created. (Overrides the created Method.) |
| createdBy | Gets or sets the name of the user who created the application object. (Inherited from ProjectNode.) |
| createSuite | Inserts a node in the project tree. |
| creationDate | Gets or sets the date an application object was created. (Inherited from ProjectNode.) |
| creationTime | (Inherited from ProjectNode.) |
| dialogSettings | Runs the dialog box where settings for the test project can be entered. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| export | (Inherited from ProjectNode.) |
| findGroupMember | Searches the project or group for a specific element. (Inherited from ProjectNode.) |
| getNodeInLayer | Retrieves a version of the tree node from a specified layer. (Inherited from TreeNode.) |
| getParameterRecord | |
| getProjectClassName | Returns the name of the class corresponding to the classid of the project. (Inherited from ProjectNode.) |
| getRunNode | Opens the project window and returns the root projectNode of that window, for a particular projectNode found in the project overview window. (Inherited from ProjectNode.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| handleContextMenuItem | Runs the user selection in the context menu. (Overrides the handleContextMenuItem Method.) |
| hashKey | (Inherited from TreeNode.) |
| import | (Inherited from ProjectNode.) |
| isRunNode | (Inherited from ProjectNode.) |
| loadForInspection | Returns a loaded version of a projectNode found in the project overview window. (Inherited from ProjectNode.) |
| loadProject | Loads the project together with the test project settings saved as an XML string. (Overrides the loadProject Method.) |
| lockUpdate | Prevents visual updates while a series of actions is being performed. (Inherited from ProjectNode.) |
| makeCopy | (Inherited from TreeNode.) |
| name | Gets or sets the name that is used in the code to identify a form, report, table, query, or another Microsoft Dynamics AX application object. (Inherited from ProjectNode.) |
| new | Initializes a new instance of the SysTestProject class. (Overrides the new Method.) |
| newObjectName | Returns a string that contains the name of the new element. (Inherited from TreeNode.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| openToolbar | |
| origin | (Inherited from ProjectNode.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmCodeCoverage | |
| parmFilterStrategyType | Gets or sets the FilterStrategyType parameter. |
| parmOnErrorAction | Gets or sets the OnErrorAction parameter. |
| parmRecordCount | Gets or sets the RecordCount parameter. |
| projectReferenceName | Runs a dialog to select another test project to be inserted as a project reference. |
| removeFromProject | (Inherited from ProjectNode.) |
| removeSpecialOverlayIcons | (Inherited from ProjectNode.) |
| removeTooltip | Removes the tooltip from a tree node in the project. |
| repaintProject | Updates the project node by setting icons for it. |
| repaintSubNode | Updates the tree nodes of the project by setting special icons for the nodes according to the type of each tree node. |
| run | |
| saveProject | Saves the project with the setting for test projects. (Overrides the saveProject Method.) |
| setProjectClass | Assigns a class to the project, which gives the project the type that the class defines. (Inherited from ProjectNode.) |
| setSpecialIcon | Assigns a different icon to a specific node in the project. (Inherited from ProjectNode.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setTooltip | Sets the tooltip for a tree node in the project. |
| tooltipText | (Overrides the tooltipText Method.) |
| toString | Returns a string that represents the current object. (Inherited from TreeNode.) |
| treeNodeExport | Exports this node and its subtree from the Application Object Tree (AOT). (Inherited from TreeNode.) |
| treeNodeName | Returns the name of the tree node. (Inherited from TreeNode.) |
| treeNodePath | Returns the unique path to the tree node within the Application Object Tree (AOT). (Inherited from TreeNode.) |
| treeNodeRelease | Releases the tree node explicitly. (Inherited from TreeNode.) |
| treeNodeType | Retrieves an instance of a TreeNodeType class that provides reflection information for the tree node. (Inherited from TreeNode.) |
| unlockUpdate | Enables a visual update after a series of actions started with lockUpdate. (Inherited from ProjectNode.) |
| updateNodePermissions | (Inherited from TreeNode.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| utilElement | Returns a UtilElements record that is related to the node. (Inherited from TreeNode.) |
| utilIdElement | Returns a UtilIdElements record that is related to the node. (Inherited from TreeNode.) |
| validate | Validates that all the nodes in the project are valid test project nodes. |
| validateNameCharacters | (Inherited from TreeNode.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Constructs a new instance of the class. |
| ::getProjectNode | |
| ::getTestProject | Retrieves the SysTestProject class that contains the tree node the context menu is opened for. |
| ::implementsSysTestable | Determines whether a certain class implements the SysTestable interface. |
| ::implementsSysTestExecutable | Determines whether a certain class implements the SysTestExecutable interface. |
| ::isTestProjectReference | Checks if a given ProjectGroupNode Class object is a test project reference. |
| ::projectType | |
| ::refNode2TreeNode | Returns the actual SysTestProject node from a given test project reference tree node. |
A test project must be created as a shared project. For an example of how the SysTestProjectclass is used, see the infoRun method.Test projects work as a repository for collections of tests, for example, test suites.
Community Additions
ADD
Show: