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
votes
1answer
14 views

cannot click on link Python Selenium

I am trying to add a confirmation link on selenium but selenium is not able to click on that link its on yopmail with name janemartin90452 It doesn't click on the confirmation link Name "Activate ...
0
votes
1answer
53 views

Not able to Launch Edge with Remote Driver can some one pls help

DesiredCapabilities capabillities = DesiredCapabilities.edge(); capabillities.setBrowserName(BrowserType.EDGE); capabillities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, ...
0
votes
2answers
89 views

Selenium driver for web app testing on chrome in incognito windows

So I am trying to use a selenium web driver extension on chrome to record a web application test on a chrome browser that is in an incognito mode. How do you run a test on a web application in an ...
-1
votes
1answer
30 views

Can we execute our test manually on one device and replay the same tests on multiple devices?

I want to test a shopping website, a portal where users can view/filter products (clothes, shoes, etc) the actual buying happens somewhere else, it's kind of an aggregator. [The website is UI heavy - ...
1
vote
1answer
27 views

Waiting for two events in Selenide

I have code, written on Selenium which waits for the first or for the second event. But all testing framework uses Selenide. The question is how to rewrite such code on Selenide, to avoid unxpectable ...
0
votes
1answer
344 views

C# + chrome-driver : How to fix - cannot find Chrome binary/Chrome failed to start: crashed/Failed to create a Chrome process?

I am trying to run selenium using chrome-driver in my project. While creating object of chrome-driver facing errors : Message "unknown error: cannot find Chrome binary\n (Driver info: ...
1
vote
1answer
409 views

How to find the button name and click it using VBA and Selenium?

I'm trying to go to a LinkedIn website. I'm using Selenium and for some reason it does not recognize my saved user name and password so every time I open up a LinkedIn session, it is prompting me for ...
0
votes
0answers
31 views

NullPointerException-webdriver null

I put a screenshot with getDriverInstance. After run. When I run the test, I get this error. At debug it tells me that the webdriver is null. Can anyone help me with a solution how to fix the problem? ...
-3
votes
1answer
49 views

How can i repeat this script many times [closed]

driver.find_element_by_class_name("submit").click() time.sleep(2.5) driver.find_element_by_xpath("//input[@value='Continue >>']").click() time.sleep(2.5) driver....
0
votes
0answers
33 views

How to assign defined keyword as value of variable in Robot Framework? How to run a Variable as Keyword?

I'm currently using Robot Framework in creating ui automation for out project. And I woud like to know how to assign defined keyword as variable value and how to run variable as keyword?
0
votes
1answer
33 views

how to integrate testrail with selenium

Hi everyone as I am just started to work in testrail and I want to integrate my testrail with selenium using Eclipse What I want to do? I want to run my test case in selenium and if its pass then my ...
0
votes
1answer
151 views

How to go through all pages at a certain domain with Selenium WebDriver?

I need to verify a certain thing on multiple pages on a certain site. The thing is it is quite tedious to manually add links to each page for testing to a script. Is there a way the Selenium WebDriver ...
1
vote
2answers
36 views

How to verify the presence of a script on multiple web pages?

I have a set of web pages where I need to verify that a certain script is present. A have a lot of pages to verify so I would like to automate this part of testing. How can a create a sequence with ...
0
votes
0answers
24 views

.perform() not working with Cataline safari 13.1

I want to move the cursor on xpath element given below so that I can validate the colour changes but I am getting below error : org.openqa.selenium.interactions.MoveTargetOutOfBoundsException: ...
2
votes
2answers
51 views

How to automate look-and-feel testing in a complex web application?

My company's web application has dozens of distinct pages that a user might hit. There are site-wide stylesheets, so changing one of them could affect every single page. There are four or five ...
0
votes
1answer
30 views

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button.Can some one pls guide.NeedHelp

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button. Scenario: I have a screen where I need to find the row which has the value as &...
1
vote
1answer
44 views

Not able to click Search button and also select the option from the drop down Getting .ElementNotVisibleException

Not able to click Search button and also select the option from the drop down Getting: org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted ...
-1
votes
1answer
353 views

What are the advantages and disadvantages of using TestProject in automating functional testing?

I'm currently checking out the testproject for the possibility of using it as a tool in our automation testing (functional). Please help me decide if it fits our project by giving me the advantages ...
1
vote
1answer
30 views

How to click pop up window button in selenium with Pyhton

I want to click the "Akkoord" button but I am unable to do that. I already tried different methods but they are not working. Any help will be appreciated. one of the codes I tried. from ...
0
votes
2answers
51 views

