Siebel Object Interfaces Reference > Siebel Web Client Automation Server Quick Reference >

SiebelHTMLApplication Methods for Siebel Web Client Automation Server


Table 38 lists a summary of the Siebel HTMLApplication methods' syntax.

Table 38.  SiebelHTMLApplication Methods Syntax Summary
Method
Description
Syntax

GetLastErrCode Method

Returns the last error code.

Dim siebelApp As SiebelHTMLApplication
Dim iErr as Long
iErr = siebelApp.GetLastErrCode

GetLastErrText Method

Returns the last error text message.

Dim siebelApp As SiebelHTMLApplication
Dim sText as String
sText = siebelApp.GetLastErrText

GetService Method

Instantiates and returns a new instance of the service specified in the argument.

Dim siebelApp As SiebelHTMLApplication
Dim svc As SiebelService
Set svc = siebelApp.GetService(ServiceName as String)

Name Method

Returns the name of the current application as defined in the repository.

Dim siebelApp As SiebelHTMLApplication
Dim name as String
name = siebelApp.Name

NewPropertySet Method

Constructs and returns a new property set object.

Dim siebelApp As SiebelHTMLApplication
Dim propSet as SiebelPropertySet
Set propSet = siebelApp.NewPropertySet

Siebel Object Interfaces Reference