Hi all,
can you please help me again ?
I want to select (by value) an item of a list. I tryed many ways, but not able to select one of them.
TestObject to_ListRestaurant = new TestObject('objectName_ListRestaurant')
to_ListRestaurant.addProperty('class', ConditionType.EQUALS, 'chosen-search-input')
WebUI.setText(to_ListRestaurant, sRestaurant)
TestObject to_ListRestaurant2 = new TestObject('objectName_ListRestaurant2')
to_ListRestaurant2.addProperty('class', ConditionType.EQUALS, 'chosen-results')
WebUI.selectOptionByLabel(to_ListRestaurant2, sRestaurant, false, FailureHandling.CONTINUE_ON_FAILURE)
==>Unable to select option by label ‘FLUNCH ENGLOS’ of object ‘objectName_ListRestaurant2’
[…]
Element should have been “select” but was “ul”
Many thanks in advance for your help.
Sincerly