Situation: I have a popup window that will generate a list of data. I will then try to select(click) a specific data from the list generated.
However, sometimes the data will fail to materialise, due to reasons or another, thus TestProject cant find the XPATH of the data.(which is parameterised based on the data in the first place)
I was recently trying out the advance option ‘Recovery Test’, which I presume was supposed to allow us to handle failures; so Im trying to make is so that if the list of data fail to materialise, meaning I cant click on the wanted data, to close the popup and proceed as usual.
Thing is…TestProject is sometimes too smart for its own good and thus proceeds to “fix” the path instead, which naturally leads to unexpected behaviours.
While I dont mind the auto-fix at times, for this specific case, I explicitly want the issue to fail and to go to the Recovery Test I set.