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
0
votes
0answers
12 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
1answer
27 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
51 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
72 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
59 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
17 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 ...
-1
votes
1answer
47 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
33 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
26 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?
0
votes
0answers
32 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
16 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
80 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:...
0
votes
1answer
136 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
61 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
115 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
84 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
159 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
69 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
43 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
24 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
107 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
30 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
185 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
40 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 ...
0
votes
2answers
63 views

How can I turn a list of assertions into a table? C#/Specflow Selenium

I am very new to using C#/Specflow to write tests so thank you for the patience. I have a test that ends like this: Then the Details page should display the rating zip code And the Details page ...
0
votes
0answers
440 views

Selenium Python ->Browser zoom

I have a problem with browser zoom in Google Chrome and FireFox I have one button what overlap by another element(my page always have 100% zoom it is very bad for me because a lot of elements are ...
1
vote
2answers
63 views

What is the correct Xpath for this element?

I need to get the text inside the element and I am using Inner HTML, in Java Selenium but all the xpaths and css selectors written by me, are wrong, can you help me to get the right one please? Also ...
0
votes
0answers
852 views

How do I fix the error “ Message: Error: Polling for changes failed: NetworkError when attempting to fetch resource” in firefox

I'm always getting the below error when I run my automation suite. I need to fix that error because it fails some of my tests when the browser is loading. console.error: BroadcastService: ...
1
vote
0answers
21 views

How to print the webservice(jqurey) hit on the console for search functionality

Open a website, press F12 go to network option and enable preserve log now type the work you want to search eg:dogs we can see the service "http://search.test.com/search........." here i want the ...
0
votes
2answers
43 views

Unable to enter the Uname&pwd in the Alert Popup in same page

I tried Using below code but not worked. WebDriverWait wait = new WebDriverWait(driver, 2); wait.until(ExpectedConditions.alertIsPresent()); Alert alert = driver.switchTo().alert(); alert.sendKeys("...
0
votes
1answer
38 views

How to test html 5 standard input time/date with browser automation?

I want to test posting to a form with a time field. If the form [time input] isn't complete the test would fail. How to handle browser behavior in a different locale, like formatting the input as 24 ...
-1
votes
1answer
40 views

How to automate a UI, put it on a devops pipeline and then maintain it?

I have an browser based application that needs to be tested. In an agile environment how do I automate it? How do I create high quality, reliable automation that is easy for others to use and ...
0
votes
0answers
38 views

security pop up window not coming in headless chrome

I am using auto IT in the browser.when I run the scripts in headless, the pop up is not coming and eventually since the certificate is not selected ,the test scripts are failing. I am using chrome 72....
1
vote
1answer
229 views

click getting to lower item(under dropdown) instead of dropdown in selenium

I m trying to click on the dropdown menu item and i am able to select the dropdown and the menu item but instead of clicking on item the click is going to the element right under it. Before the ...
0
votes
0answers
83 views

How to select item from dropdown element in Javascript

This is the statement i am using in Newrelic synthetic monitor written in javascript return $browser.waitForAndFindElement(By.name("//*[@class=\`attribute-field-container\`]/select//option[5]"), ...
0
votes
1answer
81 views

Automation testing software for custom browser?

I'm looking for suggestions for software to use to automate regression testing of a a browser I'm working on: https://github.com/maidsafe/safe_browser It's built on Electron but designed to work on ...
0
votes
2answers
98 views

Unable to find Dynamic Xpath

I am unable to find dynamic xpath for below code <input class="login_button" type="submit" tabindex="3" id="@COMMAND_EVENT@" name="@COMMAND_EVENT@" value="Submit" style="top: 20px; left: 360px; ...
1
vote
1answer
53 views

Tree of HTML from JSoup?

I can see why the two iterate methods get caught in an infinite loop calling each other but can't see how to reasonably prevent this. I suppose I could have a counter to simply limit the depth. But, ...
1
vote
0answers
47 views

Facing Timeout issue while earlier this code was working

import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class Test1 { ...
-1
votes
1answer
61 views

Me being a Automation Tester (QA), how can I win a Ideathon? What should I develop for Ideathon? [closed]

I have over 9 years of experience in Automation. Still, I think my Java coding skills are limited. Having said that, if I target to win Ideathon 2019, what should I develop?
0
votes
2answers
74 views

Trying to get XPath of a dropdown item on webpage in NewRelic monitor

This is the code which I'm validating but its not able to get the Logout option under the dropdown. I copied the XPath value of Logout from the dropdown. This is what the dropdown looks like. This ...
7
votes
5answers
516 views

Requesting name and/or id for better Selenium testability

I'm testing an application using Cucumber + Java + Selenium and I'm seeing that, most of the type, elements don't have a name, nor an id. This is the case for almost every component on the page but, ...
0
votes
2answers
95 views

How to click on Submit button from POP-UP window if submit button is available after scrolling page to down?

I am submitting a form value's through selenium and java. On the form initially I'm searching a product and selecting some values. Then it's showing a pop-up window with scroll to the pop up; see the ...
0
votes
1answer
46 views

Tidy HTML with BaseX

How do I tidy this HTML for baseX? Working from a basic example. Looks like the HTML isn't valid, or at least baseX has apparent problems with parsing it: thufir@dur:~/NetBeansProjects/...
2
votes
3answers
111 views

Which approach should be applied when automating stories? What are the approaches or methodologies for it?

Here is what approach means to me while automating any story Normal approach should we automate only functional flow not caring about the UI things like font of text, font type of text, color of ...
1
vote
1answer
197 views

POM: driver is passed as an argument? Always?

Example code: Driver is being passed as an Argument so that Selenium is able to locate the element on the browser (driver). Element is returned, so that an Action can be performed on it. ...
2
votes
0answers
134 views

decompose an HTML list with page fragments

note: Looking for simplest possible example of PageFactory and fragments. I've been referencing an article which uses additional libraries I wasn't aware of. The desired structure: Where there's ...
1
vote
5answers
650 views

I am not able to click on Google Search Button

This is the HTML source of the button: <input value="Google Search" aria-label="Google Search" name="btnK" type="submit"> This is my code: import org.openqa.selenium.By; import org.openqa....
1
vote
2answers
668 views

NullPointerException when using @FindBy

I'm getting a NullPointerException when trying to use @FindBy because the object reference is only declared and not instantiated. What is the usage? The docs give example declaration but no instance ...
0
votes
1answer
335 views

xpath query for specific String value

My project is crashing with: Element info: {Using=xpath, value=//a[contains(text(), 'Books')]/@href}. The output (crash): thufir@dur:~/NetBeansProjects/com.toscrape.books.selenium$ thufir@dur:~/...