Questions regarding automation of web applications for testing purposes according to specific of used web browser.

learn more… | top users | synonyms

2
votes
1answer
685 views

Is it a bad practice to use implicit wait in Selenium Webdriver? Should one use only explicit wait?

I was reading up on implicit and explicit waits and found the following two statements: Implicit wait is not considered a good practice because different browsers have different loading times and ...
1
vote
2answers
342 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
0answers
53 views

How to use selenium webserver tool for chrome and Internet explorer?

I am new to selenium and I have tried selenium ide for firefox. But, for chrome and IE there is selenium web server .i don't understood how to use selenium server.please give me brief answer.
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" ...
1
vote
4answers
126 views

Which .NET test frameworks/runners support attaching files (such as a screenshot) to the test report?

I want to attach an HTML document to any test case that is about to fail. I can do this if I use Gallio test runner, but it doesn't integrate well with Visual Studio or TFS. According to Microsoft's ...
1
vote
1answer
54 views

How to read value from XML [closed]

I know this is a common question, but I have a requirement where I need to read values from XML file. Sturcture of the XML file is <?xml version="1.0" encoding="utf-8" ?> <root> ...
1
vote
3answers
2k views

What are the advantages of web driver over selenium RC?

Please provide answers in detail, So that we could clarify that which one is to choose, Web driver or Selenium RC.
1
vote
0answers
117 views

Why a PhantomJS grid node is defined differently compared to other browsers

I am trying to set up one of my Selenium Grid nodes using PhantomJS. (The rest of the nodes are all working fine with Firefox browsers) Now generally, when we configure a node, we launch a ...
0
votes
0answers
80 views

Working with HTML Table in Coded UI

