CursorClass and XmlNode.
Returns the type of the current cursor or XML object.
object.GetType()
Names for the common cursor-shapes are POINTER, INSERT, and DELAY. The following cursor shapes are also supported:
For 32-bit Windows platforms only:
In 32-bit Windows, when an application asks for the cursor, it sees its most recent setting, which does not necessarily match what is currently displayed. It does agree with what would be displayed if the cursor were over a window owned by the application. The GetType function asks the application, over whose window the cursor is resting, what type the cursor is. This will match visual reality, but might cause some tests to fail. If you verify the cursor type when the cursor is not over a window owned by the application under test, you might get the wrong value, so the verification fails even if the application under test sets the cursor correctly and users see the correct cursor when they move over one of the application's windows.
CURSOR CurType CurType = Cursor.GetType() Verify (CurType, "POINTER", "Check cursor type") STRING sXmlType SxmlType= Browserchild.XmlNode.GetType() Print("XML object type: {sXmlType}")