Questions tagged [test-strategy]

A test strategy is the set of big-picture ideas embodying the overarching direction or design of a test effort.

Filter by
Sorted by
Tagged with
0 votes
2 answers
47 views

Is testing an API by payload comparison with a database query advisable at the end to end level?

I’ve recently joined a company who are rolling out an end to end API testing strategy based around explicitly verifying the payload returned against the database at the end to end level. The approach ...
  • 103
1 vote
5 answers
99 views

How to automate tests for sanitization of user input [closed]

I've checked what is sanitization of user inputs. And now I stuck with idea hot to automate tests for the sanitization of user inputs? I'm new about this topic.
1 vote
1 answer
53 views

How to Switch frame in Selenium java

I'm trying to switch frame to email body, but it's not working. I'm not able to switch frames. Expectation: I need to open yopmail and get a text from second email. Email - Secondemail1234@yopmail.com ...
  • 11
0 votes
1 answer
20 views

How do you handle CCPA Privacy Manager alert while running test cases in Selenium Webdriver/TestNG

When I run test cases in Selenium Webdriver or TestNG my test always fail. The reason being, I'm not able to handle an alert-like pop-up exclusive to California residents. Those of you in California ...
3 votes
7 answers
173 views

As professional tester what approach/techniques you personally use to find important bugs faster and early in test process?

Background: This is important in general for any testing but I think this is particularly more important in agile when a critical feature is on the line which needs to be released early for various ...
1 vote
2 answers
103 views

Jmeter Scenario: Users Login once - pause until all logged in and execute process (based on iterations not time) - processes complete users log out

I'm relatively new to Jmeter, but I have a scenario, that I've not been able to figure out where I need to perform the following: All user log in to application with a ramp-up period of 15 seconds ...
1 vote
1 answer
971 views

Selenium, Python: Write, click next page loop

I'm trying to learn selenium with python and have been trying to automate: Search of the next button on the page. Click on this button. Save each HTML page from the next page in a file. Repeat until ...
1 vote
1 answer
2k views

Run iPhone simulator with appiume but get xcodebuild failed with code 65 xcodebuild error message:

I'm using Appium to run an iPhone simulator and it's not working. I got the following error message: Failed to create session. An unknown server-side error occurred while processing the command. ...
  • 113
1 vote
5 answers
156 views

Is it possible to use Cypress for data validation?

I'm writing some end-to-end automated tests for a CRM-alike web application. One of the development team leaders is asking me to do something that I've never done before. The problem is that the data ...
  • 11
2 votes
3 answers
163 views

How to find a specific occurrence of a field that exists in multiple places (Xpath)?

I'm new to Xpath and I wanted to know if there was a way to inspect a specific element, that is repeated multiple times throughout the webpage. For this instance I want to inspect the specific span ...
0 votes
1 answer
210 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 ...
5 votes
1 answer
140 views

How to accelerate the release process by rethinking test automation

Background: web security company which was acquired by a bigger one. It was a startup with only manual testing, test automation started after the acquisition with a contractor team with mostly UI ...
  • 81
0 votes
0 answers
39 views

Test Strategy for the Reverse Sync process by using KAFKA

How can I test (Test Strategy) for the Reverse Sync process implemented by using KAFKA? Any inputs on this? Detailed Flow: The data from Database 2 will be published into the KAFKA topic via the ...
2 votes
0 answers
107 views

Cookie Banner is not shown [403 error]

I need help with the following scenario: In a website, OneTrust cookies are implemented. The cookies are from an external company. The cookie solution is implemented by including a couple of ...
  • 25
3 votes
2 answers
64 views

How to effectively test randomness in item ordering?

We have a function that introduces randomness in item ordering, e.g.: the order in which a number of given items are presented to a user is random For this scenario, there needs to be automated test,...
  • 9,810
2 votes
1 answer
29 views

Automatic network condition change for MacOS app manual testing

I'm testing MacOS app and it relies a lot on the network condition, because it is uploading a lot of files. I would like to simulate a network condition on my macbook, that automatically changes to ...
  • 21
5 votes
2 answers
83 views

Avoiding GUI test overload working on legacy systems

