chunkylover53
14 years agoNew Contributor
object doesnt' support this......blah blah
I'm trying to do a real simple thing here and it wont' work.
I want to call one unit script from another and it keeps giving me an error that says "Object doesn't support this property or method"
I have these two units and that's it. Yes the unit reference is setup.
Any help will be much appreciated.
'USEUNIT GMS_Daemon_Running
Option Explicit
Sub Main()
Call EP_RunREMSmokeTest()
End Sub
Sub EP_RunREMSmokeTest()
Call GMS_Daemon_Running()
End Sub
_________________________________________________________________________________________________
Sub GMS_Daemon_Running()
'Runs the "iexplore" tested application.
Call TestedApps.iexplore.Run
'Checks whether the 'innerText' property of the Aliases.iexplore.pageRemoteEnergyManagement.formForm2.panel.panelContentdiv.table.cell2.panelNormal.textnode object contains 'GMSDaemon Running'.
Call aqObject.CheckProperty(Aliases.iexplore.pageRemoteEnergyManagement.formForm2.panel.panelContentdiv.table.cell2.panelNormal.textnode, "innerText", 6, "GMSDaemon Running")
End Sub
I want to call one unit script from another and it keeps giving me an error that says "Object doesn't support this property or method"
I have these two units and that's it. Yes the unit reference is setup.
Any help will be much appreciated.
'USEUNIT GMS_Daemon_Running
Option Explicit
Sub Main()
Call EP_RunREMSmokeTest()
End Sub
Sub EP_RunREMSmokeTest()
Call GMS_Daemon_Running()
End Sub
_________________________________________________________________________________________________
Sub GMS_Daemon_Running()
'Runs the "iexplore" tested application.
Call TestedApps.iexplore.Run
'Checks whether the 'innerText' property of the Aliases.iexplore.pageRemoteEnergyManagement.formForm2.panel.panelContentdiv.table.cell2.panelNormal.textnode object contains 'GMSDaemon Running'.
Call aqObject.CheckProperty(Aliases.iexplore.pageRemoteEnergyManagement.formForm2.panel.panelContentdiv.table.cell2.panelNormal.textnode, "innerText", 6, "GMSDaemon Running")
End Sub