Currently, I am using Coded UI for creating automated test cases for a web application. There I have encontered a scenario, where I need to validate the results from a table (actually this table ...
4
votes
3answers
93 views

Test, Improve performance of WebDriver Automation framework

I have designed a hybrid(keywords and data in same excel sheet) framework using WebDriver+Java+TestNG+Maven. I am using PageFactory, Singleton Pattern . I am using different type of HTML locators in ...
1
vote
1answer
514 views

Handle Firefox native dialog windows with Selenium IDE

I'm new using Selenium IDE (and as a QA). I'm testing my Web application on Firefox and I have an export button that downloads an Excel file. My problem is how to handle the window dialog native of ...
0
votes
2answers
134 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 ...
1
vote
2answers
309 views

Not able to find Coded UI .trx result files

I am using Coded UI in VSTS 2013 for creating automated tests using Coded UI Test Builder. I am able to create tests successfully but not able to view their result files. I found that there is a ...
0
votes
3answers
697 views

How to handle file upload and download using Robot Class?

I'm trying to build a framework using Selenium. There is a scenario where I need to download a file, and there is another where I need to upload one. I've gone through the option in AutoIt, but it ...
2
votes
3answers
139 views

What proportion of tests cases should be automated via Selenium Webdriver? [closed]

I work with e-commerce websites and I am wondering how much of the tests should be automated. I plan on automating the login and check out functionalities but what about clicking links to navigate ...
1
vote
0answers
64 views

Is it possible to automate tests on an embedded WebKit browser on Mac OS X?

Is it possible to automate the tests on a WebKit/WebView browser that is embedded in a Mac OS X desktop application, preferably using Selenium or some Mac-based tool like AppleScript or ...
4
votes
1answer
326 views

Selenium RC with Firefox portable (Windows)

I tried to use FirefoxPortable with selenium from my Windows 7 OS but I'm having difficulty. So, I launched selenium RC server with the default folder profile of FirefoxPortable : java -jar ...
0
votes
0answers
121 views

How to select few text lines using Robot Framework?

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application ( in .txt format ). One of my test cases involves to select few lines of text from ...
4
votes
3answers
345 views

Can NUnit be used for Functional and Regression testing?

Now, here the confusion starts. I was creating some test cases using Selenium WebDriver with C# and thought of using a testing framework. My task is to create functional test cases which can later be ...
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" ...
2
votes
3answers
899 views

Efficient way of reading data from Excel in Selenium C#

I am creating some test cases in Selenium WebDriver using C# (I can't use Java as client has said so). These are sample test cases which will be used for presenting a demo to client and senior ...
2
votes
1answer
227 views

Problem with selecting an Element from a div using nested FindElement option

I am creating a test for presenting a demo to my management and client using Selenium WebDriver in C#. In this test I need to find an element (a radio button), but for that I want to use the nested ...
1
vote
3answers
1k views

How can I get the value of the tooltip

After any changes made to the web service in our project we test the Web Service by providing data to the web services and then check if accurate data has come to the application by checking the graph ...
1
vote
0answers
105 views

Handling different input fields using Robot Framework

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application (I am writing test cases in .txt format) I am having a problem on handling two ...
2
votes
2answers
100 views

Interesting Selenium projects? [closed]

I just finished my third selenium hobby project. The program that I have done was quite big and took a long time, with a lot of multithreading and coding. The program is basically a "cheap flights" ...
10
votes
8answers
12k views

How can I reduce the execution speed in webdriver so that I can view properly what is happening on browser?

I want to reduce the speed for execution of script so that I can view the execution properly on browser. I want do this in webdriver.
1
vote
3answers
104 views

Reducing the number of test users in automated regression runs?

I help maintain a very large automated regression test suite for java web applications. Because of the size of the suite, running the tests in parallel is a requirement. I need to reduce the number of ...
1
vote
0answers
50 views

I am automating a page which will open up a PDF while clicking on a link. After that I have to do the operations in the newly opened window

This is the code for transferring control for (String handle : driver.getWindowHandles()) { driver.switchTo().window(handle); ArrayList<String> windowTab = new ...
1
vote
1answer
111 views

Logging in Firefox on same portal with different Credentials using TestNG Data provider and Selenium

import java.util.concurrent.TimeUnit; import org.openqa.selenium.*; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.Assert; import org.testng.annotations.AfterSuite; import ...
3
votes
4answers
22k views

WebDriver: navigate to new browser window

How do I open a new browser window in Selenium WebDriver? I'm using C# client drivers, but if you know with any language, I should be able to find the correct class/method in C#. On Stack Overflow, ...
0
votes
3answers
7k views

JavascriptExecutor is not identifying the button to click in Webdriver

I have this HTML <div class="btnContr"> <input type="button" onclick="return cancel();" value="Cancel"/> Below is the xpath identified, using this xpath, I am not able to click on ...
1
vote
1answer
131 views

Clicking on java script generated dynamic elements using Remote Web Driver in selenium

I have one web page, all the elements on that page are generated by java script code. I want to click on one of the button on that page, I was able to do this using the chrome driver,FF Driver but ...
1
vote
0answers
58 views

Integrating Selenium Webdriver tests written in Java to SpiraTest

I'm interested in SpiraTest's and Selenium Webdriver's collaboration. My objective - launch a Selenium test written in Java on Eclipse. Can the SpiraTest quality management tool run .exe or .bat files ...
1
vote
1answer
2k views

Firefox has stopped working

I am running my scripts on selenium webdriver and after every 2-3 test case I am getting this pop-up "Firefox stopped working". How should I handle this pop-up?
3
votes
4answers
184 views

When is a good time to develop new automated GUI tests in an existing application still under development?

I'm currently developing a framework for automated GUI-testing of an application that is well underway in terms of development. As the test project has been at a stand-still for quite some time, ...
0
votes
2answers
933 views

Selenium Cannot locate element

I am working on automation, while automating a form with number of drop-down's. The problem with me is, when run the code in maximize mode of window it gives me an Error: ...
-2
votes
4answers
2k views

Suitable Automated Testing tools for POS Systems

This is not duplicate of following question since it was accepted by the asked person with a different answer Automating tests in EPOS systems We are developing a Big POS System with several ...
1
vote
1answer
533 views

Dynamic ID selecting text from dropdown

I have a situation I'm trying to handle. I am using webdriver, C#. The image above is the dropdown I want to select from. This is how it works, to select from the element, first click it and a text ...
1
vote
0answers
44 views

Select a dropdown element with dynamic ID using Webdriver, C# [duplicate]

I have a situation I'm trying to handle. I am using webdriver, C#. when I tried using the CSSSelector it is just reading the parameter as a string. Kindly look into it.This is the HTML. <div ...
1
vote
1answer
109 views

Jmeter plugin webdriver sampler

JMeter web driver is used for measuring performance metrics of browsers, but it requires writing of scripts. Is there any way I could record these scripts?
1
vote
1answer
520 views

What tools can be used to automate testing on Windows Phone 8?

What frameworks / tools enable to automate testing on Windows Phone 8 platform? I'm interested in testing of all application types, including Mobile web Native apps Hybrid apps Silverlight apps ...
1
vote
0answers
175 views

Getting Error - “ArgumentError: HTTP request path is empty” during Installation

I am getting the below error (attached is the snapshot), while implementing Watir for Windows. I tried to put HTTP_PrOXY in path as well as CMD console, but still it's showing the same error. I am ...
1
vote
1answer
71 views

Web performance test does nothing

I'm trying to set up a web performance test in Visual Studio 2013 (the online tutorials seem targeted at earlier versions of VS). I right click in my solution explorer and select Add ... then Web ...
1
vote
1answer
103 views

How to reliably calculate flakiness of test on automation jenkins job

I have access to a CI Job Jenkins's JSON API. Here is how I have the sequence I crawl a CI job and look at all the builds I look for the latest test report and filter out the test reports which are ...
2
votes
3answers
10k 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
1answer
43 views

Clicking a Non Existent DOM item

EDIT: I used mouse events and did get a working solution that is pretty ugly :). So I may be at a point that automating this page will not be possible. I am trying to click a popup menu that appears ...
1
vote
2answers
17k views

How to send down arrow keys for a drop down?

selenium.getDriver().findElement(By.id("s2id_customFilter")).sendKeys(Keys.ARROW_DOWN); Am using the above code but it's not working."s2id_customFilter" is the id of the drop down.Am clicking on ...
1
vote
3answers
755 views

How to test multiple user concurrency for a website?

I need to run concurrency test on website. I need to check various parameters such as response time, request send to site, data received, and whether the data is received correctly (e.g. if multiple ...
1
vote
2answers
304 views

How to perform Testing Process-Automation/ manual -web application

I am working in a startup with a limited number of developers [4-5]. We work on all open source platforms like Java, jQuery, Springs for development of web based applications. For integration, we use ...
0
votes
1answer
173 views

How to open and get input from a popup before running test?

I want to open a popup before running my tests and after completing my test run. I want to give few inputs from the popup on basis of that my test will run. Suppose I have multiple links on which my ...