Difference Between Selenium and Automation

Adiya Dua
Updated on 02-Jul-2020 13:20:56

1K+ Views

Automation − It is the technique to run the test cases without human intervention. If we are sticking to the IT industry, Automation is not just confined to Automation of test scripts. Automation is the basic control system in which human intervention is expected the least. Various many tasks such as Data Migration, Decision making for AI, deploying the code automatically in the latest builds for testing etc.Goals −The ultimate goal of Automation is to re-run the regression flows without intervention of manual tester. Initializing some amount of human effort is required to design the scripts. But the end result ... Read More

What is Maven in Selenium

Adiya Dua
Updated on 02-Jul-2020 13:16:52

3K+ Views

Maven is Yiddish Word which means Accumulator of Knowledge. Maven is a tool which is used for building and managing Java Based Projects. Basically to put it in simple words is a way to manage dependency for Java Based Project. Maven can be used when building project with POM (Page Object Model) when working on big projects.Below are the objectives which can be achieved with maven −Easier and Uniform build process.Providing quality project informationEasy DocmentationBest practices developmentManage the dependenciesLets understand them one by oneEasier and Unfirom Build Process −Maven provides pom.xml configuration files where all information such as construction directory, ... Read More

Where Does Array Stored in JVM Memory in Java

Maruthi Krishna
Updated on 02-Jul-2020 13:14:30

5K+ Views

Array is a container which can hold a fix number of entities, which are of the of the same type. Each entity of an array is known as element and, the position of each element is indicated by an integer (starting from 0) value known as index.Exampleimport java.util.Arrays; public class ArrayExample {    public static void main(String args[]) {       Number integerArray[] = new Integer[3];       integerArray[0] = 25;       integerArray[1] = 32;       integerArray[2] = 56;       System.out.println(Arrays.toString(integerArray));    } }Output[25, 32, 56]Arrays are two types −Single dimensional arrays: Normal ... Read More

Remove Selected Row from JTable in Java

raja
Updated on 02-Jul-2020 13:12:48

8K+ Views

A JTable is a subclass of JComponent class for displaying complex data structures. A JTable component can follow the Model View Controller (MVC) design pattern for displaying the data in rows and columns. A JTable can generate TableModelListener, TableColumnModelListener, ListSelectionListener, CellEditorListener and RowSorterListener interfaces. We can remove a selected row from a JTable using the removeRow() method of the DefaultTableModel class.Syntaxpublic void removeRow(int row)Exampleimport java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.table.*; public class RemoveSelectedRowTest extends JFrame {    private JTable table;    private DefaultTableModel model;    private Object[][] data;    private String[] columnNames;    private JButton button;    public RemoveSelectedRowTest() {       setTitle("RemoveSelectedRow ... Read More

Selenium Latest Version

Adiya Dua
Updated on 02-Jul-2020 13:08:36

474 Views

Selenium started with version 1 and now version 3 is the currently the latest released version available in the market. Let’s has a comparative study of the different features of each of the version.Selenium 1 or RC: As name suggest, RC is a Remote Control which works by taking the remote of the browser and then injects the automation code to be tested by injecting the custom scripts written.Selenium 2 or Web driver: The Web Driver (known as Selenium 2) works on the browser directly and uses browsers in-built features to trigger the automation test written by tester. Web driver ... Read More

The Modulation and Multiplexing

Sai Subramanyam
Updated on 02-Jul-2020 13:07:43

9K+ Views

ModulationModulation is the process of transforming a carrier signal so that it can carry the information of a message signal. It superimposes the contents of the message signal over a high-frequency carrier signal, which is then transmitted over communication channels.Modulation can be of two types −Analog ModulationDigital ModulationAnalog ModulationHere, the analog information signal is transformed to the analog carrier signal so that it can travel large distances without substantial loss.Analog modulation can be of three types −Amplitude ModulationFrequency ModulationPhase ModulationDigital ModulationDigital modulation is the process of converting a digital bit stream into an analog carrier wave for transmission via a ... Read More

Prim's Minimum Spanning Tree (MST) Algorithm

Arnab Chakraborty
Updated on 02-Jul-2020 13:02:11

1K+ Views

There is a connected graph G(V, E) and the weight or cost for every edge is given. Prim’s Algorithm will find the minimum spanning tree from the graph G.It is growing tree approach. This algorithm needs a seed value to start the tree. The seed vertex is grown to form the whole tree.The problem will be solved using two sets. One set holds the nodes that are already selected, and another set holds the item that are not considered yet. From the seed vertex, it takes adjacent vertices, based on minimum edge cost, thus it grows the tree by taking ... Read More

Single Source Shortest Paths with Non-Negative Weights

Arnab Chakraborty
Updated on 02-Jul-2020 13:00:42

870 Views

The single source shortest path algorithm (for non-negative weight) is also known Dijkstra algorithm. There is a given graph G(V, E) with its adjacency matrix representation, and a source vertex is also provided. Dijkstra’s algorithm to find the minimum shortest path between source vertex to any other vertex of the graph G.From starting node to any other node, find the smallest distances. In this problem the graph is represented using the adjacency matrix. (Cost matrix and adjacency matrix is similar for this purpose).Input − The adjacency matrix −0 3 6 ∞ ∞ ∞ ∞ 3 0 2 1 ∞ ∞ ... Read More

Single Source Shortest Paths with Arbitrary Weights

Arnab Chakraborty
Updated on 02-Jul-2020 12:59:46

10K+ Views

The single source shortest path algorithm (for arbitrary weight positive or negative) is also known Bellman-Ford algorithm is used to find minimum distance from source vertex to any other vertex. The main difference between this algorithm with Dijkstra’s algorithm is, in Dijkstra’s algorithm we cannot handle the negative weight, but here we can handle it easily.Bellman-Ford algorithm finds the distance in bottom up manner. At first it finds those distances which have only one edge in the path. After that increase the path length to find all possible solutions.Input − The cost matrix of the graph:0 6 ∞ 7 ∞ ∞ ... Read More

Using a JavaScript Object Inside a Static Method

vineeth.mariserla
Updated on 02-Jul-2020 12:46:34

101 Views

Actually, the result will be in vain when we try to use an object inside a static method. But when the object is sent as a parameter, we can access the object. let's discuss it in a nutshell.Example-1In the following example, we tried to use the object "myComp" directly rather than sending it as a parameter, therefore, we get no result. If we open the browser console we will get an error that is "myComp.comp() is not a function". To get the actual result we have to send the object as a parameter as shown in Example-2    class ... Read More

Advertisements