@Pairs said in Event error:
CheckScreen method always returns GMAIL_MAIN_SCREEN
Could you describe in more detail what we are talking about? It would be desirable to attach a test project here or in a PM on the forum.
Hi
In my IF statement im getting syntax error
Final Message : Script finished with error :SyntaxError: Parse error
my IF looks like
[[SOURCE]].indexOf("h1\":\"\"}}},\"loggedIn\":true") >= 0 && [[CURRENT_URL]].indexOf("modify/profile.do") >= 0
If 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