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
0
votes
1answer
40 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
45 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
87 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
100 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
110 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
2k 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
197 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
193 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
554 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
205 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
197 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
23 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
1k 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
501 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
49 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
2k 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
426 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
47 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
989 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
2k 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
514 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
3k 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
87 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
54 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
4k 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
49 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
393 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
3k 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
4k 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
3k 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
67 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
188 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
395 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
578 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
745 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
30 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
2k 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
612 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
67 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
85 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 ...
3
votes
2answers
216 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
427 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
276 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
5k 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
758 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
253 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
805 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
238 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
1k 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
502 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:/...