Selenium was introduced as a part of version 1.0 of Selenium. Selenium WebDriver was introduced as a part of version 2.0 of Selenium. Selenium RC is deprecated and obsolete now. Though some users still use Selenium RC, the support for it is not there anymore.Selenium RC enabled the feature of recording scripts in multiple browsers namely Chrome, Safari, IE and so on. Also, it had communicated with the browser via the Selenium RC server.Selenium Web Driver supported cross browser testing and did not require the Selenium Server which enhanced its speed of execution. Overall Selenium RC had an architecture which ... Read More
Selenium Grid is a tool designed to distribute tests across more than one browser and environments. With this concept, we can trigger numerous test cases simultaneously on various devices and platforms. In short, it allows parallel execution.Thus Selenium Grid helps to achieve concurrent test execution saving a large portion of resources.So what are the advantages of using Selenium Grid?Parallel execution results in saving a considerable amount of resources.Allows cross browser testing.With the help of more than one machine nodes, test execution can be scattered and then executed.In Selenium Grid, a hub is a server that monitors concurrent execution on various ... Read More
Selenium Web Driver architecture in a simplified diagram is described below:Let us now understand the Selenium Web Driver Architecture. Selenium WebDriver API enables interaction between browsers and browser drivers. This architecture consists of four layers namely the Selenium Client Library, JSON Wire Protocol, Browser Drivers and Browsers.Selenium Client Library consists of languages like Java, Ruby, Python, C# and so on. After the test cases are triggered, entire Selenium code will be converted to Json format.JSON stands for Javascript Object Notation. It takes up the task of transferring information from the server to the client. JSON Wire Protocol is primarily responsible ... Read More
Answer: Selenium is an automation testing framework or suite developed by Jason Huggins in the year 2004. It has been upgraded several times in the past. Selenium WebDriver 2.0 came in the market in the year 2011, 3.0 in the year 2016 and currently the latest version is 4.0.Selenium is used to create automation scripts for verifying functional requirements in web applications thus reducing the manual testing efforts and increasing quality and productivity. It also supports a vast range of browsers and platforms.Selenium is not a standalone tool; it is rather considered as a package of multiple tools so it ... Read More
The checked attribute of the element specifies that the input type checkbox is checked when the web page loads. You can also use this attribute with input type radio.Following is the syntax −Above, we have set it checked since we wanted the checkbox to be selected when the web page loads.Let us now see an example to implement the checked attribute of the element −Example Live Demo Register Id: Password: DOB: Telephone: Email: Newsletter Subscription: Submit OutputIn the above example, we have a form with a button − Id: Password: DOB: Telephone: Email: Newsletter ... Read More
Heap queue is a special tree structure in which each parent node is less than or equal to its child node. In python it is implemented using the heapq module. It is very useful is implementing priority queues where the queue item with higher weight is given more priority in processing.Create a HeapA heap queue is created by using python’s inbuilt library named heapq. This library has the relevant functions to carry out various operations on a heap data structure. Below is a list of these functions.heapify – This function converts a regular list to a heap. In the resulting heap ... Read More
In C# there are two mechanisms for redefining or providing the new implementation of a method of parent class by its child class and these two mechanisms are known as Method overriding and Method hiding. Now on the basis of how method re-implementation is done we can distinguish between both of them.Following are the important differences between Method Overriding and Method Hiding.Sr. No.KeyMethod OverridingMethod Hiding1DefinitionMethod Overriding is a mechanism to achieve polymorphism where the super class and sub class have same methods, including the parameters and signature and, when you call it using the sub class object, the implementation in ... Read More
Both SortedList and SortedDictionary in C# are the types of data structures used for data storage, now on the basis of characteristics and nature we can distinguish between both of them.Following are the important differences between SortedList and SortedDictionary.Sr. No.KeySortedListSortedDictionary1Memory organizationSortedList requires low memory for storage hence the memory status in its case is overhead.On other hand SortedDictionary requires more memory for storage so memory status in its case is not bottlenecked.2DesignedSortedList is internally implemented as in sortedList the elements are stored in a continuous block in memory.On other hand in SortedDictionary the elements are stored in separate object that ... Read More
As we know in context of computer/system, the main key feature on which the whole performance get dependent is Memory. It is memory and its allocation which make the system to perform fast and efficient. Now on the basis of organizing of this memory in the system, we can distinguish between Simultaneous and Hierarchical Access Memory Organisations.Following are the important differences between Simultaneous and Hierarchical Access Memory Organisations.Sr. No.KeySimultaneous Access Memory OrganisationsHierarchical Access Memory Organisations1DefinitionSimultaneous Access Memory Organisations is the memory organizing technique in which CPU can interact with multiple memory levels at same time and gets data interaction. This ... Read More
Before discussing on Simple and complex, first we should know what is View. A View is the logical virtual table created from one or more tables which can be primarily used to fetch the columns from one or more different tables at a time. On the basis of tables involved in the view we can distinguish between Simple and Complex View in SQL.Following are the important differences between Simple and Complex View.Sr. No.KeySimple ViewComplex View1DefinitionSimple View in SQL is the view created by involving only single table. In other words we can say that there is only one base table ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP