{"id":4605,"date":"2021-07-13T04:27:23","date_gmt":"2021-07-13T04:27:23","guid":{"rendered":"https:\/\/studysection.com\/blog\/?p=4605"},"modified":"2021-07-13T05:09:51","modified_gmt":"2021-07-13T05:09:51","slug":"what-is-selenium","status":"publish","type":"post","link":"https:\/\/studysection.com\/blog\/what-is-selenium\/","title":{"rendered":"What is Selenium?"},"content":{"rendered":"<p>Selenium is a suite of software tools to automate web browsers. <\/p>\n<ul>\n<li>A suite of Software Tools: means a set of one or more tools together.<\/li>\n<li>Automate Web Browser: This means only automating web-based applications, not for window-based applications and desktop applications.<\/li>\n<\/ul>\n<h2>What is the Selenium Tool suite or Selenium Component?<\/h2>\n<ol>\n<li><strong>Selenium IDE: Selenium integrated Environment.<\/strong>\n<ul>\n<li>It is basically used for Recording and Playing.<\/li>\n<li>It can be used only with FF Browsers. This means we can not use it with other browsers.<\/li>\n<li>It is a FF Browsers Plugin, used to create and execute Test Cases.<\/li>\n<\/ul>\n<p><strong>Features:<\/strong><\/p>\n<ul>\n<li>Create Test Cases, Test Suite (We can Record Test Cases)<\/li>\n<li>Enhance Test Cases (like add comments)<\/li>\n<li>Execute Test Cases, Test Suite one by one.<\/li>\n<li>Export Test Cases to any other supporting language (format) like Java, Ruby, etc.<\/li>\n<\/ul>\n<p><strong>Note<\/strong>: Selenium IDE Test Cases default format is <strong>.html <\/strong><\/p>\n<p><strong>Drawbacks:<\/strong><\/p>\n<ul>\n<li>It supports only FF Browser.<\/li>\n<li>Only Selenese commands are used.<\/li>\n<li>It does not support data-driven testing<\/li>\n<li>It is not suitable for complex test case design.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Selenium RC:  Selenium Remote Control Server:  It is also known as Selenium 1.<\/strong>\n<ul>\n<li><strong>Selenium 1 =<\/strong>  Selenium IDE + Selenium RC + Selenium Grid <\/li>\n<li>It is a server and launches all the browsers, but one at a time.<\/li>\n<li>It acts as an API and Library.<\/li>\n<\/ul>\n<\/li>\n<li> <strong>Selenium Webdriver:<\/strong>\n<ol>\n<li>The advanced version of Selenium RC is known as Selenium Webdriver.<\/li>\n<li>It is also called Selenium 2<\/li>\n<li>The limitations which are identified in Selenium RC are overcome and given added advantages.<\/li>\n<li>It supports various programming environments like JAVA, PHP, RUBY, etc.<\/li>\n<li>Using web element\/ Objects\/ locators\/ properties web driver methods, we can create and execute Test Cases.<\/li>\n<li>It supports all the browsers like FF, Opera, IE, Safari &#038; Chrome, etc.<\/li>\n<li>It supports various OS.<\/li>\n<li>We can use cross-browser <a href=\"https:\/\/studysection.com\/blog\/regression-testing-tools-and-techniques-2021\/\">testing<\/a>.<\/li>\n<li>The default driver for selenium is FF Driver.<\/li>\n<\/ol>\n<p><strong>Advantages:<\/strong><\/p>\n<ol>\n<li>Not necessary to start Selenium Server to run the Webdriver program.<\/li>\n<li>By default, it maximizes the browser and launches only the browser, not the command history browser.<\/li>\n<li>By default, Webdriver maintains the page load synchronization.<\/li>\n<li>If it is Page refresh, we need to handle it by using thread.sleep().<\/li>\n<li>We can use Webdriver &#038; Selenium RC commands in a single class.<\/li>\n<li>Selenium Webdriver has a programming interface.<\/li>\n<\/ol>\n<p><strong>Note:<\/strong> \tSelenium IDE has an IDE (menu, menu item available) but doesn&#8217;t have a   programming interface.\t<\/p>\n<ol>\n<li>Programming Language knowledge is a must.<\/li>\n<li>It doesn\u2019t generate detailed test reports. It generates only a summary <strong>(Pass\/Fail)<\/strong><\/li>\n<\/ol>\n<\/li>\n<li><strong>Selenium Grid:<\/strong>\n<ol>\n<li>It doesn\u2019t support creating Test Cases<\/li>\n<li>It doesn\u2019t for Test Case design<\/li>\n<li>It is only for Test Execution<\/li>\n<li>It supports II Test Execution<\/li>\n<li>Maximum of 5 browsers can be launched<\/li>\n<li>It is used to save time.<\/li>\n<li>It is used to execute tests across different browsers and different OS.<\/li>\n<\/ol>\n<p><strong>Note:<\/strong> Selenium Grid 2 supports Selenium RC test as well as Selenium Webdriver tests. It doesn\u2019t support Selenium IDE.\n<\/li>\n<li> <strong>Selendroid:<\/strong><br \/>\n\tIt is used to test Mobile applications on the Android platform.<br \/>\n<strong>What are Testing Framework and other Tools used in Selenium Automation?<\/strong><\/p>\n<ul>\n<li>Testing Frameworks:\n<ol>\n<li><strong>JUnit Framework:<\/strong> It is a unit test framework. It is basically used by Developers. It doesn\u2019t belong to Selenium Suite.<\/li>\n<li><strong>TestNG Framework:<\/strong> It is used by Tester. It is also not a part of the Selenium Suite.<\/li>\n<\/ol>\n<\/li>\n<li>Tools:\n<ol>\n<li><strong>Eclipse:<\/strong>\n<ul>\n<li>It is used to create and execute Java programs.<\/li>\n<li>To add Webdriver <strong>.Jar<\/strong> File<\/li>\n<li>Install TestNG and JUnit Testing Framework.<\/li>\n<\/ul>\n<\/li>\n<li><strong>FireBug and Fire Path:<\/strong> Used as a plug-in with FF Browser to find out the web elements. We use inspect elements with <strong>IE.<\/strong><\/li>\n<li>Browsers and Browser Drivers.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><small><em>If you have skills in PHP programming and you want to enhance your career in this field, a <a href=\"https:\/\/www.studysection.com\/php-programming-advanced\">PHP certification<\/a> from StudySection can help you reach your desired goals. Both beginner level and expert level PHP certification exams are offered by StudySection along with other programming certification exams. <\/em><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Selenium is a suite of software tools to automate web browsers. A suite of Software Tools: means a set of<\/p>\n","protected":false},"author":1,"featured_media":4606,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[354,124],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Selenium? - StudySection Blog<\/title>\n<meta name=\"description\" content=\"Selenium is a suite of software tools to automate web browsers. The limitations which are identified are overcome and given added advantages.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/studysection.com\/blog\/what-is-selenium\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Selenium? - StudySection Blog\" \/>\n<meta property=\"og:description\" content=\"Selenium is a suite of software tools to automate web browsers. The limitations which are identified are overcome and given added advantages.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/studysection.com\/blog\/what-is-selenium\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Posts on famous people, innovations and educational topics\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/studysection\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-13T04:27:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-13T05:09:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/07\/selenium.png\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin-studysection-blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@studysection\" \/>\n<meta name=\"twitter:site\" content=\"@studysection\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin-studysection-blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/studysection.com\/blog\/what-is-selenium\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/what-is-selenium\/\"},\"author\":{\"name\":\"admin-studysection-blog\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\"},\"headline\":\"What is Selenium?\",\"datePublished\":\"2021-07-13T04:27:23+00:00\",\"dateModified\":\"2021-07-13T05:09:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/studysection.com\/blog\/what-is-selenium\/\"},\"wordCount\":630,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"keywords\":[\"A\/B Testing\",\"selenium\"],\"articleSection\":[\"Learn and Grow\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/studysection.com\/blog\/what-is-selenium\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/studysection.com\/blog\/what-is-selenium\/\",\"url\":\"https:\/\/studysection.com\/blog\/what-is-selenium\/\",\"name\":\"What is Selenium? - StudySection Blog\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/#website\"},\"datePublished\":\"2021-07-13T04:27:23+00:00\",\"dateModified\":\"2021-07-13T05:09:51+00:00\",\"description\":\"Selenium is a suite of software tools to automate web browsers. The limitations which are identified are overcome and given added advantages.\",\"breadcrumb\":{\"@id\":\"https:\/\/studysection.com\/blog\/what-is-selenium\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/studysection.com\/blog\/what-is-selenium\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/studysection.com\/blog\/what-is-selenium\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/studysection.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is Selenium?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/studysection.com\/blog\/#website\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"name\":\"Blog Posts on famous people, innovations and educational topics\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/studysection.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/studysection.com\/blog\/#organization\",\"name\":\"StudySection\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"contentUrl\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"width\":920,\"height\":440,\"caption\":\"StudySection\"},\"image\":{\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/studysection\",\"https:\/\/twitter.com\/studysection\",\"https:\/\/www.instagram.com\/study.section\/\",\"https:\/\/www.linkedin.com\/company\/studysection\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\",\"name\":\"admin-studysection-blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"caption\":\"admin-studysection-blog\"},\"url\":\"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Selenium? - StudySection Blog","description":"Selenium is a suite of software tools to automate web browsers. The limitations which are identified are overcome and given added advantages.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/studysection.com\/blog\/what-is-selenium\/","og_locale":"en_US","og_type":"article","og_title":"What is Selenium? - StudySection Blog","og_description":"Selenium is a suite of software tools to automate web browsers. The limitations which are identified are overcome and given added advantages.","og_url":"https:\/\/studysection.com\/blog\/what-is-selenium\/","og_site_name":"Blog Posts on famous people, innovations and educational topics","article_publisher":"https:\/\/www.facebook.com\/studysection","article_published_time":"2021-07-13T04:27:23+00:00","article_modified_time":"2021-07-13T05:09:51+00:00","og_image":[{"width":300,"height":200,"url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/07\/selenium.png","type":"image\/png"}],"author":"admin-studysection-blog","twitter_card":"summary_large_image","twitter_creator":"@studysection","twitter_site":"@studysection","twitter_misc":{"Written by":"admin-studysection-blog","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/studysection.com\/blog\/what-is-selenium\/#article","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/what-is-selenium\/"},"author":{"name":"admin-studysection-blog","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402"},"headline":"What is Selenium?","datePublished":"2021-07-13T04:27:23+00:00","dateModified":"2021-07-13T05:09:51+00:00","mainEntityOfPage":{"@id":"https:\/\/studysection.com\/blog\/what-is-selenium\/"},"wordCount":630,"commentCount":0,"publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"keywords":["A\/B Testing","selenium"],"articleSection":["Learn and Grow"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/studysection.com\/blog\/what-is-selenium\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/studysection.com\/blog\/what-is-selenium\/","url":"https:\/\/studysection.com\/blog\/what-is-selenium\/","name":"What is Selenium? - StudySection Blog","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/#website"},"datePublished":"2021-07-13T04:27:23+00:00","dateModified":"2021-07-13T05:09:51+00:00","description":"Selenium is a suite of software tools to automate web browsers. The limitations which are identified are overcome and given added advantages.","breadcrumb":{"@id":"https:\/\/studysection.com\/blog\/what-is-selenium\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/studysection.com\/blog\/what-is-selenium\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/studysection.com\/blog\/what-is-selenium\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/studysection.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What is Selenium?"}]},{"@type":"WebSite","@id":"https:\/\/studysection.com\/blog\/#website","url":"https:\/\/studysection.com\/blog\/","name":"Blog Posts on famous people, innovations and educational topics","description":"","publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/studysection.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/studysection.com\/blog\/#organization","name":"StudySection","url":"https:\/\/studysection.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","contentUrl":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","width":920,"height":440,"caption":"StudySection"},"image":{"@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/studysection","https:\/\/twitter.com\/studysection","https:\/\/www.instagram.com\/study.section\/","https:\/\/www.linkedin.com\/company\/studysection"]},{"@type":"Person","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402","name":"admin-studysection-blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","caption":"admin-studysection-blog"},"url":"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/"}]}},"views":588,"_links":{"self":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/4605"}],"collection":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/comments?post=4605"}],"version-history":[{"count":6,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/4605\/revisions"}],"predecessor-version":[{"id":4612,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/4605\/revisions\/4612"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media\/4606"}],"wp:attachment":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media?parent=4605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/categories?post=4605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/tags?post=4605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}