Questions tagged [eclipse]

Eclipse is a very popular free and open source IDE, with plugins to support a large number of programming languages.

Filter by
Sorted by
Tagged with
-1
votes
0answers
12 views

“No Definition found” error

I am getting error No Definition found while creating a feature file in selenium using Cucumber.
0
votes
1answer
69 views

sikuli runtime error in eclipse ide

i am hitting an error for the code below, this is my first time running eclipse with sikuli to automate desktop application. the image is an icon of a new folder in desktop. any help? import org....
0
votes
1answer
34 views

Importing test library 'AutoIt' failed: ModuleNotFoundError: No module named 'AutoIt' Error

I am trying to file upload in modal form using robot/eclipse but its not working. I added autoit library to red.xml. Giving below error . Below is my code for file upload Click Element xpath=//*[@...
2
votes
0answers
43 views

BeforeClass doesn't get displayed in TestNG test results window

We are expanding our TestNG suite to run multiple tests. Doing so we've encountered a strange occurrence. In one suite I have two tests. Both tests have one class each. Tests in IntegrationTest.java ...
0
votes
0answers
17 views

read otp from seetest mobile application and paste to continue with login process in web application

I am using cucumber and configure appium and seetest to run web application on mobile browser, i want to check otp that is sent via my application to mobile number (on seetest device number which is i ...
0
votes
1answer
44 views

Best model/design technique for test scripts [closed]

What's the best/most advanced classes design/modelling approach when writing selenium webdriver scripts using Java. Example of one modelling approach is TDD and page object. Can we integrate both? ...
0
votes
1answer
110 views

Not able to run application through emulator in mac

Code: public class AppDAta { public static URL url; public static DesiredCapabilities capabilities; public static AndroidDriver<AndroidElement> driver; //1 @Test ...
0
votes
1answer
185 views

Webdriver setup error in Eclipse, Mac OS X Catalina

After upgrading Mac OS X to Catalina, I have been trying to execute a very basic script written in Java for Firefox in Eclipse IDE 2018. I've installed Gecko driver already through terminal and it's ...
1
vote
1answer
118 views

Eclipse and RED (Robot Editor) won't open files in Robot project - NullPointerException

I have a project in Robot framework. I use Eclipse version 2019-09 R (4.13.0), Build id: 20190917-1200 for editing and writing tests. I also use RED version 0.8.13.201907181006. Whenever I try to ...
0
votes
2answers
48 views

Cucumber sentence autocomplete

I have a difficulty with writing Cucumber tests. The re-usability of the Cucumber sentences is not consistent - I would like to avoid code duplication when creating sentences and methods glued to the ...
0
votes
1answer
104 views

Eclipse C++ Unit Testing without Unit Testing framework

I am looking for some ideas on how to implement a Unit Test framework without any existing unit test tools like Google Test Runner. I am on a closed network without internet access and so whatever ...
0
votes
0answers
46 views

Code can't be executed after running click method

After being run click function , i don't know why but the next sendKeys function can't be executed. eclipse is getting stuck and after a while, i'm facing with "timeout waiting for page to load" error....
0
votes
1answer
2k views

HTML file is not generated in the extent report

I have made a script to generate an extent report, but HTML is not generated. Please check below code: Report.java: package report; import org.testng.Assert; import org.testng.ITestResult; import ...
1
vote
2answers
505 views

Using Fluent Wait When Finding List WebElements

I have a fluent wait class that works pretty well for locating my page elements, however, when I am locating elements for lists I don't appear to be using the same wait. I currently need to add ...
0
votes
2answers
123 views

How to automate when you do not get any id or xpath

I have a scenario where I need to sign in using Facebook, so when I used UiAutomator viewer to inspect I am not able to find any element. So how to perform automation in such cases.
1
vote
2answers
12k views

WebDriver cannot be resolved to a type

"The import org.openqa cannot be resolved". "WebDriver cannot be resolved to a type". "ChromeDriver cannot be resolved to a type". This type of error occured when writing TestNG program. Before ...
1
vote
1answer
483 views

How to pass the data provider data when page factory method is applied

I have created a sample project using the page factory. Now I want to use the data provider in the code and this is how I have done below. Is the approach correct? I have defined CommonElements class ...
2
votes
2answers
930 views

How to Select a value from Dropdown using Selenium WebDriver (Java) having input and div but not select tag?

I am trying to select a value from a dropdown. When I inspect that dropdown, I cannot see the select Tag, instead it was designed with combination of input and div tags. Can anyone suggest a way how ...
0
votes
1answer
1k views

Can't able to run TestNG its show an error below I mentioned

[RemoteTestNG] detected TestNG version 6.14.2 org.testng.TestNGException: Cannot instantiate class testing.test at org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:30) ...
1
vote
1answer
253 views

How to perform QA when dev provided no deliverables? [duplicate]

The development team will release new epic after 30 days, today is day 1 and they did not provide any deliverables. What should a QA Engineer do to assure high quality?
0
votes
2answers
389 views

Python expected an intended block error if/else [closed]

Hello im getting in this script an indentationError time.sleep(3) driver.find_element_by_id("mainMenuRoutes").click() time.sleep(1) time.sleep(2) if driver.find_element_by_xpath('//*[@class="m-btn ...
0
votes
0answers
26 views

Display unknow error in eclipse

I have make 3 function for blank data,invaliddata and validdata. I have user autoit for the upload the the file from the window. At the debug time script is run properly but at the run time it ...
1
vote
3answers
2k views

Multiple @tests but did not execute the priority 2 and priority 3

Can someone let me know why it stops execute after the first @test(priority=1)? It ran the @beforeclass, then @test(priority 1) then @aftermethod. So it skipped @test(prority=2) and @test(priority=3) ...
0
votes
1answer
835 views

How to Create “Runnable jar” testng file for deployment?

I tried: TestListenerAdapter tla = new TestListenerAdapter(); TestNG testng = new TestNG(); List<String> suites = Lists.newArrayList(); suites.add("testng.xml");//path to xml..in src testng....
0
votes
1answer
54 views

PhoneGap Android App Automation with Appium

I am using JUnit to make automation test , the context is changed to hybrid App , after tests I`m making output excel file with the result. I am new to the automation and found a way if something is ...
0
votes
2answers
5k views

Dynamic ID locating element [duplicate]

New to Automation , I am using selenium with JAVA. I have come across a stumbling block our developers do not assign ID to our elements and JFS assigns it own ID , however the ID's are dynamic and ...
1
vote
1answer
725 views

how to get the unique id of a dynamic element in selenium webdriver [duplicate]

How can I get the unique id of the element in selenium webdriver. For example email id creation: Each time the system creates a unique id for the email id. How can we use that specific id in selenium ...
0
votes
1answer
50 views

Getting issue regarding to get selector in the selenium web driver

AS per the screen shot there are more then two botton of the add to cart and all button class name are same . so how can i identify the each and every one by the on click event->ajax id
-1
votes
4answers
2k views

Selenium, unable to locate xpath or form name [closed]

I'm trying to locate a form, but the application doesn't have form names. I tried: driver.findElement(By.xpath("html/body/div/div/main/div/div[2]/div/form")); driver.FindElement(By.XPath("//input[...
2
votes
3answers
3k views

How to run selenium-cucumber eclipse project through command prompt

I need to run selenium-cucumber (Junit) project from command prompt. I tried using the statement in command prompt: java -cp E:\Workspace2\AP\Jars\*;E:\Workspace2\AP\src\stepDefinition\ cucumber.api....
1
vote
1answer
633 views

Selenium Webdriver | Python (Tumblr) : Cannot access element ID after posting

I'm trying to create a test case for Tumblr (currently in the process of learning automation) and I'm stuck on trying to access the drafts page. So here's what's happening - after I post an image as ...
1
vote
1answer
4k views

Unable to import packages while intializing java classes [closed]

I have downloaded and imported Selenium 3.60 jars but unable to import packages: package basics; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; ...
0
votes
1answer
104 views

Displays error while select radio button in selenium

I'm writing testcases to select 7 radio buttons. While select the radio button it displays run time error. I have tried with below code : public void selecttemplate() { List<WebElement> ...
2
votes
1answer
84 views

Difference of using JAR Files and Maven [closed]

Importing the JAR Files in eclipse by Right click on Project-> Properties-> Java Build Path. JAR files gets imported and it is helping in codes. Nowadays Maven ruled over it. What ...
0
votes
3answers
5k views

findElement is not working in Appium on Android

I am trying to click on display button in Settings app. But "findElementBy.." statement is not working, Sometimes I get 'nullpointer exception' or 'no such element exist' exception and some times test ...
0
votes
1answer
81 views

Print command does not work in webdriver

I have a scenario where it is needed to verify the text that is manually input ina a text box of a sub window by storing and then printing it. But nothing happens and eclipse just shows as running. (I ...
0
votes
2answers
562 views

Why is there no Gauge plugin version for Eclipse IDE

I have been using Eclipse for building my automation framework. Recently I wanted to use gauge in my framework. But while trying to install the plugin I noticed that the version number of Gauge for ...
2
votes
3answers
5k views

Robot framework with java: where to put browser driver path?

I'm trying to set up a maven+robot+selenium3+testNG project using Eclipse and java. So far, I've created a maven project and added the dependencies and plugins to its pom.xml so I don't have to ...
4
votes
2answers
5k views

Chrome browser is not open in selenium using linux

i have setup eclipse and setup require jar file. i want to just open browser using selenium. but it display error
3
votes
1answer
6k views

Robot framework not picking up keyword implementation

I'm trying to set up robot on top of an Eclipse Maven-Selenium-TestNG java project I created, but it doesn't seem to be picking up default keywords (I haven't even tried adding my own yet). I have ...
3
votes
2answers
68 views

Script debugging on AJAX base web application. Can I bypass my dependent module test script execution in Eclipse?

I'm testing a web application in which all web controls are loaded dynamically using AJAX. I have a test script project in java Eclipse IDE. Here is my problem. If, for example, I am debugging a test ...
0
votes
1answer
540 views

How to share git project to other users [closed]

I'm learning project sharing for my selenium project using git. I'm the only person who is working on the project so some things are making me confused. I have my github account where I have created ...
1
vote
1answer
478 views

Is there a tool to measure Java/Eclipse memory and garbage collector performance?

I do QA for a product performed with plugins over Eclipse and there are automatic tests written with SWTBot. Sometimes on some CI runs the delays are not enough, although they run OK locally. But ...
0
votes
4answers
661 views

Running Firefox using selenium in Eclipse [duplicate]

I am unable to run firefox test using selenium. It opens FF but didnt perform the action. Below are the info Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: ...
0
votes
2answers
930 views

Error while running Test Cases in SoapUI from eclipse

I am getting the below error while invoking my test suite: 12:01:56,498 ERROR [SoapUI] An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for ...
1
vote
0answers
32 views

Selendroid server error

I have setup path for android and jdk set up eclipse and try to open apk file in device but it is display server connection error
-1
votes
1answer
3k views

How to get span value [closed]

I want to get validation message value in Eclipse using Selenium WebDriver. I have written code below but it display syntax error: WebElement errormsgfornewpass = driver.findElement(By.xpath("//...
1
vote
1answer
665 views

Appium TestNG error : Attempting bi-dialect session, assuming Postel's Law holds true on the remote end

I'm trying to launch a simple web application test using Appium, using AVD. I'm using eclipse, and the android studio emulator. I included all the packages. I would like to make sure about the ...
2
votes
0answers
68 views

Database testing error [closed]

I am connected mysql databse in eclipse.i am trying to test enter ui value is match in databse or not so i have write code for that but i am not getting satisfied output My code is listed below: ...
1
vote
2answers
96 views

How to perform databse testing in selenium webdriver [duplicate]

I am new in selenium.i am trying for the database testing in selenium webdriver using eclipse. i have install mysql 6.3 server and configure ojdbc14.jar and mysql-connector-java-5.1.25.jar in eclipse ...