Object doesn't support this property or method: 'RSWApp'
781011Jun 23 2010 — edited Jul 6 2010I am trying to use a test scriplet to close a popup window and I used the 'Get path to element' tool to grab the path and inserted the path into the example code that was in the help file:
+'Test Scriptlets+
+'declare String variable to hold Object Descriptor+
+'String for the 'Siebel High Interactivity (HI)+
+'Element - SiebList+
Dim sODS
+'declare Integer variable to hold Property Type+
Dim iPropertyType As Integer
+'assign SiebList ODS to the variable+
sODS = "<Obj ClassName='SiebApplication'RepositoryName='Siebel Universal Agent'><Obj ClassName='SiebScreen' RepositoryName= 'Opportunities Screen'><Obj ClassName='SiebView'RepositoryName='Opportunity List View'><Obj ClassName='SiebApplet' RepositoryName='Opportunity List Applet'><Obj ClassName='SiebList' RepositoryName='SiebList'/></Obj></Obj></Obj></Obj>"
+'call InvokeMethod for+
+'GetColumnRepositoryNameByIndex method for the+
+' second column in the SiebList+
RSWApp.siebelCAS.InvokeMethod sODS, "GetColumnRepositoryNameByIndex", 1
This code always generates the error: Object doesn't support this property or method: 'RSWApp'
Am I missing something?
Thank you.
Brian