@ptt-bds Cho những thứ bạn muốn thực hiện khi ALL PROJECT lỗi, ví dụ như ghi ra log, ghi ra tệp, gửi thông báo, quay lại bước nào đó...
Vì khi một trong những hành động trong ALL PROJECT lỗi nó sẽ nhảy xuống chỗ này.
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