First line of the UserCode:
Dim table As Table = "/dom[@caption='EDIT SOLUTIONS - Case Tracking - Contract']//table[#'ContractDialogTableModel']"
Error:
The element does not support the required capability 'table'.
Show/Hide Stacktrace
at Ranorex.Adapter..ctor(Element element) at Ranorex.Table.op_Implicit(String path) at Claims.Claims.Search.test1() in C:\Users\narmand\Desktop\NewProjects\Claims\Search.UserCode.vb:line 38 at Claims.Claims.Search.Run() in C:\Users\narmand\Desktop\NewProjects\Claims\Search.vb:line 114 at Ranorex.Core.Testing.TestSuiteModule.RunInternal(DataContext parentDataContext)
Error with tables
Error with tables
You do not have the required permissions to view the files attached to this post.
Re: Error with tables
If this is a web page, try using a TableTag object instead, as that is what the actual element is.
I don't know why Ranorex does it this way, but I would think if it was a TableTag, you should use "tabletag" in the RanoreXPath in order to avoid ambiguity.
Code: Select all
dim table as TableTag = "/dom[@caption='EDIT SOLUTIONS - Case Tracking - Contract']//table[#'ContractDialogTableModel']"
Shortcuts usually aren't...
Re: Error with tables
Cool, I see your point and it worked with the workaround. Thanks