Solve with this code, i have few time but can be create in better way this is the fast and easy way to create e multiple condition search
Do exactly the work you need, with more time this can be creaetd with few code line with times command and array, will be more short the macro code and more fast but require more time to write a macro code.
{
"Name": "aaaaaaaaaaaaa",
"CreationDate": "2020-11-30",
"Commands": [
{
"Command": "store",
"Target": "true",
"Value": "!errorignore"
},
{
"Command": "bringBrowserToForeground",
"Target": "",
"Value": ""
},
{
"Command": "comment",
"Target": "First Research",
"Value": ""
},
{
"Command": "open",
"Target": "http://cartlidgesqualitymeats.com/",
"Value": ""
},
{
"Command": "pause",
"Target": "5000",
"Value": ""
},
{
"Command": "storeText",
"Target": "xpath=//h1[contains(.,'Cartlidges Quality Meats')]",
"Value": "Result"
},
{
"Command": "echo",
"Target": "${Result}",
"Value": "#shownotification"
},
{
"Command": "if_v2",
"Target": "${Result} == \"Cartlidges Quality Meats\"",
"Value": ""
},
{
"Command": "open",
"Target": "https://google.com",
"Value": ""
},
{
"Command": "echo",
"Target": "Url Opened",
"Value": "#shownotification"
},
{
"Command": "pause",
"Target": "10000",
"Value": ""
},
{
"Command": "end",
"Target": "",
"Value": ""
},
{
"Command": "if_v2",
"Target": "${Result} != \"Cartlidges Quality Meats\"",
"Value": ""
},
{
"Command": "echo",
"Target": "Text Cartlidges Quality Meats Not Found",
"Value": "#shownotification"
},
{
"Command": "end",
"Target": "",
"Value": ""
},
{
"Command": "comment",
"Target": "Second Research",
"Value": ""
},
{
"Command": "open",
"Target": "http://cartlidgesqualitymeats.com/",
"Value": ""
},
{
"Command": "pause",
"Target": "5000",
"Value": ""
},
{
"Command": "storeText",
"Target": "xpath=//h1[contains(.,'609-396-396')]",
"Value": "Result"
},
{
"Command": "echo",
"Target": "${Result}",
"Value": "#shownotification"
},
{
"Command": "if_v2",
"Target": "${Result} == \"609-396-396\"",
"Value": ""
},
{
"Command": "open",
"Target": "https://msn.com",
"Value": ""
},
{
"Command": "echo",
"Target": "Url Opened",
"Value": "#shownotification"
},
{
"Command": "pause",
"Target": "10000",
"Value": ""
},
{
"Command": "end",
"Target": "",
"Value": ""
},
{
"Command": "if_v2",
"Target": "${Result} != \"609-396-396\"",
"Value": ""
},
{
"Command": "echo",
"Target": "609-396-396 Not Found",
"Value": "#shownotification"
},
{
"Command": "end",
"Target": "",
"Value": ""
}
]
}