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.

359 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
3 answers
3k 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, ...
Charlie's user avatar
  • 51
5 votes
2 answers
327 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 ...
lofidevops's user avatar
5 votes
1 answer
1k 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, ...
Noble-Surfer's user avatar
5 votes
3 answers
6k 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 ...
sreelakshmi's user avatar
5 votes
1 answer
191 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 ...
ItsASine's user avatar
  • 143
5 votes
1 answer
118 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 ...
Trashcan's user avatar
5 votes
1 answer
144 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 ...
Chris Travers's user avatar
5 votes
2 answers
821 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 ...
Tiago Mateus's user avatar
4 votes
2 answers
802 views

How to add an assert to an if ..else condition using Phpunit and selenium webdriver

I'm working on test automation for a big project and I'm using Phpunit and as a server I'm using Selenium WebDriver. In the source code I'm using asserts like : $this->assertContains('Project Title'...
Baini.Marouane's user avatar
4 votes
1 answer
184 views

How to configure Phpunit.xml to use multiple browsers in Phpunit test with selenium webdriver

I'm working on automation test for a big project and I'm using Phpunit for functional test and as a server selenium webdriver. I want to execute many tests using different browsers, I don't know what'...
Baini.Marouane's user avatar
4 votes
1 answer
2k 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 = ...
Pravin's user avatar
  • 71
4 votes
0 answers
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,...
Arun Ramachandran's user avatar
4 votes
0 answers
243 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 ...
Nikhil's user avatar
  • 73
4 votes
1 answer
300 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 ...
Georg Ritzmann's user avatar
4 votes
1 answer
177 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 ...
Diogo Moreira's user avatar
3 votes
6 answers
1k 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 ...
Majkl's user avatar
  • 473
3 votes
4 answers
2k 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=...
Albin K S's user avatar
  • 197
3 votes
1 answer
1k 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. ...
user36987's user avatar
3 votes
2 answers
4k 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 ...
Sameer Malhotra's user avatar
3 votes
0 answers
1k 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(...
ZKay's user avatar
  • 31
3 votes
0 answers
955 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 ...
Genkerke's user avatar
3 votes
1 answer
966 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 ...
QAMember's user avatar
  • 1,520
3 votes
1 answer
653 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 ...
Sajini Fernando's user avatar
3 votes
0 answers
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 --...
Thufir's user avatar
  • 367
2 votes
3 answers
299 views

How to validate if .txt file format is correct as a part of File processing in Automation framework?

In my Selenium+Java automation framework, I need to open a .txt file or any other extension file and then see if the text is in a particular format. Now, I need to see if all lines are in this format ...
test0023's user avatar
2 votes
2 answers
748 views

Not able to match ChromeDriver version with chrome version

So at my current job I’m at a pinch, we can’t just download executable jars and use them. We have to request to download whatever we want . So the problem is , our chrome gets auto updated where as we ...
Samian's user avatar
  • 21
2 votes
0 answers
115 views

Cookie Banner is not shown [403 error]

I need help with the following scenario: In a website, OneTrust cookies are implemented. The cookies are from an external company. The cookie solution is implemented by including a couple of ...
eshu's user avatar
  • 25
2 votes
2 answers
165 views

Test Coverage Report in Cypress

I write my test cases in Confluence and then automate them in Cypress. I was wondering is there any way I can get the test coverage report. I already looked into Istanbul but it is for code coverage. ...
pop's user avatar
  • 31
2 votes
1 answer
108 views

How are you testing configuration changes?

I am curious if folks are testing configuration changes in applications. For example, I have a Spring Boot app that pulls its configurations from a local properties file at build time and from Spring ...
RSH's user avatar
  • 41
2 votes
0 answers
70 views

Design Industrial Process Controller for Testability

We are currently developing a new industrial process controller for applications with very low cycle times (<50us). The embedded software that runs on this controller shall be validated ...
MikeH's user avatar
  • 121
2 votes
0 answers
85 views

Large scale selenium automation project fails when multiple suites are running all together

I am working in a large scale project automation with Selenium where multiple test suites are available. When a single suite is running, it works fine. But when all suites are running all together it ...
Mat's user avatar
  • 151
2 votes
0 answers
911 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-...
Rahul Kumar's user avatar
2 votes
0 answers
293 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 ...
Nikola Pepic's user avatar
2 votes
4 answers
2k views

How to get XPath for the text after the <b> tags

I Need to get XPath for the following, to get the text after the <b> tags <li class="SpacedOut"> <b>Name 6:</b> "ABC" <b>Name 1:</b> "BCD" <b>Name ...
ferosh khan's user avatar
2 votes
1 answer
64 views

How to implement seleniums LoadableComponent with a fluent API?

How do we implement LoadableComponent, when we have a fluent API, lets create a basic set of classes, shown below: public class LoginPage { // @FindBy locators public DashboardPage login(...
simonk's user avatar
  • 21
2 votes
1 answer
1k 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 ...
Heveen Kejiou's user avatar
2 votes
0 answers
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. ...
Zach Folwick's user avatar
2 votes
0 answers
365 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 ...
Andy Creed's user avatar
2 votes
0 answers
46 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}\")...
Ajeesh's user avatar
  • 61
2 votes
0 answers
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) ...
S.Huston's user avatar
  • 167
2 votes
0 answers
550 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 ...
KhiladiBhaiyya's user avatar
2 votes
0 answers
4k 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 ...
Pratiksha's user avatar
2 votes
0 answers
146 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 ...
beatngu13's user avatar
  • 2,132
2 votes
0 answers
58 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 ...
Daniel's user avatar
  • 968
2 votes
0 answers
263 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 ...
Siva's user avatar
  • 121
2 votes
0 answers
3k views

Can't run tests from Cucumber feature.file (cucumber.runtime.CucumberException:)

I can run my tests from my runner class without any problem. Here is my Runner-class: @RunWith(Cucumber.class) @CucumberOptions( format = {"pretty", "html:target/cucumber"}, glue = {"...
SanchelliosProg's user avatar
2 votes
1 answer
4k views

How to save Appium logs to a local text file?

I am using Appium to automate all my test cases related to IOS device using Java, Logs are currently displayed on Appium app itself. I want to save them in a text file so that i can check error after ...
Keshav's user avatar
  • 890
2 votes
0 answers
169 views

Downloading m3u8 videos from Header based CDN

I need to automate download of m3u8 stream, any command line / browser automation plugins that can be easily plugged into Selenium to do the job? The test scope is open a web page, accept the cookies,...
Maxim Veksler's user avatar
2 votes
0 answers
279 views

JMeter - Using Variables in XML scripts with $ references where the values are selected by ODBC connection to a database

In JMeter : I have to set up a DataBase with an ODBC that I'm hoping to use to streamline XML content in Jmeter scripts. When my data changes, I would just change it in the database instead of in each ...
MGX's user avatar
  • 21
2 votes
0 answers
68 views

Can I use TFS as source control for rational functional tester scripts with Eclipse IDE

Is it possible to use TFS source control to manage and store test scripts created with Rational Funtional Tester from Eclipse IDE?
mak's user avatar
  • 155

1
2 3 4 5
8