{"id":5495,"date":"2015-10-21T20:28:24","date_gmt":"2015-10-22T00:28:24","guid":{"rendered":"http:\/\/www.webperformance.com\/load-testing-tools\/blog\/?p=5495"},"modified":"2016-02-27T14:18:58","modified_gmt":"2016-02-27T18:18:58","slug":"testing-popup-windows","status":"publish","type":"post","link":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2015\/10\/testing-popup-windows\/","title":{"rendered":"Testing Popup Windows"},"content":{"rendered":"<p>We often receive questions about how Load Tester handles popup windows.\u00a0In this post, I&#8217;ll describe how Load Tester handles these elements and provide a sample recording.<\/p>\n<h2>How does Load Tester Handle Popups?<\/h2>\n<p>Users do not regularly encounter popups. As a result, these windows may appear to function differently from regular browser windows.<\/p>\n<p>However, when recording using a virtual browser, Load Tester records any calls to the server. Replaying a recording or running a test will replay those calls whether issued from a normal browser window or a popup.<\/p>\n<p><em><b>NOTE: The following method is only applicable to \u201cVirtual Browser\u201d recordings.<\/b><\/em><\/p>\n<h2>Recording a Popup Window<\/h2>\n<p><strong>1.<\/strong> On the Navigator panel, click the \u201cRecord\u201d button.<\/p>\n<p><strong>2.<\/strong> On the resulting popup, select a virtual browser.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5558 \" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/10\/Recording-an-API-call-2.jpg\" alt=\"\" width=\"310\" height=\"111\" \/><\/p>\n<p><strong>2. <\/strong>Once the virtual browser loads, navigate to a popup window as shown below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5585\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/10\/Virtual-Browser-Popup-Test-3.png\" alt=\"\" width=\"600\" height=\"405\" \/><\/p>\n<p><strong>3. <\/strong>Record any actions you intend to test.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5586\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/10\/Virtual-Browser-Popup-Test-4.png\" alt=\"\" width=\"600\" height=\"366\" \/><\/p>\n<ul>\n<li>Example 1: Navigating blog entries<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5587\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2015\/10\/Virtual-Browser-Popup-Test-6.png\" alt=\"\" width=\"600\" height=\"365\" \/><\/p>\n<ul>\n<li>Example 2: Entering form data<\/li>\n<\/ul>\n<p><strong>4. <\/strong>After performing all actions you intend to test, stop the recording.<\/p>\n<p><strong>5.<\/strong> Replay the recording or run a new load configuration as needed.<\/p>\n<p><strong>Note:<\/strong> Additional configuration,\u00a0such as <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2015\/04\/web-services-load-testing\/\">creating custom datasets<\/a>, may be required when testing dynamic variables.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We often receive questions about how Load Tester handles popup windows.\u00a0In this post, I&#8217;ll describe how Load Tester handles these elements and provide a sample recording.<br \/>\nHow does Load Tester Handle Popups?<br \/>\nUsers do not regularly encounter popups. As a result, these windows may appear to function differently from regular browser windows.<br \/>\nHowever, when recording using a virtual browser, Load Tester records any calls to the server. Replaying a recording or running a test will replay those calls whether issued from a normal browser window or a popup.<br \/>\nNOTE: The following method is only applicable to \u201cVirtual Browser\u201d recordings.<br \/>\nRecording a Popup Window<br \/>\n1. On the &hellip; <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2015\/10\/testing-popup-windows\/\">Continue reading &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8,202],"tags":[229,49,237,231,233,30],"class_list":["post-5495","post","type-post","status-publish","format-standard","hentry","category-browsers","category-load-testing","category-uncategorized-en","tag-html","tag-load-tester","tag-load-testing","tag-popup","tag-popup-window","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/5495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/comments?post=5495"}],"version-history":[{"count":14,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/5495\/revisions"}],"predecessor-version":[{"id":5588,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/5495\/revisions\/5588"}],"wp:attachment":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/media?parent=5495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/categories?post=5495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/tags?post=5495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}