Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions regarding automation of web applications for testing purposes according to specific of used web browser.

0
votes
1answer
51 views

What should be the approach to test styles using Selenium

In my UI tests I would like to verify particular style values for the elements. Below is the example list of the styles I'd like to verify: font style font size padding margin Is there a way to do ...
1
vote
1answer
30 views

White Label Website Automated Testing

My company is in the process of setting up a white label website, in which there are slightly different user journeys. These journeys, for the most part, use the same functionality but I'm wondering ...
2
votes
5answers
98 views

Xpath: which is much more reliable source - Chrome or Firefox?

On Google chrome, inspecting an Element and copying it's xPath gives me the following value //*[@id='Body']/app-root/app-generic-product/section[2]/div/app-product-summary-list/app-product-summary[2]/...
0
votes
1answer
47 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 ...
1
vote
1answer
36 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 ...
1
vote
2answers
44 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();" ...
1
vote
3answers
38 views

Randomise the data for a sign up form

Which is the best/efficient way for a QAE to test the field validations for a sign up form: 1: Do I need to create a util class to randomly generate the data? or 2: Do I need to take hard-coded test ...
1
vote
1answer
101 views

“Multi-select dropdown toggle” webdriver issue

First time here. I've got an issue you might be able to help with. Working on chrome webdriver automation, there's a dropdown menu that's toggled with a click. I need to be able to select list items. ...
1
vote
0answers
15 views

iOS Safari - automated browser session

I'm looking for a automation for the following. I have a list (just plan text) of around 10000 URLs which belongs to a simulated surf session. Now I want to replay this surf session on different iOS ...
1
vote
1answer
28 views

Strategies for reliably reproducing bugs in a frontend Javascript applications

The Problem We have a React JS application which sometimes exhibits issues on certain browsers or computers. Currently we are prelaunch and have no customers. We also do not have a dedicated QA ...
1
vote
1answer
39 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
3answers
231 views

How to select and click the first enabled button?

I am currently changing my XPath every time to click on the enable (Qualification check) button. However, I want to click on the first button that is in the enabled state. I have a total of 10 buttons ...
-1
votes
1answer
45 views

Not able to select the checkbox of a html row [closed]

MY CODE: package com.drishti.automate.testing; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa....
0
votes
0answers
51 views

How to upload a profile pic using python selenium in ubuntu

