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
2answers
39 views

Can I merge test expectation with test data together?

I am coding a test automation framework which uses data-driven approach. The whole project is to test an online shopping web page. An Excel sheet was created to contain all test data as following: ...
4
votes
1answer
417 views

Watir can't locate an element with xpath [closed]

I got this html (It's simplified to see the deep) <html> <frameset> <frame> #document <html> <body> ...
2
votes
2answers
60 views

Work requires answering dozens of drop down questions that are almost always the same. It is written in Java, can I automate answering them? [closed]

My google skills have added little to my knowledge of this subject. I apologize for not having a better background in this topic, however if I continue to answer these redundant questions I may break,...
3
votes
6answers
46k views

How to switch from one tab to another tab in chrome

Please help how to switch from one tab to another tab in chrome and to change focus on child tab.
4
votes
2answers
11k views

How to verify if a web page has been properly loaded or not?

I want to verify if a web page has been loaded properly. My approach is: Verify the URL is shown as expected. Verify the element at the top left most corner has been shown. Verify the element at the ...
0
votes
2answers
9k views

Test zoom levels of page on browsers

To zoom in webpage on browser I searched solution and used two ways but on both I am receiving an error can someone please help me identify where is the mistake or whats wrong with the code. Browser I ...
2
votes
2answers
442 views

Entire desktop screenshot on Chrome and Firefox

I searched alot on forums to find command for capturing everything displayed on the desktop (not just the browser window), but found that this is a bug or limitation. The questions I found were of 2 ...
1
vote
3answers
643 views

Properties File in Selenium

I am still unclear why you need Properties file in Selenium. It seems to me that everything stored there can be more effectively store either in Excel or with @DataProvider and @Parameters annotations,...
0
votes
2answers
295 views

How do you enter data from a jhtml Area element using selenium?

Now in the application that i have to automate, there's a jhtml Area element. This is a sample jhtml area: http://pietschsoft.com/demo/jhtmlarea/. So the jhtml area has two elements for the text you ...
1
vote
1answer
455 views

Coded UI selecting a Check box inner

This is my code I need to select the checkbox but couldn't select the checkbox. <label class=""> <span class="label-input"> <div class="icheckbox" style="position: relative;"...
4
votes
4answers
33k views

Handling hidden elements in Selenium

I have just encountered a question about handling hidden elements in Selenium. I don't understand how they should be handled. I'm also confused about why hidden elements would be used. How do I ...
1
vote
1answer
136 views

Frames in Selenium

I have never had to test an application that had frames. When does it make sense to divide a window into frames? How do I refer to (target) objects within a frame?
1
vote
1answer
438 views

How can I fill out web page timesheets using selenium?

I have to fill out my timesheet data every friday in timesheets. I've heard that selenium can be used to automate such manual tasks. I don't have a programming background - how would I use selenium ...
8
votes
7answers
2k views

Should I offer my client free code maintenance? [closed]

I am working for a small testing consultation firm. We are trying to compete against other testing consultation companies. Soon, I will finish my deployment at a client site; the nature of my work ...
2
votes
1answer
464 views

Where can I find good resources for learning Robotic Process Automation (RPA)? [closed]

I'm looking for tutorials for learning RPA. I did a lot of google search but couldn't find anything thats useful. Please suggest me some useful tutorials or certifications from where I can learn RPA.
2
votes
1answer
2k views

RobotFramework and Blazemeter

Has anyone used RobotFramework to write automated browser tests and then used Blazemeters chrome plugin to record those tests and utilize Blazemeters performance test tools? Is this even possible?
4
votes
2answers
12k views

how do perform menu list selection in web application using selenium?

I am trying to select/navigate to a menu item in the provided URL. I tried Actions but It was not working. https://enterprise-demo.orangehrmlive.com/auth/login uid/pwd : admin/admin I wanted to ...
2
votes
1answer
963 views

Firing event on new tab of browser in LeanFt using C#

In my application flow, a new tab is opened in Google Chrome after clicking a button, I want to fire more click events and test the application in this new tab but the click events are not getting ...
2
votes
3answers
15k views

How to open new tab in browser in selenium 3.0?

I have tried multiple actions but it is not working. It always close the first tab and then it open link in the same page. // Driver is launched package WebBrowserCommands; import org.openqa....
8
votes
2answers
784 views

Canonical way for multi-session browser testing in Protractor

The Question: What is the canonical way to write multi browser window tests in Protractor - the tests that involve multiple sessions fired up interacting with one another? The Story: The main ...
2
votes
5answers
619 views

Is there any automated cross-browser screenshot capturing tool

I'm looking for an automated screenshot tool which can take screenshot of multiple pages where we can define the url, viewport size and it will navigate to those pages, capture screenshot of the ...
4
votes
1answer
2k views

Do I need to run selenium server when using chromedriver?

I'm new to Selenium and Nightwatch and installed selenium-webdriver first, then chromedriver and finally I installed Nightwatch (because the syntax looks nice to me). Now when I want to run a single ...
2
votes
2answers
1k views

Upgrade from Selenium 2.53 to 3.0.0

Is there an accepted upgrade path from Selenium WebDriver 2.53 to 3.0.0? I'm using the Ruby gem if curious.
0
votes
1answer
96 views

How to generate screenshot from the browser and compare it with pdf

Currently we manually compare (test) the PDF layout with the website on the browser. However, I'm looking for a tool which could automate the testing process. I've looked into a Visual regression ...
1
vote
1answer
1k views

Automate embed youtube video in webpage using selenium webdriver [closed]

I have a web page under Test, where youtube video is embed in iframe of page. How can I automate the youtube embed video in Iframe by Selenium webdriver(java)? I have switched to iframe.Later how can ...
2
votes
4answers
3k 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
2k 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
139 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
24 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
369 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
633 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
59 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
68 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
71 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
140 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
744 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
349 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
1k 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
244 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
18k 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
541 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
500 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
755 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 (...