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.

339 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
2k 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 = {"...
2
votes
0answers
91 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,...
2
votes
3answers
775 views

Selenium - How to copy entire excel column without using iterator

I'm new to selenium and I'm having following query. Query: Am working on a project where I need to copy 4000 values from an excel in a single go and I need to paste that in the list box of ...
2
votes
0answers
256 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 ...
2
votes
0answers
54 views

Can i use TFS as source control for rational functional tester scripts using eclipse

I created few test scripts using Rational Functional Tester by eclipse IDE now i am trying to store the script files to TFS source control. Is it possible? any links or videos plz.
2
votes
1answer
1k views

Unable to open the specified URL on a real device while running Selenium tests using ios-driver

I am trying to automate mobile web testing using ios-driver on an iPhone 6 plus (real device). The Safari browser opens but the specified URL (google.com in this case) is not opened (i.e. only "about:...
2
votes
0answers
45 views

Understanding semantic driven and symbolic execution based test case generation

I'm trying to understand aspects of automatic test case generation (tcg) from models. During my research I came across two "techniques" called sematic driven tcg and symbolic execution based tcg. ...
2
votes
1answer
57 views

How to test Oracle DB?

I have to test using SQL in Oracle if the data stored in the DB is completely correct or not. For example, make sure we are up to date, no future dates, no invalid characters on varchar columns, etc. ...
2
votes
3answers
1k views

How to get Selenium 3.0.1 to work on a Mac with IntelliJ

I am using a Mac as well as IntelliJ. I am trying to update Selenium from 2.53 as the website I am testing has functions that no longer work with older versions of Firefox (version 46). I am trying to ...
2
votes
1answer
5k views

Using Protractor Cucumber JS: When running a test, the test passes when it shouldn't

I'm writing a test where I should log in. It passed given the proper inputs but when I change its password/username to garbage, it still passes. I'm new to this and I really think I missed something ...
1
vote
0answers
22 views

Is paid Apple Developer Account needed to run Selenium Appium Automation tests on real apple devices like iPhone or iPads?

So I am working on a project which comprises of the software web application, built on Python 3.7. Currently, it supports pc and mac platforms only with various browsers, and we have automated it ...
1
vote
1answer
12 views

In gradle 4.6, how to force all tests in a class gets executed first before moving to tests in next class?

I am using Gradle 4.6 with testng. My test suite has tests organized something like these. java class1 { test 1.1 test 1.2 test 1.3 test 1.4 } java class2 java class3 java class4 java class5 All ...
1
vote
1answer
30 views

IE 11 auto accepts the alert pop up

So I am on an edit page and when I click the cancel button to stay on the edit page the IE driver automatically accepts the leave page in alert pop up. I even added the IE capabilities saying: ...
1
vote
3answers
61 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 ...
1
vote
1answer
19 views

Run Selenium test case in time interval from a console application c#

how to create a console app - a batch file which will hit my Automation testing application and runs selected test cases. I have test case with code coverage and it runs from my visual studio . and ...
1
vote
0answers
35 views

Issue with switching to the new window in Selenium + Python (chromedriver)

I'm having an issue when I try to switch the new opened window. Every time I execute a test case, my chromedriver opens with a window named "data:,". My code: def test_case(self): reg = Register(...
1
vote
0answers
32 views

Issue with parallel testing in pytest

So I have two test cases in a map. From command prompt I type "pytest -n 2" then hit Enter. Instead of opening two browsers and execute them in parallel, pytest is opening 4 browsers, but only two of ...
1
vote
1answer
72 views

Automating verification of sent EMAIL/SMS messages

I have been doing some research about how to do verification automation on sent emails - but haven't really found anything that has worked thus far. Here is what I need to test: We have a customer ...
1
vote
1answer
25 views

Is there a Informix Test Framework available? Or any kind of way to test informix screens?

I am looking for a way to test Informix 4GL screens, such as this one in blue from the left. I have tested similar screens like this, in Mainframe systems using Jagacy Framework. The tests were ...
1
vote
0answers
64 views

How can i use an existing existing chrome browser instance in selenium C#

How do I use an existing chrome browser in selenium C# ? Currently I have the following but it always creates a new window SessionId sessionId = new SessionId(""); var driver = new phantomJSDriver();...
1
vote
3answers
92 views

How to handle unit test / integration test for a Installation / Setup Application that can be used in multiple platform such as Windows, Linux, Unix

I'm handling a code repository that is responsible to deploy / install / upgrade agent that are running on different platform, windows, unix, linux. The code base already has some unit test to cover ...
1
vote
1answer
62 views

Getting Error at the time of saving the test cases in Katalon Studio

Getting below error while saving test cases after recording. Can someone help me to understand and how to correct this?
1
vote
0answers
25 views

Last user gets stucked and never ramps down

I am running a script on AWS Machine. I have 30 users and when i run my script last user is likely to never ramp down. Also, I have cross checked many possible solutions that were on internet which ...
1
vote
1answer
70 views

How to run selenium script recorded using Selenium IDE along with jMeter?

Here are the steps I have followed so far.... 1) Recorded steps using Selenium IDE 2) Then I export it (".side" file) into a java(junit 4) file. 3) Created a maven project and added the ...
1
vote
0answers
31 views

Testing partial deployment to the Blue/Green slots?

My application under test is a legacy system, being in the process of rewriting towards the modular microservice way, however the modules are not completely independent and make all sorts of calls to ...
1
vote
1answer
1k views

“org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally” issue on jenkins(openshift) chrome node

