Hello Everyone,
I am a non-programmer and I have a very little knowledge about coding and all. I have just started using Kantu IDE on Chrome and studied basic commands only. I am now able to extract the data only but would like it to be more dynamic like when a tag (storeText) is not available it should continue to next step and add ‘NA’ to CSV on behalf of the missing storeText. I know it can be achieved but I am unable to figure it out with If Else condition. Your HELP will be greatly appreciated.
As an example: When “link=Visual Web Automation” is not available it should add ‘NA’ instead of it to the CSV.
{
“Name”: “a9t9 sample scrape”,
“CreationDate”: “2019-5-7”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://a9t9.com/”,
“Value”: “”
},
{
“Command”: “storeText”,
“Target”: “link=Visual Web Automation”,
“Value”: “!csvLine”
},
{
“Command”: “csvSave”,
“Target”: “a9t9_scrape”,
“Value”: “”
}
]
}
Thank you in advance