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
1
vote
3answers
707 views

How we can enter data into multiple fields at the same time to make automation faster?

With selenium we enter one field at a time, right now I am working on a project where there are 1000+ fields, actually it takes huge amount of time. Is there any possible way in selenium to make ...
1
vote
1answer
4k views

How to resolve Could not start a new session? UnreachableBrowserException

I am trying to launch mobile browser and getting: org.openqa.selenium.remote.UnreachableBrowserException Could not start a new session. Possible causes are invalid address of the remote server ...
0
votes
2answers
73 views

What exception I will get If I use UnSelectall() on Normal Select element? [closed]

In Selenium I am using UnSelectAll() on a normal select/Input element( Not multi select). What exception I can expect?
2
votes
2answers
3k views

Selenium explicit waits not working for the Edge webdriver

I have a large number of selenium test scripts that work on IE, Chrome and Firefox. I now need to run them on Microsoft Edge, however, I am having a lot of issues. The main issue is that the scripts ...
0
votes
2answers
1k views

Building test cases to check text strings in multiple languages in Webdriver / Python

My group usually doesn't handle web testing, but for this project some of it falls on me and I'm working out automation as I go. The site isn't public, or I'd just provide it for reference. Using ...
0
votes
2answers
3k views

Setting focus to an iframe using selenium by its frame index which does not have neither Name nor Id

I am using selenium with C# to focus on an iframe which does not contain any name or id. I have tried to use an index 0 as there is only one frame on the page but I am getting the following errors: ...
-1
votes
1answer
2k views

How can I assert an audio play in selenium webdriver

I have a scenario where there are multiple audio files (more than 10000) and I need to find a solution to check that whether all audios are playing well on browsers.. Can someone please suggest how ...
-1
votes
3answers
69 views

Mobile Device Testing

We are currently testing a new website on device. However I believe we could test by operating system version and Prominent browser instead. Has anyone else tried this approach rather than testing on ...
0
votes
1answer
74 views

How to incorporate phantomJS for this selenium code

A sample of this which is converted from selenium IDE to C#. This is not exactly what it is after converted to run on Visual studio. But the regression tests made change sometimes and would like to ...
1
vote
1answer
1k views

Selenium unable to identify div element

I'm trying to access the div element by it's content (which is text) using the xpath, but it's not able to find the element. I have a number of td items: <tr role="listitem"> <td class="...
1
vote
1answer
141 views

Is Java Robot API Platform Independent

I use selenium webdriver with Java, I used Robot API from Java for handling Window (OS) level pop-ups in automation My Questions are, is the ROBOT API platform independent, if i wanna use selenium ...
1
vote
4answers
812 views

How to use automation to test an application that terminates all other sessions?

I have a Test case in which I logs into the application, then on the Home page there are 7 links and I need to perform testing for all these 7 links by clicking each link and performing a series of ...
2
votes
2answers
374 views

Selenium with IntelliJ

I was confused with IntelliJ, but after watching videos I see that it is an IDE, just like Eclipse. It looks somewhat similar to Eclipse, but when do people set their choice on Eclipse and when on ...
-2
votes
1answer
2k views

Is it possible to restrict images from loading using selenium web-driver? [closed]

I'm using excel selenium to scrape some information from pages with lots of images. Is it possible to make the browser don't load the images of the page? So it could be more faster.
0
votes
1answer
259 views

Maven and Transitive Dependencies

I have a good understanding of Maven basics, but few things are unclear to me. Please help me with the following: I understand that a transitive dependency isn't declared in your POM. So, where can ...
0
votes
3answers
22k views

Xpath for TR and TD tags

Hi everyone, I need to get integer value and compare it with another value in different tag. what is the xpath for this.How can i get this. I have attached a screeshot
3
votes
2answers
646 views

How to select an element from a drop down list inside 'svg viewbox' container using Java/WebDriver?

<svg viewBox="0 0 24 24" style="display: inline-block; fill: rgb(224, 224, 224); height: 24px; width: 24px; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; position: absolute; right: ...
1
vote
1answer
610 views

