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
1answer
14 views

Setup of Test automation framework from scratch using NUnit and Specflow and RestSharp and selenium with Visual Studio 2017 C#

We have so many API's(5 to 8 API calls - Mostly REST based and 1 or 2 in SOAP based) and Oracle DB. We do not have any WEB UI. No UI automation.Only middle tier and backend automation. For automation ...
0
votes
1answer
17 views

How can I handle the chrome Http Authentication popup window in selenium without AutoIT?

I have tried https://{USERNAME}:{PASSWORD}@xyz.com pattern to authenticate URL but it doesn't work for me. Can someone suggest me the best way to handle chrome HTTP authentication popup?
1
vote
2answers
48 views

How to combine exploratory testing with test automation creatively?

Background :There is an definite value in automating test execution of scripted tests to catch regression defects. On the other hand there is an tremendous value in exploratory testing and going ...
0
votes
2answers
21 views

How to rerun failed test from where they instead of from beginning? (TestNG)

Is there any way to re run the failed testcase from the page where it got failed instead of running the testcase from beginning in Selenium Java ?
4
votes
1answer
54 views

PoM Design/Architecture questions

Apologies if this is an improper question, as it's actually a multi-part question (But it seems like unnecessary clogging of the site to make multiple posts). Im writing my first PoM framework, it's ...
-1
votes
1answer
31 views

How to test the difference between fastjson and gson in serialization and deserialization [on hold]

The project uses Gson to replace Fastjson. These two packages have some differences in serialization and deserialization. As a software test engineer, how do I perform regression testing?
-2
votes
0answers
18 views

How do I set up test stages for a Magento Cloud environment?

My current project is about planning a test project environment in the Magento Cloud environment. Of course, the Magento Cloud offers the possibility to create other stages from the master. Is the ...
0
votes
1answer
16 views

Waiting for Masonry grid layout to be ready, before clicking button

Our app uses Masonry grid layout. After page_A opens, the tiles keep moving for a second or two. The test case is: open the page_A and click on the button which opens page_B. While clicking the ...
0
votes
2answers
64 views

Selenium Webdriver sendKeys method sending value twice

I have 6 selenium tests (TestNG) running on chrome and firefox (both up to date versions) which connect to Browser stack to run. the problem is that 1 of the test fails intermittently on Chrome as ...
1
vote
1answer
30 views

Not able to verify the downloaded file with Chrome WebDriver running headless

We are trying to verify the downloaded file in headless mode with C#, the file is downloading but not saving in the download path, so my test script is failing. Any idea for this? The code is below ...
-2
votes
0answers
25 views

Im trying to search a product on Amazon (example: macbook pro), scroll down and store the price, how do I do so? [closed]

I have completed the first initial steps to automate this under java selenium. Navigate to amazon, search the product, enter the search, scroll, but I am having trouble with this final step, and ...
1
vote
1answer
59 views

Invalid Session id (Connect Failure) randomly when running automated tests

I've been new to automated test creation and have been dipping my hands on it recently. Every test seems to be running successfully individually except whenever I run them all together sequentially, ...
0
votes
1answer
38 views

Does the test and test tooling differ from Magento to other test tools or solutions?

I am on my way to one of my next Magento projects. Currently there is no test environment, no test days, no concepts or test plans. Even a team has to be set up first. I have already worked a lot in ...
1
vote
1answer
35 views

Is there a way where we can call methods from .so file directly in robot framework?

I have a c++ code which upon build gives me .so file. I want to use the methods from that .so file into my robot framework. Any suggestions please.
0
votes
0answers
43 views

Need Suggestions: Setting up QA software automation for autonomous vehicles

I need some inputs how to setup QA software automation infrastructure for testing the build programs for autonomous vehicles. The idea is to bring in automation frameworks to validate modules, ...
0
votes
4answers
66 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
33 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
65 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....
0
votes
2answers
39 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?
-1
votes
1answer
27 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
56 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
73 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
84 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
67 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
48 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
75 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
61 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
14 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
48 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
40 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
47 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
74 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
36 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
27 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
125 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
188 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
39 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
45 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
96 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
64 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
43 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
59 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
36 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
32 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 ...