Questions about testing applications written in Java, a popular programming language and runtime environment which allows Java programs to run unchanged on most hardware and software platforms.

learn more… | top users | synonyms

4
votes
1answer
81 views

C++ app automation on multiple platforms

Need to automate C++ application testing on Web, Mobile (iOS, Android) and Desktop (Windows, OSX and maybe Linux). Searching for open source tools only and automated tests will be written using Java. ...
3
votes
3answers
2k views

Python or Java for Loading and Performance testing

I'm looking to choose the best tool to perform Load and Performance testing on my web based application. The content of the application is based on Jasper reports and I want to see the behavior of the ...
4
votes
1answer
5k views

Free/Sample Selenium test suites (code) for Open Source projects

I am a student and for learning purpose I am looking for following: Open source projects who have a ready-made selenium test-suite, free for others to use can be any sort of web application, in any ...
0
votes
1answer
54 views

Is this a good idea to test if text messages are exactly what they are?

I have been told that testing java exceptions' messages is a good thing, but it looks so much like redundancy that I cannot believe it. Consider following fictional code: public class ...
1
vote
6answers
168 views

What languages and frameworks should I learn for selenium automation testing? [closed]

I have been a Non-IT student, but now I want to start my career as a software tester. Are there certification I should get? Which programming languages and frameworks should I learn? Is it necessary ...
0
votes
0answers
70 views

AjaxElementLocatorFactory = Implicit or Explicit

I'm looking for solution in page factory to wait. I don't want to use something like Implicit wait, but something like Explicit. I read about AjaxElementLocatorFactory, but I'm not sure that it ...
3
votes
1answer
77 views

Actions to search item and number of methods

I have questions about clean code. I'm writing a test in Java selenium page factory. I'm a beginner. I have two "actions", input text into search field and click button search. Now the question is, ...
2
votes
2answers
143 views

Help finding child class with cssSelector syntax

How can I find this element by css this is what I have so far. driver.findElement(By.cssSelector(".simplecolorpicker > span[title*=#ff8081]")).click(); Here is the image of the html:
3
votes
1answer
374 views

How to connect to Java Applet using Python [closed]

I am looking for a solution. I am trying to automate user interaction on a web application which is having embedded java applet in it. Based on what I've found on the internet I know there are ...
2
votes
1answer
265 views

Webdriver : How to upload a file using relative path in java? [closed]