I'm currently tasked with automating a 10+ year old, and rather large application. There are no exposed APIs, it's built as a monolith. There are no unit tests, nor promise of unit tests to come. The ...
  • 111
1 vote
1 answer
37 views

How to handle dom using electron-vue

Problem : The boilerplate used electron-vue. The following code is part of the src/renderer/main.js file. const {BrowserWindow} = require('electron').remote const win = new BrowserWindow({...
3 votes
2 answers
171 views

Test Strategy Documents seem obsolete in agile teams. Am I wrong?

Test strategy documents are obsolete? Is Test Strategy document no longer relevant for testing in the 2020s? No one cares what it says, only that it exists to because some people want it. This ...
  • 53
6 votes
4 answers
884 views

No tests in the legacy project - what to start with as tester? [duplicate]

I've just joined a project, which is developed for internal use for over 10 years now. There are no unit tests nor any other manual/automated tests designed. I'm going to be the only tester. What ...
  • 79
1 vote
0 answers
120 views

Protractor file upload hanging after send keys on IE11. Works on Chrome/Firefox

I have a Protractor/Cucumber script, that successfully uploads a file on Chrome/Firefox. When I run the same script on IE11, then the website hangs with the file dialog box open and no file sent. The ...
2 votes
3 answers
629 views

File transfer test cases for different OS's

What are the cases for a test suite that verifies an app compiled to run on Mac/Unix/Windows10 does the job of copying files (not folders) from one place to another (not necessarily over a network). ...
  • 213
2 votes
2 answers
74 views

1 Repo vs 2: Test Framework Development For Multiplatform Native Applications Using Appium

This question is more of an attempt to gather opinions. I have automated multiple mobile applications, that existed as native apps on both iOS and Android. In these scenarios, my go-to pattern has ...
2 votes
1 answer
2k views

Install Root CA certificate in mobile to use JMETER Script Recorder but showing No internet connection while running the mobile application

I'm using the JMeter for recording API logs through HTTP(S) Script Recorder and I have also installed the ApacheJMeterTemporaryRootCA certificate in the mobile and set the WiFi setting in manual ...
  • 150
2 votes
3 answers
122 views

Automation of Functional Testing across all browser

This answer Will the DOM structure vary for same HTML based on the browser made me think that if DOM renders the same for all browser then why do I need cross-browser functional testing. For example, ...
  • 697
2 votes
1 answer
158 views

JMeter - How can I check mail count in gmail box thread by thread

I'd like to connect gmail server before user thread group, and I wanna open inbox and check mail count in every user interaction. Connect gmail ones Check registration emails many times (100, 1000) ...
4 votes
3 answers
374 views

Difference between test strategy and test plan

I have read several posts on test plan and test strategy. According to them the main difference between these they tell is that test strategy is static in nature while test plan is dynamic and can ...
  • 494
3 votes
1 answer
69 views

How to set up a mobile testing lab for physical parallel execution on Android phones

I need to set up a physical mobile testing lab mainly for Android devices. I have to run test on 100 Android devices in parallel, I will be using Appium with TestNG framework. Please someone guide me ...
3 votes
2 answers
136 views

Solution for the parallel execution of tests that verify email

I have a test, that reads Auth Code from mailbox and uses it to log in. I use Gmail API for that. I would like to have several such tests, that will run in parallel. However, I don't know, how to ...
0 votes
1 answer
245 views

Test Plan/Strategy of an application which has API +DB

I have faced this question numerous times during interviews. Given a simple application diagram (like below) how would you test it or what will be your test plan or test strategy. I know it is a very ...
  • 159
2 votes
1 answer
1k views

testNG, Java: How to combine a few Data Providers in one test?

In the provided test I need to read the data from the cell in Excel and it works. I would also like to add the functionality to store the price of the product in another cell in the Excel. I've split, ...
  • 317
0 votes
1 answer
484 views

Find element in multi layer pages for single website

I want to scrape this marketplace data https://www.tokopedia.com/search?st=shop&q=dapur but to get the data, that I want, I must go through pass some layers in the page. In this case this web have ...
3 votes
2 answers
3k views

Get class name of the calling class

I needed to get a class name from my calling class. I will not make too much confusion. I have 3 classes. Class A{ //do something } Class B extends Class A { @Test(dataProvider = "dp&...
2 votes
2 answers
13k views

Find button class with Selenium on Python

I scrapping the marketplace from this URL https://www.tokopedia.com/sunxin I want to get the data from the button called Info Toko, if user click this will shown a pop up content: The original source ...
2 votes
1 answer
207 views

Selenium Dataprovider returns a NegativeArrayException when called from different class

I have an excel, which contains multiple worksheets in it. Each worksheet contains multiple columns. I have a class like this. public class dptwo extends dpone { @Test(dataProviderClass = testdp.class,...
5 votes
4 answers
342 views

How to track which stories / functionality in an agile project have automation test coverage?

I'm a developer trying to find some guidance for the testers on our team. Our strategy regarding selenium automation testing has been rocky to this point. (A .NET project for context). We started off ...
  • 159
1 vote
1 answer
3k views

Selenium thinks button is clickable even when disabled

I'm having an issue where Selenium is saying a button is clickable even, when it's disabled. I'm using Selenium with a website, where you have to select a date 1st and then time slot from a drop-down ...
  • 113
3 votes
2 answers
57 views

Is there an app that allows me to login to and manage multiple IE sessions under different user accounts?

I’m testing an intranet web app on IE11 and need to open about 8 browsers, each under a different login ID. It’s hard to navigate through 6-8 separate IE windows so I was wondering if there’s an app, ...
  • 31
2 votes
5 answers
2k views

Documentation which is used while onboarding new Tester

What do you call a document which is created to help new Tester in a team to understand the product/Application?
1 vote
0 answers
2k views

pytest one time teardown after all tests in all modules have run

I have a directory with a bunch of modules. Each module has a bunch of specific tests. I know how to teardown after methods, classes and modules. What am trying to do is teardown after all the tests ...
  • 161
3 votes
1 answer
48 views

Knowing the defect (mitigating false positives)

During testing, there are areas you need to be sure are covered before you are sure you found a bug: technology (are you sure you are understanding the technology behind the AUT - how stuff works) ...
  • 4,119
-2 votes
1 answer
104 views

A standalone framework for testing multiple products/services or individual frameworks per product/service?

I'd like to know what advantages/disadvantages to testing a range of different sites, applications or services using a single, standalone framework? Let's say that some of these sites combine to form ...
  • 97
1 vote
1 answer
138 views

Modern Selenium library to pick

I have been doing Selenium automation around 2013 - 2014. By that time there were only 2 bindings available (or maybe I knew only about 2) - Java and C#. I remember I would have to write so much code ...
12 votes
12 answers
7k views

How do I execute/test a large set of test cases with limited time and resources?

We have a large set of test cases but limited time and resources to execute/test them all. We thought but it's not possible to execute/test everything. I want to know strategies which will be ...
  • 1,815
0 votes
3 answers
325 views

Which document is used for post deployment and what is its name/content?

Which document is used for post deployment or what is the name of that document. And what things does this document include?
5 votes
3 answers
156 views

How to automate tests for a fancy web site

I am going to take up the responsibility of automating an in-house "Media" website that looks really fancy and has more than 50 elements per page. But being from "industrial and data-center network" ...
  • 61
17 votes
6 answers
5k views

Writing test automation in Java, while the company domain uses C#/.NET

I´ve recently got a job as a automation tester in a company, that basically only have manual testers (except me). The short term plan is to come up with a good test strategy for identifying which of ...
5 votes
4 answers
2k views

Strategies for discovering undocumented API

Inspired by this question: How to approach API testing. The first point of a checklist in the above question is "API Endpoints". But, what to do when you don't have the endpoints documented because ...
  • 4,119
3 votes
2 answers
93 views

How to Automatically Test Statistic Data Which is not Aggregated in Real Time

I want to write automated e2e / functional / acceptance tests for a statistic service which calculates the numbers only once a day. For the tests I need to make sure that I know which numbers the ...
0 votes
3 answers
131 views

How can I test some feature in all major mobile devices(android, apple etc) in minimal amount of time?

Someone asked me what strategy will you follow to test some important features of your application before prod release so that it will work on almost all the mobile devices? I gave Suggestions like: ...