Hi, I have a problem with my code. Everything is working fine but when I pass to the Code view, the "{}" of the variables disappear. Here's the working code:
if($exists(<data-style-name=r"{#Color}">)) {
then {
click(<data-style-name=r"{#Color}">, "Left Click", "No")
}
else {
if($exists(<data-style-name=r"{#Color2}">)) {
then {
click(<data-style-name=r"{#Color2}">, "Left Click", "No")
}
else {
alert("Non dispo")
stop script
}
}
}