Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [eclipse]

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

0
votes
1answer
21 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
115 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
66 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
16 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
votes
0answers
84 views

Not able to run selenium scripts from Jenkins

I am running selenium scripts using eclipse.Now I want to schedule it using jenkins. Which are the jars apart from selenium jars should I place in my project lib folder and what should be the content ...
1
vote
3answers
315 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
204 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
0answers
567 views

Open chrome browser with different user

I am using eclipse with selenium to run few scripts which are created to test Dynamic CR application. The CR application is SSO enabled application The Scripts fetches a testing ID and its password ...
0
votes
1answer
37 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
733 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
324 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
0answers
396 views

How to remove Warning msg from Eclipse Oxygen IDE while Excel Automation?

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.poi.openxml4j.util.ZipSecureFile$1 (file:/F:/POI/poi-ooxml-3.17.jar) to field java.io....
0
votes
0answers
716 views

Due to TestNG versioning in Eclipse Oxygen Test cases are not running

I am using TestNG 6.8.5 with Spring. While running the test cases eclipse console gives following exception: [RemoteTestNG] detected TestNG version 6.8.2 org.testng.TestNGException: Cannot ...
0
votes
1answer
43 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
484 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
1k 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
400 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 ...
0
votes
1answer
1k 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
63 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
42 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
2k 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
44 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
216 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
2k 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
3k 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
2
votes
1answer
2k 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
56 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
147 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
298 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
481 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
561 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
22 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
1k 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("//span[@...
1
vote
1answer
539 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
61 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
75 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 ...
4
votes
2answers
177 views

I want to know working of sonarqube

I install both SonarQube and sonar-runner. And I want to know how to start working. My project uses PHP language. So I want to check the code analysis of my project. But how to get started working? ...
1
vote
1answer
269 views

Excel Data overite problem

I have generate testcases for the login and register page so,i want to display testresult in excel sheet but problem is that when i run testng.xml file then data is overrite into file .i want to ...
0
votes
1answer
190 views

Display error while generating excel report using TestNG

I am trying to generate excel file for displaying TestNG report into excel sheet. For that I created simple program for creating excel sheet and display static data, but it's displaying error
0
votes
4answers
4k views

How to modify TestNG report?

I have generated a test suite and run the testng.xml file and default report is generated accordingly. I want to modify default generated report. I want to display one column which shows the pass ...
0
votes
1answer
602 views

How to display input data in testng report

I have generate TestNG report in eclipse to display results of fail/pass testcases, but in report it does not display which input string I had passed into textbox. So I want to display input string in ...
0
votes
1answer
113 views

How to run testcases on one browser

I have create testcases in eclipse.but while runnig testng.xml file it's open in new browser every time.how to run it in single browser.i am calling below for every testcases so it's open in new ...
1
vote
1answer
610 views

TestNG Report display Blank

I have created testcases in eclipse. I am trying to run that using TestNG, it displays output in console for fail and pass testcases, but I have open emailable-report.html from the test-output folder, ...
0
votes
0answers
211 views

Junit Report Generate

I am using eclipse kepler for the generate testcases using junit I have tried the follow through this link https://earlwillis.wordpress.com/2012/01/31/getting-started-with-junit-reports/ but ...
1
vote
1answer
780 views

Problem with Selenium configuration in Eclipse

I am trying to configure Selenium WebDriver with Eclipse IDE. While running my code I am getting java exception has occurred error. How to fix this? import java.io.File; import java.io.IOException;...
0
votes
3answers
200 views

WebDriver+TestNG+Eclipse, Failing of Assertion in Try block doesn't pass the debugger to catch block

Please see a simplified code below public class testClass { static WebDriver driver; @Test public void Checking() { driver = new FirefoxDriver(); driver.get("http:/...
2
votes
1answer
632 views

How to add .exe file dependency so as to create a single runnable Jar

I have written a Selenium Webdriver Java (in Eclipse) automation test Script which I run in the Chrome Browser. The script depends on a chromedriver.exe which I have added in my project dependency ...
0
votes
0answers
2k views

How to attach source to a selenium server jar in eclipse?

I'm new to programming/test automation and trying to learn my way around WebDriver, using eclipse. After sketching up my test case and successfully running it I get the following message in Class file ...
3
votes
1answer
24k views

“java.lang.NoClassDefFoundError” : A JNI error has occurred

I'm working with selenium webdriver. I tried so many times to execute my script. It's showing an error again and again. What will I do to resolve? What is the solution for this? I am using eclipse ...
0
votes
2answers
69 views

How can I create an @After class that may or may not need to click a delete button?

I am working with some software that schedule reports to go out to clients. Sometimes in running my selenium tests something goes wrong and it does not delete the instance once it is done with it. I ...