{"id":4907,"date":"2014-07-08T16:47:46","date_gmt":"2014-07-08T20:47:46","guid":{"rendered":"http:\/\/www.webperformance.com\/load-testing-tools\/blog\/?page_id=4907"},"modified":"2016-02-27T17:06:59","modified_gmt":"2016-02-27T21:06:59","slug":"data-sources","status":"publish","type":"page","link":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/articles\/real-browser-manual\/building-a-testcase\/data-sources\/","title":{"rendered":"Data Sources"},"content":{"rendered":"<p>A Data Source provides values to a testcase, such as row-and-column formatted data from a Dataset. Data Sources are used in many places, such as <a title=\"How to locate an element on the page\" href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/building-a-testcase\/how-locate-element-the-page\/\">Element Locators<\/a>, Type Text and <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/building-a-testcase\/adding-verification\/\">Verify<\/a> actions, and <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/configuring-conditions\/\">Conditions<\/a>.<\/p>\n<p>Anywhere a data source is used, you can edit it by pressing the edit button next to the source:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5640\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2014\/07\/edit_datasources_button.png\" alt=\"edit_datasources_button\" width=\"550\" height=\"35\" \/><\/p>\n<p>Types of Data Sources include:<\/p>\n<ul>\n<li>Text constants<\/li>\n<li>Datasets<\/li>\n<li>Concatenation (of other data sources)<\/li>\n<li>File path (for <a title=\"File Uploads\" href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/building-a-testcase\/file-uploads\/\">file uploads<\/a>)<\/li>\n<li>Current date \/ time<\/li>\n<li>Web Browser<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5637\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2014\/07\/datasource_chooser.jpg\" alt=\"datasource_chooser\" width=\"231\" height=\"218\" \/><\/p>\n<p>Web Browser data sources are used in Real Browser testcases to get a value from the browser. The Web Browser source includes several sub-types:<\/p>\n<ul>\n<li>page URL<\/li>\n<li>page title<\/li>\n<li>page source<\/li>\n<li>element text and attributes<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5639\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2014\/07\/browser_sources.jpg\" alt=\"browser_sources\" width=\"248\" height=\"112\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Data Source provides values to a testcase, such as row-and-column formatted data from a Dataset. Data Sources are used in many places, such as <a title=\"How to locate an element on the page\" href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/building-a-testcase\/how-locate-element-the-page\/\">Element Locators<\/a>, Type Text and <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/building-a-testcase\/adding-verification\/\">Verify<\/a> actions, and <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/configuring-conditions\/\">Conditions<\/a>.<br \/>\nAnywhere a data source is used, you can edit it by pressing the edit button next to the source:<\/p>\n<p>Types of Data Sources include:<\/p>\n<p>Text constants<br \/>\nDatasets<br \/>\nConcatenation (of other data sources)<br \/>\nFile path (for <a title=\"File Uploads\" href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/real-browser-manual\/building-a-testcase\/file-uploads\/\">file uploads<\/a>)<br \/>\nCurrent date \/ time<br \/>\nWeb Browser<\/p>\n<p>Web Browser data sources are used in Real Browser testcases to get a value from the browser. The &hellip; <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/articles\/real-browser-manual\/building-a-testcase\/data-sources\/\">Continue reading &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":4859,"menu_order":6,"comment_status":"open","ping_status":"open","template":"manual-page.php","meta":{"footnotes":""},"class_list":["post-4907","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/pages\/4907","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=4907"}],"version-history":[{"count":4,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/pages\/4907\/revisions"}],"predecessor-version":[{"id":5641,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/pages\/4907\/revisions\/5641"}],"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=4907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}