Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Testing Tools Articles
Page 3 of 52
Scroll Element into View with Selenium.
We may need to perform action on an element which is not present in the viewable area of the page. We need to scroll down to the page in order to reach that element.Selenium cannot perform scrolling action directly. This can be achieved with the help of Javascript Executor and Actions class in Selenium. DOM can work on all elements on the web page with the help of Javascript.Selenium can execute commands in Javascript with the help of the execute_script() method. For the Javascript solution, we have to pass true value to the method scrollIntoView() to identify the object below ...
Read MoreLearn Decision Table Testing with Example
Decision TableA Decision Table is a table that shows the relationship between inputs and rules, cases, and test conditions. It's a very useful tool for both complicated software testing and requirements management. The decision table allows testers to examine all conceivable combinations of requirements for testing and to immediately discover any circumstances that were overlooked. True(T) and False(F) values are used to signify the criteria.What is Decision Table Testing?Decision table testing is a type of software testing that examines how a system responds to various input combinations. This is a methodical methodology in which the various input combinations and the ...
Read MoreHow to resolve exception Element Not Interactable Exception in Selenium?
We can resolve the exception – ElementNotInteractableException with Selenium webdriver. This exception is thrown if a webelement exists in DOM but cannot be accessed. The below image shows an example of such an exception.If a specific webelement is overspread by another webelement we normally get this exception. To fix this, we can either apply explicit wait so that the webdriver waits for the expected condition - invisibilityOfElementLocated of the overlaying webelement.Or, we can apply the expected condition - elementToBeClickable on the webelement that we want to interact with. To resolve a permanent overlay, we have to use the JavaScript Executor ...
Read MoreDifference Between Training and Testing Data
Introduction In Machine Learning, a good model is generated if we have a good representation and amount of data. Data may be divided into different sets that serve a different purposes while training a model. Two very useful and common sets of data are the training and testing set. The training set is the part of the original dataset used to train the model and find a good fit. Testing data is part of the original data used to validate the model train and analyze the metrics calculated. In this article lets us explore training and testing data sets in ...
Read MoreHow to use xPath in Selenium WebDriver to grab SVG elements?
We can use xpath to grab SVG elements with Selenium Webdriver. A SVG element is identified with tagname svg. The svg image has the attributes like width and height attributes.Let us investigate the html code of a svg element.To create a xpath for a svg element, we have the syntax as //*[local-name()='svg'].The local-name function is mandatory for creating a xpath of a svg element. So for the xpath expression for the image highlighted in the above image should be −//*[local-name()='svg' and @data-icon='home']/*[local-name()='path']Here, data-icon is an attribute of the svg tag element which is added accompanied with @ symbol. The [local-name()='path'] is ...
Read MoreBenefits of IoT Automation Testing
IoT automation testing refers to the utilization of automation tools to conduct tests on IoT devices and systems. Its purpose is to enhance the efficiency and effectiveness of the testing process by automating repetitive tasks and enabling testers to focus on more intricate responsibilities. In this article, we will discuss more about IoT automation testing, its types, its components and finally the benefits. Let’s start! Types of Automation Testing There are various types of IoT automation testing, including: Functional testing: This type of testing ensures that the IoT device or system meets its predetermined requirements. It ...
Read MoreWays to Streamline Your IoT Testing
IoT testing is a crucial process that ensures the functionality, performance, and security of Internet of Things (IoT) devices and systems. It plays a vital role in the development lifecycle of IoT, helping to detect and resolve defects before they cause issues during operation. In this article, we will discuss more about how to streamline IoT testing. Let’s start! IoT Testing Types There are various types of IoT testing, each serving a specific purpose: Functional testing: This type of testing assesses whether the IoT device or system meets its intended requirements. It involves verifying the device's ...
Read MoreHow to generate test report in IntelliJ IDE?
TestNG allows to run the test suites from IntelliJ IDE as well as command line. When user run the testing.xml either from IDE or command line, TestNG generates a default report. It saves all reports and respective html files in Project −> test−output folder. If folder is not present, TestNG creates the folder. Enable the Report Generation While running the testing.xml from IDE, user has to enable the default reports generation at Add Configuration −> Listeners tab. Following screenshot shows how to enable default report generation in IntelliJ. If user wants to generate report at ...
Read MoreDifference Between Paired and Unpaired Test
The two types of statistical tests used in hypothesis testing are paired and unpaired tests. The main difference between them is how data is collected and compared. A paired test compares two sets of measurements that are connected or related in some way. An unpaired test involves comparing two sets of measures that are not related or connected in any way. Read this article to find out more about Paired Test and Unpaired Test and how they are different from each other. What is Paired Test? A paired test is a statistical test that compares two sets of measurements that are ...
Read MoreProtocol Testing Tutorial – L2 & L3
What exactly is the protocol?When two computers share data among each other or across a network, they must adhere to a pre-defined process of data transfer, which is called 'protocol' Protocol Testing Protocol testing tools examine how data packets are sent across a network. The test procedure involves the use of routers and switches to create portions of the equipment and goods tested. The Value of Protocol Testing It also allows for the development of dependable and high-performance network connectivity. Devices would be unable to interpret the electronic signals they send when conversing via network connections if protocols were not ...
Read More