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
197 views

Is it possible to test Desktop Applications using Protractor directly or via a third party tool?

I have an application built over angular (new version) and WinForms (legacy) which needs to be automated for testing. I had identified selenium (WinAppDriver + NgWebDriver) as the possible tool for ...
3
votes
1answer
13k views

How to wait till all components are loaded in Cypress?

My Cypress test cases are working fine when I run from my system pointing to QA. But the scheduled builds from CI are failing randomly because sometimes the page is taking more time to load. I've ...
1
vote
1answer
1k views

How to implement Extent report in Cucumber using EventListener and Where to find documentation for this class

I was trying to implement a custom formatter using cucumber event listener but I was not able to get official documentation for this class. When I Googled i got the below link : https://www....
2
votes
1answer
519 views

How to fetch username and password from excel one by one to test login functionality in robot framework-selenium-python

I am trying to login to my application one by one using different credentials in robot framework-python-selenium but it is not working. Below is my code. Please suggest. Open Browser ${URL} chrome ...
6
votes
3answers
3k views

How to test if my application method handles HTTP status 404 of a REST API without actually calling that REST API

I am currently trying to automate some of the testing for my application using JUnit. My application has a method which calls a 3rd party REST API. I need to check if that method is handling HTTP ...
0
votes
0answers
52 views

Integration tests and data used in these tests

I read a lot about unit and integration tests and how they work with maven and java and how it works with Continuous Integration. I am using Flyway for db migrations, the schema part is already done. ...
5
votes
3answers
192 views

End to End tests on multiple build agents?

I am using Cypress for end-to-end testing on a Web App, and for some browsers I noticed slight changes in the output when changing the build agent. It is something that I didn't even consider before, ...
3
votes
5answers
134 views

How do I do mobile testing for a website?

I have already created automated test cases using selenium and java for desktop web testing. Is there a way for me to run the same tests on my personal mobile? Searching on google I find resources ...
-1
votes
1answer
72 views

Sikuli IDE syntax test report error

I just have a head start on Sikuli. I am not sure why I am getting an error. There is a double-click mismatch error. This is my sample code from sikuli import * import unittest import ...
0
votes
1answer
38 views

Is there any mocking framework available for blackbox testing of windows and mac apps?

We test a bunch of applications on windows, mac and mobile platforms. We use a tool called TPlan robot for our UI automation testing of those apps. Our testing is blackbox testing so there is no way ...
-1
votes
1answer
135 views

Test script failing due to “INTERNAL_SERVER_ERROR” , when I try to automate application. It run fine when test the same flow manually

I am using Java. I am trying to automate a scenario, where am trying to search all details of an ID, it works fine when I test the scenario manually. It fails when I automate the scenario. Note: I ...
0
votes
1answer
183 views

Automation testing for video chat web application upto 20 users?

I have a video conference web app for multiple users to login and chat . I want to automate below scenario by using selenium and Jmeter Scenario - test this application for max of 20 users login into ...
1
vote
2answers
3k views

JMeter - FileToString with relative file path to test plan?

I've got a JMeter POST request that has body data like below: ${__FileToString(/${json_request}.txt,,)} The json_request variable comes in from a CSV data set config, allowing me to iterate through ...
1
vote
1answer
455 views

Sikuli verification/assertion text image

It is possible to verify the text in image using sikuil plugin with java running on eclipse? I'm testing a scenario where i double click on a saved notepad, i should able to verify that the notepad ...
0
votes
0answers
83 views

What is your setup for running nightly automated web driver tests

There seem to be three predominant setups for running automated tests. The company invested in a selenium grid that is always available and the nightly tests run against them. The CI will build a ...
0
votes
1answer
19 views

Element draged but not droped in destnation

//drag. WebElement From=driver.findElement(By.xpath("//div[@id='settings']//div[2]")); Thread.sleep(3000); // drop. WebElement To=driver.findElement(By....
0
votes
1answer
41 views

Running sql query via automation tests in Visual studio vs SQL server management studio returns different results

I am running some database automation tests in C#.The results of the same sql query are different in visual studio(executed via automation tests) and SQ Server Management studio(Manually).The ...
2
votes
2answers
330 views

