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
3 votes
2 answers
518 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)...
user avatar
0 votes
1 answer
45 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") ...
user avatar
0 votes
2 answers
35 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 @...
user avatar
0 votes
3 answers
596 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 ...
user avatar
2 votes
2 answers
5k 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 ...
user avatar
1 vote
0 answers
477 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 ...
user avatar
0 votes
2 answers
175 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....
user avatar
  • 1
2 votes
1 answer
3k 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. ...
user avatar
-1 votes
1 answer
22 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 ...
user avatar
1 vote
1 answer
118 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 ...
user avatar
  • 11
0 votes
1 answer
118 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.
user avatar
1 vote
1 answer
26 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 ...
user avatar
1 vote
2 answers
89 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 ...
user avatar
  • 21
0 votes
2 answers
525 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 ...
user avatar
  • 1
0 votes
0 answers
381 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 ...
user avatar
0 votes
1 answer
989 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 ...
user avatar
  • 129
1 vote
2 answers
98 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.
user avatar
1 vote
2 answers
265 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 ...
user avatar
1 vote
1 answer
236 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 ...
user avatar
  • 11
1 vote
0 answers
28 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<...
user avatar
  • 11
0 votes
1 answer
1k 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: ...
user avatar
0 votes
1 answer
545 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 ...
user avatar
  • 129
2 votes
2 answers
2k 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 ...
user avatar
1 vote
0 answers
49 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 ...
user avatar
2 votes
0 answers
27 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 ...
user avatar
  • 121
1 vote
1 answer
465 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 ...
user avatar
3 votes
2 answers
58 views

How is accessibility testing perceived in the testing process?

I am studying ways to add accessibility testing in the automated testing process of the company that I am currently working. I've read some articles, watched some talks about accessibility in digital ...
user avatar
2 votes
2 answers
2k views

Playwright: Storing an element selector in variable

This might be a trivial question/answer, however I would like to know if there is a way that I could store an element locator in a variable and then reuse it same as it while working with Selenium and ...
user avatar
0 votes
4 answers
140 views

Automate the stable build only

I have the understanding that Automation Scripts need to be built on a stable build (application). I mean once manual QA signs off, to reduce their burden on regression/repeated testing, we Automate ...
user avatar
  • 687
1 vote
1 answer
762 views

The .App path is not recognised in desired capabilities in my Appium setup

