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.
3,047
questions
0
votes
4answers
70 views
What is the best way to learn Selenium Webdriver or any Automation tool in general? [closed]
I have purchased a Selenium automation course and practice sometimes as per the code shown in the lecture. But, i am going very slow and circling in basic topics like dropdowns, select tag, waits etc.
...
1
vote
1answer
36 views
Having trouble automating Android testing with Appium
I'm trying to automate Android testing using Appium. What I want to do is like:
My Test Suite:
Test case 1:
Starting from Activity A
Do something
Test case 2:
Starting from Activity A
Do something
...
0
votes
1answer
86 views
Selenium TestNG - java.lang.NullPointerException in automation testing
I am trying to test the login function to my android app. But it displays an exception error java.lang.NullPointerException.
Code as follows:
package tests;
import java.io.IOException;
import java....
1
vote
3answers
57 views
What is the use of Maven in Selenium WebDriver Automation Project?
Do we use Maven only to create dependencies in pom.xml file? Isn't there any other use of Maven in selenium project?
0
votes
1answer
31 views
How to generate Excel test report from Appium with mocha chai?
I would like to generate a simple test report in Excel.
My automation is using Appium with chai mocha, and successfully reports the results of my 2 test cases to the command line.
How can I send ...
2
votes
2answers
71 views
Is paid Apple Developer Account needed to run Selenium Appium Automation tests on real apple devices like iPhone or iPads?
So I am working on a project which comprises of the software web application, built on Python 3.7.
Currently, it supports pc and mac platforms only with various browsers, and we have automated it ...
0
votes
0answers
78 views
Problem with parallel testing (POM, python, selenium, pytest)
I have a dir named PageObjects, there is a file Login.py. It stocks all the locators of elements plus functions that I call in test cases. It looks like this:
class Login:
# Locators of all ...
2
votes
2answers
89 views
Who are some of the Test Automation experts that are well-known and respected in Software Industry? [closed]
I am a complete beginner in Test Automation and was looking for some world experts on this subject.
Could you list or refer to material of some of the best known experts in Automation industry who ...
1
vote
3answers
98 views
Automation running on a locked machine
I am fairly new to the automation scene and am looking for some advice. I've done Selenium development for about 2 years however, I just got a new job. Coming from a Selenium background, when running ...
1
vote
1answer
50 views
Is there any tool to determine if a test is flaky?
I'm thinking about new approach to include autotests to CI/CD pipeline and my thought is to determine if a test is flaky before they are in pipeline.
In this case an only way to do that is to
setup ...
13
votes
4answers
2k views
How can I make a smooth transition from being a Black-Box Tester to an expert Automation Engineer?
I have worked as a functional, black-box tester for over 8 years in the Software Industry. I am a skilled exploratory tester and have found a lot of critical problems in many products over the years.
...
0
votes
2answers
77 views
What are the things that one must consider while learning Selenium Webdriver Automation framework?
I am a newbie in Automated scripting using Selenium WebDriver with Java. Also, i have the most basic knowledge of core Java.
With tons of resources on the web for learning WebDriver, i am a bit ...
0
votes
2answers
53 views
How can I verify that saved data is displayed corrrectly using Selenium + C#?
<p class="details-info-block__text"><span class="details-info-block__label">Business Address 1:</span> 1010 Priority Way West Dr</p>
I want to verify the address value (e.g. "...
0
votes
1answer
120 views
How to resolve the “java.lang.nullpointerexception null value in entry url=null ” in Selenium(POM)
1.TestCommands.java
public class TestCommands {
public void click(By locator,WebDriver driver){
try {
WebElement element = driver.findElement(locator);
element.click(); ...
1
vote
1answer
16 views
In gradle 4.6, how to force all tests in a class gets executed first before moving to tests in next class?
I am using Gradle 4.6 with testng. My test suite has tests organized something like these.
java class1
{
test 1.1
test 1.2
test 1.3
test 1.4
}
java class2
java class3
java class4
java class5
All ...
0
votes
3answers
59 views
how to validate whole contents of the web table in selenium
How do i validate all column values based on technologies.
e.g For
Technology A - values should be 0 0 1
Technology B - Values should be 1 0 100
and so on.
My code looks something like this
str1 =...
0
votes
1answer
42 views
New error message 'A Java exception has occured' but code has not changed
When I try to execute selenium code in Eclipse, I get the error message 'A Java exception has occurred'. Last week the same code ran without issues.
I have done with configuration part,
when we try ...
1
vote
2answers
53 views
How to resolve 'Cannot convert from void to WebElement' error in Selenium
I am getting below error:
Error:
Type mismatch: cannot convert from void to WebElement.
CODE:
WebElement uploadElement = (driver.findElement(By.xpath("//input[@id='HorizontalLogoPath']"))).click(...
3
votes
2answers
76 views
How to add assertion for blank value?
Scenario: On clicking reset button value should disappear and the field that holds the value should reset to blank.
Approach: My approach is to get text or innerHtml from id =mapPropertyHighlighted ...
1
vote
1answer
38 views
IE 11 auto accepts the alert pop up
So I am on an edit page and when I click the cancel button to stay on the edit page the IE driver automatically accepts the leave page in alert pop up. I even added the IE capabilities saying:
...
13
votes
4answers
2k views
How long should a test wait to assume that the result remains fixed
We had a defect where in a situation the state of the application changed into something undesired. It has been fixed, we added a test:
Set up state
Action that triggered the wrong state change
Check ...
0
votes
0answers
39 views
JNLP file can harm ur computer warning of chrome using Selenium Java. Tried 3 options but none working
My goal is to download .jnlp file which is considered as a harmful file by chrome.
So, i have thought 2-3 solutions for this. I am using Chrome 76 version and i dont want to downgrade the chrome ...
3
votes
2answers
267 views
Locate Elements through Shadow DOM in Chrome Selenium?
I currently have an automation tool built using Python. Currently, the tool serves the custom application my company has built on Salesforce. Salesforce released a Winter 2020 version, and implemented ...
1
vote
1answer
59 views
Problem with dropdown (Selenium + Python)
URL = https://www.sephora.com/search?keyword=shaving
At the bottom of the page, I'm trying to change from "View 60" to "View All". The problem is that test case passed successfully, but the browser ...
5
votes
2answers
203 views
Actual Steps in Step Definition or Call Test Cases in Step Definition, What's the Best Practice?
I'm currently working on a Cucumber project using Katalon Studio, and I'm not sure if...
I need to directly write the test items on Step Definition file
OR
Should I call the test cases in Step ...
0
votes
1answer
50 views
TestNG with Eclipse : How to add main class?
How can i add main class in eclipse cucumber project. i am running cucumber feature file and using TestNG but getting error: "cannot find class in classpath" and as a resolution of this i am geeting ...
0
votes
1answer
54 views
Test if an API Service is available
I'm creating a test suite for a test that should check that a specific API Service is available. So I'm confused on exactly how I can check the availability of a service. Is it sufficient to only ...
4
votes
2answers
99 views
How can SDETs improve test script reading & understanding for complicated code bases?
Recently I decided to explore some open source projects. I think it's a good way to learn more that how experienced SDET/Test Architect approach in their design. I found myself a little overwhelmed by ...
-1
votes
1answer
105 views
Cannot upload files when running tests in docker Selenium_Hub, Selenium-Node-Chrome-Debug and a container w/ Mocha + Selenium-Webdriver (JS)
I am trying to run javascript mocha selenium-webdriver tests on my company's application using docker containers. I seem to have everything working except that I am unable to upload files. Prior to ...
0
votes
1answer
76 views
How to run automated selenium test scripts using C# in AWS Lambda and integrate them Amazon CI/CD pipeline
I have been give an task by a faculty member in which I have to run my selenium automation scripts written in C# using Visual Studio under the .Net Core on AWS Lambda and also I have been told to ...
-1
votes
1answer
15 views
Image Url Testing Through Jmeter
Please let me know how to resolve this issue i.e.
I want to test image urls(10,000 plus) through Jmeter, but jmeter showing 404 error also incase of correct image.
an example :
https://g-cdn.alwka....
0
votes
2answers
80 views
How can I test when app requires OTP via SMS?
I am using Selenium with Java to test a web application. The app requires a user to receive a One-Time Passcode (OTP) to authenticate they are who they say they are and to authorize several critical ...
0
votes
0answers
39 views
How do I deal with a Gmail CAPTCHA during automation? [duplicate]
My test suite involves me logging into a website with 4 specified social logins:
- MS Live
- Facebook
- LinkedIn
- Google
Now the problem is that many of these social logins sometimes give me a ...
-1
votes
2answers
33 views
How can I create a function of login test case in selenium web driver- python & how I can call it in other test case?
How I can create a function of the login test case in selenium web driver- python and how I can call it in other test cases?
basically I want to call my login test case in other test cases.
1
vote
1answer
22 views
Unable to get multiple browsers working with Chrome and IE Edge browsers
I am new to QA testing; I was practicing automating test case in TestNg but can't seem to get the cross browsers to work. The test keeps failing. It worked when it was just one browser. Any ...
0
votes
1answer
225 views
Permissions error trying to run Appium test on Android
I am not able to run my automation testing with Appium server using Eclipse with Selenium. The error I get is:
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to ...
1
vote
3answers
75 views
How to select option in a dropdown when the html-tag has a random id
I have a problem how to select a desired option (e.g. From, To...etc.) from list if 'datalist id' and 'select name' are randomly generated. This means that the ID and name has another value after ...
0
votes
1answer
22 views
How to get text from header having separator
How to fetch text for
<h1 _ngcontent-gtj-c13=""> Site-2
<span _ngcontent-gtj-c13="" class="seprator">|</span>
Building-1 <!----> </h1>
I have used attribute ...
1
vote
2answers
36 views
How to proceed after clicking a button and that navigates to another page in selenium [duplicate]
Exception in thread "main" org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@name='Name_First']"}
1
vote
1answer
28 views
Run Selenium test case in time interval from a console application c#
how to create a console app - a batch file which will hit my Automation testing application and runs selected test cases.
I have test case with code coverage and it runs from my visual studio . and ...
0
votes
4answers
44 views
Save variable from java test class 1 and use variable in java test class 2
I have written the Selenium scripts (page object model) to navigate a website, fill in form data, and submit the form. I next need to verify that the form data was indeed saved in the database.
My ...
1
vote
1answer
70 views
What tools will let me analyze automation reporting results?
I'm looking for a tool that stores the history of automated test runs performed on Jenkins and allows analysis to be performed to the desired level of detail.
Today we have several Jenkins jobs that ...
0
votes
0answers
12 views
Mobile Device with custom Bluetooth Devices
We are currently looking for a mobile test solution for our latest product.
Since the application is not standalone but works via a Bluetooth connection to
embedded hardware (smart textile) we are ...
0
votes
0answers
19 views
First API call in list has very low Apdex score? What should be done for the same in Jmeter?
Very first API call in list is very low Apdex score even that API is simple list from DB.
Due to that the overall average Apdex score is getting decreased.
For example, for login there are three ...
4
votes
4answers
126 views
What is best approach to run regression Automation in Agile
We are following agile methods in manual testing. We had not done any automation until sprint 10.
Our current sprint is 15.
After sprint 10, We started automation using Java, Maven, and Selenium ...
0
votes
1answer
23 views
Not able to create login 401 error on login authentication error https://cis-dev1.manageamerica.com/Account/LogOn [closed]
https://cis-dev1.manageamerica.com/Account/LogOn
User :- cis-dev
Password:- UiCD!s5s3ieQ
1
vote
0answers
37 views
Issue with switching to the new window in Selenium + Python (chromedriver)
I'm having an issue when I try to switch the new opened window. Every time I execute a test case, my chromedriver opens with a window named "data:,".
My code:
def test_case(self):
reg = Register(...
0
votes
1answer
51 views
Number of actors in E2E tests
We have roughly 30 Cucumber tests and a few actors that run these tests that have been created based on our service's personas.
Exemplifying this:
We have a C2C ecommerce platform and an user. Users ...
0
votes
1answer
16 views
Selenium Mac Salesforce
I am trying to automate to log in into salesforce account and after it logs in i want it to click on contact button but for some reason it wont, i even wrote a different function just for it to click ...
0
votes
2answers
51 views
How do I find total number of links on a web page using selenium and java 11?
package exsc;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.By;
public class S1 {
public static void main(String[] args) {
...