Unable to click on “Add Payment Method” button on Google Pay site

I am trying to click on "Add payment method" button under Payment Methods tab using selenium - https://pay.google.com/gp/w/home/paymentmethods Tried using xpath, className and cssSelector but looks ...
-1
votes
1answer
45 views

Efficient way to setup Jenkins for Automation Project

I have configured Jenkins server on windows computer. The systems has below configurations: OS : Windows 10 Processor : intel i3 processor RAM : 16GB 500GB hard disk The problem is recently the ...
0
votes
0answers
27 views

Automating POS application to do same action in different instances

I have a POS application that works in different client bases. I need to test if I generate a bill at the same time from two different locations, will it gets interchanged or any such anomalies. Is it ...
2
votes
2answers
40 views

If I intend to do automated tests in a project e.g. Cucumber, are unit tests needed e.g. JUnit?

It seems to me it's doing the same job twice, one with mocks and the other without them. Could anyone explain why it's right or wrong?
0
votes
0answers
77 views

UFT: How can I call a gui test with the result of an api test?

The result of the rest service returns me a url to download a file, I would need to use that url in a gui test to open it in the IE browser, can someone help me how to pass that parameter? My test ...
0
votes
1answer
936 views

How to do functional automation for websocket based application?

My Application Under Test is a WebSocket based application. I have to automate the functional scenarios but don't know how to do it or what tools to use. I have googled from my side and have found ...
0
votes
1answer
688 views

Error: Exception in thread “main” java.lang.NumberFormatException: For input string: “”

Scenario: I am using Selenium Java. I need to add items to the cart and calculate the total price of the items in the cart. Url: https://rahulshettyacademy.com/seleniumPractise/#/ Issue: My code is ...
2
votes
1answer
225 views

The instruction (Keys.ARROW_DOWN) is moving the cursor to the bottom of the dropdown list instead of the first option

Scenario: To search and select the first destination location that matches the input string using the below code. Code snippet: driver = new ChromeDriver(); driver.manage().timeouts()....
1
vote
1answer
591 views

How to select third tab on same class name by selenium python

I just jump into python programming. I couldn't solve this I tried to several ways This is target site <div class="base-components__BaseElement-sc-150tvch-0 sc-VigVT bJRDeW"> <ul role="...
2
votes
1answer
82 views

The value from the table is different using Xpath and CSS selectors

Test url=https://www.cricbuzz.com/live-cricket-scorecard/22585/aus-vs-nz-1st-odi-new-zealand-tour-of-australia-2020 I am trying to get the title of a table using the below code: Code snippet: ...
1
vote
3answers
91 views

Scope of testing in terms of cross browser testing and cross platform testing

I would need support from QA experts to define the scope of testing for the following requirements Cross browser testing - When we get a requirement to test a website developed in PHP and angular js. ...
0
votes
1answer
217 views

TESTNG, how to validates test case results to pass fail status [duplicate]

Need help, my question here is how can I code it such when the result is not expected testNG will display the test case as failure/fail? if the result is expected test case result is passed? very new ...
1
vote
2answers
277 views

where to put cypress tests?

I am new to Cypress and trying to find the best practices for where to store our tests. I see there seems to be plenty of resources for how to organize folders to setup fixtures, tests, plugins, etc. ...
3
votes
2answers
1k views

Test Automation for different user roles within an application - Selenium and C#

I was a developer a long time ago and have been tasked with our teams automated testing with Selenium and C# for our web application; Our application has many roles a user can be; such as an admin, ...
1
vote
0answers
589 views

Automation framework for gRPC services

Are there any automation frameworks on Java for gRPC services? For example, for functional testing of REST API could be used Rest-Assured framework. Probably, there are some framework for gRPC
1
vote
0answers
81 views

what is the difference between selectors and locators in selenium webdriver? [closed]

I want to know the names of different locators that are used in selenium web driver, what if someone asks me to write down the selectors and write them in order from fastest to slowest
1
vote
1answer
8k views

How to fix No internet/Internet not working for android emulator on windows 10?