I've been trying to run selenium codes over Jenkins (server/openshift). There is chrome node in the jenkins machine for Test Automation - Selenium. I'm getting this error: org.openqa.selenium....
1
vote
1answer
73 views

How to add row elements in selenium?

I want to add today's count. I am new to selenium, and am not getting how to add using selenium. Can anyone suggest a solution? This is my code: package testpk; import org.openqa.selenium.By; ...
1
vote
1answer
161 views

Compare 2 JDBC response in Jmeter

I want to compare 2 JDBC responses: I have Source reponse from 1 JDBC request as below in table format: (Source DB)JDBC Response response1: (Target DB)JDBC Reponse 2: I am saving the response as ...
1
vote
1answer
225 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 ...
1
vote
3answers
113 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=...
1
vote
1answer
82 views

Selenium's execution time increases if a web element is absent on a web page

I have a table on my web page I am trying to automation that contains x number of rows (tr)s and under each (tr), there are a varying number of (td)s. In my flow, I have to check for the existence of ...
1
vote
0answers
25 views

Use variable in Graph Title

I wanna include count of threads in the Graph Title like this : Now, this is just text ${__threadNum}, but I want to set value depend the current Number of Threads. Is that possible ?
1
vote
0answers
458 views

unknown error: cannot create temp dir for unpacking extensions when trying to start Chrome from a LOCAL_SYSTEM service

We are trying to get our automated webtests working independently of what version of Chrome we're using. These automated tests work as follows: We have a Karaf container agent running as a service; ...
1
vote
0answers
66 views

Running selenium tests parallel on different website using grid

We want to setup a Selenium Docker Hub Node Environment.I have successfully set it up using following: docker run -d -p 4444:4444 --net inpronet --name selenium-hub selenium/hub:3.11.0-dysprosium ...
1
vote
0answers
46 views

Is it possible to write good Code (create a good code framework) AND use Cucumber (or another Gherkin tool)?

When I look at the code Cucumber outputs, it does not seem to follow best practices (or any moderately good practices) for writing a testing framework. Question: Is there a way to use Cucumber and ...
1
vote
0answers
115 views

Appium 1.10.0 + Android : Unable to accept permission alert

Team, I am facing issues to accept the permission on Android using Appium. I have tried below options: capabilities.SetCapability("autoAcceptAlerts", true); driver.switch_to_alert() driver....
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
vote
1answer
326 views

How to structure data driven Protractor/JS tests in page object model?

I am using protractor/js for automating end to end tests for our website. We have a test data set that we have saved in different JS files and we use this data while executing test cases. We are ...
1
vote
0answers
36 views

Testing of console tools

From my previous experience, I am used to write tests for either unit testing or integration/deployment testing. Now I am facing the challenge to write automated tests for a console tool using a ...
1
vote
2answers
518 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 ...
1
vote
0answers
50 views

how to enable assertions through the Gradle Kotlin DSL?

The simplest possible assert usage I could think of: thufir@dur:~/NetBeansProjects/helloAssertions/src/main/java$ thufir@dur:~/NetBeansProjects/helloAssertions/src/main/java$ ls App.java thufir@dur:~...
1
vote
1answer
72 views

Unresolved reference: enableAssertions

working assertions example using standard Java SE with no imports: thufir@dur:~/jshell$ thufir@dur:~/jshell$ javac App.java thufir@dur:~/jshell$ thufir@dur:~/jshell$ java -ea App Exception in ...
1
vote
2answers
369 views

Python Selenium unable to login by clicking on Button inside a form

website:https://www.etoro.com/login <button automation-id="login-sts-btn-sign-in" ng-click="loginCtrl.login(loginForm)" class="e-btn-big wide dark pointer">Sign in</button> I am trying ...
1
vote
0answers
33 views

Code Coverage using Scala Automation Testing for JS web application

I'm looking if there's an existing application or tool that will run code coverage based on a scala implemented automation suite running against a Javascript web application. Our automation framework ...
1
vote
1answer
224 views

Appium | Getting error when using .click or sendkeys

I'm looking to start automation of a mobile application. I went through Appium related articles and most of them suggest to use Appium with Javascript. I explored online and setup appium and my code ...
1
vote
0answers
355 views

How can I move slider in Katalon studio and the range starts from 619 to 1443

I'm trying to change the slider value in Katalon, I tried using setSliderValue but I failed, Can anyone help me with this. I want to change the Slider value during runtime, Its 619 by default and I ...
1
vote
0answers
363 views

Exception in thread “main” org.openqa.selenium.WebDriverException: Value cannot be null. Help needed

When trying to invoke winium driver for my file upload from local into web, it's showing below error, Exception in thread "main" org.openqa.selenium.WebDriverException: Value cannot be null. Further ...
1
vote
0answers
46 views

Consumer-driven Contract Testing

I've just come across the term consumer-driven contract testing and, working as a QA, was wondering a few things: 1) what does this actually mean in laymans terms? 2) who would generally execute ...
1
vote
0answers
891 views

How to pick current system date from date picker using Katalon recorder?

I am unable to add a calendar date picker using Katalon recorder. What value should be given to pick current system date? Command: Sendkeys, Target: id of the element value: ? (what is the value?)
1
vote
0answers
202 views

Does SonarQube accepts SoapUi test reports?

I have an API Java project with somes development tools : Maven for build Gitlab for CICD SonarQube for unit test code coverage and quality code tests (using sonar-maven-plugin plugin and mvn sonar:...