Sauvegarder
Créer
Supprimer
{"ScriptPreparationCode":"function testBtnA(showBtn){\r\n const btnDelete = document.getElementById(\u0027btnDeleteQuerySet\u0027);\r\n let btnToShow, btnToHide;\r\n \r\n if (showBtn === \u0022create\u0022) {\r\n btnToShow = document.getElementById(\u0027btnCreateQuerySet\u0027);\r\n btnToHide = document.getElementById(\u0027btnSaveQuerySet\u0027);\r\n btnDelete.style.display = \u0022none\u0022;\r\n } else if (showBtn === \u0022save\u0022) {\r\n btnToShow = document.getElementById(\u0027btnSaveQuerySet\u0027);\r\n btnToHide = document.getElementById(\u0027btnCreateQuerySet\u0027);\r\n btnDelete.style.display = \u0022block\u0022;\r\n }\r\n \r\n btnToShow.disabled = true;\r\n btnToShow.style.display = \u0022block\u0022;\r\n btnToHide.style.display = \u0022none\u0022;\r\n }\r\n \r\n function testBtnB(showBtn){\r\n const btnDelete = document.getElementById(\u0027btnDeleteQuerySet\u0027);\r\n let btnToShow, btnToHide;\r\n \r\n if (showBtn === \u0022create\u0022) {\r\n btnToShow = document.getElementById(\u0027btnCreateQuerySet\u0027);\r\n btnToHide = document.getElementById(\u0027btnSaveQuerySet\u0027);\r\n btnDelete.style.display = \u0022none\u0022;\r\n } else if (showBtn === \u0022save\u0022) {\r\n btnToShow = document.getElementById(\u0027btnSaveQuerySet\u0027);\r\n btnToHide = document.getElementById(\u0027btnCreateQuerySet\u0027);\r\n btnDelete.style.display = \u0022block\u0022;\r\n }\r\n \r\n btnToShow.disabled = true;\r\n btnToShow.style.visibility = \u0022visible\u0022\r\n btnToHide.style.display = \u0022hidden\u0022;\r\n }","TestCases":[{"Name":"testA","Code":"for(let i = 0;i \u003C 2000; \u002B\u002Bi){\r\n testBtnA(\u0022create\u0022)\r\n }","IsDeferred":false},{"Name":"testB","Code":"for(let i = 0;i \u003C 2000; \u002B\u002Bi){\r\n testBtnB(\u0022create\u0022)\r\n }","IsDeferred":false}]}