Questions tagged [eclipse]

Eclipsellipsemse mimics the radiant beauty of a celestial event, serving as an open gateway to innovation and application development. With its expansive collection of magnificently diverse plugins catering to numerous programming languages and various development-oriented utilities (think modeling and database browsing), Eclipsellipsemse ensures unparalleled versatility and efficiency. Marked exclusively for inquiries relating to Eclipse IDE or platform specifics, this tag should not be employed for generalized discussions on programming topics like Java or others.

Having trouble pinpointing the source of the error and finding a solution

*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 ...

Selenium - continuous loading issue encountered on Windows server

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 ...

Using JAVA to leverage the power of Selenium WebDriver

**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 ...

When using Eclipse, each workspace must have a unique project name in order to save properly

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 ...

What steps should I take in order to ensure that NPM commands run smoothly within Eclipse?

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 ...

Using Selenium to locate a class name in an Elements collection

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 ...

Issues with the AndroidDriver Selenium library and the inability to parse the AndroidManifest.xml file are causing problems

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 ...

Error: The 'chromedriver' executable must be located in the PATH directory

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 ...

Selenium Webdriver users may encounter a Chrome "not reachable" error when attempting to

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 ...

Issue with TestNG version 6.14.2 has been identified in RemoteTestNG, and despite trying various Maven related solutions, the problem persists

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 ...

What are the steps for utilizing `pytest` in Python?

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 ...

What is the best way to increase incrementally with Selenium POM?

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 ...

The Selenium test case script using JUnit is malfunctioning on Eclipse when attempting to run it with the Firefox driver

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 ...

Encountering a Maven error stating "The archetype catalog appears to be empty" when trying to set up a Maven project for WebDriver combined with Test

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 ...

What are the solutions for resolving the 'Source not found' error while debugging in Eclipse with Selenium WebDriver?

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 ...

What steps should be taken to fix this Java error when using selenium?

//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 ...

Encountering an issue when running the Odd Even Number Finder algorithm

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 ...

Tips for managing the Authentication header within Selenium

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 ...

Tips for choosing a dropdown option using Selenium WebDriver?

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 ...

What could be causing autotyped variables to throw an attribute error in a QGIS Python plugin developed with PyDev on Eclipse 4.4 running on OSX 10.9.3?

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 ...

Encountering a org.apache.http.conn.HttpHostConnectException error when trying to access a URL through the Eclipse

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 ...

Having difficulties in choosing an option from the dropdown menu

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 ...

The anticipated condition was not met as we were waiting for the element located by the XPath to become visible

public class ProgramDemoQA { public static WebDriver d; public static void main(String[] args) throws InterruptedException { System.setProperty("webdriver.chrome.driver", "D:\\RamanaSoft&bso ...

Encountering a java.lang.StackOverflowError when executing a class as a TestNG Test in Selenium

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 ...

Encountering an "inaccessible module" error when trying to install Selenium in Eclipse using Maven

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 ...

Creating and Managing Excel Files using Java

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 ...

PyQt5 Code in Eclipse (PyDev) experiencing exception without traceback information retrieved

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 ...

When executing a testNG.xml file with multiple classes in Eclipse, WebDriver windows are not properly closed

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 ...

Guide to importing various files with AutoIt

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: ...

Struggling with Python version selection when creating egg files in Eclipse for Python development

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 ...

Integrating Points of Interest (POI) with the Selenium Web

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 ...

What are the steps to fix the "Webdriver cannot be resolved to a type" issue?

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? ...

The PHP code functions properly when executed on the command line, however, troubleshooting

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 ...

What sets apart running a php script from a php web page in Eclipse?

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 ...

Unable to Run Test Case using TestNG

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 ...

The name of the Worspace in space is resulting in a java.net.URISyntaxException

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 ...

What steps do I need to take to configure Eclipse and Selenium to execute scripts on different browsers on a Mac computer?

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 ...

Solving the issue of "INFO:Detected dialect: OSS" in Eclipse

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 ...

Having trouble resolving issues with Selenium's Java WebDriver and ChromeDriver?

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 ...

Utilize PHPDocumentor for generating an Eclipse Library

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 ...

Angular2 Eclipse: Eclipse Oxygen's HTML editor detects TypeScript errors in real-time

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 ...

Error encountered when importing Eclipse XLRD and XLWT modules

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 ...

How can I troubleshoot the RegistryBuilder problem encountered during Junit testing with Maven?

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 ...

The static files in Spring Boot's web main resources are not automatically reloading when changed outside of STS

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 ...

"Encountering an unresolved import issue in PyDev when trying

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 ...

PhoneGap has been encountering issues during installation and is malfunctioning

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 ...

Using the Selenium web driver with Google Chrome

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 ...

Display the exact index of the search result on the console

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 ...

Encountering an error while trying to install PyDev in Eclipse

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 ...

Unable to conduct a comparison between the response body parameter and its corresponding value

Below is the JSON response that I need to compare: { "Result": { "user": { "PersonData": null, "Locale": null, "Attributes": { "IsEnabled& ...

Issue: In the Selenium Java Eclipse environment, there is an error indicating that the variable "Driver"

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 ...

Creating a collection by compiling a selection of choices

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 ...

Tips for incorporating Angular2 into Eclipse using TypeScript

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 ...

Setting up Eclipse for Python on Ubuntu: A Step-by-Step Guide

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? ...

Tips on handling frozen IDE from local packages causing workspace build issues

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 ...

Utilizing Selenium webdriver to retrieve images from the internet

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 ...

Enhancing your Angular JS web application with ngCordova

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 ...

Quick fixes in Eclipse (Java) do not offer the import option

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 ...

Is there a dependable resource for mastering Protractor along with the Jasmine Framework in Eclipse using JavaScript?

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 ...

Tips for Verifying Success and Error Messages from a Login Form with Selenium Automation Testing

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 ...

Is there a way to confirm the functionality of the button for May 1st, 2019?

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(); ...

Search results in Eclipse are not displaying the filename

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 ...

What is the best way to create square editor tabs in Eclipse without using swt-border-radius?

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 ...

Is there a way to establish a default class name with Selenium WebDriver when dealing with two panels that share the same class name

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 ...

Ensuring the accuracy of selenium XPath expressions

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 ...

What is the process for performing the "extract function" refactoring in JavaScript?

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? ...

Fields are unable to process the input provided

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 ...

Which environment variables must be set/configured in Eclipse for Selenium WebDriver? Can I proceed without setting/configuring them?

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 ...

Issues with importing Selenium in Python, using Python-Selenium with Eclipse

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 ...

Turn off automatic compilation for LESS styling

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> ...

The behavior of Selenium when waiting for ExpectedConditions.attributeToBe is not meeting our expectations

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) ...

I encountered an error message while running the Appium code mentioned below

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 ...

Unable to utilize IE and Chrome WebDrivers following the addition of pom.xml

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 ...

``Eclipse: Mastering the Ins and Outs of Running and Trou

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 ...

Utilizing Selenium Chrome driver to pinpoint a specific attribute associated with a label

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] ...