Need to upload an image using the relative path, which I would like to run on both IDE and command line. Here is the code which runs with the absolute path, File classpathRoot = new File(...
6
votes
5answers
2k views

I want to learn Selenium but not sure about the language I need to learn for automation

Java or Javascript? or maybe another language? Please help me choose the programming language I should learn for Selenium automation and its benefit over other. Any pro's and con's?
0
votes
1answer
141 views

Console prompts error : Compound class names not permitted

The thing what I wanted to do was, write java code for automate the sending an email via gmail. When I try to locate element of send button it throws following errors. The code I used, is like this; ...
1
vote
2answers
915 views

Jmeter with java coding [closed]

I want to write JMeter requests in Java. I found some examples by googling but I am not understanding how to assert the response i.e. the way we use Response Assertion to check whether the page was ...
0
votes
1answer
2k views

Help with else if statement Webdriver Selenium

I have this code below which seems to not go to the else if statement. It runs the first part but never seems to go to part 2, if element 1 is already selected. Thanks if (!driver.findElement(By....
0
votes
6answers
251 views

Which can be better to work with Selenium WebDriver - Java or Python? [closed]

I have start learning Selenium WebDriver, but i am confused between Java and Python. Which language should i choose? I do have basic ideas of Core Java but haven't wrote a single piece of code with ...
1
vote
2answers
446 views

Selenium Java WebDriver Can not Find Element with xpath or cssSelector

I can't find this element using selenium java webdriver. I have a before class method that loads the firefox driver and set the WebDriverWait. Then I have a test method to look for the elements with ...
0
votes
2answers
96 views

Cannot Locate the Link in Selenium Web Driver

The thing what I wanted to do is Automate Gmail Login page on Firefox by using Selenium Web Driver. I was blocked near the locating link of gmail. I tried the correct answer of This. but it gives this ...
6
votes
1answer
152 views

Jmeter: Getting error in non GUI mode

While trying to execute Jmeter from command line in non GUI mode I'm getting errorlevel=2 error message. What I did is, Navigate to the Jmeter bin directory in command prompt. Run the ...
0
votes
1answer
65 views

Where to host Selenium Script for Client

I have been making one automation script for client to make his various task to automate. Now script is done and working fine. I have created script in My local pc. So what is best way to deliver it ...
0
votes
1answer
64 views

getting an error in selenium using java with mySQL: java.sql.SQLException: No suitable driver found

package SeleWeb; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import java.sql.*; public class seldata { public static void main(String[] args) ...
1
vote
1answer
59 views

Display tracked changes in Jubula

I'm using Jubula 8.0 (Eclipse Feature 2.3) and I've turned on the 'Track changes' check-box for a project. Where can I see the changes that anyone made? Is there a CVS/SVN-styled View in Eclipse to ...
0
votes
2answers
63 views

how do i use list for selenium web driver in java

how do i use list for selenium web driver in java I need to select id which are continuously changing, and one id is in one row. need to select id from each Edit : <tr id="tr-132885-id" ...
0
votes
1answer
370 views

Phantomjs stack error

[ERROR - 2015-11-26T10:17:14.013Z] Session [9dd2e3a0-9426-11e5-986e-45afd4903e2f] - page.onError - msg: TypeError: null is not an object (evaluating 'a.getElementById("ButtonID").addEventListener') ...
1
vote
1answer
770 views

QTP does not identify / recognize java objects

I've been using QTP 11.0 on my PC quite a long time and had no problem with Java-apps (Java 7 Update 21 x86) identification (OS Windows 7 Pro 64-bit). But when I tried to install QTP on the server ...
1
vote
1answer
330 views

How to select tab buttons in java tab panel with QTP

I want to switch between tabs in Java application using QTP 11.0. The problem is that tab buttons are not seen by qtp object spy as separate objects, the whole tab pane is seen as JTabbedPane: Any ...
5
votes
1answer
1k views

How do I verify a Link URL using Selenium Webdriver / TestNG?

I'm trying to do an assert to make sure a correct XMLHttpRequest is made. I know that I can get the exact Request URL from the Developers Console -> Network tab -> XHR tab's general information ...
7
votes
5answers
9k views

How to handle self-signed SSL certificate error in IE8? (Selenium Webdriver + Java)

I am literally stuck to this problem for two days now. Scenario The website that needs to be tested has a self-signed certificate. So Internet Explorer (8 in Windows XP) shows "The security ...
0
votes
0answers
55 views

what is the advantage of using roboectric for android UT over espresso?

I'm new to android testing. I have read espresso is more UI based framework and robolectric is a UT framework. I want to add UT to existing android project with espresso framework in use already. ...
1
vote
2answers
58 views

How high level should be my unit-test?

I have a program with many classes. I manage the DI with Guice, btw. I wanted to write in-progress tests to my code (unit tests and higher level). I have few questions\difficulties: How high ...
1
vote
1answer
247 views

How to open an item in java menu using QTP

The task is to open (click) menu item, e.g. File >> Open using QTP 11.0 Object Spy identifies first level menu element (and does not open drop-down pane, so items like New, Open... should be ...
1
vote
2answers
42 views

Exception Handling when accessing sub menu

I have a method that uses the Actions class to access a sub menu link. After hovering the main menu link I need to pause before clicking on the sub menu link. So I added a thread.sleep(). At this ...
0
votes
2answers
142 views

I get an exception, “Element is no longer attached to DOM” when I run my code, but In Debug mode, it works fine. I'm using Java and TestNG

In the webpage I'm testing, there are 3 options in a drop down and on selecting each option, rows in a table gets populated. I'm just trying to locate the table value through xpath and I am getting an ...
0
votes
1answer
652 views

Can not find selenium webdriver element in HtmlUnitDriver but can find it in Firefox

HtmlUnitDriver driver = new HtmlUnitDriver(); driver.setJavascriptEnabled(true); String baseUrl = "http://www.biletix.com/search/TURKIYE/en#!city_sb:istanbul,date_sb:weekend"; ...
1
vote
1answer
53 views

Is there a software that tells the number of possible flows when “inputing” an workflow?

I'm making a project that needs to break some big workflows into pieces and I need to know how many possible flows does the Workflow (that I have "inputed") before has. Does anyone know any software ...
1
vote
1answer
76 views

APK 'Internet Permission' is missing on SeeTest Automation tool

Unfortunately after upgrading SeeTest Automation to v 8.7.85, we are getting an error as 'The APK file should have an Internet permission in order to launch application in instrumented mode'. We are ...
4
votes
3answers
431 views

Use Page Object vs other models for Automation in Selenium Webdriver? [duplicate]

I have been doing automation testing since last 2 years and I am following below ways for any website and mobile application automation testing. Create Global Method class where I implement all test ...
4
votes
3answers
551 views

Page Object Model or External property file for Selenium Object Repository

I am a beginner in Selenium WebDriver (Java with TestNg). I'm trying to create a framework of my own. My question here is what would be the better option to store my objects (basically all the ...
2
votes
1answer
56 views

SeeTestAutomation: Is code export/record the correct way ? What are cons?

I am working on a new mobile application testing tool called SeeTest. We have done a feasibility study and decided to opt for SeeTest as tool of choice. Now we are facing few challenges I would ...
0
votes
1answer
225 views

unable to find element

I have the following code //import java.io.IOException; //import org.apache.bcel.generic.Select; import org.openqa.selenium.support.ui.Select; import org.openqa.selenium.By; ...
0
votes
1answer
384 views

Selenium hangs for modals in firefox browser for very long time

After opening the modal window or modal overlay , performing any click operation within the modal takes very long time. It doesn't throw any exception neither does the execution stops. driver....
2
votes
1answer
192 views

How to get an active window title between two browser tabs/windows using Selenium Java

I can switch between two tabs/windows but my requirement is to know or get active window between them. In my project, on a click of a webElement of a page a random pop(tab/window) gets opened and I ...
5
votes
1answer
3k views

Testing ExtJS UI with WebDriver

Our Web app is using ExtJS framework for rendering UI. However, ExtJS-rendered UI is hard to test automatically because: For most clickable elements, ExtJS uses generated ids like "ext-gen-345" ...
1
vote
1answer
129 views

How to handle java dynamic objects in QTP?

How can I handle Java dynamic objects in QTP 11.0? There is a smoke test scenario where simple search is performed and the first occurance in JavaTable is selected (by double click) then sub-window ...
1
vote
2answers
106 views

Webdriver : To upload images using the sendkeys() and autoit tool

What is the difference between using sendkeys() and autoit, which helps to upload images.
1
vote
0answers
104 views

how to parse the multiple values using data bank or CSV file in OFT(Oracle functional testing)

I am working on the OATS (Oracle Application test suite) tool for OFT. Written code in java by using the property file & added the data bank to the script. It takes only the first values both in ...
0
votes
0answers
948 views

Stale Element Reference Exception:Element is not attached to the page document

I am getting stale element reference exception while running a loop. WebElement ControlTypeOp=driver.findElement(By.xpath("//select[@name='ctl00$ContentPlaceHolder1$ddlControl']")); Select ...
2
votes
2answers
128 views

Unable to click on button

For this line, driver.findElement(By.name("importbutton")).click(); It is throwing exception: Element is not currently visible and so may not be interacted with Command duration or timeout: 20....
2
votes
3answers
91 views

Is this a good test for a selenium developer?

My boss has given me the assignment of interviewing one of the new automation engineers. The only task left is the technical one, and I have been thinking about a good test that I could give him. I ...
1
vote
1answer
164 views

Parameters with DataProviders

Is there any way to use Parameters with DataProvider together in Selenium ? @Parameters({"safaf"}) @DataProvider(name="sss") public void hhhhh (String safaf){ }
4
votes
4answers
3k views

How does one get started with web test automation using Selenium?

So I've been testing web based analytical software now for the past 4 years or so with mostly manual techniques. But for 2015, I've set myself the goal of getting setup and start writing automated ...