{"id":77478,"date":"2024-05-10T11:48:30","date_gmt":"2024-05-10T10:48:30","guid":{"rendered":"https:\/\/arquiconsult.com\/?p=77478"},"modified":"2024-10-23T11:50:15","modified_gmt":"2024-10-23T10:50:15","slug":"bc-in-client-page-scripting","status":"publish","type":"post","link":"https:\/\/arquiconsult.com\/es\/bc-in-client-page-scripting\/","title":{"rendered":"#051 BC IN-CLIENT PAGE SCRIPTING"},"content":{"rendered":"<div class=\"services_vertical horizontal_services row\" style=\"background-color: #f7f7f7; padding: 25px; border-radius: 5px; text-align: justify;\">\n<p>The latest version of Dynamics 365 Business Central introduces a new great feature: the <strong>Page Script<\/strong> tool. It allows to easily <strong>record and playback actions<\/strong>, such as opening pages or entering data, and saving the recording to share it with others for future playback.<\/p>\n<p>A significant use case for the tool is to capture and run user acceptance tests, which is also the primary focus for this release phase.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong>Start the tool<\/strong><\/p>\n<p>In the web client, the page scripting tool is accessed from the Settings menu.<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-77482 aligncenter\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Start-the-tool.png\" alt=\"-\" width=\"300\" height=\"364\" title=\"-\"><\/p>\n<p>&nbsp;<\/p>\n<p>The Page Scripting action only appears if you have record or playback permission to use the tool.<\/p>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-77483 aligncenter\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-action-only-appears-if-you-have-record-or-playback-permission-to-use-the-tool.-640x42.png\" alt=\"-\" width=\"640\" height=\"42\" srcset=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-action-only-appears-if-you-have-record-or-playback-permission-to-use-the-tool.-640x42.png 640w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-action-only-appears-if-you-have-record-or-playback-permission-to-use-the-tool.-768x50.png 768w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-action-only-appears-if-you-have-record-or-playback-permission-to-use-the-tool.-320x21.png 320w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-action-only-appears-if-you-have-record-or-playback-permission-to-use-the-tool.-480x32.png 480w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-action-only-appears-if-you-have-record-or-playback-permission-to-use-the-tool.-800x53.png 800w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-action-only-appears-if-you-have-record-or-playback-permission-to-use-the-tool..png 898w\" sizes=\"(max-width: 640px) 100vw, 640px\" title=\"-\"><\/p>\n<p>&nbsp;<\/p>\n<p>The Page Scripting panel appears on the right side, prompting you to choose between initiating a new recording or opening an existing one for inspection or playback.<\/p>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-77486 aligncenter\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-panel-appears-291x480.png\" alt=\"-\" width=\"291\" height=\"480\" srcset=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-panel-appears-291x480.png 291w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-panel-appears-320x529.png 320w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/The-Page-Scripting-panel-appears.png 371w\" sizes=\"(max-width: 291px) 100vw, 291px\" title=\"-\"><\/p>\n<p><strong>Record<\/strong><\/p>\n<p>The page scripting tool records your on-screen interactions and the corresponding actions, such as opening or closing pages, making selections, entering data.<\/p>\n<p>While recording, you have the option to remove the last captured step.<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-77491 alignnone\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Record.jpg\" alt=\"-\" width=\"229\" height=\"318\" title=\"-\">\u00a0 \u00a0 \u00a0 \u00a0 <img loading=\"lazy\" class=\"wp-image-77492 alignnone\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Record1-345x480.png\" alt=\"-\" width=\"227\" height=\"316\" srcset=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Record1-345x480.png 345w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Record1-320x446.png 320w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Record1.png 387w\" sizes=\"(max-width: 227px) 100vw, 227px\" title=\"-\"><\/p>\n<p>Is it possible to stop and restart the recording at any time. It is also possible to modify the properties during the recording or after it&#8217;s finished.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-77497\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Is-it-possible-to-stop-and-restart.jpg\" alt=\"-\" width=\"228\" height=\"346\" title=\"-\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0<img loading=\"lazy\" class=\"alignnone wp-image-77498\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Is-it-possible-to-stop-and-restart-1-319x480.png\" alt=\"-\" width=\"230\" height=\"347\" srcset=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Is-it-possible-to-stop-and-restart-1-319x480.png 319w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Is-it-possible-to-stop-and-restart-1-320x482.png 320w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Is-it-possible-to-stop-and-restart-1.png 355w\" sizes=\"(max-width: 230px) 100vw, 230px\" title=\"-\"><\/p>\n<p><strong>Playback<\/strong><\/p>\n<p>Select the Play button on the toolbar to playback a recording. You can use the available navigation buttons, but once the action is executed, you&#8217;ll need to manually undo any changes.<\/p>\n<p>After execution, you can verify if the execution was successful.<\/p>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-77501 aligncenter\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback-640x275.png\" alt=\"-\" width=\"640\" height=\"275\" srcset=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback-640x275.png 640w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback-768x330.png 768w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback-320x138.png 320w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback-480x206.png 480w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback-800x344.png 800w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback.png 1135w\" sizes=\"(max-width: 640px) 100vw, 640px\" title=\"-\"><\/p>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-77504 aligncenter\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback2-640x199.png\" alt=\"-\" width=\"640\" height=\"199\" srcset=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback2-640x199.png 640w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback2-768x239.png 768w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback2-320x99.png 320w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback2-480x149.png 480w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback2-800x249.png 800w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Playback2.png 1145w\" sizes=\"(max-width: 640px) 100vw, 640px\" title=\"-\"><\/p>\n<p>Note: The screen where you are positioned when you record the script and when you execute it is important. Ideally, it should match at the beginning to minimize potential errors.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Save a Recording<\/strong><\/p>\n<p>You can save the recording from the toolbar. This creates a YAML file that you can download, share, edit, and reopen for playback.<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-77509 aligncenter\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Save-a-Recording.png\" alt=\"-\" width=\"346\" height=\"266\" srcset=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Save-a-Recording.png 346w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Save-a-Recording-320x246.png 320w\" sizes=\"(max-width: 346px) 100vw, 346px\" title=\"-\"><\/p>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-77510 aligncenter\" src=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Save-a-Recording2-640x427.png\" alt=\"-\" width=\"640\" height=\"427\" srcset=\"https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Save-a-Recording2-640x427.png 640w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Save-a-Recording2-768x513.png 768w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Save-a-Recording2-320x214.png 320w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Save-a-Recording2-480x320.png 480w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Save-a-Recording2-800x534.png 800w, https:\/\/arquiconsult.com\/wp-content\/uploads\/2024\/09\/Save-a-Recording2.png 972w\" sizes=\"(max-width: 640px) 100vw, 640px\" title=\"-\"><\/p>\n<p>&nbsp;<\/p>\n<!--themify_builder_content-->\n<div id=\"themify_builder_content-77478\" data-postid=\"77478\" class=\"themify_builder_content themify_builder_content-77478 themify_builder tf_clear\">\n    \t<!-- module_row -->\n\t<div  data-lazy=\"1\" class=\"module_row themify_builder_row tb_nus1581 tb_first tf_clearfix\">\n\t    \t\t<div class=\"row_inner col_align_top col-count-1 tf_box tf_w tf_rel\">\n\t\t\t<div  data-lazy=\"1\" class=\"module_column tb-column col-full first tb_cai8581 tf_box\">\n\t\t\t    \t        <div class=\"tb-column-inner tf_box tf_w\">\n\t\t    <!-- module text -->\n<div  class=\"module module-text tb_9tkr581 arquitps-data  \" data-lazy=\"1\">\n        <div  class=\"tb_text_wrap\">\n    <p><script>\njQuery(\".tbp_post_month:contains(Janeiro)\").html(\"January\");\n\njQuery(\".tbp_post_month:contains(Fevereiro)\").html(\"February\");\n\n\njQuery(\".tbp_post_month:contains(Mar\u00e7o)\").html(\"March\");\n\n\njQuery(\".tbp_post_month:contains(Abril)\").html(\"April\");\n\n\njQuery(\".tbp_post_month:contains(Maio)\").html(\"May\");\n\n\njQuery(\".tbp_post_month:contains(Junho)\").html(\"June\");\n\n\njQuery(\".tbp_post_month:contains(Julho)\").html(\"July\");\n\njQuery(\".tbp_post_month:contains(Agosto)\").html(\"August\");\n\njQuery(\".tbp_post_month:contains(Setembro)\").html(\"September\");\n\njQuery(\".tbp_post_month:contains(Outubro)\").html(\"October\");\n\njQuery(\".tbp_post_month:contains(Novembro)\").html(\"November\");\n\njQuery(\".tbp_post_month:contains(Dezembro)\").html(\"December\");\t\n\n\n\n<\/script><\/p>    <\/div>\n<\/div>\n<!-- \/module text -->\t        <\/div>\n\t    \t<\/div>\n\t\t    <\/div>\n\t    <!-- \/row_inner -->\n\t<\/div>\n\t<!-- \/module_row -->\n\t\t<!-- module_row -->\n\t<div  data-anchor=\"sucesso\" data-hide-anchor=\"1\" data-lazy=\"1\" class=\"module_row themify_builder_row sucesso repeat tb_has_section tb_section-sucesso tb_rcf485 tf_clearfix\" >\n\t    \t\t<div class=\"row_inner col_align_top col-count-1 tf_box tf_w tf_rel\">\n\t\t\t<div  data-lazy=\"1\" class=\"module_column tb-column col-full first tb_32dc85 tf_box\">\n\t\t\t    \t        <div class=\"tb-column-inner tf_box tf_w\">\n\t\t    <!-- module buttons -->\n<div  class=\"module module-buttons tb_7fs985 buttons-horizontal transparent popmake-24705 large circle tf_textc\" data-lazy=\"1\">\n    \t<div class=\"module-buttons-item tf_inline_b\">\n\t\t\t\t\t\t\t<a href=\"#\" class=\"ui builder_button tb_default_color\" >\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"tf_inline_b tf_vmiddle\">Give as a Feedback and Suggest Questions<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t    \t<\/div>\n\t<\/div>\n<!-- \/module buttons -->\n\t        <\/div>\n\t    \t<\/div>\n\t\t    <\/div>\n\t    <!-- \/row_inner -->\n\t<\/div>\n\t<!-- \/module_row -->\n\t<\/div>\n<!--\/themify_builder_content-->\n","protected":false},"excerpt":{"rendered":"<p>The latest version of Dynamics 365 Business Central introduces a new great feature: the Page Script tool. It allows to easily record and playback actions, such as opening pages or entering data, and saving the recording to share it with others for future playback. A significant use case for the tool is to capture and [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":77519,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2065,2125],"tags":[2059,2174,2596],"acf":[],"_links":{"self":[{"href":"https:\/\/arquiconsult.com\/es\/wp-json\/wp\/v2\/posts\/77478"}],"collection":[{"href":"https:\/\/arquiconsult.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arquiconsult.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arquiconsult.com\/es\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/arquiconsult.com\/es\/wp-json\/wp\/v2\/comments?post=77478"}],"version-history":[{"count":0,"href":"https:\/\/arquiconsult.com\/es\/wp-json\/wp\/v2\/posts\/77478\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arquiconsult.com\/es\/wp-json\/wp\/v2\/media\/77519"}],"wp:attachment":[{"href":"https:\/\/arquiconsult.com\/es\/wp-json\/wp\/v2\/media?parent=77478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arquiconsult.com\/es\/wp-json\/wp\/v2\/categories?post=77478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arquiconsult.com\/es\/wp-json\/wp\/v2\/tags?post=77478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}