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.

Filter by
Sorted by
Tagged with
1
vote
1answer
34 views

How to open outlook and click on the link that is there in the mail using seleniumn

In my application I need to send a confirmation after which an mail will arrive to my Outlook which I need to open and click on the link which is sent in the mail. Can someone please let me know if ...
0
votes
0answers
21 views

Try catch not catching NoSuchElementException

kinda confused. I have a method I created to help me handle various scenarios public void WaitHandler(IWebElement element) { int i = 0; WebDriverWait wait = new ...
2
votes
2answers
69 views

Passing the UI data from one test to another

I work with Playwright, Mocha and Chai. In the application that I am currently testing I need to automate the following scenario. When a user logs into the application a dashboard with assigned list ...
0
votes
1answer
40 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 ...
2
votes
4answers
127 views

If your manager asks you to reduce the test execution time which you can't, how to convince your manager?

There is a situation where our automation test suite is taking nearly 8 hours to execute 150 test cases. Because there are lengthy steps which cannot be reduced or remove. And my manager ask me to ...
-1
votes
1answer
49 views

how to detect a real front end issue?

If I am testing a website, perform a "zoom in" action, and notice that the features are no longer in their correct places (the boundaries have changed), should I consider this behavior a ...
0
votes
1answer
24 views

Automated testing confirmation that item went to an AWS SQS queue

We're considering creating automated tests that confirm that specific items made it onto an SQS queue. Note that that sentence said "made" it - this would be a test that can be run on a live ...
0
votes
1answer
76 views

Starting testing from scratch in existing software project

The question is: "How to implement testing from scratch? How to structure things?" I have taken the position of Head of QA in a start-up company. The situation is that they have a software ...
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,...
1
vote
1answer
32 views

How to access dependencies from test class

I'm wondering what some other options are for accessing the test automation framework dependencies from my test classes. Right now I have a layered architecture: Framework layer (contains all shared ...
0
votes
2answers
76 views

How can I run a login test for 100 users at the same time using Selenium, TestNG and Cucumber? [closed]

I am a newbie in Automation testing. I have a list of 100 users in a excel spreadsheet: User1: userid1/password1 User2: userid2/password2 ... and so on. I need to create a script and make all 100 ...
1
vote
2answers
36 views

Playwright: Using ReqExp inside of the URL while trying to check PUT request via page.waitForResponse()

Currently in one of my test I am trying to check PUT request status. In one of the user scenarios when a user clicks Confirm button a PUT request is sent and if all good status code 200 is present in ...
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
1answer
26 views

android : How to fix? - ConversationToQueryExtension.isEnabledForHostApp():252 Conv2Query not enabled due to current app not in whitelist

I am trying to login android application on emulator hosted on Windows OS. Facing below error : I/ConversationToQueryExtension: ConversationToQueryExtension.isEnabledForHostApp():252 Conv2Query not ...
1
vote
2answers
67 views

What is the best way/tool to share automated tests with non-technical stakeholders?

I've been tasked with finding a tool/solution to present our automated python test cases to other stakeholders in the business (I won't write actual python for time-saving purposes). Our tests are ...
0
votes
1answer
30 views

What is BrowserGetter in JUnit?

I am a beginner for test automation and following the Test Automation University 'IntelliJ for Test Automation Engineers' course. In chapter 6.3 to create fields and variables use this 'BrowserGetter' ...
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
32 views

Download file in automation at a specific location [closed]

I am automating a webapp using selenium with java and involves downloading of pdf in a specific path. Recently chromedriver.exe stoped opening hence I replaced it with a newer version. But now I see ...
0
votes
1answer
28 views

Unit vs Component vs System Testing [duplicate]

Can somebody explain the difference between unit, component, and system testing with a real example. What I understand is unit testing is about testing individual functions with mock services if 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....
2
votes
2answers
54 views

End to end application tests when separate repo for the front-end and back-end tests

We have separate repos for the backend and the front end. The backend which is just microservices has its unit tests(jest), microservice integration tests(jest), and microservice end-to-end tests(jest)...
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
2answers
29 views

Seeing NullPointerException on running TestNG Selenium Framework

Written the Test Script in TestNG framework where the Open browser activity is happening in "baseClass" under @BeforeTest annotation and the Test Script is written in Test Packages under as @...
0
votes
3answers
56 views