i am trying to upload a profile picture ,but i am not getting how to do it . I have written a code like this (Sorry i cant share the entire code here i am only sharing a part of code used to upload a ...
0
votes
3answers
139 views

C# webdriver: Issue with wait.Until(ExpectedConditions.VisibilityOfAllElementsLocatedBy(By.TagName(“tr”))); returning WebDriverTimeoutException

I am working with the following html table, <tbody role="rowgroup"> <tr data-uid="d4d2114f-2aaf-4498-977b-ae5b8c16618c" role="row" class="Standard k-state-selected" aria-selected="true"> &...
0
votes
2answers
74 views

Unable to locate element to sendkeys C# WebDriver

im working with the following HTML <tbody> <tr class="formRow"> <td class="labelColumn"> <span id="ctl00_MainContent_lblTemplate">Template</span> </td&...
0
votes
1answer
824 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
0answers
619 views

Need to filter Url and capture network traffic with selenium Webdriver

I have a website "cnn.com" and I need to filter out smetrics domain call and save all the HAR files. Programming language: Java Browser: Chrome Tried this code to save HAR files: //to initiate ...
2
votes
2answers
137 views

Benefits of BDD tools such as SpecFlow for tech debt in automation

We are starting to automate our manual regression suites using Selenium Webdriver and NUnit. The tests we will be automating are quite detailed in terms of steps and expected results however I was ...
1
vote
1answer
865 views

How to compare image in Sikuli?

I want to compare one small part with full screenshot. Screen screen=new Screen(); Pattern pa1=new Pattern("/Users/37397/Desktop/Screen Shot 2018-03-27 at 6.02.42 PM.png"); String img=screen....
3
votes
1answer
101 views

List<IWebElement> not being populated from a local variable causing NullReferenceException

I'm experiencing a few issues with trying to create a list using List<IWebElement>from a local variable. The HTML I'm working with is below, <div id="enquiry-header-grid-...
0
votes
2answers
729 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
104 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
2answers
276 views

Not able to locate the web element with partial xpath and text [duplicate]

I have web element set like below .. <div class="dxnb-headerCollapsed" id="ctl00_LeftPanel_LeftNavigationMenu_nbMenu_GHC1"> <i class="fa fa-handshake-o fa-2x fa-fw" style="">&...
1
vote
2answers
95 views

E2E - Is it possible to share data between e2e.spec files?

I do have 2 *.e2e-spec.ts files for an E2E testing. So now I would like to share data between these files. e.g. an email which is used for a signup signup-e2e.spec.ts and I would like to use it for ...
1
vote
2answers
174 views

Selenium: Getting error with webElement or Webdriver “Drive” Variable

New to automation. Help is greatly needed Anybody could help me with following code Why i am getting NullPointerException? Error: Null pointer access: The variable driver can only be null at this ...
-1
votes
2answers
538 views

driver is getting null for utility classes

I'm getting null pointer exception for driver object. Here is the flow: BaseClass initializes the driver (WebDriver driver = new ChromeDriver();) I create a test class and extend it with BaseClass. ...
1
vote
1answer
56 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 ...
0
votes
3answers
858 views

Switching to a new window in Selenium webdriver

I am in a confused state. I am not able to get control of a window which is newly opened. I am using chrome browser for my testing. Here is the scenario - I am in a facebook window and entered all my ...
0
votes
0answers
215 views

Opening link (URL) through Selenium (eclipse), each time other browser appearance

I am trying to open a URL using driver.get(URL) and also drv.navigate().to(URL). However the URL is navigated each time in another localized version. Example: facebook home page. (www.facebook.com) I ...
0
votes
2answers
492 views

Not able to access iframe with random dynamic ids using Selenium webdriver.io

I am automating the payment page which is having the option to select payment method. On selection of credit card payment option, one iframe is generated from the third party and loaded with dynamic ...
-1
votes
4answers
271 views

Selenium, unable to locate xpath or form name [closed]

I'm trying to locate a form, but the application doesn't have form names. I tried: driver.findElement(By.xpath("html/body/div/div/main/div/div[2]/div/form")); driver.FindElement(By.XPath("//input[...
1
vote
1answer
475 views

How to get List of similar elements using javascriptexecutor using selenium webdriver

I want to get list of similar element into arraylist using javascriptexecutor. However able to store only single element using javascriptexecutor. Here is my code: JavascriptExecutor js = (...
4
votes
1answer
253 views

How to locate an element in Ranorex when its attribute is not recognised?

I have been working a test automation project using Ranorex; an element was automatically identified with one of its attribute but it does not work. From its HTML code, this element can be uniquely ...
2
votes
2answers
3k views

Finding the Parent of an Element, then Clicking a Button Child of that Parent in C#/Selenium

I am quite stuck while testing a web application. I am trying to check to ensure a class exists - in this case the class of "originalProductPrice" - out of a group of identical looking li items. Only ...
0
votes
1answer
111 views

switching windows in Selenium

I am having problem understanding the syntax of how to switch between windows. The standard syntax is: Set <String> stringHandles = driver.getWindowHandles(); for (String handle:stringHandles) {...
0
votes
0answers
27 views

RobotJS installation

Is it possible for automation if I have robotjs along with Java for automation? I am just confused the website recommends python as supported language.
4
votes
1answer
112 views

Canonical way to define page objects/locators in big enterprise level automation projects?

Background: As automation testers in selenium world, we have to work on multiple languages/frameworks(wrappers over selenium) in different projects however there is an one thing which remains common ...
3
votes
1answer
1k views

Chrome 62: sendkeys seems to be causing chrome://settings/help to open

An automated Selenium-webdriver / node.js test that I have used daily for years (with regular modifications) seems to be acting up in Chrome 62 on the Mac (Version 62.0.3202.62 (Official Build) (64-...
2
votes
3answers
84 views

Stop social media connection request in selenium

I'm currently working on a website which takes 2-3 MINS to complete the page load. Even after all the elements are visible,still browser keeps loading. I have figured it out that happens because the ...
1
vote
0answers
155 views

Unable to locate the elements of SmartGWT application using Selenium in IE browser

I'm testing a GWT + SMARTGWT application and I'm trying to locate the elements of this web application using Selenium Webdriver. The method which I have used to locate the elements is by the relative ...
1
vote
3answers
436 views

Advantages and disadvantages of non-Selenium web automation tools

Currently at my company we are using webdriverio + selenium for e2e automated testing. In the past months we have experienced a lot of trouble making our tests work correctly, and most of the cases ...
1
vote
0answers
227 views

How to handle browser language notification in android using appium?

I was trying to automate a website which is in german. But when I run the test on android device using chrome browser, language translator notification appears. Can anyone let me know how to handle ...
0
votes
1answer
330 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
-2
votes
1answer
690 views

Advantages and disadvantages of learning Python Vs learnng Javascript?

I work on automation scripts written in selenium using Java at my current job. I want to expand my skills and learn a scripting language to help with more advanced UI automation. After research I ...
0
votes
1answer
144 views

Does SauceLabs or Browserstack support testing chinese browsers? If not what tool should I go for?

Testing an application, for both desktop and mobile, aiming the Chinese market. I need to conduct cross-browser testing on some of the most popular chinese browsers like QQ , 360, UC, Baidu browsers ...
0
votes
1answer
620 views

Getting NullPointerException when tried to test two different pages

I am new to automation testing and I have been stuck on testing two different pages (HomePage and AboutPage) BasePage.java public class BasePage { protected WebDriver driver; public BasePage(...
1
vote
0answers
151 views

How can I handle google popup and toast messages at the same time using Selenium? [closed]

On my website when I log in, toaster messages will appear on the screen and at the same time a Google popup is generated. How can I solve this problem? After logging in I'm trying to click on my ...
2
votes
2answers
2k views

Cannot get attribute value when using xpath

I met a problem when I try to get an attribute of one tag. Here is the html code: <rect x="66.5" y="43.5" width="26" height="13" fill="#86E067" stroke="#ffffff" stroke-width="1" class="...
4
votes
1answer
155 views

In what circumstances we should use selenium?

I am new to selenium and I am using selenium to do the testing but I am confused right now. For example, the website I am working on contains lots of data, however all of them are from database. ...