I'm looking into Ranorex for a POC. As a startup, I'm using the KeePass application to record and add some usercode - trying to search for a word and then to count the results.
To search for results I'm using the following code:
Dim row1 As Row = Nothing Dim found As Boolean = Host.Local.TryFindSingle("/form[@controlname='MainForm']/container/container[@caption='' and @controltypename='SplitterPanel' and @instance='0']/container/container[@caption='' and @controltypename='SplitterPanel' and @instance='1']/table/row[@index='0'] ", row1) If found is True then 'display how many results Dim list_row As IList(Of Row) = row1.Find(Of Row)("./table/row") 'MsgBox("found "+bool.ToString) MsgBox("The Row count Found was : " + list_row.count.ToString) NextRanorex version: 3.3.2
OS: windows7 64 bit, SP1
But I get 0 result. Is there anthing that I'm missing?
Thanks