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

Is Cypress set to replace Selenium as the preferred tool for automating web applications? [closed]

I see many articles pointing out the effectiveness of Cypress as against Selenium for automating web applications. From most of the articles I've read, I see some points for Cypress such as: Cypress ...
0
votes
0answers
20 views

Is there any way I can have Cypress test steps printed out in the command prompt?

Cypress shows a log of all test cases / spec files executed while execution goes on in CMD. I want to know if there is a way that Cypress can show the test steps execution also in the command prompt. ...
-1
votes
1answer
40 views

Test script failing due to “INTERNAL_SERVER_ERROR” , when I try to automate application. It run fine when test the same flow manually

I am using Java. I am trying to automate a scenario, where am trying to search all details of an ID, it works fine when I test the scenario manually. It fails when I automate the scenario. Note: I ...
0
votes
1answer
27 views

My Cypress Reports Folder does not get properly deleted when I execute the rmdir command in the package.json file. Which command should I use?

I am running Cypress on a Windows machine. I am using this command (included in the package.json file) to remove the cypress/reports folder before the start of each test run: "clean:reports": "IF ...
1
vote
2answers
55 views

Unable to click on “Add Payment Method” button on Google Pay site

I am trying to click on "Add payment method" button under Payment Methods tab using selenium - https://pay.google.com/gp/w/home/paymentmethods Tried using xpath, className and cssSelector but looks ...
0
votes
1answer
67 views

Cypress: Problems in merging individual test suite Mochawesome reports. Consistent Errors observed

I'm using Mochawesome with Cypress to generate reports. I am consistently observing this error when I attempt to merge my individual Mochawesome test suite files into one combined report: ERROR: ...
0
votes
2answers
38 views

Scope of testing in terms of cross browser testing and cross platform testing

I would need support from QA experts to define the scope of testing for the following requirements Cross browser testing - When we get a requirement to test a website developed in PHP and angular js. ...
6
votes
3answers
495 views

Is the Page Object Pattern the ideal approach for browser automation for a website which has a front-end that has frames in frames?

I'm confronted with a web application which has a front-end that has frames in frames in frames. Regarding automated UI Tests with Selenium and Cucumber, is the Page Object Pattern the right approach ...
1
vote
1answer
24 views

Is there a tool to mirror input events on one device to multiple devices?

I am working on testing a progressive web app. Initially I've tried tools like Browserstack because it's tedious to manually run the same test multiple times on physical phone. Although these tools ...
0
votes
1answer
33 views

Select a day, month and year from calendar picker and copy the date value into a variable [duplicate]

I'm trying to select month, year and date from calendar date-picker. I'm writing my script using pom & page factory approach. I'm not able to pass the date I selected to the variable named ...
3
votes
1answer
103 views

What is progression in test automation? What open source tool could be used to design automation framework for that?

I 've been working in automation for the last 8 years. Recently, I have come across the term "Progression" in test automation. I've learned basics but still, I am not sure how to implement this ...
1
vote
2answers
201 views

Encountered Error Could not load type 'OpenQA.Selenium.Internal.IWrapsElement' from assembly 'WebDriver

I'm working in multiple browser testing. It was working code with chrome browser. Recently I have installed "Install-Package Selenium.WebDriver -Version 4.0.0-alpha04". MSedge Chromium and chrome ...
1
vote
1answer
158 views

Unable to load MS edge chromium with Selenium

I'm trying to load the msedge chromium. encountering error. Steps to recreate: Installed mschromium Beta and Dev versions. Installed the Nuget package "Install-Package Selenium.WebDriver -Version 4....
-1
votes
1answer
38 views

How to store text from a webpage using Ruby?

Ruby / automation beginner here - I'm trying to get and store an email address from a webpage using the element id, but am getting the error undefined local variable or method 'customer_email_address' ...
0
votes
0answers
23 views

Failing to update a date using python and selenium

I am trying to change a date one day forward on a calendar date picker using python and selenium. <td colspan="2" class="textBlack">&nbsp;Due:&nbsp; ...
0
votes
1answer
97 views

Nightwatch JS - How to run multiple individual test cases?

Are there any other way to run test cases individually other than using --testcase flag ? also are there any to run 2 single test case from 2 different test suites? For example: Test Suite 1 Test ...
0
votes
1answer
25 views