Unable to Login successfully using JMeter. How to resolve issue?

I am using JMeter for QA automation tools. I've tried some ways to log in, read from blazemeter and jmeter manuals, read about oAuth. I also made JMeter use browser(firefox in my case) to log in (but ...
-3
votes
3answers
1k views

.net : which automation framework is suitable for MVC model for web automation? [closed]

Right now, i am working as a manual tester and need to start an automation tool to test the web application based on dot net (MVC). Please suggest an automation tool and what environment required to ...
1
vote
2answers
783 views

Preferred methods of finding elements using Capybara + Poltergeist

Is there sort of a hierarchy as far as "good automation test design"? Especially when it comes to finding elements. Since sometimes "click_button" or "choose" (for radio buttons) just does not work (...
2
votes
5answers
6k views

Not able to use HTTP Basic Auth popup in selenium test case using firefox on Ubuntu/Linux

I am trying to automate a webpage using Single Sign-On. When you try to access the web page it redirects you to different page of Identity Provider, where it asks you for Username and Password inside ...
0
votes
2answers
302 views

How to resolve Firefox browser loading issue with Webdriver?

When I run web driver with Firefox browser it generates a blank Firefox browser and after a minute the browser closes without running the WebDriver program. The following error is generated on ...
1
vote
1answer
649 views

Edit a script DOM element before being executed

I'm currently using Selenium WebDrivers for my tests and I'm struggling with an automatic download. The case is: I click on a button, it loads the next page containing a script tag with a click() on a ...
1
vote
1answer
489 views

Selenium > new windows & pop-up : What is different between new window and browser alert in selenium?

This is very common scenario when we automate any web application. But I am little confused between new window and pop-up? Please can you add little examples?
6
votes
7answers
7k views

How we can verify whether webpage is refreshed or not?

Suppose a webpage has a functionality, it refreshes the whole webpage after a fixed time interval and nothing changes on the webpage. How we can test this with automation?
2
votes
1answer
453 views

Element is not clickable(x,y) even there is no scroll in page

I am unable to click on the "Login" button provided in the header I am new to selenium, here is the code snippet public class Muft_Mashwara_login { public WebDriver driver= null; @...
1
vote
1answer
282 views

Automating web app screenshots and inputs [closed]

Good day, I've been working for some time now on a web app and recently my workload has grown tremendously. I have to take presentable (showing correct info and setup) screenshots for our product and ...
5
votes
4answers
1k views

What to ask programmers before automating with Selenium

What points should I discuss with frontend programmers when preparing a product on which, as a tester, I will use Selenium to automate? I am referring to things like, no dynamic ids for elements etc. ...
4
votes
2answers
3k views

How to automate UI testing of an app using a Google login

We are using a testing framework composed of robot-framework with ExtendedSelenium2Library that our developers are using to write acceptance tests. Our Web site has several auth options, including ...
1
vote
3answers
702 views

xpath - element is not located even when I construct the xpath

element is not found //HTML Code <input type="text" maxlength="61" style="width:185px;" value="" name="name73652d80" onblur="fieldTrack(this); "/> input type="text" onblur="fieldTrack(this);" ...
3
votes
2answers
2k views

How to find and close particular browser window from number of opened windows using Selenium?

Suppose there are five Browser windows opened, how to find the third one and close it through web driver? Please I'm request you to all of you don't consider this question as a opinion based. I have ...
1
vote
3answers
3k views

How to locate Facebook POST button using Java Selenium WebDriver?

Code: driver.findelement(By.xpath(".//*[@id='js_2y']/div[4]/div[2]/div/div[2]/div/button")).click(); Every time I try by locating XPath, it's gives an exception, could not locate element. May 04, ...
0
votes
1answer
1k views

Why does my capybara element.click not work in Safari?

I am using rspec-capybara for my tests and I am clicking on a button which had been placed there through Javascript (ajax). Clicking on the button works when using WebDrivers for Chrome, Firefox and ...
2
votes
2answers
6k views

How to set ComboBox value in Coded UI using Value Attribute?

In coded UI is there a way to set the value of a ComboBox using the value of Value Attribute. Consider the following Html of a ComboBox: <select name="ParametersID" tabindex="-1" title="ABC" class=...
0
votes
1answer
119 views

Automation script for Minimal Form Interface with dynamic ids [duplicate]

I am trying to automate a minimal form interface using Selenium to capture an element & later Java code. But the challenge is the minimal form has only one input container which is constantly ...
3
votes
3answers
14k views

Selenium Web driver and Mozilla Firefox Compatibility

Currently am using selenium-java-2.53.0,can you tell me which is the most stable FF version for it.
0
votes
2answers
3k views

How to select a record by applying filters in columns using Selenium Webdriver?

I am a test automation engineer and use Java with Selenium Webdriver for scripting my tests. My question is this- A webpage has a header with columns, along with column filters. It is similar to MS ...
1
vote
1answer
750 views

Not able to click Left Navigation icon using Coded UI

I am using Coded UI for creating Automated test cases and have encountered an issue. There is a menu icon inside on the Homepage and clicking on this icon will expand the Left Navigation, so that user ...
1
vote
1answer
91 views

Coded UI slows down in executing JS enabled fields

Coded UI test cases doesn't respond well on time if they encounter any field having JavaScript validation. Issue: Currently I am facing some issues with the time taken by Coded UI in execution of ...
2
votes
2answers
7k views

What are the limitations of Headless(HtmlUnitDriver) browser testing in selenium?

I was automating the script using headless(HtmlUnitDriver) browser but I wanted to know the limitations of headless(HtmlUnitDriver) browsers for example: Can headless browser deal with IFrames? Can ...
1
vote
3answers
3k views

How to take the screenshot of a window based GUI application?

I am automating tests of a GUI application similar to calculator. I am using Java and AutoIt for implementing the test cases. I need to take screenshot on failure. I have tried taking screenshot ...
4
votes
1answer
2k views

How to set Selenium Webdriver using Internet Explorer Browser to not share sessions during multi threaded testing

I'm trying to test against Internet Explorer 11 multi-threaded using selenium webdriver with IEDriverServer.exe. I can now launch multi-threaded IE browsers and interact with it but it seems that all ...
1
vote
2answers
100 views

Quickest way to get ID and Name of all fields in single go

Currently, I am using the traditional way i.e. 'Inspect Element' (or Firebug or IE Developer) for getting value of ID and Name attributes of any field present over page for which I am creating test ...
2
votes
1answer
860 views

Issue with Radio buttons selection in Coded UI

I am using Coded UI for creating some test cases for a web application, while doing the same I have encountered an issue. I am not able to select a Radio Button using their Displayed Text, however if ...
4
votes
2answers
3k views

Using Selenium Webdriver For Firefox Testing

I have been doing research into implementing Selenium Webdriver (currently version 2.49) for testing on Firefox. Currently I am capable of testing Chrome with the framework, but would like to extend ...
3
votes
2answers
457 views

Can Ranorex adequately handle a large web app?

I've been experimenting with Selenium to some success, however it's slow going. Ranorex, as I've used briefly in the past can put a simple suite of tests together rather quickly. However, I'm ...
4
votes
5answers
27k views

How can I bring Chrome browser to focus when running a Selenium test using ChromeDriver on Mac?

When executing a Selenium test with ChromeDriver, I would like to bring the test browser into focus to see the actions taking place. The way I am able to do that now is by manually clicking the ...
1
vote
0answers
2k views

Coded UI Test cases taking too much time to execute

Update: I used some hit and trial method for this issue and found that this issue of slowness occurs only when Coded UI (or my code) encounters any Date-Type text field. If there is no Date-Field over ...
3
votes
2answers
5k 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 ...
4
votes
4answers
4k views

How to determine 'reasonable' response times for performance testing?

I have found performance targets (how long web pages take to respond to actions) difficult to introduce into organizations. There seem to be are no clear definitions (in the industry) that are ...