Script does not stop on errors anymore and does wired things

The following script will still execute even the ID of that field does not exist:
This is caused by the fact that “Targets”: [… is holding values that are correct and seems to be used as alternatives… I think that is not good.
Once I remove “Targets”: [… it stops working as expected.

“Name”: “Test 3”,
“CreationDate”: “2023-11-15”,
“Commands”: [
“Command”: “open”,
“Target”: “Contact the Ui.Vision Team (Sales and Support)”,
“Value”: “”,
“Description”: “”
“Command”: “type”,
“Target”: “id=blabla”,
“Value”: “Tests”,
“Targets”: [
“Description”: “”

This behavior is by design to allow for more stable replay. Both the uivsion selenium IDE and the original selenium IDE create a list of “Alternative Selectors” during web recording. These are stored the TARGETS list in the json file. So when the first selector (the TARGET) is not found, the alternatives are used.

If you want to avoid this, the solution is to remove the TARGETS list from the command - just as you did :wink:

Thanks for the clarification. :slight_smile: