Test case for Valid Coupon Code
This test case checks whether a valid coupon code is successfully applied to a booking cart, the total is updated accordingly, and a...
16
0
Keyboard shortcut keys for various operations
General Shortcuts: Ctrl + C:Â Copy Ctrl + X:Â Cut Ctrl + V:Â Paste Ctrl + Z:Â Undo Ctrl + Y:Â Redo Ctrl + A:Â Select All Ctrl + S:Â Save Ctrl +...
5
0
Serialization vs Deserialization
Object to Byte Stream Example // Serialize an object to a byte stream ByteArrayOutputStream bytArrOPStream = new ByteArrayOutputStream();...
5
0
What is Flaky test? Steps to resolve Test Flakiness
A flaky test An automated test in a software testing environment that may produce inconsistent results, sometimes passing and sometimes...
4
0
Retrieve data from a JSON file
To retrieve data from a JSON file using Java and Selenium, you can use a library like Gson or Jackson for handling JSON parsing. {...
8
0
Python MySQL Database Operations Example with mysql.connector
import mysql.connector try: # Establish a connection to the MySQL database con = mysql.connector.connect(host="localhost", port=3306,...
2
0
Java JDBC Database Operations Example
package com.seleniumExamples2024; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import...
1
0
Read data From Excel Python
import openpyxl # Load the Excel workbook workbook = openpyxl.load_workbook("C://Users/Nikil/PycharmProjects/pythonBasics/Userdata.xlsx")...
2
0
Automation Testing - Selenium Java Syntax vs Selenium Python Syntax
Selenium Java Syntax vs Selenium Python Syntax
11
0
Write Testcase for Forgot Password
import java.time.Duration; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement;...
3
0
Selenium WebDriver exceptions
Selenium WebDriver exceptions are specialized classes that represent various error conditions that can occur during test execution. List...
3
0
Structured query language (SQL) Commands
SQL Commands Structured query language (SQL) is a programming language for storing and processing information in a relational database. A...
7
0
Selenium-Java Automation Frame work Designing
Designing a Selenium-Java automation framework involves structuring the project with folders for tests, page objects, and utilities....
12
0
Python-Selenium Automation Frame work Folder structure
Developing a Selenium Python framework involves creating a structured project with folders for tests, page objects, and utilities....
14
0
Take Screen shot on Test Failure Python Selenium Automation Testing
Take Screen shot on Test Failure # Import necessary libraries import time from selenium import webdriver from selenium.webdriver.common.b...
16
0
Dropdown Automation Selenium Python
How to manage Selenium dropdowns without utilizing the Select class? # Import the 'time' module for sleep functionality import time #...
5
0
Selenium Python- Take Screen shot
How can one capture a screenshot using Selenium in Python? # Import necessary libraries import time from selenium import webdriver from...
13
0
Run Browser in Headless mode
Provide a Selenium script demonstrating how to run a browser in headless mode, specifically using Chrome # Import necessary libraries...
9
0
getText() method - Python Selenium Automation Testing
What is the role of the `getText` method and how this method is utilized to fetch and display the text content from webelement # Import...
20
0
Multiple Tab Open Selenium-Python
What is the approach for dealing with multiple tabs in a web browser using Selenium in Python? import time from selenium import webdriver...
9
0