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.

299 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

how to add “\n” to the method

I have the below method: PUBLIC methodname(WebDriver driver,formEntryMap<String,String>,String Colkey) { String Xpath = This will have the xpath of the input text box inputfieldEntry(driver,...
0
votes
0answers
60 views

The ChromeDriver could not be found on the current PATH

I wrote a test suite for a web application by using Selenium IDE and I used ChromeDriver to test the application, the code I used is as followed. C:\>set APPLITOOLS_API_KEY=...
0
votes
0answers
8 views

Action Bar for Debugging in Visual Studio Code runs for few seconds but then disappears

I have a Selenium with Java project in VSCode using Jenkins and Maven, however it's never been able to debug or step over or step into the code. Upon clicking the Debug Test from within the code the ...
0
votes
0answers
31 views

How can I use a for loop in this code in python

I want to run my code 10 times in 10 new tabs. Kindly help me on how can I use a for loop and open in 10 different tabs. code; import time from selenium import webdriver from selenium.webdriver....
0
votes
0answers
18 views

How can I handle browser alert

I do not understand how to click allow button. import time from selenium import webdriver chrome_options = webdriver.ChromeOptions() chrome_options.add_argument("--disable-notifications") ...
0
votes
0answers
9 views

Windows switching issue through Winium

I am automating an application where I have to click elements on next window after login . Below is the issue that I am observing, which is making my scripts failed. Login is a small splash screen , ...
0
votes
0answers
42 views

How to perform mouse hover in selenium java using page object model approach?

I have automated some test cases mentioned at https://www.techlistic.com/2019/08/automate-buy-product-using-selenium.html For second test case mentioned at given link, I have written code for mouse ...
0
votes
2answers
31 views

I want to scroll to a specific location Selenium Java

I have a list of webelements, I have written the below code: List <WebElement> feature_tiles = driver.findElements(By.xpath("//div[contains(@class,'featuretile')]//a")); System....
0
votes
0answers
34 views

Allure Report is not getting generated using jenkin pipeline

I am using Jenkin Pipeline to execute by test , every thing work fine bit allure-result and allure report is not getting generated , tried all blogs still not able to get in Here is console log for ...
0
votes
0answers
22 views

how to resolve the OLE error 80110802 in HP ALM?

I have recently started testing and I encountered this problem while performing testing on an application. I use UFT and HP ALM.
0
votes
2answers
94 views

Selenium driver for web app testing on chrome in incognito windows

So I am trying to use a selenium web driver extension on chrome to record a web application test on a chrome browser that is in an incognito mode. How do you run a test on a web application in an ...
0
votes
0answers
53 views

Appium-Could not find ''apksigner.jar''

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown ...
0
votes
0answers
29 views

1)i am getting “the name page Factory does not exist in the current context.” even after adding using OpenQA.Selenium.Support.PageObjects;

this is my code using OpenQA.Selenium; using OpenQA.Selenium.Support.PageObjects; //using SeleniumExtras.PageObjects; using OpenQA.Selenium.Support.PageObjects; using System; using System.Collections....
0
votes
0answers
32 views

NullPointerException-webdriver null

I put a screenshot with getDriverInstance. After run. When I run the test, I get this error. At debug it tells me that the webdriver is null. Can anyone help me with a solution how to fix the problem? ...
0
votes
0answers
34 views

How to assign defined keyword as value of variable in Robot Framework? How to run a Variable as Keyword?

I'm currently using Robot Framework in creating ui automation for out project. And I woud like to know how to assign defined keyword as variable value and how to run variable as keyword?
0
votes
0answers
131 views

Anyone had success running TestNg with Java 9 or above?

Has anybody successfully run the TestNG with >=Java 9? I tried and it failed. I also had no luck finding any helpful information from Google search. This is the error I got, Error occurred during ...
0
votes
0answers
11 views

How can I check the error in the incoming alert message in Android mobile test?

I'm running an Android mobile test with C#. The transaction I want to do is a linked transaction and I want to have it checked. After I press the Continue button, I get an alert message. I want to ...
0
votes
0answers
8 views

Testing a mock UNIX project with MC-DC coverage

I’m currently on a UNIX mock shell project involving writing and testing implemented commands such as ls and grep. This is part of a testing module in my university, and is written in Java.. I’m ...
0
votes
1answer
30 views

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button.Can some one pls guide.NeedHelp

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button. Scenario: I have a screen where I need to find the row which has the value as &...
0
votes
0answers
62 views

Retrieving cookies from a file in selenium webdriver

This is the code which I am using for the retrieve the cookies while logging to the system. In this code shows error as "The constructor Boolean(String) is deprecated since version 9" and ...
0
votes
0answers
13 views

Looking for a solution for automated tests for a 3rd party web application (where my product integrates in the background)

My product integrates with 3rd party websites. It does this on the backend level, not affecting the original UI in any way. I'm looking for a solution to test that simple user actions are unaffected; ...
0
votes
0answers
30 views

How can I identify each text box without any label using Sikuli GUI automation?

Anyone please help me to solve this, i using the latest Sikuli. I have read the documentation but yet I still stuck with this. I want to automate this screen (Oracle Form), I capture the image but ...
0
votes
0answers
15 views

Avoid Lite mode Chrome screen in Appium Studio

I am trying to automate web site testing with Appium Studio. But when I start Chrome from it every time there is a Lite mode screen. But I can not close it with my test script because the Chrome app ...
0
votes
0answers
28 views

Moving test environments to AWS cloud

I'm new here and this is my first post. Currently we are doing manual testing within a local closed environment. Our Ops team is working on building an AWS environment using VPC, RDS for the DB's etc. ...
0
votes
0answers
20 views

How to scroll current whole screen with UI Automator

I can scroll until get the specified text by the following code driver.find_element_by_android_uiautomator( 'new UiScrollable(new UiSelector().scrollable(true).instance(0)).getChildByText(new ...
0
votes
0answers
587 views

authentication proxy with selenium C# 2020

This is an old problem but I can't resolve it. I created a chrome extension or Proxy auto auth.crx but it's too old. I used AutoIt but it has not resolved my problem. I saw the link Setting a proxy ...
0
votes
0answers
32 views

Cannot choose and click specific value in the table

Whatever companyCode I specify in the method it always chooses 3M Canada. Before it worked perfectly but after a few days it stopped even if I didn't do any changed in the code. The XPATH of the table ...
0
votes
0answers
30 views

Automated testing of thread synchronization

My program has two threads: Thread A scans the filesystem for files matching certain criteria, and adds them to an internal catalog. Thread B scans the internal catalog for entries matching certain ...
0
votes
0answers
13 views

How to check message dispatch status in appium?

I'm testing a chat application with Appium. For each message there is three status Server sent Received Read How can I check the status in Appium? and I need to take screenshots form the receiver ...
0
votes
0answers
62 views

Flutter driver handle minimalized application

I am making some testing scenarios for my flutter application. One of the functionalities is "About us" section. When tapping on "About Us" user is redirected to the web page and ...
0
votes
0answers
7 views

I want to run same configuration proj( Proj on diff machine) by using output of first machine is input for sec machine with single instance of jmeter

We have 3 parameter in our json body script for that we use Boolean values. 1 - Preprocess= true/false 2 - Merge = true/false 3 - syncRecordinMem =true/false as per Boolean values we select whether ...
0
votes
0answers
47 views

Unable to view the docker selenium script execution on VNC Viwer

I have a selenium script as below: public class firstclass { public static void main(String[] args) throws MalformedURLException { new DesiredCapabilities(); DesiredCapabilities cap = ...
0
votes
0answers
39 views

Suggest a tool to Automate Test the Live Video Call or chat feature which could help in checking the Quality

I am looking for a tool which could test my app which is for Video and Voice calling and check its Quality too. We want to Automate our app of Video and Voice calls on Web, IOS and Android (mobile &...
0
votes
0answers
49 views

How to validate toast message in Android using Appium Python?

How to validate toast message in Android using Appium Python? Since pop-up message comes and disappears, what will be the best way to validate them?
0
votes
0answers
36 views

Is it worth testing with Earl Grey 1 when Earl Grey 2 is being worked on?

I was looking into different frameworks / library for iOS testing. Earl Grey seems like a solid for white-box testing. However, there are two versions Earl Grey 1 & 2. Looking at there Github it ...
0
votes
0answers
141 views

Do we need to run WinAppDriver server explicitly on the remote server where Jenkins will run my automation?

As i am very new and doing POC for my project, I am wondering how can i make sure that WinAppDriver server should run before my Automation test in remote server using Jenkins. Or is it not required to ...
0
votes
0answers
190 views

How to fix invalid session id when creating AWS Remote Driver on Desktop browser testing

I am a newbie in AWS device farm. I am trying to execute automation test on Desktop browser testing project. I have done aws configure to create credentials and write code as below but got error. ...
0
votes
0answers
26 views

Is there a way to automatically create Azure Dev Ops test cases from a test assembly or from a solution with test scripts?

Is there a way to automatically create Azure Dev Ops test cases from a test assembly or from a solution with test scripts? With TFS 2015, I know that you can automatically create cases using the tcm....
0
votes
0answers
38 views

Unable to do Load Runner Scripting for .Net Desktop application

I need to test a .Net windows application using LoadRunner 12.53. Tried couple of methods but no success. Method1: Used .Net protocol and clicked start recording Error: Start Recording Failed. No ...
0
votes
0answers
31 views

iOS CI/CD service for Gitlab onpremise

Currently, as continuous-integration / deployment environment, we use a Mac-Mini connected to our Gitlab “on premise” that build, execute unit / UI tests and deploy our iOS applications to firebase, ...
0
votes
0answers
81 views

Unit testing a native sql query

The project in question runs on Hibernate 5.4 for persistence, against MySQL when deployed. Unit tests are ran during the Maven build. I'm in the process of doing a feel-faster optimization. As such, ...
0
votes
0answers
1k views

Not able to run my test from testng.xml file

I'm not able to run by test case from testng.xml file after run of file I'm getting that Total tests run: 0, Failures: 0, Skips: 0 but if I will try to run the test class directly then test will run. ...
0
votes
0answers
718 views

How can i run my Cucumber project as a Maven Test as the Build passed but it shows Tests run: 0?

I have created a Cucumber project, which has multiple feature files, Step definition classes and one TestRunner.java class. Now, that project has a Maven project structure and i want to run it as a "...
0
votes
0answers
26 views

Issue with running Restsharp SpecFlow tests using MSTest via command line

I have created restsharp specflow tests using NUnit framework and I am using MSTest as a test runner in app.config file. I tried to run the tests via command line and it does not work - says the tests ...
0
votes
0answers
24 views

I have handled alert in selenium java it is working fine . When i run local but while azure pipeline execution this alert is not handled shows error

I have handled alert in selenium java it is working fine . When i run local but while azure pipeline execution this alert is not handled shows error ... TimeoutException:Expected condition is failed :...
0
votes
0answers
52 views

Integration tests and data used in these tests

I read a lot about unit and integration tests and how they work with maven and java and how it works with Continuous Integration. I am using Flyway for db migrations, the schema part is already done. ...
0
votes
0answers
85 views

What is your setup for running nightly automated web driver tests

There seem to be three predominant setups for running automated tests. The company invested in a selenium grid that is always available and the nightly tests run against them. The CI will build a ...
0
votes
0answers
27 views

Automating POS application to do same action in different instances

I have a POS application that works in different client bases. I need to test if I generate a bill at the same time from two different locations, will it gets interchanged or any such anomalies. Is it ...
0
votes
0answers
80 views

UFT: How can I call a gui test with the result of an api test?

The result of the rest service returns me a url to download a file, I would need to use that url in a gui test to open it in the IE browser, can someone help me how to pass that parameter? My test ...
0
votes
0answers
150 views

Selenium - Unable to select the dropdown value inside shadow element

I am trying to select the drop-down value inside my shadow element using the below code, I went to the last point but the selection has not happened. I want to select any dropdown item from the screen ...