Coded step:
' Create an HTMLFindExpression element
Dim expr As New HTMLFindExpression("name=cat*")
' Return all elements matching HTMLFindExpression
Dim allSams As IList(Of Element) = Find.AllByExpression(expr)
For Each selectOption As Element In allSams
Log.WriteLine("Available price cats: " + selectOption.GetType.ToString())
Next
Log contents:
'13.7.2015 12:17:32' - 'Pass' : 8. CodedStep1: Select 'ByValue' option 'randomNr' on 'SelectedPriceCat'
------------------------------------------------------------
'13.7.2015 12:17:32' - Overall Result: Pass
In log I'm missing Log.WriteLine("Available price cats: " + selectOption.GetType.ToString()) text. Doesn't "Log.WriteLine" work?
BR, Jurij