I have set up my desired capabilities on Appium. See below. { "platformName": "iOS", "deviceName": "iPhone11", "automationName": "XCUITest&...
user avatar
0 votes
1 answer
117 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 for creating UI automation for our project. And I would like to know how to assign defined keyword as a variable value and how to run variable as keyword?
user avatar
3 votes
1 answer
190 views

How to scroll an element to the center of the screen

driver.get( "http://www.uitestingplayground.com/scrollbars") time.sleep(10) driver.execute_script( "arguments[0].scrollIntoView()", driver.find_element_by_id("...
user avatar
  • 33
-2 votes
1 answer
1k views

Return multiple variables from custom command in Cypress

What I am trying to do: I have a custom command, inside which i am declaring few variables(boolean). I am setting the values for the variables as per my code. I wanna use the variables to assert in ...
user avatar
1 vote
1 answer
106 views

how to integrate testrail with selenium

Hi everyone as I am just started to work in testrail and I want to integrate my testrail with selenium using Eclipse What I want to do? I want to run my test case in selenium and if its pass then my ...
user avatar
0 votes
1 answer
1k views

Appium Pagefactory throws noSuchMethodException when running from POM

When I try to run my appium scripts on the pom file ( with mvn verify or mvn test) I get a java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy12.proxyClassLookup() On the ...
user avatar
  • 113
0 votes
1 answer
137 views

Appium scoll to an element, without scrollable view

I have an android app, that has a list page (eg. 20-30 element), I have to check each list item, how can I scroll to the next list item, if the app is built like there is no scrollview in it? ( only ...
user avatar
  • 113
0 votes
3 answers
1k views

Free sites for testing POST REST API calls?

My previous company was testing only GET calls. Now I need to practice with other type of calls (POST, PUT, DELETE). I can not find any site that is free for POST API calls, and that it have up to ...
user avatar
1 vote
1 answer
66 views

Is it possible to include Internet Explorer 5 or 6 in Selenium Grid?

Based on this question here, I was wondering if you can also include Internet Explorer 5/6 in Selenium Grid? How can Internet Explorer 5 be emulated in 2020? I don't think this is possible either, but ...
user avatar
  • 1,173
0 votes
1 answer
94 views

Backend test automation framework - Java

I'd like to create and ask about best framework for backend end-to-end tests. This is microservice architecture software and the services communicates via REST API and Apache Kafka. What would be best ...
user avatar
  • 197
1 vote
0 answers
158 views

RobotFramework AutoItLibrary.Run test case passing, but no window shown

I have Python 3.7.0, Robot Framework 3.2.2, and AutoItLibrary 1.2.7 installed. I have the following test case to simply run an app I have developed in .NET: *** Settings *** Library ...
user avatar
  • 129
0 votes
1 answer
120 views

How can I count how many times this selenium script has been run in Python?

for example, I run this script 200 times and now I want to run more time. then I count every time and show me in console import time from selenium import webdriver start_time = time.time() driver = ...
user avatar
1 vote
1 answer
283 views

Is there a way to make Selenium use cookies to autologin?

I don't want to have to make the script log in every time. Is there to stop the web driver opening a "fresh" browser and instead make it open my standard version/load cookies so it auto-logs ...
user avatar
  • 11
1 vote
1 answer
61 views

Do we have a terminology for manual test suite that replaces failed automated tests?

Background: 3-week sprint, 2-days testing against staging and 1-day testing against qa. qa environment is only up for the duration of 1 day as it costs a bit money to have it running on AWS. We have ...
user avatar
  • 9,650
1 vote
1 answer
221 views

JavascriptExecutor.executeScript("arguments["+index+"].click();", elementName) does not work

I'm using IntelliJ IDEA 2020.1 Community Edition for automated testing. The issue seems simple enough. I have a Search drop-down menu which also contains a Search menu option (among other options). ...
user avatar
0 votes
1 answer
3k views

How to install chrome-webdriver on GitLab CI/CD

I am trying to do some tests using GitLab CI/CD and Robot Framework, I have this simple .robot file: *** Settings *** # Declare Libraries Library SeleniumLibrary # Declare Suite Setup and Teardown ...
user avatar
2 votes
0 answers
77 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 ...
user avatar
  • 151
-1 votes
2 answers
70 views

How can one test the security measures or vulnerability when it comes to API testing? [closed]

I use REST for API Testing. What are good tools and/or approaches to testing security issues ? Any information through which I can broaden my perspective,ways,tools for testing when it comes to API.
user avatar
0 votes
3 answers
447 views

How to log testing results to xlsx (Excel) file with Selenium WebDriver?

I have a certain test automation script written in Java with Selenium WebDriver. Currently, I log the testing results to the console and manually copy them to the required document. Is there a way I ...
user avatar
  • 562
1 vote
3 answers
2k views

Is it possible to open a mobile browser with Selenium WebDriver?

I know it is possible to open a desktop web browser with Selenium WeDriver. The following lines written in Java allows doing so: WebDriver webDriverChrome = new ChromeDriver(); webDriverChrome.get(...
user avatar
  • 562
0 votes
1 answer
638 views

How to go through all pages at a certain domain with Selenium WebDriver?

I need to verify a certain thing on multiple pages on a certain site. The thing is it is quite tedious to manually add links to each page for testing to a script. Is there a way the Selenium WebDriver ...
user avatar
  • 562

1 2 3
4
5
71