@korthresh
What version of BAS are you using?
What OS do you have?
Do you use a fingerprint when the problem occurs?
Does this happen constantly? Just on this page element or on other elements as well?
How can I replicate this intentionally? Are there any specific steps?
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