@langtoi
The developer is aware of this problem.
While this problem remains relevant, you can replace the double quote with a single quote before parsing the string, and then perform the reverse replacement. All this can be done using the "Replace string" action.
Syntax error in IF
-
Hi
In my IF statement im getting syntax error
Final Message : Script finished with error :SyntaxError: Parse errormy IF looks like
[[SOURCE]].indexOf("h1\":\"\"}}},\"loggedIn\":true") >= 0 && [[CURRENT_URL]].indexOf("modify/profile.do") >= 0If i remove first clouse then its works good but something seems brokes xml file, any suggestions?
-
@gudolik I just catered this error by deleting extra code in the script. search out, there would be extra actions that you would have made but they are not actually performing like you would have made a function but didn't call it. so that code is the reason for this error because browser automation studio read all the script while running the program.
-
@gudolik said in Syntax error in IF:
Hi
In my IF statement im getting syntax error
Final Message : Script finished with error :SyntaxError: Parse errormy IF looks like
[[SOURCE]].indexOf("h1\":\"\"}}},\"loggedIn\":true") >= 0 && [[CURRENT_URL]].indexOf("modify/profile.do") >= 0If i remove first clouse then its works good but something seems brokes xml file, any suggestions?
https://community.bablosoft.com/topic/5037/ошибка-при-запуске/5
[[SOURCE]].indexOf("h1\":\"\"\u007D\u007D\u007D,\"loggedIn\":true") >= 0 && [[CURRENT_URL]].indexOf("modify/profile.do") >= 0