Using both espresso and uiautomator and test is failing on Firebase, but not on AS emulator

I have the following piece of code which is: click a toggle from Firefox app the toggle opens the Default apps menu from System settings I open the browser list, pick my browser and return to the ...
1
vote
1answer
95 views

How to disable selenium from taking physical mouse on Chrome on user's machine on a different monitor screen?

My issue is related to this question Disable physical mouse and keyboard in selenium but I didn't see an answer for this question. tests are being ran by Java + Selenium + Chrome on the same user's ...
2
votes
2answers
64 views

java.lang.NullPointerException problem in Selenium Test

I'm learning Selenium POM with Junit and ran into a problem. java.lang.NullPointerException at MainPage.clickSignIn(MainPage.java:27) at MainPageTest.signInTest(MainPageTest.java:28) My class: ...
3
votes
1answer
303 views

How to interact with ngx-monaco-editor

I have a web page that has the ngx-monaco-editor implemented in angular. But i am not able send any data to the editor using sendKeys() . I tried replacing textContent of the div element but it just ...
30
votes
8answers
13k views

How can Internet Explorer 5 be emulated in 2020?

Details One of our customers uses a rather old software solution, and this is still based (yes, it's unbelievable!) on Internet Explorer 5, and the customer still uses IE 11 in compatibility mode. ...
1
vote
0answers
114 views

How to automate Handsontable using Selenium WebDriver (Java)

I want to automate the Handontable using Selenium WebDriver using Java. Basically, I want to enter data in the handontable using selenium(Java). Is there any way available to enter data in the table. ...
0
votes
1answer
50 views

Trying to use xpath in order to select a text on desktop web browser [duplicate]

This is the error I am getting below: selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="select-input-...
-2
votes
1answer
53 views

Automation Testing using selenium webDriver on a javaScript based application

I am having a JavaScript-based application to automate using Selenium WebDriver. Can I automate a Javascript based application using Java with Selenium WebDriver OR do I have to use protractor (...
1
vote
3answers
103 views

Reusing test code and test files organization in Testcafe

I'm having a hard time figuring out how to organize my test code, i.e. test cases, into suites and runs. On the one hand, tests should, by definition, be independent of each other, that's why I, ...
2
votes
2answers
2k views

How can I handle the chrome Http Authentication popup window in selenium without AutoIT?

I have tried https://{USERNAME}:{PASSWORD}@xyz.com pattern to authenticate URL but it doesn't work for me. Can someone suggest me the best way to handle chrome HTTP authentication popup?
1
vote
1answer
91 views

Trying to highlight elements on a page one by one using Selenium

I'm trying to highlight all the elements of a page, using Selenium to inject some JavaScript and CSS. However when I run my test i'm only getting back errors complaining that it can't find the ...
0
votes
2answers
372 views

Selenium starts firefox but only stays on a blank page

I've been looking at the distinction between webDriver.naviagate.to and webDriver.get and they seem the same. Certainly a web page launches..but then a big nothing burger. Not sure where to start ...
0
votes
0answers
101 views

Problem with parallel testing (POM, python, selenium, pytest)

I have a dir named PageObjects, there is a file Login.py. It stocks all the locators of elements plus functions that I call in test cases. It looks like this: class Login: # Locators of all ...
2
votes
2answers
100 views

Who are some of the Test Automation experts that are well-known and respected in Software Industry? [closed]

I am a complete beginner in Test Automation and was looking for some world experts on this subject. Could you list or refer to material of some of the best known experts in Automation industry who ...
0
votes
2answers
89 views

What are the things that one must consider while learning Selenium Webdriver Automation framework?

I am a newbie in Automated scripting using Selenium WebDriver with Java. Also, i have the most basic knowledge of core Java. With tons of resources on the web for learning WebDriver, i am a bit ...
0
votes
0answers
139 views

BrowserMob Proxy not working with latest Chrome version (v.76)

I've recently upgraded my Chrome version from v70 to the latest, v76. As a result, I've noticed that my Selenium tests (which use BrowserMob Proxy to inject headers) have stopped working. The browser ...
0
votes
1answer
372 views

Cannot upload files when running tests in docker Selenium_Hub, Selenium-Node-Chrome-Debug and a container w/ Mocha + Selenium-Webdriver (JS)

I am trying to run javascript mocha selenium-webdriver tests on my company's application using docker containers. I seem to have everything working except that I am unable to upload files. Prior to ...
0
votes
0answers
45 views

How do I deal with a Gmail CAPTCHA during automation? [duplicate]

My test suite involves me logging into a website with 4 specified social logins: - MS Live - Facebook - LinkedIn - Google Now the problem is that many of these social logins sometimes give me a ...
0
votes
1answer
96 views

Is performance testing needed to perform on User Interfaces?

Should we use performance testing on UI? Should we use End to End testing scenarios for performance testing?
1
vote
1answer
96 views

Selenium: Capture DOM Elements Image

I have an API to capture the image of a particular element in DOM and return them. For that, I have a list of WebElements which needs to be captured into a single webpage. For that same, I have found ...
-1
votes
1answer
19 views

Automation tools recommendations for E2E and integration testing a Firestore back-end application?

Does anybody have any experience and/or have any recommendations for automation tools for testing a suite of web applications that rely heavily on Firestore for data storage? We are currently working ...
0
votes
1answer
544 views

If command in selenium IDE

By using Selenium ID extension for fireofx (or chrome), I have problems by using "if" command and the !statusOK variable. In particular I get this error: verifyElementPresent on id=login-title OK 15:...
1
vote
1answer
144 views

Why do most IT companies create their own test automation frameworks when there are so many open source frameworks available for free?

I have observed that in many cases, IT companies create their own customized test automation frameworks for automating web applications even when there are a plethora of open source frameworks easily ...
0
votes
1answer
217 views

How can I enable variations in Chrome from chromedriver options?

How can I enable variations in Chrome from chromedriver options? Hello, I'm facing a problem with Chrome where when I run an automated UI test with chromedriver, there's issues showing up (such as ...
-1
votes
5answers
195 views

Finding elements

I need some help with finding the elements using webdriver. On the webpage this is the label 'Password' < div _ngcontent-c1="" class="form-group text-left"> < label _ngcontent-c1="">...
2
votes
2answers
95 views

Best approach to UI automation

Let me start with my background, Been in the industry for over a year, got the wonderful opportunity to join the team despite no prior background, loving and enjoying every moment so far actually. My ...
1
vote
1answer
1k views

Check if password field displays masked characters (Selenium + Python)

I'm new to automation testing, so I have a question regarding the code that I used to execute a simple test case: "Check if password is masked". 1. Open the browser; 2. Enter the URL “http://practice....
0
votes
1answer
85 views

How correct I executed the test case?

I'm new to Automation Testing. So I have a simple test case - "Login with incorrect username and password". Steps: Open the browser Enter the URL “http://practice.automationtesting.in/” Click on "...
0
votes
0answers
221 views

Unable to set proxy with BrowserMobProxy while modifying http header request in Selenium with Java

I am able to modify http request header using BrowserMobProxy, the same way explained https://sqa.stackexchange.com/a/37318/9043 But, the problem I am having at the moment is, that I am executing my ...
0
votes
1answer
63 views

Process for running test automation against Chrome Beta

I've been tasked with determining and implementing a method to run (not yet created) automated tests against the beta version of Chrome (https://www.google.com/chrome/beta/). We have yet to decide ...
0
votes
1answer
225 views

Div value in domxpath keeps changing- Automation anywhere [duplicate]

i have to get the Inner text based on dom x- path, but in the x-path div value keeps changing. how do i do it in automation anywhere object cloning in Chrome browser. The xpath I am using is: /html/...
0
votes
1answer
31 views

Moving to nodejs to test a web application?

Situation: We are currently running thousands of functional tests(FT) to test a web application. FTs are written in JVM based programming languages: Java, scala, and groovy with the help of cucumber, ...
6
votes
3answers
286 views

Method and way to highlight the validation message in the web page by using Selenium IDE

Is there is any way to highlight the validation message by using Selenium IDE? Example: During login when the user passes the invalid input the validation messages and login will be failed. I want to ...
0
votes
2answers
45 views

How to Automate using selenium Java if data is there in divs and changes every time

just as in the above image there is use of divs and every time the data (image) in that div changes. You are not even sure that how many divs will be therewith respect to row and columns. Kindly ...

1
2 3 4 5
8