*While attempting to parse some data through JSON, I encountered an issue where clicking on a specific button caused the parsing activity to stop working. The rest of the app is functioning properly except for this particular button.* Main Activity Button ...
I am currently using Selenium WebDriver with Eclipse and Firefox. I needed to deploy it on a Windows Server, so I followed these steps: Exported an executable JAR file Created a run.bat file with the following command: java.exe -jar SeleniumTestAutomatio ...
**I keep encountering the error message Exception in thread "main" java.lang.NullPointerException when running this code. Can someone assist me with resolving it? package Solutions; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; i ...
Hey there! I've done some research on this topic already. It seems that in Eclipse, if you utilize different workspaces, you should be able to save projects with the same name. However, I am encountering difficulties in doing so and I'm not sure ...
I have a functional workflow that I'm looking to enhance. Currently, I am developing a JavaScript library and conducting smoke tests on the code by using webpack to bundle the library and save it to a file that can be included in an HTML file for test ...
Greetings, I am in the process of learning Selenium Webdriver on Eclipse IDE using Java Language. I have come across an element with the following ID: <button role="tab" id="tabs-id_1-link-1" class="c-tabs__link is-active" aria-selected="true" aria-con ...
Trying to execute the sample test provided at https://code.google.com/p/selenium/wiki/AndroidDriver#Run_the_Tests on an Android emulator (Mac) is causing issues during the test run. After setting up an emulator and installing the WebDriver APK, creating a ...
Currently, I am utilizing OS X El Capitan along with Eclipse (Neo) and Python. I have written some Selenium scripts in Python. Initially, these scripts were functioning properly. However, after upgrading from OSX Sierra to El Capitan, Please note: thi ...
Encountering the frustrating "Chrome not reachable error" in my Selenium script. Everything was running smoothly just a few days ago, but now this error keeps popping up. Current Chrome Browser version: 86.0.4240.111 Chromedriver version in use: 86.0.4240 ...
I'm experiencing an issue with a simple code that navigates to a specified URL. Despite trying various solutions found on Stack Overflow, I have been unable to resolve the following error: Error: > [RemoteTestNG] detected TestNG version 6.14.2 or ...
Currently, I am involved in a project that has recently transitioned to using the pytest and unittest framework. Previously, I would run my tests from Eclipse to utilize the debugger for analyzing test failures by placing breakpoints. However, this method ...
Can someone help me figure out how to select two quantities of the same item in Selenium POM using a for loop? My current solution is not working, and I need to know how to increment twice in POM. Below is the file where my page objects are stored: packa ...
I have attempted to run my program using various versions of Firefox (45, 48, 49, and 50) with no success. I have also specified the path for the Gecko driver (64 bit) within my code, but unfortunately, the Firefox browser fails to open when I execute the ...
I am facing an issue with adding the Maven artifact "ru.stqa.selenium" in Eclipse. I tried to download the catalog file from: "https://github.com/barancev/webdriver-testng-archetype". Here are the steps I followed: Eclipse -> Window -> Preference -> Maven ...
Currently, I am honing my skills by constructing a test automation framework using Selenium Webdrive within Eclipse alongside Java. As part of this process, I am meticulously debugging the code I have written to ensure a comprehensive understanding. It&apo ...
//Java code in Eclipse: package openbrowser; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class OpenChrome { public static void main(String[] args) { // TODO Auto-generated method stub ...
package BasicPrograms; import java.util.Scanner; public class OddEvenNumber { public static void main(String[] args) { // TODO Auto-generated method stub int num; Scanner input = new Scanner(System.in); System.out.pr ...
I am currently learning about Selenium and attempting to handle an authentication header that has been implemented on a website for security purposes. I am trying to access the site and send data via URL using Selenium, but due to the authentication requir ...
I am attempting to automate the selection of a drop-down menu using Selenium WebDriver. Below is the code snippet I have written: package Select; import org.testng.annotations.Test; import java.util.List; import java.util.concurrent.TimeUnit; import org ...
After searching extensively on both here and GIS Stackexchange, I have yet to find a solution to my issue. My goal is to include an if statement in my plugin.py file that checks whether a checkbox is ticked. The plugin.py imports a class from dialog.py, w ...
For our current project, we have integrated BrowserStack into our testing process. The portal we are testing has been whitelisted for our IP address. We are also accessing the internet behind a proxy. However, when running the following code snippet: p ...
I am experiencing an issue with selecting the country 'India' from a dropdown menu on my webpage. The dropdown menu opens a search box and a list of countries, allowing users to search for a country by keyword. However, despite attempting to sele ...
public class ProgramDemoQA { public static WebDriver d; public static void main(String[] args) throws InterruptedException { System.setProperty("webdriver.chrome.driver", "D:\\RamanaSoft&bso ...
This project serves as a demonstration, utilizing the Page Object Pattern and Data-driven framework for implementation. Within this project, concepts of inheritance and constructors are applied. The configuration file config.prpoerties contains details s ...
Currently, I am facing an issue while attempting to integrate the Selenium 4 library into Eclipse using Maven in an existing modular project. Upon adding the selenium-java dependency, I encountered multiple errors including: The type org.openqa.selenium.B ...
package demo; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import java.io.FileInputStream; import java.io.FileOutputStream; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.xssf.usermodel.XS ...
Although this question may sound familiar, it remains unanswered for over a year. I am sharing more details in hopes of finally getting a resolution. The problem arises when the code enters PyQt5's loops and a crash occurs without displaying the trac ...
I am encountering an issue with my TestNG suite consisting of more than 10 classes. When I initiate the testNG.xml as a suite, the browsers (ff) do not close before moving on to the 2nd class where I have coded to open and close the browser in each class ...
I've been working with the following code snippet: ControlFocus("File Upload","","File1") ControlSetText("File Upload","","File1",'"C:UsersDesktopimage1.png" "C:UsersDesktopimage1.png" "C:UsersDesktopimage2.png" "C:UsersDesktopimage3.png" "C: ...
My current setup involves using CentOS with Python 2.6 (/usr/bin/python2.6), but I have also installed Python 2.7.8 (/usr/local/lib/python2.7). However, when running a script in Eclipse, the egg files are being created in /usr/bin/python2.6/.. instead of ...
My goal is to incorporate POI integration into my automation testing using selenium webdriver. In the past, I relied on Excel 2003 & Jxl for this task. Now, I am looking to switch to Excel 2013 & POI. Is it feasible to make this transition? 2. How ...
https://i.stack.imgur.com/ZkRlK.jpg I need help clearing and running my code. The error message "Webdriver cannot be resolved to a type" keeps popping up. Can someone assist me in resolving this issue? ...
Currently, I am utilizing PHP client code with a Symfony dom-crawler that was added via composer. The code functions perfectly when executed from the command line; however, during debugging, it crashes and generates the error below: PHP Fatal error: Unca ...
Being new to php, I have been experimenting with Eclipse PDT for my php projects. While using the program, I have come across two options available for a php page: Run as PHP script and Run as PHP web page. Run as PHP script and Run as PHP web page I am ...
import org.testng.annotations.Test; import org.testng.annotations.BeforeMethod; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.AfterMethod; public clas ...
While working on my Selenium Project, I encountered an issue with the Workspace name containing a space. This resulted in the following error: Exception in thread "main" java.lang.IllegalArgumentException: C:/Users/xyz/eclipse-workspace ValveAware/TestPro ...
Being new to Macs, I am encountering difficulties running scripts on browsers like IE or Chrome. Here is the progress I have made so far: Updated Eclipse, Selenium standalone server, and Selenium IDE Set up TestNG framework in Eclipse Installed Selenium ...
As a beginner in programming, I recently attempted to run the code below. However, despite loading the Chrome page, the code did not execute and I encountered the following error: Starting ChromeDriver 72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c3 ...
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 ...
Looking for some help with a unique situation here, I am currently using PHP 5.3 in Eclipse as my IDE and I am in need of assistance on how to set up a file similar to the default one that comes with the PHP functions. This file will enable code completio ...
After installing the Eclipse Oxygen plugin for Angular2, I created a project using the Angular CLI and opened it in Eclipse. However, when trying to convert the project to an Angular project, I couldn't find the option under configuration. Instead, the onl ...
After downloading the most recent Enthought EPD python distribution (academic), which includes python 2.7, I decided to use Eclipse as my preferred IDE. I configured Eclipse to utilize this specific Python instance and proceeded to run the "images.py" exa ...
I recently created a test in Juni and added it to my Maven project. However, when I try to build the project, I encounter the following error: java.lang.NoClassDefFoundError: org/apache/http/config/RegistryBuilder at org.openqa.selenium.remote.int ...
I'm currently working on an AngularJS project using Spring Boot, with the HTML/JS/CSS stored in src/main/resources/static. The issue I am facing is that when I make changes to these files outside of Eclipse and then refresh the browser, the changes d ...
Currently, I am using PyDev in Eclipse 4.2 on Mountain Lion operating system. I have successfully installed the SciPy Superpack and can access all related packages like Scikit-learn and MatPlotLib via Python interpreter and IPython. However, when attemptin ...
Upon the completion of NodeJs installation and running npm install -g phonegap, I encountered an output that deviated significantly from the expected format: C:Program Files odejs>npm install -g phonegap | > <a href="/cdn-cgi/l/email-protecti ...
I'm having an issue while attempting to utilize Selenium WebDriver with Google Chrome in Eclipse. When I execute my code, the following error is displayed: Starting ChromeDriver 2.25.426923 (0390b88869384d6eb0d5d09729679f934aab9eed) on port 40315 Only ...
driver.goTo("https://maps.mapmyindia.com/"); Thread.sleep(3000); driver.findElement(By.xpath(".//*[@id='onboarding-popup-sec']/div/div/button")).click(); File data = new File("D:\\Screenshots\\CityList.xlsx"); FileInputStrea ...
There was an issue when trying to access the repository at http://pydev.sf.net/updates/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid c ...
Below is the JSON response that I need to compare: { "Result": { "user": { "PersonData": null, "Locale": null, "Attributes": { "IsEnabled& ...
Currently, I am in the process of familiarizing myself with Selenium for automated testing. I have managed to successfully complete all parts of the test case except for the final step which involves checking if an alert is present to confirm the transacti ...
Presently, I have a piece of code that identifies the Show id, then proceeds to locate the elements in the option tags below it and prints them out individually. WebElement dropDown = driver.findElement(By.id("Show")); List<WebElement> optio ...
Recently, I delved into the world of Angular 2 and noticed that TypeScript is highly recommended over JavaScript. Intrigued by this recommendation, I decided to make the switch as well. I came across a helpful guide for setting up everything in Eclipse - f ...
I can't seem to find the Window > Preferences > PyDev option in my eclipse. I attempted to get it from the eclipse marketplace, but I'm encountering some difficulties. Can someone guide me through the process? ...
Question about managing local packages and gulp integration. I am facing an issue with my packages.json file in the working directory of my IDE, which contains numerous dependencies that also have their own dependencies. Upon installing them via npm, a nod ...
Currently, I am attempting to retrieve images from a website using the following code snippet: List <WebElement> listofItems = driver.findElements(By.cssSelector("div.heroThumbnails:nth-child(4) > div:nth-child(2) > div:nth-child(n)")); URL ...
As a beginner in Angular development, I am exploring the process of creating a responsive form within an AngularJS web application to enable users to upload files or photos from a mobile browser. Before proceeding with the uploads, I need to access and che ...
class automation_example { public static void main(String[] args) { new ChromeDriver(); } } When trying to create a new instance of ChromeDriver, the import driver option does not appear when hovering over it. The JAVA jar file has been a ...
Starting a new role at my organization where I will be testing Angular JS applications. Can anyone recommend a good website for learning PROTRACTOR with JAVASCRIPT using the JASMINE Framework? (Would prefer if it includes guidance on Eclipse IDE) Thank yo ...
The code snippet provided below demonstrates how to perform a G-mail login using Selenium WebDriver. package gmail_Login; import java.util.concurrent.TimeUnit; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.openqa.selen ...
Currently using Eclipse(java) along with Selenium, encountering issues validating a button click event on the May 1st, 2019 date entry. The following methods have been attempted: driver.findElement(By.className("gws-travel-calendar__day-label")).click(); ...
After extensive searching across multiple search engines, it seems like I am the only developer facing this particular issue. It has been affecting my productivity for years now. My problem arises when I perform a File Search in Eclipse 3.7.2 on Centos (a ...
The design of Eclipse's rounded and/or swooshing tabs is starting to feel outdated in today's modern era. I thought that by adding the following line in my default.css file, I could get rid of the rounded corners: swt-corner-radius: 0px Howeve ...
The task at hand involves scrolling through panels in my system, where two panels exist with scrollbars that share the same Class name. I am using Selenium Webdriver and need assistance on how to specifically scroll down the second panel. Scrollbar Class ...
In my Java method, I am trying to create a wait for a specific XPath. If the wait times out, instead of throwing an error, I want to return either null or the element if it is found. To achieve this, I can use try/catch and handle an exception that indicat ...
Are there any tools for extracting functions in JavaScript similar to the "extract function" refactoring feature available for Java and jQuery developers in Eclipse or Aptana? Or perhaps in another JavaScript/jQuery IDE? ...
While testing my website's cart functionality, I encountered an issue with inputting data into the Debit card fields after selecting the Payment method. How can I successfully enter data into these fields? You can access the Website to be tested via this ...
There are some opinions online that suggest one must install Java, set JAVA_HOME, download Maven, set MAVEN_HOME, update PATH variables, etc. before starting to work with Eclipse and Selenium WebDriver. I have a few questions: 1) What happens if I do not ...
Upon Executing the Command Below: from selenium import webdriver The Following error Occurs: Traceback (most recent call last): File "C:Users empjatopworkspaceTestPythonSample.py", line 1, in <module> from selenium import webdriver Fi ...
In my Eclipse environment, I am looking to have LESS compile only when explicitly triggered by mvn package. Currently, any changes made in my less file immediately update the CSS. How can I prevent this automatic behavior? <plugin> <groupId> ...
Currently, I am attempting to utilize a wait.until method on an element attribute in the following manner... public static void WaitForElementSize(WebElement element, WebDriver driver, int timeoutInSeconds) { if (timeoutInSeconds > 0) ...
An error occurred while running the main thread. The session was not found. Command duration exceeded timeout: 610 milliseconds. Additional information on the environment - version: '2.53.0', revision: '35ae25b', time: '2016-03-15 ...
Upon the Maven requirement, I incorporated pom.xml into the project and made the necessary adjustments to transition the existing project into a Maven-based one. Here is the error stack trace encountered while starting IE WebDriver, a similar issue occurs ...
I am having an issue running a node.js project locally and setting up a debugging session. Typically, I would use the "debug as" feature in Eclipse to run a node project with debugging enabled. However, after starting the debugging session, nothing seems t ...
Can anyone help me with targeting and clicking on the specific regOption bar to proceed with the test? I attempted to instruct the driver to use the following XPath directly. driver.findElement(By.xpath("//*[@id='regOptions']/div[2]/div[3]/p[1] ...