Questions tagged [automated-testing]

Use for questions involving problems with automated tests. Relevant for designing test automation, debugging test automation, automation tooling questions, and questions about when it is appropriate to automate. Questions regarding specific tools should tag those tools as well.

314 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
875 views

Is there a way to use Selenium 3 to automate testing in Safari 11 without the 'glass pane'?

According to the WebKit documentation for Safari 10: "When running a WebDriver test in Safari, test execution is confined to special Automation windows that are isolated from normal browsing ...
7
votes
2answers
826 views

Automated Testing Involving Internet Explorer_Server Controls

I've been tasked with developing a method to functional test and load test an application we're implementing in our environment. The vendor created a shell which uses Internet Explorer_Server ...
6
votes
1answer
855 views

Getting web driver exception message while tapping list elements using appium

I am using appium 1.4.8 on mac and I'm automating native app using selenium. I am stuck in a situation where I need to tap each element in a list. I wrote below code: List allKeywords=driver....
5
votes
2answers
177 views

What infrastructure is required for automated testing on a hosted desktop?

I've started investigating dogtail as a solution for writing GUI-driven unit tests in a GNOME Wayland session. Before I dive deeper I want to understand what I'll need to run these GUI-based tests on ...
5
votes
2answers
3k views

How to run tests in parallel using Robot Framework Maven plugin?

I'm using the Robot Framework Maven plugin to execute my Robot Framework scripts. I'm using this plugin because some of my keywords are implemented in Java and packaged inside an external library. I ...
5
votes
0answers
788 views

Karma/ Jasmine testing framework - tests don't appear to be executed

I am looking to implement the Karma/ Jasmine test suite/ framework for use with my AngularJS app. Having never used a testing framework previously, I have followed the tutorial - to give it a go, ...
5
votes
1answer
895 views

How can I execute a stored procedure on sql server and get the result passing in 4 parameters?

How should I be adding this functionality into my test framework? Should I be using Hibernate or standard JDBC? I need to run a stored procedure which exists in one of my databases, pass in 4 ...
5
votes
0answers
166 views

Is there a way to stop GridLauncher opening during testing on Mac?

Since moving from a Linux VM to a Macbook Pro for testing, I have been having a recurring issue running Protractor automation. At a certain point in my suite all, a Java application called ...
5
votes
0answers
79 views

How could aqString[“Format”] in TestComplete suddenly change format when machine's local did not change?

When using this code: aqString["Format"]("%.2f", numb); the returned number used "," as a decimal point before - which is correct since I'm in Norway. Suddenly - like a few days ago - it started to ...
5
votes
0answers
119 views

weighing tools/approaches for testing of database components

Currently, the way we do this on LedgerSMB is to have SQL scripts which insert records into a test results table. This table is created in a transaction which runs the tests, and the tests always ...
4
votes
2answers
2k views

Locate Elements through Shadow DOM in Chrome Selenium?

I currently have an automation tool built using Python. Currently, the tool serves the custom application my company has built on Salesforce. Salesforce released a Winter 2020 version, and implemented ...
4
votes
2answers
1k views

Desktop automation of c# applications

I have a desktop application for which I need to automate the smoke test suite consisting of 30 odd test cases. An application consists of 3 screens with some buttons and data grid. Major work in this ...
4
votes
2answers
546 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 radio button but after many attempts, it didn't work. So I checked with isDisplayed, isEnabled and isSelected. Upon execution it was ...
4
votes
1answer
572 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea is to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com for ...
4
votes
1answer
153 views

Approaches for testing huge data files in text format

My current assignment requires me to test data in a large number of text files ~ 200, usually ranging from 1GB to 20GB. The data is in the same schema with coordinates. As of now, the approach is to ...
4
votes
2answers
2k views

How do I disable 'show all' download bar of chrome in selenium

I need to disable 'show all' download bar of chrome in selenium. Because the download bar is showing, UI elements in the lower portion of my page that need to be clicked are not visible. I'm looking ...
4
votes
0answers
1k views

How to use multiple wait conditions in Selenium Webdriver using ruby?

