Hi,
I am not sure why, when I use the proper syntax and variables for selectOptionByValue, it is not working. Due to this, I am using the selectOptionByIndex for time being.
Can you please suggest to proceed further ? OR Is there any other way to use this ?
Hi Helene,
Here is the error log for reference. Please suggest to proceed further.
2019-07-17 18:18:04.300 ERROR c.k.k.c.c.keyword.CucumberReporter - user select the assigned to name “Veerareddy Venkat” FAILED.
Reason:
groovy.lang.MissingMethodException: No signature of method: CreateSaveReport002.findTestObject() is applicable for argument types: (java.lang.String, java.lang.String, com.kms.katalon.core.model.FailureHandling) values: [Object Repository/ORTC02/Page_New Report/select_AssignToList, …]
at CreateSaveReport002.user_select_assigned_name(CreateSaveReport002.groovy:203)
at ✽.user select the assigned to name “Veerareddy Venkat”(C:/Users/vxxxxxx/Katalon Studio/Govt Inquiry/Include/features/002-Create Save Report.feature:28)
I believe the issue is how you are handling that variable. From your snippet, everything matches. Assuming that the variable you have is set as type ‘String’ then you should be good.
.findTestObject() is applicable for argument types: (java.lang.String, java.lang.String, com.kms.katalon.core.model.FailureHandling)
This is telling you how it should look and from what you added, the only thing that really could that this off is the variable.
the error message is self explanatory.
the exception it is not raised in the code snipet posted, but in a different method.
so, without the full code, we can do blind guesses for a century, without a solution
This part of your error seems to be referencing something other than the method you shared above. It looks like you have an error in your script at line 203 where you have something like this: