I am facing a requirement to download a file from Internet Explorer 11 and save it to a specific location using Selenium and AutoIT. The path where the file should be saved is provided through the command line. Below is the code I have implemented: ; Get ...
Having trouble uploading a file on a demo site using RemoteWebDriver? You’ve successfully done it with the regular WebDriver driver, but now facing issues with RemoteWebDriver. The exception thrown is :"org.openqa.selenium.WebDriverException: Settin ...
On my web page, I have a canvas element that contains an area where a certain value appears. When this value meets specific criteria, such as equaling 10 (see green line in example image), I want to be able to click on a separate element, like a button wit ...
When using Selenium WebDriver with Java and TestNG for automation, I encounter situations where there are multiple assertions within a test method. If one of these assertions fails, the execution is halted. My goal is to have the code continue executing e ...
I am currently working on automating tasks on Expedia.com, and I have outlined the following steps: Visit Expedia.com Click on the Flights button The default option will be set to Round trip Select a value from the Leaving from dropdown menu Select a valu ...
Looking to develop an Instagram follower bot as a service, but unsure of the rules governing actions such as delay between clicking on the follow button or limits on accounts per IP address. Can anyone provide insight into these rules or suggest where I m ...
When you go to https://www.google.com/chrome/browser/#eula to download Google Chrome, the setup file starts automatically after clicking the accept & install button. I am wondering if it is possible for me to open a file on the user's pc in the same w ...
I am a frequent Betfair user and I meticulously track my bets in a Google Sheets spreadsheet. The manual entry of bet information is time-consuming. I am exploring the idea of automatically extracting bet details from the Betfair website when clicking on ...
Currently, I am working on automating the process of downloading files. To locate these files, I need to interact with two dropdown menus: one named 'Select Period' where I choose a date, and the other named 'Select File Type' where I select 'All Types'. I ...
In my automation tests, I am using Java and Selenium to perform tasks. One specific test requires uploading an image from the computer. To achieve this, I have utilized the Robot object to identify the upload window and specify the file path. Interestingly ...
I'm facing an issue with a specific element that I am unable to click using Protractor. Everything was working fine until a few days ago. Technical information: Chrome version: 47.0.2526.106 Protractor version: 2.0 Selenium version: 2.44 CSS <but ...
While attempting to select the 29th of February on a bootstrap calendar, I encountered an issue where the debugger tried to select the 29th of January, which was disabled or inactive. This led to a response indicating that the element was not clickable. T ...
Attempting to automate the verification of top navigation links on . https://i.stack.imgur.com/Mt6Zw.png When comparing actual URLs with expected URLs in the page class method, the line below returns null. I'm not sure why. String urlp = locator.all_topn ...
What could be the issue in the code that is preventing it from running? Please provide guidance on how to resolve this. package tc1; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org ...
Currently, I am working on a webpage automation project that requires the user to enter credentials and then manually fill out a CAPTCHA. Here's the plan: The script will pause at the CAPTCHA input The user must manually complete the CAPTCHA verificatio ...
Currently, I am encountering an issue with my automation script. My script utilizes the selenium tool along with Java language. The specific problem I am facing involves the need to view the current date after clicking on a calendar and verifying if a flig ...
I have a hyperlink that includes email addresses and I am interested in counting the number of emails with the same domain. The input needs to be taken from the URL provided. import requests def finddomains(input_): domain_frequency = dict() ...
I'm currently using MacOS 10.11.6 and I seem to be facing an issue with the SikuliX command runsikulix, which according to the guidelines mentioned here, should be available after installation. However, I couldn't locate it as expected. Could any ...
Seeking a way to automatically download a file from a website, as the current manual process is cumbersome. Each time involves logging in, navigating to the file, and clicking download. If anyone has advice on automating this task using tools like MS DOS ...
I am currently working on a project involving automation. Specifically, I am automating the login process for a website. The issue I have encountered is that the login fails the first time, even with correct credentials, but succeeds on the second attempt. ...
Upon completing the registration process on the website, I am sent my login credentials via email in the following format: some text / login: [email protected] / password: example123 / some text I am struggling to extract and copy just the l ...
I'm attempting to access a specific email from my inbox and need to click on the 'Click here' hyperlink in order to download an Excel file onto my laptop. Here's the code I've been working with: import smtplib import time impo ...
Is anyone else experiencing the issue where the site opens for a split second and exits, and it doesn't type what it's supposed to? How can this be fixed? I've tried multiple methods to locate the element, and I believe my approach is correct. Please corr ...
Recently, I decided to delve into the world of Appium. After installing the Appium app and adding the simulator app file, I launched the simulator using the "launch" command, following the steps outlined here. I successfully recorded a test on my app and ...
I'm in need of assistance with automating a script to loop through an array and return a specific value from each object. [{"var1":"test1","var2":"test1"},{"var1":"test2","var2":"test2"},{"var1":"test3","var2":"test3"}] My goal is to extract the var ...
For my web automation project, I am utilizing Robocorp along with the Selenium library. Everything runs smoothly until I reach a particular page where I need to click on an icon labeled SQL. I specifically require the <a> element with the @href att ...
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 ...
Suppose I want to enroll in a class on the 'Courses' page. I am testing the functionality of enrolling in classes. Should I access the page by clicking on the menu bar, or should I directly enter the URL of the page? ...
I'm new to automation and facing an issue with efficiently inputting date, month, and year from three different dropdowns with unique xpaths. I want to streamline this process without using the select class for each dropdown. Here is the sample code : pa ...
I am struggling to make variables work when passing parameters as a string in my code. Conf.ts params: { testEnvironment: TestEnvironment.Prod, }, env.ts export enum TestEnvironment { Dev = 'dev', QA = 'qa', Prod = 'production', } ...
Why does my webdriver throw an exception when I try to switch to a frame(2) inside a frame(1) after using driver.switchTo.defaultContent()? Removing this line allows me to find the frame(2). Can someone clarify why this behavior occurs? driver.switchTo().d ...
Season's Greetings and Happy Holidays! I have developed a script that automates the process of opening a webpage in Chrome, logging in, navigating to a specific page, and then attempting to print it. However, I am encountering difficulties when trying to ...
The automation framework is facing an issue where it does not proceed with executing steps in the .feature file after opening the Chrome browser, which then closes abruptly. Code Snippet from GenericStepImplementation.java: @Before public void setUp() th ...
At the moment, I am utilizing Appium, Selenium, Java, and TestNG for automating a native app. My focus is on iOS and Android platforms, where the functionalities are similar but the element identification process differs between the two. Each element has a ...
I'm in the midst of a project automating tasks, where I have designed a basic program to generate testing reports and capture screenshots. package ReportTest; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; im ...
Hello! I'm encountering an error even after adding all the necessary jar files to the classpath. I have an interview coming up on Monday, so I really need to resolve this issue as soon as possible. My Java version is 21 and Chrome version is 122. Can anyo ...