{"id":4725,"date":"2014-03-25T16:34:33","date_gmt":"2014-03-25T20:34:33","guid":{"rendered":"http:\/\/www.webperformance.com\/load-testing-tools\/blog\/?page_id=4725"},"modified":"2014-07-08T16:49:35","modified_gmt":"2014-07-08T20:49:35","slug":"scripting-support","status":"publish","type":"page","link":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/articles\/real-browser-manual\/building-a-testcase\/scripting-support\/","title":{"rendered":"Scripting support"},"content":{"rendered":"<p>The goal of Load Tester is to make automated testing easier. By wrapping the Selenium\/WebDriver APIs in a powerful, productive UI, a lot of tedious coding and debugging is eliminated. But we recognize that sometimes, you just gotta write code. Or prefer to (we&#8217;re coders &#8211; we get that).<\/p>\n<p>So Load Tester has two ways to write code when you need to&#8230;while still retaining the power and productivity of Load Tester&#8217;s UI:<\/p>\n<ol>\n<li><a title=\"Inject Script\" href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/scripting-support\/inject-script\/\">Inject Script<\/a><\/li>\n<li><a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/scripting-support\/execute-script\/\">Execute Script<\/a><\/li>\n<\/ol>\n<p>These two options expose a powerful scripting capability in JavaScript and allow Load Tester to handle the difficult situations that are inevitable in real-world testing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The goal of Load Tester is to make automated testing easier. By wrapping the Selenium\/WebDriver APIs in a powerful, productive UI, a lot of tedious coding and debugging is eliminated. But we recognize that sometimes, you just gotta write code. Or prefer to (we&#8217;re coders &#8211; we get that).<br \/>\nSo Load Tester has two ways to write code when you need to&#8230;while still retaining the power and productivity of Load Tester&#8217;s UI:<\/p>\n<p><a title=\"Inject Script\" href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/scripting-support\/inject-script\/\">Inject Script<\/a><br \/>\n<a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/scripting-support\/execute-script\/\">Execute Script<\/a><\/p>\n<p>These two options expose a powerful scripting capability in JavaScript and allow Load Tester to handle the difficult situations that are inevitable in real-world &hellip; <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/articles\/real-browser-manual\/building-a-testcase\/scripting-support\/\">Continue reading &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":4859,"menu_order":8,"comment_status":"open","ping_status":"open","template":"manual-page.php","meta":{"footnotes":""},"class_list":["post-4725","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/pages\/4725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/comments?post=4725"}],"version-history":[{"count":4,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/pages\/4725\/revisions"}],"predecessor-version":[{"id":4812,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/pages\/4725\/revisions\/4812"}],"up":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/pages\/4859"}],"wp:attachment":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/media?parent=4725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}