Let me clarify my point first. Within a dropdown menu, there are 5 buttons - 2 with fixed IDs and 3 that can be altered through a separate micro service (such as when changing break types). The IDs for these 3 buttons are dynamically generated based on th ...
Is it possible to report and continue with remaining steps in Selenium if a step fails for a test case? The current behavior halts the execution if there is an exception. Below is an example of how a test case looks like: public class TC002_abc extends Op ...
On my webpage, I am looking to interact with four submit buttons. All four buttons have identical Id and name attributes, with the only difference being their values. Is it possible to locate and handle these elements using Selenium WebDriver? (Consideri ...
Currently, I am working on automating UI testing using the Page Object Model (POM) in Python with Selenium. One question that I have is how to handle duplicate test cases efficiently. For instance, let's consider two web pages: the Login page and the ...
I am a beginner when it comes to working with RF, and I have a question regarding the necessity of selecting a frame after switching windows and changing the main focus to the new window. Is it required to select a frame even if I don't plan on using it? ...
Encountering error: java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.WebDriver.get(String)" because "this.driver" is null Currently, I am in the process of developing a sample framework but have run into an issue wher ...
I am currently utilizing protractor, cucumberJS, and chai-as-promised for testing. There is a message (bootstrap alert of angularJS) that displays in the DOM when a specific button is clicked. This message disappears from the DOM after 6000 milliseconds. ...
I am in the process of setting up Selenium tests to be executed by CCNET, which operates as a service on our build server. Below is my Project.build file: <Target Name="AutomationTests"> <Message Text="~~~~~~~~~~~~~~~~$(HARD_NEW_LINE)" /> &l ...
I've implemented the POM model with 2 key pages - LoginPage and HomePage. Each page has its own corresponding test classes: LoginTest and HomeTest. These test classes inherit from the BaseTest, which is responsible for driver initialization among all ...
After dedicating a significant amount of time to research without finding a suitable solution, I turned to StackOverflow for help. I have been using Selenium Webdriver to automate testing on various browsers. However, recently I encountered issues with ol ...
Currently in my test automation, I've implemented a basic version of the Page Object Pattern. However, I've noticed that there is redundancy in my code. Within a single class, I have multiple methods that essentially perform the same task but return diffe ...
I am a beginner with the Katalon Studio tool and trying to dynamically add GlobalVariables by inputting both the variable name and value. I have found a piece of code that should help me achieve this, but I am struggling to understand it as it utilizes met ...
Here is a link for practicing sorting: I attempted the sorting with the following code: Actions action = new Actions(driver); List<WebElement> elements = driver.findElements(By.xpath("//*[@id="demo-tabpane-list"]/div/div")); fo ...
Recently, I decided to give the Kantu web automation tool a try for the first time. While most of it seems straightforward, I've come across an issue when trying to loop through a CSV file. Here's the relevant section of my script: { "Command": ...
As a newcomer to automation testing, I find myself needing to test several web applications with scripts. I am unsure of where to even begin in designing the framework from scratch. Can someone recommend a more effective architecture that is easily scalabl ...
Our automation process currently relies heavily on @FindBy with Selenium/WebDriver/Java. This includes: @FindBy(css="a[name='bcrumb']") protected List<WebElement> breadCrumbLinks; @FindBy(id="skuError") protected WebElement skuE ...
Trying to click on the first enabled link in the 'Action' column of a web table has been proving difficult. In the example given, the first two rows do not have an enabled link, so the goal is to click on '8.5 AccountH' https://i.stack.imgur.com/gbYvY.png ...
Currently tackling a UI selenium project where the goal is to extract String data from the UI and convert it into a variable within my .feature scenario file. In order to illustrate, let's take an example where I only have access to the customerID: ...
I am currently working on a project where I need to figure out how to mock server-side requests. While I have successfully managed to mock client-side requests using request hooks, I am facing challenges when it comes to intercepting server-side requests ...
Here's the situation I am facing. In the past, the system under test (SUT) had just one button labeled "refund" for offers. Due to legal reasons, this button is now only accessible 20 days after the offer creation. Once this time period has passed, t ...
I am currently testing out c# with selenium on the website . One of the first steps is to log in to the site. To do this, I located a button named "Вход" in the top right corner using xpath and clicked on it. After the page refreshed and changed, the ...
I am currently working on automating a verification page using Selenium WebDriver. This page consists of three questions, which are randomly selected from a pool of 20 questions. Each question has five radio button options, totaling to 100 separate radio ...
Is there a way to access the network tab directly from my code in Selenium WebDriver using Java? Alternatively, is there a method to simulate pressing the F12 button through script? ...
Looking to capture a full screenshot of a web application page, including the Windows Taskbar using Selenium in Java. Seeking guidance on how to achieve this. The current code I am using captures the screenshot of the webpage, but it doesn't include ...
We have a certain situation as outlined below loop through all name elements on the webpage if(name.text() matches expName) { name.click() break out of the loop } else { createName() } How can I achieve this in Cypress? Using return false doesn't seem to ...
Encountering an issue while running my automation script with Appium. I'm executing a mobile automation script on a Windows Desktop machine with the following software setup: Software Set-Up: 1. Android Studio 2. Appium 3. Mobile/Tablet connected ...
Hey there! I'm just starting out on my coding journey and I have a cool project idea. I heard about this guy who wrote a script to send a text to his wife when he was working late, and I want to do something similar. Basically, I need a script that can lo ...
Currently in the process of automating a web app using Selenium WebDriver framework along with TestNG. Looking to assign parameters for each test classes in the testing.xml file, however most resources online only show how to set predefined parameters for ...
Encountering an issue with WebDriverWait https://i.stack.imgur.com/nQZiL.png Despite adding the dependency in my pom file, I am unable to import it. I am facing an error in Intellij which seems to be related to a Maven repository problem. https://i.sta ...
Having difficulty finding the element in my mobile app. ` public class Ovex { private static AndroidDriver driver; public static void main(String[] args) throws MalformedURLException, InterruptedException { DesiredCapabilities capabilities = n ...