This is my eggplant script
if iFound does not contain "NULL" then
//replace "\n" by " & return & " in iFound
replace every occurrence of "\n" in iFound with " & return & "
log "before clicking see text" && iFound
log "not null and clicking"
click iFound
End if
Here my parameter iFound is holding "Cadbury Creme Egg\nMcFlurry"
I want to replace "Cadbury Creme Egg\nMcFlurry" like "Cadbury Creme Egg & return & McFlurry"
Hence I have written the replace command but it is ignoring the escape character "\n"
replace every occurrence of "\n" in iFound with " & return & "
How can I do the replace of "\n" newline character with " & return & "
Aucun commentaire:
Enregistrer un commentaire