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
2
votes
4answers
6k views

Selenium -- How to deal with 2 submit buttons and click on one of them?

The key HTML is: <div class="col col3 actionCol"> <button type="submit" class="booking fRight">Book</button> </div> but we also have other forms on the same page, e.g. for ...
1
vote
4answers
3k views

Selenium test if an arrow to go through the pages is still clickable

Excuse me if this question was asked already, I could not find it. I have a web page that has a table that uses a pager, and that have different filters to filter the columns. The table contains 50 ...
1
vote
2answers
248 views

How can we avoid duplicates now that we stub out the database?

We have a great unit test suite in that it is very fast (many tests per second, not many seconds per test!). We also have automated UI (browser, selenium based) tests. However this now seems to have ...
0
votes
0answers
30 views

Mac + system path : How can we overcome/centralize local system path while working in team?

We are team for 4 members. We are able to execute all automation script on our own machine/computer. When we commit on repository we purposefully do not commit our local path and if anyone commit by ...
1
vote
3answers
676 views

can we do a play and pause kind of thing in web automation with or without selenium? [closed]

What if I need to pause the automation script and play it dynamically. just like a music player.
1
vote
3answers
1k 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
5k 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
98 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
2k 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
5k 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: ...
0
votes
1answer
4k 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
72 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
76 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
142 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
2k 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
452 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
4k 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
307 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 ...
1
vote
3answers
30k 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
2k 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
1k 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
955 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
9k 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
306 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
1k 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
645 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
14k 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
572 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
308 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
2k 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. ...
5
votes
2answers
4k 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
1k 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
3k 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
4k 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
131 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
15k 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
4k 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
816 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
102 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
8k 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
4answers
5k 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
3k 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
101 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
905 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 ...

1
4
5
6 7 8