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
vote
1answer
91 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 ...
0
votes
1answer
652 views

Exception in thread “main” org.openqa.selenium.NoSuchElementException: Unable to find element with css selector ==

When I am trying to run the below mentioned Selenium web driver code in IE 11 browser , I get below error "Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to find ...
0
votes
1answer
102 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
3answers
556 views

Unable to switch into third window - Selenium

I'm using below code to switch into windows : Set<String> handle=driver.getWindowHandles(); System.out.println(handle); Iterator<String> it=handle.iterator(); String ...
5
votes
1answer
3k views

Handling different input fields using Robot Framework

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application (I am writing test cases in .txt format) I am having a problem on handling two ...
0
votes
1answer
993 views

Selenium Webdriver Java: Setting date on date-picker. Year is not populating in date-picker

I am automating a signup form for web application and there is a date of birth field which has date-picker on it. I am sending values in it by using sendKeys and the problem is that Year is not ...
0
votes
0answers
10 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 ...
0
votes
2answers
314 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
380 views

How to create a Selenium IE Node that starts on boot?

I've been hitting my head against the wall with this one for a while now. On Linux Chrome and Firefox selenium nodes are fairly easy to setup and start automatically at boot time using docker or even ...
0
votes
4answers
64 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="">...
1
vote
1answer
153 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
1answer
80 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 ...
2
votes
2answers
80 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
50 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....
-1
votes
1answer
44 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: 1. Open the browser 2. Enter the URL “http://practice.automationtesting.in/” 3. Click ...
0
votes
2answers
2k views

How to get Embed link from Openload API after Remote upload? Selenium & Python

im trying to use Openloads API in python, i can do a remote upload like this: ol_url = driver.current_url resp = ol.remote_upload(ol_url) file_id = resp.get('id') Now i have a file uploaded in ...
0
votes
2answers
152 views

How to perform click on an element using selenium for which I am getting staleState Exception

Problem: There are couple of radio buttons with the same ID and I need to perform click on these. The first radio button gets the click where the second one is getting StaleElementReferenceException. ...
0
votes
0answers
21 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 ...
1
vote
5answers
3k views

Unable to click button using Selenium Webdriver Java

I am trying to click a button through webdriver. After inspecting the button element it highlights to the following: XPath: /html/body/div/div/main/div/div[2]/div/div[2]/table/tbody/tr/td[4]/form/...
2
votes
5answers
7k views

Has any faced issue when automating auto suggest text box using selenium webdriver

I am automating an application which has auto suggest text box. I am facing an issue that sometimes the auto suggest values are not shown up at all. This happens 50% of the time. Worrying part is this ...
0
votes
2answers
67 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 ...
1
vote
1answer
448 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 ...
1
vote
3answers
3k 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, ...
1
vote
2answers
190 views

How to programmaticaly create a print screen in SideeX (Record-Playback Browser Automation)?

In my automated test, I need to read the label of the object displayed on the webpage. Next, I would like to create a print screen and save it using just read string. To solve such issues, I used to ...
3
votes
6answers
50k 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.
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 ...
1
vote
5answers
440 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
3answers
563 views

How to handle tooltip on onmouseover in selenium java

test case is to show the tooltip message my html code is below <td id="pendingBalance" align="right"> <a onmouseover="displayHelpPopup(this,arrHelp[20][0]);" onmouseout="closePopup();" ...
4
votes
2answers
2k views

Problems with escaping the equals sign in a Watir Robot argument

We're currently using the very lovely Robot Framework for our automation. Unfortunately, we've run into a hitch with the '=' character - we have a number of places in the app where we have a link to ...
1
vote
1answer
2k views

What tools can be used to automate testing on Windows Phone 8?

What frameworks / tools enable to automate testing on Windows Phone 8 platform? I'm interested in testing of all application types, including: Mobile web Native apps Hybrid apps Silverlight apps
0
votes
0answers
35 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....
0
votes
1answer
46 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
2answers
7k views

Clicking a cell in a dynamic data table C# WebDriver

The HTML I'm trying working with is below, <div id="enquiry-header-grid-SalesTransactionEnquiry-enquiry-header-grid-wrapper" class="enquiry-kendo-grid-wrapper k-grid k-widget" data-role="grid" ...
0
votes
1answer
68 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/...
3
votes
2answers
785 views

Coded UI Test case execution issue

I have some Coded UI test cases which are using external files e.g. XML files that contains the Element Name and ID to be located over a page. This XML file is used by Test Cases (under TestMethod ...
1
vote
2answers
502 views

Is there any open source tool to automate oracle POS Xstore Application?

I am looking for a tool to automate Oracle XStore Application, Suitable tool to automate Oracle Xstore POS system. Application: oracle Xstore OS: windows
0
votes
1answer
29 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, ...
2
votes
1answer
401 views

Error running selenium test on ubuntu

I'm having trouble running a selenium test on ubuntu, but everything works fine on my windows system. I'm using a mocha test suite, and am using selenium-webdriver to run the selenium test written in ...
0
votes
2answers
61 views

Need Some Help in implementing a logic for automating a web element using Selenium

Here is the html I am working on, the concept is to loop through the table and fetch all the td values. And based on the first td value, fetch the second td with tag strong inside the td tag e.g: I ...
6
votes
3answers
173 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
38 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 ...
3
votes
2answers
436 views

Is it possible to automate tests on an embedded WebKit browser on Mac OS X?

Is it possible to automate the tests on a WebKit/WebView browser that is embedded in a Mac OS X desktop application, preferably using Selenium or some Mac-based tool like AppleScript or ...
1
vote
4answers
754 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
1answer
145 views

How to interact with the radio button if isDisplayed, isEnables are false

Scenario: I am automating a feature where i need to click on the radiio button but after many attempts it didn't work. So I checked with isDisplayed, isEnabled and isSelected.Upon execution it was ...
3
votes
2answers
535 views

RFT 8.6 : Failed to enable Firefox31.4 ESR and IE11 browser with JRE 1.7 on Windows 7 Professional SP1 ( 64bit)

I am trying to configure RFT 8.6 with the installed browsers but getting errors while doing it, below are the configurations details of my setup followed up with the error I am facing... RFT 8.6 on ...
1
vote
1answer
73 views

Is there a way to check if an external program is running from Katalon Studio?

My application has a print document option that opens the pdf reader. Is there a way to check if the pdf reader is running from Katalon?
0
votes
0answers
278 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 ...
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....
1
vote
2answers
62 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
728 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: ...