Want to DataDrive a check property
I have the following bit of code:
'Main Loop
While Not Project.Variables.SearchPanelLoop.IsEOF
'(Pick a Task) Double-clicks the KeywordTests.LoopedNavigation.Variables.SearchPanelLoop("Selection") item.
Call Aliases.Samtec_ShopFloorControl_AppHost.TaskManagerForm.WindowDockingArea1.DockableWindow1.TaskSearchPanel.TaskListView.DblClickItem(Project.Variables.SearchPanelLoop.Value("Selection"))
'(Check the Task) Checks whether the 'Exists' property of the Page called up equals True.
Call aqObject.CheckProperty(Project.Variables.SearchPanelLoop.Value("Control"), "Exists", cmpEqual, True)
'Right Click on the Tab
Call Aliases.Samtec_ShopFloorControl_AppHost.TaskManagerForm.MdiTabGroupControl.ClickR(37, 10)
'close the tab
Call Aliases.Samtec_ShopFloorControl_AppHost.TaskManagerForm.MdiTabGroupControl.PopupMenu.Click("[0]")
Call Project.Variables.SearchPanelLoop.Next
WEnd
And the following object
I have a set of them all in excel, as here:
The Plan SEEMS straightforward enough, and I was able to set it up in the Keyword Interface (Moved to script so I could paste it here. The error is the same, either way)
Anyway, the plan is:
Click on Selection
Check to see if the correct page now exists & report
Loop
But I get:
I assumed that I SHOULD be able to data drive this, because, in the Keyword view, I can specify exactly this thing:
So, what am I missing?
try
Call aqObject.CheckProperty(eval(Project.Variables.SearchPanelLoop.Value("Control")), "Exists", cmpEqual, True)