GetDocumentAddress
Description:
Format:
GetDocumentAddress (integer Session ID (optional))
|
Parameters: |
Integer |
Session ID (optional) |
Browser Occurrence Number. |
|
Return Value: |
String |
Address |
Address (URL) of current Document |
Usage:
Example 1:
Get the Address of the Document displayed in the browser after a 'Submit' button has been clicked in the default Browser occurrence.
string strAddress
ClickButtonWithText ('Submit')
strAddress = GetDocumentAddress ()
Example 2:
If GetDocumentAddress (2) = 'blank.htm'
MessageBox ('Page Error', 'The Document does not exist')
EndIf