Scope:
I need to loop a macro. The macro consists of an email field so, I need to dynamically update this email address each time the macro plays.
For example, let’s say my email address is myemailaddress@gmail. While looping this address needs to be updated like myemailaddress+1@gmail, myemailaddress+2@gmail and so on
Macro sample:
{
"Command": "click",
"Target": "id=keyword2",
"Value": "",
"Targets": [
"id=keyword2",
"name=email",
"xpath=//*[@id=\"keyword2\"]",
"xpath=//input[@id='keyword2']",
"xpath=//div[2]/div/div/input",
"css=#keyword2"
],
"Description": ""
},
{
"Command": "type",
"Target": "id=keyword2",
"Value": "myemailaddress@gmail.com",
"Targets": [
"id=keyword2",
"name=email",
"xpath=//*[@id=\"keyword2\"]",
"xpath=//input[@id='keyword2']",
"xpath=//div[2]/div/div/input",
"css=#keyword2"
]