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

0
votes
1answer
10 views

How to automate Mouse hover action in webdriver/java/kendo ui

I just want to automate mouse hover function for my project the scenario is Scenario : There is a text box, if i hover on it,the edit icon will enable and i have to click that icon.
0
votes
1answer
19 views

java software quality in eclipse while developing

How can I increase the quality of code while developing itself. Is there nay tool available which will analyse my code and tell which part of code will create performance issue. I dont want different ...
-1
votes
1answer
46 views

Conflict in Automation testing and Manual Testing

I am new to Automation Testing,While writing automation script Using Selenium I am facing some issues,consider I have 7 Test Cases of which 2 Test Cases are repetitively failing but when I check those ...
-1
votes
1answer
27 views

Get element by cursor position in selenium

I'm writing an auto testing framework using Selenium.I am trying to Locate which element my cursor is pointing to. for eg. there are two textbox textbox1 and textbox2. if I perform a tab swift ...
0
votes
2answers
99 views

selenium.ElementNotVisibleException: Element is not currently visible

I am working on selenium, while running Java code I tried to access a text box from the web page but selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted ...
0
votes
1answer
52 views

Sometimes can't able to select the options from drop down webdriver/java [duplicate]

I can able to activate the drop down and able to select the value from it sometimes but sometimes i can't able to select the option for the drop down and i am facing an timeout error. Code: ...
0
votes
1answer
14 views

Setting Date & Time in java

I am working on report generation, for generating i need date&time[time stamp] telling when the report is generated, for this purpose i have created a method which returns formatted date time ...
0
votes
1answer
63 views

How to handle sub child windows(more than 3) using Selenium Web Driver with Java

