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.

327 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
87 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
727 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
250 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
0answers
2k views

Jenkins Build Is Hanging

We are using jenkins for the continuous integration. I have already created a jenkins job for running all my robot framework automation test scripts & Everything was absolutely working fine. But ...
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
53 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
996 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
10 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
46 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
0answers
18 views

Schema Validation in Postman

I'm having trouble validating a schema in Postman using tv4 inside the tests tab - it is always returning a true test, no matter what I feed it. I am at a complete loss and could really use a hand - ...
1
vote
0answers
29 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
53 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
37 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
30 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
2answers
117 views

Using Fluent Wait When Finding List WebElements

I have a fluent wait class that works pretty well for locating my page elements, however, when I am locating elements for lists I don't appear to be using the same wait. I currently need to add ...
1
vote
1answer
62 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
126 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
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 ...
1
vote
3answers
97 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
71 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
23 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
320 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
64 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
45 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
96 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
45 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
255 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
35 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
428 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
40 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
43 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
171 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
32 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
182 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
282 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
327 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
42 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
748 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
178 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:...
1
vote
0answers
49 views

Record UI elements for TestFX

There is an existing JavaFX based application, which I should write automated tests for. I just started to use TestFX(version 4.0.13-alpha) and looking for advice, how to record and identify UI ...
1
vote
0answers
449 views

How to handle password alert pop up (Windows Security) on IE?

The pop up is not the traditional alert. It looks like this pop up. Basically Windows Authentication system. I have tried the classical alert handling technique (alert.sendKeys()) and the one using ...
1
vote
0answers
61 views

Runners for cucumber tests

I've reached the point now where we need to get my automated checks running as part of deployment scripts to act as regression tests. I've not done this before and I'm thinking the way I currently ...
1
vote
0answers
113 views

POS Testing automation

We are using XPIENT POS system. We have a deck of regression scripts that could be a good candidate for automation. However, I am not aware of any tools or any technology that could be used to ...
1
vote
3answers
1k views

Type mismatch: cannot convert from FirefoxDriver to WebDriver

package newpackages1; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class Myclass { public static void main(String[] args) throws ...