Thank you for your valuable help. This is the portion I want to skip for the next step, in case I have the column blank. Which means I wish that UIVision skip this step and go to the COL3,etc.
"Command": "type",
"Target": "id=PageContent_DescriptionField",
"Value": "${!COL2}"
I dont know how to edit XPath, but I suspect this is what I need to edit inside XPath/target “id=PageContent_DescriptionField”
Here is part of the full code, wthou XPath edited, could you help me please to edit only this part? This way I can edit all the rest, just replacing, using your code. Thanks.
{
“Name”: “Update but Ignore Blank Column”,
“CreationDate”: “2020-11-24”,
“Commands”: [
{
“Command”: “csvRead”,
“Target”: “stations.csv”,
“Value”: “”
},
{
“Command”: “open”,
“Target”: “https://google.com/=${!COL1}”,
“Value”: “”
},
{
“Command”: “comment”,
“Target”: “skip blank description”,
“Value”: “”
},
{
“Command”: “if_v2”,
“Target”: “${!COL2}.length > 0”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “xpath=//input[@name=‘name’]”,
“Value”: “${!COL2}”
},
{
“Command”: “end”,
“Target”: “”,
“Value”: “”
},
{
“Command”: “comment”,
“Target”: “skip blank description”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=PageContent_DescriptionField”,
“Value”: “${!COL2}”
},
{
“Command”: “type”,
“Target”: “id=PageContent_EngField”,
“Value”: “${!COL3}”
},