Testing Tools Articles

Page 3 of 52

Difference between Load Testing and Stress Testing

Shirjeel Yunus
Shirjeel Yunus
Updated on 23-Aug-2024 437 Views

Performance testing of a system should be done at regular intervals. This testing helps in knowing about bottlenecks and other issues in a system. The two most common types of testing are load testing and stress testing. In this article, we will discuss the difference between Load Testing and Stress Testing. What is Performance Testing? Performance testing is performed to know about the speed, reliability, scalability, and other attributes of a software system. The two most common types of testing are load testing and stress testing. Performance testing lets the professionals know about bottlenecks and performance issues in a test ...

Read More

HTTP basic authentication URL with “@” in password

Debomita Bhattacharjee
Debomita Bhattacharjee
Updated on 04-Mar-2024 68K+ Views

We can do HTTP basic authentication URL with @ in password. We have to pass the credentials appended with the URL. The username and password must be added with the format − https://username:password@URL.Let us make an attempt to handle the below browser authentication.Once the User Name and Password are entered correctly and the OK button is clicked, we should be navigated to the actual page with the text Congratulations! You must have the proper credentials.Syntaxhttps://username:password@URL https://admin:admin@the-internet.herokuapp.com/basic_auth Here, the username and password value is admin. URL is www.the-internet.herokuapp.com/basic_auth Example import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class BrwAuthnPopup{ ...

Read More

Handling Browser Authentication using Selenium

Debomita Bhattacharjee
Debomita Bhattacharjee
Updated on 04-Mar-2024 6K+ Views

We can handle browser authentication with Selenium webdriver. We have to pass the credentials appended with the URL. The username and password must be added with the format: https://username:password@URL. Let us make an attempt to handle the below browser authentication.Once the User Name and Password are entered correctly and the OK button is clicked, we are navigated to the actual page with the text Congratulations! You must have the proper credentials.Syntaxhttps://username:password@URL https://admin:admin@the−internet.herokuapp.com/basic_authHere, the username and password value is admin.URL is www.the−internet.herokuapp.com/basic_authExampleimport org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class BrwAuthnPopup{    public static void main(String[] args) {     ...

Read More

How to find an element using the attribute “class name” in Selenium?

Debomita Bhattacharjee
Debomita Bhattacharjee
Updated on 08-Nov-2023 26K+ Views

We can find an element using the attribute class name with Selenium webdriver using the locators - class name, css, or xpath. To identify the element with css, the expression should be tagname[class='value'] and the method to be used is By.cssSelector. To identify the element with xpath, the expression should be //tagname[@class='value']. Then, we have to use the method By.xpath to locate it. To locate an element with a locator class name, we have to use the By.className method. Let us look at the html code of an element with class attribute − Syntax WebElement e = driver. findElement(By.className("input")); ...

Read More

Scroll Element into View with Selenium.

Debomita Bhattacharjee
Debomita Bhattacharjee
Updated on 31-Oct-2023 29K+ Views

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 More

Learn Decision Table Testing with Example

Vineet Nanda
Vineet Nanda
Updated on 25-Oct-2023 30K+ Views

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 More

How to resolve exception Element Not Interactable Exception in Selenium?

Debomita Bhattacharjee
Debomita Bhattacharjee
Updated on 22-Oct-2023 25K+ Views

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 More

Difference Between Training and Testing Data

Mithilesh Pradhan
Mithilesh Pradhan
Updated on 22-Sep-2023 7K+ Views

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 More

How to use xPath in Selenium WebDriver to grab SVG elements?

Debomita Bhattacharjee
Debomita Bhattacharjee
Updated on 15-Sep-2023 43K+ Views

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 More

Benefits of IoT Automation Testing

Mr. Satyabrata
Mr. Satyabrata
Updated on 29-Aug-2023 408 Views

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 More
Showing 21–30 of 517 articles
« Prev 1 2 3 4 5 52 Next »
Advertisements