so the if_v2 i just can’t understand it would like it to if the text is correct form “VerifyText” it should just continue with all the other remains commands, but if the the text is not correct then the script should end
how should i adjust this script so it would work?
{
“Name”: “PicsArt”,
“CreationDate”: “2022-4-8”,
“Commands”: [
{
“Command”: “open”,
“Target”: “Picsart”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “waitForPageToLoad”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “verifyText”,
“Target”: “xpath=//[@id="tab-panel-members"]/div/div[2]/div/div[3]/div[3]/span",
“Value”: “Member”,
“Targets”: [
"xpath=//[@id="tab-panel-members"]/div/div[2]/div/div[3]/div[3]/span”,
“xpath=//div[3]/div[3]/span”,
“css=#tab-panel-members > div > div.teams-hub-members-list-02282 > div > div:nth-child(3) > div:nth-child(3) > span”
],
“Description”: “”
},
{
“Command”: “if_v2”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “end”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “else”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “css=#tab-panel-members > div > div.teams-hub-members-list-02282 > div > div:nth-child(3) > div:nth-child(3) > div > button > i > svg”,
“Value”: “”,
“Targets”: [
“xpath=//[@id="tab-panel-members"]/div/div[2]/div/div[3]/div[3]/div/button/i/svg",
“css=#tab-panel-members > div > div.teams-hub-members-list-02282 > div > div:nth-child(3) > div:nth-child(3) > div > button > i > svg”
],
“Description”: “”
},
{
“Command”: “click”,
“Target”: "xpath=//[@id="tab-panel-members"]/div/div[2]/div/div[3]/div[3]/div/div/ul/li/button”,
“Value”: “”,
“Targets”: [
“xpath=//*[@id="tab-panel-members"]/div/div[2]/div/div[3]/div[3]/div/div/ul/li/button”,
“xpath=//div[3]/div/div/ul/li/button”,
“css=#tab-panel-members > div > div.teams-hub-members-list-02282 > div > div:nth-child(3) > div:nth-child(3) > div > div > ul > li > button”
],
“Description”: “”
},
{
“Command”: “click”,
“Target”: “xpath=/html/body/div[3]/div/div/div/button”,
“Value”: “”,
“Targets”: [
“xpath=/html/body/div[3]/div/div/div/button”,
“xpath=//div[3]/div/div/div/button”,
“css=body > div.pa-uiLib-modal-02138.pa-uiLib-modal-02313.remove-pop-up-02304 > div > div > div > button.pa-uiLib-main-button-02242.remove-pop-up-02309”
],
“Description”: “”
}
]
}