How to pass text dynamically in xpath under Properties file

I am stuck in a situation where I want to write Xpath dynamically in the properties file. The actual XPath is like in property File div[contains(text(),'<state Name>')]. State Name changes ...
1
vote
2answers
203 views

Playwright: Creating and interacting with a list of elements on the page

This might be a simple question, however I would like to know if there is a simple way of declaring a list of elements which later on you will be working on for example looping through it and looking ...
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....
1
vote
1answer
194 views

Playwright: Printing Console Logs each time when one of the test fails

I am working with Playwright, Mocha and Chai for my automation project and I was wondering if there is a way for capturing all console logs that appear during a failed automation test execution. ...
-1
votes
1answer
17 views

Automating Ruby on rails testing [closed]

I'm the only software engineer in a 40 person organization, and we work with various contractors to write our RoR site. (I'm mostly a python programmer, so have limited experience in this space) We ...
1
vote
1answer
29 views

AllureRestAssured , how to ignore logging headers

I am using rest-assured and allureRestAssured for testing api given().header("Content-Type", "application/json") .header("key", key()).filter(new ...
0
votes
0answers
13 views

Not able to blacklist header value [duplicate]

Hi I using java and testng for my test suite and allure report for reporting , issue is I am not able to figure out how to implement condition where Blacklist specific header value Logged response ...
0
votes
0answers
32 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.
1
vote
1answer
20 views

Is it valid to use the tool that comes with a library to verify that your C/C++ code is working as expected?

I have a library which Loads audio files Does filtering on the PCM data Saves the new PCM back to files it does that using: Using its own implementation of load/save (raw files and uncompressed ...
1
vote
2answers
74 views

Should a newbie in Test Automation learn the core underlying framework?

I am a complete beginner in Test Automation. I am trying to learn Selenium Webdriver with Java, TestNG, Cucumber(BDD) framework, Build tools like Maven. Now, the problem is that there is an existing ...
0
votes
2answers
90 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
1answer
52 views

Assigning keyword return value to variable not working in Robot Framework

I have the following Robot Framework keyword, designed to get the full path of the "Downloads" directory in Windows: Get Download Directory ${user_home_dir}= Get Environment Variable ...
1
vote
2answers
94 views

I was asked this question in interview on test automation [closed]

If there are two test cases and the first one failed, in that case I don't want to stop the execution. What needs to be added? Without using TestNG annotations, try/catch, using selenium only.
1
vote
2answers
98 views

New to automation testing of APIs with Pycharm and Pytest

We are moving all manual testers to automation. I am very familiar with 'concepts' but really need a beginners step into automation for new API Service and endpoints. The developer is coding a new ...
1
vote
1answer
27 views

Waiting for two events in Selenide

I have code, written on Selenium which waits for the first or for the second event. But all testing framework uses Selenide. The question is how to rewrite such code on Selenide, to avoid unxpectable ...
1
vote
0answers
22 views

Scrolling and retrieving values in a list in Appium

I'm trying to retrieve all the values after scrolling in a form of list. But i'm getting some of the repeated values. Please help. Below is the code: ArrayList<String> list1 = new ArrayList<...
0
votes
1answer
353 views

C# + chrome-driver : How to fix - cannot find Chrome binary/Chrome failed to start: crashed/Failed to create a Chrome process?

I am trying to run selenium using chrome-driver in my project. While creating object of chrome-driver facing errors : Message "unknown error: cannot find Chrome binary\n (Driver info: ...
0
votes
1answer
64 views

Getting Windows download directory path in Robot Framework

I have a Robot Framework test case that makes use of the following variable: ${download_dir} C:\\users\\myProfile\\Downloads How can I change this so that it always points to the Downloads folder ...
2
votes
2answers
431 views

Playwright: Implementing Page Object Patter into Framework

Recently I have been asking questions regarding Playwright and so far the community has been very helpful. I hope that my question and answers provided will be in use for people who are just starting ...
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? ...
2
votes
0answers
20 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 ...
1
vote
1answer
86 views

Playwright: Executing different test suites depending on script parameter

I have switched to Playwright recently and I would like to ask you for some feedback on my current issue which I am facing at the moment. I have a simple framework set up for one of our company ...

1
2 3 4 5
68