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
0 votes
0 answers
13 views

How to handle timeseries as test results

In gitlab, teamcity, using xunit xml files, etc, you can add test results in different forms: true/false, numbers, even images (and they look nice in teamcity). But I haven't seen an easy way to ...
graffic's user avatar
  • 101
0 votes
0 answers
787 views

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address

My code is import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.firefox.FirefoxDriver; import java.security.Key; public class Main { ...
Ahmad Maher Awad's user avatar
-1 votes
2 answers
74 views

How do we decide which tools to use to test web and mobile applications? [closed]

My friend and I have just started our business that aims to conduct web and mobile application testing. We have read a lot and learned how to perform such testing. However, throughout our reading, we ...
Sam's user avatar
  • 1
0 votes
2 answers
53 views

Scrolling using the same code is working 7/10 times

With same code I have tried scrolling, firstly I scrolled to bottom then top and then to element so that element can get loaded properly even though sometimes testcases are failing due to scrolling ...
Ishmeet Kaur's user avatar
0 votes
1 answer
79 views

What is the best way to explain the findings in Jmeter to a customer?

Yes, I know a simple question at first glance, but on the second it leaves you perplexed. Details: One of our customers got a complete setup from us, and that was Jmeter and an integration into a ...
Mornon's user avatar
  • 1,105
0 votes
2 answers
54 views

Any hints on how to automatically generate documentations about automated tests?

I've been in charge of a java / selenium / TestNG / Maven / Allure testing stack for a while, and it's been growing a lot in terms of coverage and features. My concern is that, while I could onboard ...
Batou's user avatar
  • 11
0 votes
1 answer
209 views

Appium + iOS automation : Error "Could not write domain com.apple.keyboard.preferences; exiting"

Team, Everything was working and suddenly I observed all the tests started failing :( with following error : Could not write domain com.apple.keyboard.preferences; exiting What all I have tried : ...
Narendra Chandratre's user avatar
0 votes
1 answer
127 views

How to automate SMS receiving testing with Appium?

i'm working on test automation for a webApp and there are scenarios where i need to make sure SMS are being received correctlly by users, Current testing is built with webdriverIO so my question is ...
Asmoun's user avatar
  • 133
-1 votes
1 answer
80 views

suggestion for Automation testing tool for flutter based crossplatform app

We are looking to automate our mobile app(Android) which is developed using flutter. Any suggestions on tools. We tried testproject but the tool is not able to identify all the elements. Its not ...
Bhavya's user avatar
  • 1
2 votes
3 answers
368 views

How to create an HTML test report in Selenium automation framework?

In my selenium java, Cucumber framework, i use an excel spreadsheet test results report. Now, there is a requirement to make a HTML report after every run of the test. How can i code an HTML report. ...
aiguy33's user avatar
  • 31
1 vote
2 answers
44 views

Should most of the Regression testing items be automated?

I work on a very complex financial product. We have very few Regression items/test cases automated. Like 20% is automated. Now, should I automate more and reach till 70-80 % coverage. Is it necessary ...
automation78's user avatar
7 votes
1 answer
604 views

Selenium + Java: How to get the OS, and Browser details on run time?

What I want to do is, while I'm running my tests, I want to get the current, Operating System Browser Name Browser Version This is for making the details clear in the test/bug report. I haven't ...
RonyPatricks's user avatar
2 votes
1 answer
60 views

How to handle AB testing approach with similar page logic but different locators

I have a test suite that currently runs across different development environments. Recently a complete rewrite of the application was done & deployed to a new environment. The application looks &...
user52533's user avatar
-1 votes
2 answers
171 views

Are there any browser automation tools that support video and audio recording?

I'm searching for a browser automation tool that can record video and audio. Selenium, Cypress, and Playwright do not support audio recording. Puppeteer maybe with puppeteer-stream but I'm not sure ...
Lynob's user avatar
  • 149
0 votes
0 answers
59 views

Testing Coverage Metrics for BDD automation Testing

My manager would like me to have a way to measure the overall amount of testing coverage that is done in a sprint. I used to use an excel spreadsheet in the past but he doesn't want to do that. I ...
fypnlp's user avatar
  • 437
1 vote
1 answer
191 views

Robot Framework - Best keyword to tab off an element

I am using Robot Framework and Selenium and have a drop down combo element that I need to focus on and tab off in order to fire a validation message. I cannot use Press Keys or Click Element as it ...
user3356964's user avatar
2 votes
2 answers
750 views

Not able to match ChromeDriver version with chrome version

So at my current job I’m at a pinch, we can’t just download executable jars and use them. We have to request to download whatever we want . So the problem is , our chrome gets auto updated where as we ...
Samian's user avatar
  • 21
0 votes
1 answer
5k views

How to find and click a span class element using the text of a sibling span class

<div class="answersContainer"> <div class="answer fadeIn" style="visibility: visible;"> <span class="answerBox"> <a name="...
John's user avatar
  • 1
0 votes
0 answers
253 views

How to verify the Json response field data type in rest assured test

How can we verify the Json data type of mentioned fields such as "price", "ck", "name", "enabled" and "tags" in rest assured test. { "odd":...
swapnil shirke's user avatar
0 votes
1 answer
3k views

Verify read-only fields using cypress

I have a few text fields which when I login as a specific user (rights of a read only) , all the text fields are not allowed to be edited. I am trying to automate this page in Cypress. I tried using : ...
Sriharsha Karanth's user avatar
-1 votes
1 answer
46 views

how do you automate test a enterprise security software application?

I have been assigned to automate test a enterprise security software which will be installed on client computers with different operating systems (linux, windows). my team challenge is to setup a ...
ben's user avatar
  • 1
1 vote
1 answer
644 views

Can not sendKey to hidden element

I'm practicing to interact with element (nopCommerce domain). But encountered some problems, when trying to perform sendKey to an invisible element. This is an input field of product tags, which ...
Jimma's user avatar
  • 23
0 votes
2 answers
309 views

Xpath problem- cant locate the class

@When("I click on sign in again") public void i_click_on_sign_in_again() { WebElement signin1 = driver.findElement(By.xpath("//a[@class='uitk-button uitk-button-medium uitk-...
user53729's user avatar
-1 votes
1 answer
3k views

Python + VS Code: ModuleNotFoundError: No module named ' ' occur

Facing issue with error : ModuleNotFoundError: No module named 'selenium' Basically, Error is not specific to module 'selenium'. Facing this issue in VS Code even when, I have selenium installed for ...
Narendra Chandratre's user avatar
0 votes
3 answers
120 views

Properly manage regression testing as an interface between different testing teams

Baseline: We work in a Safe-Scrum environment with a large number of different teams, and here also correspondingly different test teams. We have different test cases from different teams, which are ...
Mornon's user avatar
  • 1,105
0 votes
1 answer
272 views

How can I format the current date and time and then use them in a variable in GoTest?

I use the keyword... get date But I have a date with the format like this Sun May 11,2014 9:60 p.m. I need to convert it in to this format 2014.05.11.09.60.60.321 I tried to put this yyyy.MM.dd.HH.mm....
michel.belanger's user avatar
0 votes
1 answer
371 views

Selenium : webdriver.Chorme() function problems

I have difficulties in finding a solution, can you help me? This is the code text: from selenium import webdriver web = webdriver.Chrome("C:\ Users\giova\Desktop\chromedriver.exe") web.get(&...
Mr.Layton's user avatar
0 votes
1 answer
2k views

How to get specific data in a div with Selenium?

Let's say this website has frequently changed data (stores). I am also only interested in certain stores from my list. How do I get all the data of the first store from the top and from my list? I was ...
Synthezx's user avatar
2 votes
1 answer
151 views

Selenium Webdriver : Trying to get text, but specific class present

Kindly find attached the html code of the section in question I use the following code and managed to get the text for Status successMessage = driver.findElement(By.xpath("//span[@class='status-...
Tester_at_work's user avatar
0 votes
1 answer
5k views

Cannot invoke "org.openqa.selenium.SearchContext.findElement(org.openqa.selenium.By)" because "this.searchContext" is null error

I am trying to verify a functionality as a guest user and logged in user. In order to do that I log out form the system and verify the guest user actions then login again and verify logged in user ...
Darshani Kaushalya's user avatar
0 votes
1 answer
123 views

Element is not clicked even after explicit wait

I am trying to verify default selected value of a dropdown. <div class="p-3 p-md-4 mt-4 mt-md-4 card"><div class="row"><div class="d-flex align-items-center col-...
Darshani Kaushalya's user avatar
2 votes
1 answer
228 views

Verifying scrollbar is present script fails

I'm trying to check whether a scrollbar is present when there are more than 2 elements in a pop up. Here is the HTML code for the div which enables the scroll bar if when there are more than 2 ...
Darshani Kaushalya's user avatar
1 vote
3 answers
191 views

Difference between Test Coverage AND code coverage?

My team asked me to measure the Test coverage percentage via a tool i choose ( how many tests from the app features are covered by automated testing ) , so i added the gitlab coverage badge and now i ...
USER_1234's user avatar
0 votes
1 answer
109 views

Understanding identified prime paths in the prime path coverage example given

I'm trying to understand this example in paper Code coverage and test automation. Please refer to the figure. Why is (n3, n4, n1, n3) a prime path, while (n3, n4, n1, n2) is not?
ragnacode's user avatar
  • 101
0 votes
2 answers
434 views

Button click was not performed even though element was found

I'm trying to click below button. <button class="MuiButtonBase-root MuiButton-root jss47 jss58 MuiButton-contained jss48 jss59 MuiButton-containedPrimary MuiButton-disableElevation" ...
Darshani Kaushalya's user avatar
-1 votes
1 answer
84 views

Looking for Javascript coding challenge Websites. Can you guys help?

I really need to improve my JS coding (currently learning ES6) as it would be great for my automation Testing. I would like to take a daily coding challenge (min 30 days) but I'm having difficulty ...
fypnlp's user avatar
  • 437
0 votes
1 answer
284 views

Fixed storage paths for Selenium screenshots or logs possible?

Details: Currently I use Python 3.10 and Selenium. I used here in the area of functional testing here in particular UI Testing accordingly also Selenium screenshots. But since I work on different ...
Mornon's user avatar
  • 1,105
1 vote
2 answers
301 views

Getting value from data-value (webdriver selenium / java)

I have the following HTML code <div class="mbsc-sc-whl-c" style="height:40px;margin-top:-21px;"> <div class="mbsc-sc-whl-sc" style="top: 0px; transform: ...
Tester_at_work's user avatar
0 votes
1 answer
354 views

Return always false as using isSelected() in Selenium Webdriver java

I'm trying to use isSelected() method on Amazon website. I'm trying to tick the check-box of item filter and then read the status of check-box by isSelected() but it always returns false message. ...
Bajrangi_Tj's user avatar
0 votes
2 answers
139 views

How to test a huge list of domains redirect to HTTPS?

I have got a huge list of domains/URLs (about a 1000). The task is to test if each one of them, if accessed with http://domain.com then it redirects to https://domain.com. All the domains that do not ...
IAmMilinPatel's user avatar
0 votes
1 answer
1k views

How to set cypress to automatically detect proxy for automated executions?

I have a cypress test and its not loading the website properly. When I manually open the website using chrome, the website is working ok. Also I can find that my chrome proxy setting is set as "...
Sandeep Chandra Sekhar's user avatar
8 votes
8 answers
4k views

Are there specific coding guidelines for test automation?

Details Currently we are trying to find more ways to write better code. Of course, this does not exclude our automated test cases. We are already testing in the dev environment with SonarCube and ...
Mornon's user avatar
  • 1,105
0 votes
2 answers
101 views

can we test GUI and a network protocol (SNMP) using selenium?

I have to test a website using Selenium. This website is a graphical user interface for controlling a device and to shows data from that device. This device is using SNMP which is used to give an ...
anas's user avatar
  • 13
0 votes
1 answer
314 views

Automating test for VoIP webapp?

Our Web App is a call center app. One of the key functions of our Web App is to make VoIP call and then do post call processings. But we can't find a tool/way to do automate testing, which involves ...
Qiulang 邱朗's user avatar
0 votes
1 answer
327 views

Should I separate my API tests from E2E tests

I have a system that displays data it gets from API calls. There are multiple objects and every object has 7-8 properties. User is not allowed to change values and the system has a simple UI. I want ...
archbtw's user avatar
0 votes
1 answer
126 views

Can we write a part of a test with Selenium IDE and the other part with WebDriver and combine the two into one test?

I am new to selenium and am wondering if we can combine both Selenium IDE and WebDriver and write one test. What I mean to ask is, can we use Selenium IDE for the easy tasks that we want to test and ...
anas's user avatar
  • 13
0 votes
1 answer
54 views

Is it possible to run automatic performance regression tests based on load and performance monitoring?

Baseline: In our team, we want to emulate certain high loads in production over and over again as a kind of load and performance regression, so to speak. Within one test stage. We use Datadog for ...
Mornon's user avatar
  • 1,105
0 votes
1 answer
205 views

Measurement of APIs load and performance within a Cucumber test case possible?

Baseline: Currently, within a Java environment and Maven integration, we use Cucumber for our API testing procedures inside Junit Test. This is also well implemented and accordingly everything works. ...
Mornon's user avatar
  • 1,105
0 votes
1 answer
70 views

How to justify the expense of automation tools?

Question: How do companies afford Tosca? How do testers and QA teams justify the expense to their managers/company? Background: The only testing software I've used is Selenium; for online app testing. ...
Fractal's user avatar
  • 139
1 vote
1 answer
128 views

Automation framework for testing lamda on aws

Does anyone know how to test serverless lambda on aws? Basically, to get input and output file, but not with lambda console. So for architecture it is SQS from aws sending messages on lambda, and ...
Gaj Julije's user avatar

1 2
3
4 5
74