How to avoid errors occur as 'Unable to locate the element'?

Here I wanted to run this method properly when boolean values are false, but when running this method it always failed the test case saying "no such element: Unable to locate element".How ...
0
votes
0answers
27 views

Moving test environments to AWS cloud

I'm new here and this is my first post. Currently we are doing manual testing within a local closed environment. Our Ops team is working on building an AWS environment using VPC, RDS for the DB's etc. ...
0
votes
1answer
77 views

Python + Selenium: Using and managing old web drivers

Details Based on a browser matrix I have to test several browsers, also older ones. Example: https://www.lambdatest.com/blog/creating-browser-compatibility-matrix-for-testing-workflow/ You surely know ...
1
vote
1answer
4k views

How do I enable ChromeDriver to use browser cache or local storage with selenium python

I was trying to automate a website and it's a PWA. I need the caching data for this site as it takes too long to load, once loaded it's pretty fast. But every time I run my scripts chrome starts a new ...
0
votes
0answers
147 views

After using BrowserMob proxy to manipulate HTTP Header unable to access WebElements

Below code works fine in launching the browser using the header request value passed through BrowserMob. However after the login has been completed using the requestvalue passed. I am unable to run ...
0
votes
3answers
53 views

How to Verify Previous Month Arrow should not present in Current Month in GoIbibo Site

I am unable to Verify Previous Month arrow should not be present in DatePicker but as it is not present in DOM getting Exception unable to find Such Exception. void fillDepartureDate() { // Date ...
1
vote
1answer
41 views

Fetching wrong Employee count corresponding to office location in Selenium

I am fetching Employee count according to locating using Map Highlighted No of employees count is mismatch in Image like If i search in Web table Tokyo there count is 5 but here getting 6 for ...
2
votes
1answer
63 views

Is it valuable to do end to end testing in a virtual environment?

We have to test an iframe that is developed by our team but launches from a partner website. But currently, there is no way to launch the iframe. So, the team asked us to automate the iframe in ...
1
vote
1answer
122 views

testCafe: How to configure the tests in the same spec file, to execute sequentially?

We are using testCafe for automation. when it comes to executing tests in parallel, test cafe even executes test blocks within the spec file, parallelly. Our tests are independent, but there are some ...
-2
votes
3answers
48 views

XPATH clarification [closed]

Refer: Picture of elements of HTML screenshot I am trying to get XPATH //*[@id="pg:pbEdit:conlist"] or //select[@id="pg:pbEdit:conlist"] Works but I want to be precise not ...
0
votes
2answers
339 views

Fixing an asynchronous JavaScript timeout out issue with Selenium in C#

Background I am running the following JavaScript code using the C# bindings for Selenium: async function addTableCellClassInjector(row, tableIndex, rowIndex) { for (let columnIndex = 0; column = ...
0
votes
1answer
960 views

Selenium thinks button is clickable even when disabled

I'm having an issue where Selenium is saying a button is clickable even when it's disabled. I'm using Selenium with a website where you have to select a date first and then time slot from a dropdown ...
0
votes
1answer
33 views

How do I write a better xpath of this element? [duplicate]

I am working on a project and building automation test suite for a webpage. A certain part of the webpage looks like this. The corresponding HTML is as follows: <p class="customer-service&...
6
votes
3answers
528 views

Are test-specific selectors a good idea?

In the past I had thoughts for more elegant HTML item selection. I found there may be a better approach, in contrast to "traditional" one. Old school way: .site-body .menu-box > li.item a.link ...
1
vote
1answer
3k views

Find Text without span Text - Python - Selenium

I want to get text that is stored on an element. Text is not a property instead when I expand Element (in chrome's inspection [DevTools]) it has two sub-properties, span and text. it looks something ...
1
vote
1answer
1k views

Find childs of element without sub-childs - Python - Selenium

I'm trying to create a bot. The functionality I need now is to find a way to get only childs of an element without sub-childs. Take this as example: <Body> <child1>Hi</child1> ...
8
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 ...
-1
votes
1answer
135 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
877 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 ...
2
votes
2answers
332 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
2answers
1k 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: ...
1
vote
3answers
91 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
651 views

Is the Page Object Pattern the ideal approach for browser automation for a website which has a frontend that has nested 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
41 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
40 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
329 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 ...
2
votes
2answers
2k 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 ...
1
vote
1answer
832 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
130 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
38 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
639 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 ...

1
2 3 4 5
8