I am a new bee in Selenium testing based on java, needed help on handling sub child windows. I have to handle four child windows. Main window- Child window- Grand child - (to reach 5 child ...
1
vote
0answers
47 views

Function to write 2 D Array from java into Excel

I am writing a function which accepts array data as input,and according to the size of array I am filling to excel sheet. Also let me know is there any method get column size of array as array.leght ...
6
votes
5answers
1k views

Is writing unit-tests difficult for me as a QA-engineer?

I currently work as a QA-engineer. Work a lot with java, selenium and test-automation. But, unit-tests are something the developers have been doing and something that I fear. Is it difficult? Do you ...
0
votes
1answer
66 views

how to run concurrent users using different browsers in selenium for LogIn script

I have created login scripts using hub and nodes. execute command to start selenium server Started a Hub along with selenium server. Started multiple Nodes. Worked on scripts and run for Firefox. ...
0
votes
1answer
41 views

WebDriver - Using loadablecomponent design for URLs with query parameters

For example if the url is - http://blah.com?origin=home&id=54&level=2. This could be a dynamically generated link on a webpage with 'id' and 'level' values from the DB. Now if i want to use ...
0
votes
2answers
37 views

Selenium WebDriver Test on a Airways Website

I am new to the Selenium, i am trying a test on airways website, i wanted to see all the airports available in the "FROM TEXT BOX", how can i get that information, i know it is hidden but is their any ...
0
votes
0answers
110 views

How to run all Selenium test cases via batch file

I am a noob in Java and automation so please bear with me if I get the terminology wrong. I have a class file that can open a browser and navigate to google.com and then closes the browser. There’s ...
2
votes
4answers
185 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 ...
0
votes
4answers
93 views

Selenium: Unable to automate file upload

Can someone please help me in automating file upload on this page- https://www.designerexchange.com/index.php/sell/quote I tried everything, but the file upload is very dynamic.
2
votes
5answers
215 views

New to code reviews. How to approach from a software test engineer perspective?

I may be expected to perform code reviews in what'll likely be Java. The thing is, I'm a software test engineer. I've never been a developer nor programmer. I've always thought another developer would ...
0
votes
0answers
49 views

Works the HP Application Automation Tools Jenkins Plugin with JUnit?

We have test cases in our HP Quality Center. We automated some of them with JUnit and the test run can start with Jenkins. Now we want a connection between JUnit/Jenkins and the HPQC, to update the ...
1
vote
2answers
170 views

How difficult is selenium and test-automation in general? [closed]

How difficult is it to start writing test-scripts for someone who has been coding in Java? I've been hearing a lot about test-automation, selenium, test-script and so on but I cant get my hands on ...
0
votes
1answer
64 views

How to output result of Javascript execution to console?

I was wondering if anyone could help me find a way to output to the Eclipse console the results returned from executing a Javascript ? These are the steps I manually perform (that I would like to ...
0
votes
0answers
87 views

How to set script timeout?

I have the following code: Webdriver driver = new FirefoxDriver(); // ... String myHugeScript = ... ; // Script loaded from a resource on the classpath Object result = ((JavascriptExecutor) ...
0
votes
2answers
61 views

java selenium - ArrayIndexOutofBoundsException

I was wondering if anyone could help me out with this exception I've been getting. I have a custom class/object named MindsparkPartnerCode with two variables named ieFFCode & chromeCode. I ...
0
votes
0answers
15 views

Why would StringUtils return the incorrect # of matches of a substring?

I am using StringUtils from the apache commons library to check the # of matches of a substring within the source code of an html page. I have converted the page source using the webdriver command: ...
1
vote
1answer
124 views

Where does the “helper” method get placed within a test script?

I'm new to automation, and programming, for the most part. I have a test script where I have to verify the presence of certain elements within a page I am testing. At the moment, I have multiple ...
0
votes
0answers
529 views

Data driven testing using SeleniumWebdriver,TestNG and Apache POI

! I'm using Selenium Webdriver, TestNG and Apache POI for my data driven test. Below is the code I'm using but the test is failing with the following exception: SKIPPED: testLogin ...
0
votes
1answer
129 views

Selenium2 / WebDriver: How to click an <i> element in an <a> element?

I got stuck for the below code.it has an edit icon for which code are follows: <a href="#tradeModal" id="tradeModalEdit" data-toggle="modal" class="pull-right" style="margin-left: 12px;" ...
0
votes
1answer
299 views

Getting started with Rest-Assured for REST-Api Testing

I am new to REST-Api testing. i am getting started with Rest-Assured for Rest-Api testing. i am having an issue in my first ever testcase. The code is as follows: @Test public void ...
0
votes
2answers
442 views

How to Implement Page Object and Page Factory Pattern in Selenium Webdriver?

I am a beginner in learning selenium Webdriver. I am not able to understand how page object and factory models works and how it can be beneficial? Kindly help me explain it with detailed explanation. ...
0
votes
3answers
210 views

Selenium (Java): Which IDE to use; Eclipse or Netbeans

For a new project i want to start automating tests using Selenium. I'm going with Java as the object that has to be tested is a Java application. In my company most people use either Netbeans or ...
0
votes
1answer
93 views

automating selenium 101

I'm just getting started with selenium: package selenium; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.logging.Logger; import org.openqa.selenium.WebDriver; import ...
0
votes
0answers
28 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
1answer
243 views

How to run data driven testing using testNG in selenium

I am using testNG framework and tried to import data from excel sheet in my local. If I run the code as simple java application then its running but with testNG its not public class NewTest { public ...
3
votes
2answers
340 views

What kind of test cases we can not automate in selenium webdriver - java

I want to know what kind of test cases we can not automate using selenium webdriver. I do not want to use any 3rd party tool (Autoit, etc..).
3
votes
2answers
297 views

key points for choosing a framework in selenium webdriver - Java

My query is related to this Choosing framework type for selenium RC/Webdriver I am a beginner in Selenium and want to know how to select or choose a framework in Selenium Webdriver. What are the key ...
0
votes
1answer
99 views

How to make the opening of browser(all test in one browser) static in testng for selenium [duplicate]

I am using selenium and testNG framework for my project. Now what is happening is each class is opening up a browser and then run its methods, eg, if I have five classes, then five browsers will open ...
0
votes
1answer
764 views

How to modify testNG report in selenium java

I am running my script in java and getting the results in testNG. But in my application after filling up the form I am getting a confirmation alert message. I am able to read that alert message and ...
2
votes
2answers
232 views

How to ignore/accept/avoid SSLHandshakeException while trying to check for broken links?

I'm trying to verify if a link is throwing response code other than 200. Link that I'm trying to verify is https:// and after process has run, it throws this error -- ...
0
votes
3answers
190 views

Selenium: dealing with intermittent cases of element not found

Sometimes it works and sometimes it doesn't. I've tried implicit wait: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); I've tried explicit wait: ...
2
votes
2answers
576 views

How and where to store dynamic result/data using webdriver java

I want to know "How and where to store dynamic (Search results) result/data", I am getting the results and not sure what to do next. Also, after saving these results I want to use this in another ...
-1
votes
1answer
42 views

Selenium for MacOS Setup

I wanted to know if there is a good source for setting up Selenium in Eclipse on MacOS. I have MacOS 10.9.4.
6
votes
5answers
990 views

Want to switch from software development to testing domain

I have 4 years of experience in software development. But I did software manual testing more than software development. I am good in finding tough functionality related bugs. I have passion for ...
0
votes
2answers
111 views

Keys.ARROW_DOWN does not select an item in the 'Select Box'?

I have a select box which has 3 values in the drop-down. When i click on the select box and then further use click() on the value item , it works fine. but when i use Keys.ARROW_DOWN its displays the ...
1
vote
4answers
146 views

How to work with changing element id in the html code

I am working in a ERP where the elements id are changing/rotating randomly. so if I am writing a code to locate a id, next time I run the selenium code it gets me error as the id changes by that time ...
1
vote
1answer
885 views

Using FluentWait Class to wait until a condition is true in Selenium Webdriver?

I am not able to understand the use of new function() and apply() in the following code while learning timeouts using Fluent Wait method to set timeout in Selenium Webdriver script in java. Wait ...
4
votes
3answers
3k views

What Concepts of Java do i need to learn to use Selenium Webdriver?

I want to learn Selenium WebDriver automation using Java. I have done manual testing before and want to learn automation. I just know the basics of Core Java. Could you please suggest me the Core ...
0
votes
2answers
92 views

Load Testing Options for Clojure Application

I have a mostly back-end, non-user facing web application that I need to have load tested. I was wondering what the options were that are tailored for my use case. It needs to be a load testing ...
2
votes
2answers
102 views

Robot framework installation

I want to learn robot framework with java and python, but not sure how to use this?. I searched over the net but did not get steps to instal robot framework. I installed only selenium2library file in ...
1
vote
1answer
982 views

Selenium webdriver java with jdbc

I am using selenium webdriver with Java jdbc. Below are my queries. First: I am trying to login to the application with username and password from database (Using SQL Query). I am getting the ...
-1
votes
4answers
725 views

how to get the count of elements in list box [duplicate]

working on selenium + java,. can any one help me... I have a drop down list box, and need to get the number of elements in the list box. <select id="id"> <option ...
0
votes
1answer
47 views

Testing Verify Method Call Without Argument In Test Class

I have a class which takes a message with payload String. The payload is then split and used to create an Entity which is passed to DAOInterface to persist. How can you test the call ...