Questions tagged [browser-automation]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
615 views

Issue with Coded UI hand written Test cases

I have a test case with below mentioned code: [TestMethod] public void _001_Search() { BrowserWindow brw = BrowserWindow.FromProcess(proc_browserProcessNo); TopLeftNavigationLinks_Elements....
1
vote
0answers
607 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 selenium-...
1
vote
1answer
95 views

Driver lost focus [closed]

I have one test case with java selenium webdriver. When I go to the login, everything is OK, but when I go to the other click in the new show, driver can´t find the object. Selenium IDE captured the ...
6
votes
3answers
960 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
2answers
1k 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
2answers
2k 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
4k views

Logging in Selenium Webdriver using Log4net [duplicate]

I am using log4net for creating execution logs of test cases which are created and being executed using Selenium Webdriver in C#. I was able to implement the logging functionality but I am facing an ...
2
votes
3answers
672 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 ...
4
votes
2answers
459 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 ...
1
vote
3answers
42k views

Selenium: Select 2nd item by both class and with certain text?

I am creating some test scripts using Selenium WebDriver in C#. The AUT contains a left menu in which the position/ordering of the links depend upon the 'User Preferences' and a lot of factors/...
2
votes
3answers
18k 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 ...
0
votes
2answers
4k 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 ...
5
votes
3answers
2k 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 ...
2
votes
2answers
1k views

Looking for a HEADLESS C# Selenium automatic nightly regression test solution

The WHY: I am looking for options and possible full solutions if someone has already done something similar. I am testing web-based applications using C# Selenium with VS2015 by writing tests that ...
10
votes
5answers
18k views

How best to test file download links using Selenium

On a website I am testing we have various links that download PDF files to the users computer. Our selenium suite runs nightly on bamboo, if we were to download the various files overnight it ...
2
votes
3answers
11k 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
1k 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 ...
4
votes
2answers
4k views

Explicit wait is not reliable with Selenium C#

While creating test scripts in Selenium WebDriver using C#, I have used Explicit wait (after going through this link) and have also gone through SO and SQA links for the same. So, I implemented it ...
5
votes
1answer
3k 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
979 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" ...
4
votes
3answers
5k 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 ArrayList<...
2
votes
3answers
624 views

QTP 11.0 not recording actions in IE 11

I am trying to do simple recording of actions in Web-page using HP QTP 11.0. QTP is ran under admin user. The settings used are: Record and Run Settings > Web > Open the following address when a ...
1
vote
1answer
492 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 org....
1
vote
1answer
2k 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 ...
1
vote
3answers
10k 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 ...
5
votes
1answer
437 views

What language/protocol do web browsers use for accepting automation requests?

The WebDriver API allows browsers to be automated, such as for end-to-end testing. Specific implementations exist, such as the standalone ChromeDriver or InternetExplorer Driver executables or the ...
4
votes
0answers
270 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 ...
3
votes
4answers
270 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, ...
5
votes
1answer
417 views

Selenium Grid2 - IOException thrown while closing Closeable.

I am executing my Selenium tests against a Grid server, hosted on a different machine. My grid invocation is (bat file): cd c:\ start java -jar c:\selenium-server-standalone-2.46.0.jar -role hub -...
1
vote
1answer
3k 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
96 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 class=...
1
vote
2answers
4k views

Executing on a selected node in selenium grid

I have one scenario i.e.. I have one web view to take all actions(click,send-keys,opening new window) and locator types(ex: xpath,id,name and cssClassName) with these values I am going to create a ...
1
vote
1answer
237 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
1answer
2k 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
2
votes
1answer
487 views

Automating Chrome on Windows 8.1 with JavaScript using Selenium's WebDriverJS

I'm automating Chrome on Windows 8.1 with JavaScript using Selenium's WebDriverJS. 1) To get started with WebDriverJS for Node, I downloaded a copy of the ChromeDriver and selenium-server-standalone ...
1
vote
0answers
424 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 ...
2
votes
2answers
6k 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?
1
vote
3answers
120 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
2answers
2k views

C# Selenium Webdriver “The path is not of a legal form.” [closed]

Running firefox portable (which I know used to work) is now producing an error "The path is not of a legal form." when trying to load profile. var binary = new FirefoxBinary(@"C:\FirefoxPortable\...
1
vote
1answer
216 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 ...
2
votes
1answer
118 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
614 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 ...
3
votes
1answer
1k views

Jmeter Web driver sampler

Jmeter has a webdriver sampler. We have to write the scripts. We have scripts written in opkey, a selenium based tool. Can we integrate both of them. So that we don't have to write scripts in jmeter.
1
vote
1answer
328 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?
2
votes
1answer
166 views

Browser Independent Automation Library

I've done a bit of vbscripting in the past to automate tasks as a sys admin and recently I've taken a position in QA and really want to double down on scripting common tasks for repeated tests; both ...
2
votes
1answer
9k views

How to get data-href instead of href with selenium in python?

I have currently a python code that should grab a link from google. However, google uses a somewhat different method to linking. how could I grab the data-href instead of just href. this is the ...
3
votes
1answer
1k views

Selenium Webdriver: Firefox: 'Cannot press more then one button or an already pressed button'

I'm really struggling to automate some drag and drop functionality in a web app. All I need to do is click a link on a top menu bar, hold down on it and select the first menu option. It works fine ...
2
votes
3answers
5k 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 ...
11
votes
3answers
9k 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
1answer
339 views

sometimes “invisible element” exception and sometime ‘timeout’ appers

I am writing a test script in selenium webdriver(selenium 2.0) with C# for below html- <table id="A_switch" class="tabswitch"> ------ </table> <div id="A" class="page ribbonpage"> &...