I wanted to know, how I can use following waits in program at which situations? driver.manage.timeouts.implicit_wait = 20 driver.manage.timeouts.script_timeout = 20 driver.manage.timeouts.page_load = ...
4
votes
0answers
3k views

Jenkins Build Is Hanging

We are using Jenkins for continuous integration. I have already created a Jenkins job for running all my robot framework automation test scripts & Everything was absolutely working fine. But now,...
4
votes
3answers
2k views

C++ app automation on multiple platforms

Need to automate C++ application testing on Web, Mobile (iOS, Android) and Desktop (Windows, OSX and maybe Linux). Searching for open source tools only and automated tests will be written using Java. ...
4
votes
4answers
8k views

How to enter OTP code for verification using Tellurium?

Every time I verify mail through Gmail, it shows a page "Verify It's Your page". How can I be able to enter OTP code for verification as each time I run the test cases I get new OTP code? I ...
4
votes
2answers
2k views

How to pass arguments to selenium from autoit script

Autoit has an order value, which I want to pass it to the database as an argument to get table contents of that order id. I tried passing from command-line, but I don't want the arguments to get ...
4
votes
0answers
233 views

Using MonkeyTalk to test android app, the record button stays disabled

I am unable to record in MonkeyTalk, the record button stays disabled I took the following steps: Created a sample android project in eclipse Created libs folder in the android project and copied ...
4
votes
1answer
236 views

Getting and logging the selenium version used in a groovy project

I'm using Selenium in my Groovy application as a Maven dependency. Now I'm looking for a way to log the used Selenium Version to the console. I tried this: BuildInfo info = new BuildInfo(); def ...
4
votes
1answer
564 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 ...
4
votes
1answer
105 views

Are there tools for Metamorphic Testing automation?

Reading about how to test an ML model, I've found the concept of "Metamorphic Testing" and this fits perfect on my project. Searching around Google I didn't find any Metamorphic Testing ...
4
votes
3answers
116 views

Is there a way to automate tests to verify events being broadcasted?

Currently I manually verify events being sent and received in the console by opening the dev tools in chrome. The testing is going to scale up and be repetitive soon. Any idea on how I could possibly ...
4
votes
4answers
67 views

Can't find the element of a toast message because it disappears immediately

I am trying to add an assertion on the shown toast message in my scenario, Is there a way to stop the screen to find the element of a toast message?
3
votes
2answers
277 views

Test Automation for different user roles within an application - Selenium and C#

I was a developer a long time ago and have been tasked with our teams automated testing with Selenium and C# for our web application; Our application has many roles a user can be; such as an admin, ...
3
votes
5answers
309 views

How to select option in a dropdown when the html-tag has a random id

I have a problem how to select a desired option (e.g. From, To...etc.) from list if 'datalist id' and 'select name' are randomly generated. This means that the ID and name has another value after ...
3
votes
3answers
669 views

Drag & Drop issue in selenium web driver

Drag and Drop not working..as my drag and drop area not having 'Frames' i didn't use switchTo() here. Actions action= new Actions(driver); //driver.switchTo().frame(0); WebElement drag=...
3
votes
1answer
413 views

How to click an available time slot in customized UI calendar?

I have customized UI calendar attached in screenshot having date and time slots to book some test drive. actually the booked slot div contains some class and available slot contains some class name. ...
3
votes
0answers
744 views

How can I make my solution thread safe for testNG parallel execution?

