rbhogavalli
10 years agoOccasional Contributor
How to remove Obj wait time
safdsf
Function Pest_Engines_List_Test()
Dim pest, treeView, Child, ParcelEngines,pItems, pItem, onEngines()
Set toolStripContainer = Aliases.pest.MainWindow.toolStripContainer
Set treeView = toolStripContainer.ToolStripContentPanel.splitContainer.SplitterPanel.SelectorPanel.treeView
Call treeView.ClickItem("|ProShip Configuration")
Set ParcelEngines = treeView.witems.Item("ProShip Configuration").items.Item("Parcel Engines")
'ChildCount = ParcelEngines.items.Count
Redim onEngines(ParcelEngines.items.Count)
For i = 0 To ParcelEngines.items.Count -1
Set pEngine = parcelEngines.items.Item(i)
pEngine.Select()
If toolStripContainer.ToolStripPanel.ToolStrip.Turn_Off_Engine.Exists Then
onEngines(i) = pEngine.Text
Log.Message ("Parcel engine" & pEngine.Text & "is On and need to be tested")
At this statement
If toolStripContainer.ToolStripPanel.ToolStrip.Turn_Off_Engine.Exists
if the object "Turn_Off_Engine" dosen't exists, itefore processing the the loop.
I didn't insert any wait time specifically.
How can i remove this wait time.
Function Pest_Engines_List_Test()
Dim pest, treeView, Child, ParcelEngines,pItems, pItem, onEngines()
Set toolStripContainer = Aliases.pest.MainWindow.toolStripContainer
Set treeView = toolStripContainer.ToolStripContentPanel.splitContainer.SplitterPanel.SelectorPanel.treeView
Call treeView.ClickItem("|ProShip Configuration")
Set ParcelEngines = treeView.witems.Item("ProShip Configuration").items.Item("Parcel Engines")
'ChildCount = ParcelEngines.items.Count
Redim onEngines(ParcelEngines.items.Count)
For i = 0 To ParcelEngines.items.Count -1
Set pEngine = parcelEngines.items.Item(i)
pEngine.Select()
If toolStripContainer.ToolStripPanel.ToolStrip.Turn_Off_Engine.Exists Then
onEngines(i) = pEngine.Text
Log.Message ("Parcel engine" & pEngine.Text & "is On and need to be tested")
At this statement
If toolStripContainer.ToolStripPanel.ToolStrip.Turn_Off_Engine.Exists
if the object "Turn_Off_Engine" dosen't exists, itefore processing the the loop.
I didn't insert any wait time specifically.
How can i remove this wait time.