Issue I am facing : I have created new AVD from Android Studio (AVD Manager) but the emulator does not have internet. I tried opening www.google.com still "No Internet Connection" displayed. If ...
8
votes
3answers
164 views

Rest API and resources validation from QA perspective

In the current project, let "toys" be the category and "gun" be the product. The ID for the toys category is 2 and ID for the gun product is 1. The URI for categories is /api/v1/categories/<...
0
votes
1answer
73 views

Selenium Is Unable To Locate A Web Element – C#

I get an error message on trying to run this code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TechTalk.SpecFlow; using ...
0
votes
0answers
147 views

Selenium - Unable to select the dropdown value inside shadow element

I am trying to select the drop-down value inside my shadow element using the below code, I went to the last point but the selection has not happened. I want to select any dropdown item from the screen ...
2
votes
2answers
595 views

REST Assured API | Why we use equalTo() while asserting body part of response?

When we assert our body part, we use the method equalTo() but while asserting for Header, we are just providing ("Key","value") pair only. Why can't we use just- body("scope&...
-1
votes
2answers
57 views

Free tool for Visual Testing / visual regression testing? [duplicate]

I have a localhost webapp (development) that requires a login to use and I would want to implement Visual Testing which for me means having a tool taking screenshots when I want and, as a plus, do the ...
2
votes
1answer
180 views

Appium-based framework for testing desktop app (not web)

Anyone had experience in automating desktop applications (not web)? I need an Appium-like solution to integrate it with my mobile automation (written on Appium, Java). Our company has a messenger ...
0
votes
1answer
96 views

Is there any possibility of semi-automated text execution in selenium? [duplicate]

Can one semi-automate the test execution, say there are certain things that we can`t do using selenium like captcha issue, so is it possible to start the script, perform some task manually and ...
4
votes
3answers
122 views

Automated tests in CI: same or different repo as SUT?

I'm currently writing API and UI automated tests for a website. My goal is to plug these tests in the CI workflow (Jenkins is used in this organization). The workflow would be: if there's a new commit ...
0
votes
0answers
26 views

A new (maybe?) idea about cooperation between development engineers and test engineers - is this feasible/good? [duplicate]

Suppose we want to develop a small module (time needed: two weeks of one developer). Then what about this new (maybe?) pipeline: The test engineer starts working: Think about all cases (including ...
3
votes
1answer
107 views

Isn't a name-mapping repository simply a shared object repository?

I am doing a research on automated software and the development of such. When thinking about automated testing it is required to have references of the UI present in your software, therefore one can ...
-2
votes
1answer
492 views

Merge Selenium projects [closed]

I need help about how to merge two projects into one in Selenium IDE tool for Google Chrome? For example, when I test a part of an application and my friend tests another part of the same application,...
3
votes
1answer
328 views

What is progression in test automation? What open source tool could be used to design automation framework for that?

I 've been working in automation for the last 8 years. Recently, I have come across the term "Progression" in test automation. I've learned basics but still, I am not sure how to implement this ...
0
votes
0answers
68 views

Triggering ALM test sets (UFT tests) in Jenkins Unix slave

We have a Jenkins Unix slave through which builds are scheduled in different testing environments. Objective: To schedule a job in Jenkins unix slave to trigger 2 ALM test sets (containing 30 UFT test ...
21
votes
15answers
4k views

Is it important to know manual testing before learning test automation?

Is it important to know manual testing before starting to learn how to do test automation? Test automation is a part of testing activity, so obviously you need to be aware of testing concepts and ...
-2
votes
1answer
111 views

Testcase Python Request: 405 Error despite not accepting the certificates

Details Currently I have the problem that I cannot accept the certificate on our test page. We use Python requests for our test cases and unittest from Python directly. We have also excluded the ...
2
votes
0answers
779 views

I have been struggling for more that a day to fix the Duplicate class given when running my android project for automation

Error: Duplicate class org.openqa.selenium.SearchContext found in modules jetified-java-client-7.3.0.jar (java-client-7.3.0.jar) and jetified-selenium-server-standalone-3.141.59.jar (selenium-server-...

1
4 5
6
7 8
68