GetDocumentType
Description:
Format:
GetDocumentType (integer Session ID (optional))
|
Parameters: |
Integer |
Session ID (optional) |
Browser Occurrence Number. |
|
Return Value: |
String |
Type |
Type of the Document |
Usage:
Example 1:
Get the Type of the Document displayed in the browser after a 'Submit' button has been clicked in the default Browser occurrence.
string strType
ClickButtonWithText ('Submit')
strType = GetDocumentType ()
Example 2:
MessageBox ('Document Type', GetDocumentType (2))