Background: For quite some time I have ran automated tests using forked JVM processes, this proved quite easy when injecting a driver object using spring, I could simply provide the following: @Bean(...
3
votes
0answers
890 views

Protractor starts Firefox but doesn't run any tests

Problem is the web app I'm testing is behind 2 basic auths and requires a proxy. I wanted to pass the two basic auths by adding AutoAuth addon in a FireFox profile and setting up that profile to load ...
3
votes
0answers
729 views

How to set browser window size using Phantom JS + Java

I am working on PhantomJS with Java for one of my project. I am looking for some help in working with PhantomJS in following scenario. Scenario: Step-1: Mouse hover on tab/link then 2 sub-links will ...
3
votes
0answers
215 views

How do I access fields within Braintree's Hosted Fields' iframes using selenium

On my application payment gateway is Braintree, I need to automate it and face some difficulties when I am automating it, the major problem is I cannot send credit card details using xpath, I research ...
3
votes
0answers
2k views

How to run Selenium through xvfb? (X frame virtual buffer)

Somewhat specific to Ubuntu, this is towards running this JAR on a server. Running xvfb just hangs for me, so trying to get the syntax properly: thufir@doge:~/.html$ thufir@doge:~/.html$ xvfb-run --...
2
votes
0answers
404 views

I have been struggling for more that a day to fix the Duplicate class given when running my android project for automation

Error: Duplicate class org.openqa.selenium.SearchContext found in modules jetified-java-client-7.3.0.jar (java-client-7.3.0.jar) and jetified-selenium-server-standalone-3.141.59.jar (selenium-server-...
2
votes
0answers
58 views

BeforeClass doesn't get displayed in TestNG test results window

We are expanding our TestNG suite to run multiple tests. Doing so we've encountered a strange occurrence. In one suite I have two tests. Both tests have one class each. Tests in IntegrationTest.java ...
2
votes
1answer
76 views

Test Management Tool for managing multiple projects

I am looking for recommendations on Test Management Tools. To start it would be mainly for manual testing, but we would like to integrate with our automated tests in the future. Ideally we would be ...
2
votes
2answers
1k views

How to drag an element and drop it in another frame?

Hope you doing well, I'm trying to dragAndDrop an element from FrameOne to FrameTwo but not able to do so.Please help me to understand the concept and what I'm doing wrong here and need to achieve ...
2
votes
0answers
942 views

Selenium Chrome Driver: How to Load all the Frames and get the Complete Page Source?

I'm developing an web application that monitor changes in other websites. I came across some of the websites and that contain load of Frame set and Frames. I'm using the below code: var ...
2
votes
0answers
1k views

Selenium running Firefox instead of IE or Edge

I am trying to get Nightwatchjs tests running with Chrome, Firefox, IE, Edge, and mobile web browsers (iOS, Android, etc). I'm having difficulty getting Selenium to open up a non-Firefox browser. ...
2
votes
0answers
303 views

Has anyone automated an app built in RSA Archer?

I'm looking for tool options to develop regression and production validation scripts for a few apps built in the RSA Archer eGRC suite. I have not been able to find much information available out ...
2
votes
0answers
31 views

JQuery Not working after updating NUNIT to 3.7

I have used to find an element using jQuery select0r. This is how am trying to find out the element. var linkDom = new DomElement(DomElementType.JQuerySelector, string.Format("{0} a:icontains(\"{1}\")...
2
votes
0answers
1k views

How to expand upon the error from a Jasmine expect failure?

I'm using Jasmine, FrisbyJS, and Jest to create API tests for my team's product. I want to be able to handle when an expect (which I'm pretty sure Frisby is just using the underlying Jasmine expect) ...
2
votes
0answers
476 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 ...
2
votes
0answers
3k views

Data driven using xml file in java selenium

I have already used the data driven approach and executed the test cases using excel file. I mean the data is extracted from excel file. Now I want to extract the data from xml file and execute the ...
2
votes
0answers
120 views

Libraries and tools for Characterization/Golden Master Testing

I really like Characterization/Golden Master Testing, but I'm only aware of the ApprovalTests library. I wonder if there're more libraries and tools that embrace the paradigm. I'm looking for ...
2
votes
0answers
52 views

Visual Errors Training Data

I'm currently trying to automate the testing of the visual appearance of a web application. I'm using a combination of openCV and tesseract OCR to find text intersection with Element borders with ...
2
votes
0answers
194 views

Image comparision automation and OCR: Two images of different resolutions and one would be a cropped and resized image of the original image

We have a web page which we load inside the Android App and iOS App. the web page is having a header slot and footer slot and a banner slot for the image. When developers attach the URL's of the ...

1
2 3 4 5
7