Hello there Katalon community! So me and my co-workers are having a bit of an issue with the command Select Optin By Value on Outsystems code… We can make the tests with commands Click and Set Text, but since selecting the option itself by value is much more efficient and a better practice (because we know we will always get the result we intended to), we are aiming to resolve this problem and make our tests better!
Bellow I’m going to show you guys just a sample of the test but it’s basically the same error in every other drop down menu we capture on the site. We can in fact catch the objects, we even went to the inspect elements and made sure we were actually catching the select object were all the values are stored.
The craziest thing is that of all the drop down menus, one actually works perfectly, but the other ones just give us the error :
And even crazier it’s the fact that, as i said before, we had one drop menu working perfectly so we decided to save it there and keep working on the problem the next day, but somehow, we saved it when it was working and now it doens’t work either … i feel like either Katalon or the Outsystems code is flipping us
The image bellow is the drop down menus i am talking about:
The XPaths on the drop down menus/select objects are as follows (we tried the one that spy web gave us and the one that inspect elements on the browser gave us)
spy web XPath for object ‘Drop_menu_Car_Value’:
inspect elemnts XPath for object ‘Drop_menu_Car_Value’:
So as i see it, the error is…* :
com.kms.katalon.core.exception.StepFailedException: Unable to select option by value ‘4132834’ of object ‘Object Repository/Codan_Car_OR/Codan_dk_Car/Drop_down_menus/Drop_menu_Car_value’
*…implying that he can’t access the value I’m asking of said select object. But it has already worked on one of them (did and now does not…?) and we did the same exact steps to the other selects when the first one was still working fine and we got this same mistake. We have double and tripled checked the xpath through the inspect elemnts but to no avail… I hope i put enough info here so you can make some sense of this, if not please tell me what you need to understand the problem we’re having. Anyway, thank you guys for this community it’s my second time posting but i have solved some problems before by seeing your answers on other posts, so keep up the great work pls! Katalonians appreciate your service