Skip to main content

All Questions

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

Login Integration Testing Good and Bad Password

I am writing Cypress Integration Test for UpdatePassword. One reason I wanted one whole test: We had a minor bug before, when the user enters a bad password, and then fixes it up, the Submit Button ...
mattsmith5's user avatar
33 votes
15 answers
14k views

What's the difference between a good test and a bad test?

Please don't burn me for this simple question. I know, it may be very simple but for me it's complicated. "A Good Test" or "A Bad Test" - every tester comes across these two terms. Sometimes it ...
Nitin Rastogi's user avatar
3 votes
1 answer
8k views

Playwright: Storing an element selector in variable

This might be a trivial question/answer, however I would like to know if there is a way that I could store an element locator in a variable and then reuse it same as it while working with Selenium and ...
Automation_Padawan's user avatar
1 vote
0 answers
27 views

Integration project automation and test strategy

I recently joined a company and will be working on an integration project. The Dev team will be building a solution to replace Excel spreadsheets. Data from multiple spreadsheets will now be displayed ...
C.Me's user avatar
  • 21
33 votes
12 answers
9k views

How to explain the concept of test automation to a team that only knows manual testing?

I have been working as a QA in our 9 developer team for about a year. Had lots of 'firsts' within the year between personal and professional life. I replaced a QA who only did manual testing and ...
Marj's user avatar
  • 1,357
1 vote
1 answer
724 views

Is it a good design to use a single Webdriver instance in Base Class and then each Page Object class inherits the driver instance in Cucumber Steps?

Im using Cucumber BDD framework with Selenium+Java. Now, I have made on BaseClass.Java in which i declare on public static WebDriver driver; Now, in my .feature file i have many scenarios and in each ...
matt938's user avatar
  • 11
0 votes
1 answer
35 views

To Cucumber(or other bdd) or not to Cucumber when automating api tests?

I want to know you’re opinion about your experience with Cucumber when automating api tests. Would you recommend it in all cases? I’m dealing with a very complex endpoint(complex request/response) and ...
Thea's user avatar
  • 29
3 votes
5 answers
133 views

How can I get enough time for unit testing as a developer

I'm always being pushed for feature development and then held to dates that don't give enough time for writing unit tests. What practices can I use to be a better advocate for getting unit tests ...
Michael Durrant's user avatar
0 votes
1 answer
77 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
4 answers
537 views

Selenium Locators are not working for this site?

public class LoginPage { WebDriver driver; @FindBy(xpath = "//input[contains(@class,'oxd-input') and @name='username']") private WebElement userName; @FindBy(xpath = "...
harry234's user avatar
0 votes
0 answers
22 views

Regarding Google Playstore Automation

I have this project where I have to automate the Play Store using Java and Appium. Problem: The problem I am facing is, that it seems like the buttons in the Play Store are changing their id's ...
Python Samurai's user avatar
0 votes
1 answer
150 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
3 answers
2k views

Selenium driver for web app testing on chrome in incognito windows

So I am trying to use a selenium web driver extension on chrome to record a web application test on a chrome browser that is in an incognito mode. How do you run a test on a web application in an ...
Temmy's user avatar
  • 1
0 votes
1 answer
9k views

How to select li element using Selenium in Python

I am trying to automate something on shopify, and depending on what the variable (lets say x) is, I want it to go into that list. For example, if x=2, then from that ul/li(list), how can I make it ...
rapzo hack's user avatar
2 votes
5 answers
650 views

Test Strategy Documentation for test automation

What are the main points that should be included in a test strategy test automation document for a particular project? I'm not looking at details but more of a high level overview. I've found that ...
Mornon's user avatar
  • 1,117
33 votes
7 answers
22k views

What makes a good selenium locator?

When automating UI tests with Selenium, it is often not absolutely clear what method and what locator to use to locate an element. Some locators are less reliable, less readable than others. And, ...
alecxe's user avatar
  • 11.4k
0 votes
2 answers
807 views

Cypress.js : How to change default path for your e2e tests?

in v13.3.0, after you install Cypress.js into your repo, it creates these four default directories: /cypress/e2e /cypress/fixtures /cypress/support /cypress/downloads the first one is where it ...
secretAgent's user avatar
1 vote
4 answers
566 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.
Maryum Khan's user avatar
17 votes
6 answers
6k 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 ...
user1892117's user avatar
59 votes
18 answers
10k views

What are some tools for testing Mobile web apps?

I'm thinking along the lines of a Firebug for the iPhone/iPad/Android/BB that can truly give more insight on the markup/scripts. Even when testing on the simulator/device, it's hard to truly simulate ...
0 votes
1 answer
752 views

Unable to locate pseudo element using javascript executor in Selenium JAVA

I am currently having issues with locating an pseudo element for a web page. I have checked other articles to use javascript and tried but it still isnt getting it. Below is a screenshot of what the ...
bugsy5923's user avatar
36 votes
17 answers
46k views

What programming languages are good for novice testers to learn?

I'm looking for a programming language to recommend to a friend considering teaching herself software testing. I have a friend who is interested in learning software testing, and I believe strongly ...
Ethel Evans's user avatar
  • 5,410
-1 votes
1 answer
564 views

getting this error AssertionError: expected undefined to deeply equal 'open_group'

const jsonData = pm.response.json(); pm.test("Status code is 200", function () { pm.response.to.have.status(200); }) //each month on the payment day, next_cycle is updated pm.test("...
user57151's user avatar
0 votes
1 answer
2k views

How to get link from web element without actual download using Selenium Python?

I have multiple link on webpage with button. I wanted to validate and ensure all link are working. Do not want to download each file and wait till gets finished. After successful download to check ...
Narendra Chandratre's user avatar
1 vote
0 answers
501 views

How can we validate the response body using Tests in postman

Request Body { "StudentInfo":{ "Student":[ { "StudentId":"001" } } } Response Body { "Studentinfo":{ "Student":[ { "StudentId":&...
user55898's user avatar
0 votes
0 answers
18 views

How to fetch latest commits in only specific project/folder in Git repository using eGit eclipse plugin?

I have a Git repository and have created multiple projects under that repo. Now, I have all those projects under an Eclipse workspace. The issue is that when I fetch latest commits from origin, it ...
kunal22's user avatar
23 votes
16 answers
7k views

Manual testing is better than Automation testing. Is that true?

With manual testing, you don't need to buy software automation tools or write scripts. Automated tests are robotic and don’t necessarily act as a real would user. On the other hand, manual testing ...
Kaushal Patel's user avatar
0 votes
1 answer
1k views

How to assign defined keyword as value of variable in Robot Framework? How to run a Variable as Keyword?

I'm currently using Robot Framework for creating UI automation for our project. And I would like to know how to assign defined keyword as a variable value and how to run variable as keyword?
Oelyu09's user avatar
-2 votes
1 answer
4k views

Getting javascript error: element is not defined

I am trying to verify carousel has auto flash and manual selection options. For manual option I checked the slick dots are clickable. For auto flash option I am checking the style animate-repeate is ...
Darshani Kaushalya's user avatar
1 vote
1 answer
912 views

Error while testing android device using appium and selenium

I get this error and cannot start the device: java.lang.reflect.InvocationTargetException Unable to create a new remote session. Please check the server log for more details. Original error: An ...
sahar's user avatar
  • 11
-1 votes
1 answer
2k views

Cypress API testing : How to login and then use the auth token in another test?

How can I access the token generated from 1st it block to 2nd it block. here is the code: 1st it block it('Login using new user', () => { cy.api({ method: "POST", ...
Jimmy's user avatar
  • 111
0 votes
1 answer
872 views

Appium-Could not find ''apksigner.jar''

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown ...
Rana Hamza's user avatar
14 votes
6 answers
14k views

AI Driven Testing (AI-DT) open source tools

I am new to AI Driven Testing (AI-DT). I've explored few tools like testim.io, endtest.io. Is any other open source tools are there to achieve this?
Bhavani's user avatar
  • 724
2 votes
4 answers
3k views

Playwright: Implementing Page Object Patter into Framework

Recently I have been asking questions regarding Playwright and so far the community has been very helpful. I hope that my question and answers provided will be in use for people who are just starting ...
Automation_Padawan's user avatar
0 votes
2 answers
272 views

how to automate a date picker that not in a table tag

I want to automate that starting date and end date but in DOM I can't find a Table tag for date picker so I don't know how to locate the field. The tag is <input class="inputvd" type=&...
Anish subramanian's user avatar
51 votes
12 answers
3k views

Building "slow to break" regression tests

I need to build a lot of regression tests for our product at work and I plan on using Selenium. I am concerned about building tests that will become quickly outdated and broken based on the fast pace ...
Mike Grace's user avatar
0 votes
2 answers
251 views

How to run java+selenium method continuously?

There is a functionality like in sometimes one of modal pops up and there is a button on it. If the modal pops up user needs to click on that button. This is a continuous process and I need to ...
Rush910's user avatar
  • 137
0 votes
3 answers
2k views

Allure vs extent report for Rest Assured API testing?

This may sound like an easy question, but it is never easy to choose (I like when I have one option). In API testing I will have 20 000 test cases, and they will perform relatively fast. Also I know, ...
Gaj Julije's user avatar
0 votes
1 answer
452 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 ...
cw84's user avatar
  • 103
4 votes
1 answer
13k views

Playwright: Printing Console Logs each time when one of the test fails

I am working with Playwright, Mocha and Chai for my automation project and I was wondering if there is a way for capturing all console logs that appear during a failed automation test execution. ...
Automation_Padawan's user avatar
0 votes
1 answer
130 views

What should be in a base page object?

When building an automation framework some examples I see use a "Base Page" object that all other Page Objects derive from. Typically these include a default constructor passing whatever ...
Mercfh's user avatar
  • 1,720
4 votes
6 answers
997 views

Is security testing the sole responsibility of testers or part of a mixed team?

Details: The well-known differences between API/GUI i.e. Functional Test are clearly defined. However, I ask myself the question: Does security testing belong in the focus of testers at all? Or ...
Mornon's user avatar
  • 1,117
1 vote
0 answers
159 views

list the cyphers of a tls client

So, I have to test that client that connects to an HTTPS server, and ensure it offer the listed cyphersuites during the tls handshake. But I'm finding no way to start a server and have it tell me what ...
Spoutnik16's user avatar
1 vote
3 answers
698 views

Starting testing from scratch in existing software project

The question is: "How to implement testing from scratch? How to structure things?" I have taken the position of Head of QA in a start-up company. The situation is that they have a software ...
veryqaguy's user avatar
2 votes
7 answers
842 views

Should you create a manual test script before automating it?

Is it best to first create a manual test script for a newly developed feature and then automate it? and then link them up for tracking purposes? Or it's not necessary to create an automated test ...
Shavaiz Safdar's user avatar
25 votes
7 answers
9k views

Mobile automation: Boss wants 100% coverage. How feasible is that?

Just started a new mobile automation role using react native for iOS. I'm not new to automation, but I am new to React Native (with detox and jest). The learning curve is slow, but we are getting ...
fypnlp's user avatar
  • 437
-1 votes
1 answer
516 views

Is it mandatory to return a PageObject instance in every Page Object save/submit method?

In the Page Object model, we separate page UI elements and Test methods. However, there is a concept of Page chaining, in which we return an object on the next Page Object in the previous page object ...
abhi235's user avatar
1 vote
2 answers
82 views

Is this way to automated test for php upgrade feasible?

We are upgrading from php 7 to php 8 on our backend. There is a smoke-test automation in place to verify the expected functionaly. I am thinking if it is feasible to read our php code base and look ...
Yu Zhang's user avatar
  • 9,942
1 vote
1 answer
5k 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. ...
Max's user avatar
  • 113
2 votes
1 answer
535 views

How to solve Mouse over error in Selenium IDE Script Recording

I'm new to Selenium. Currently, I'm trying to automate the testing process of a React Django-based app using Selenium script recording in Selenium IDE. I'm facing repeated issues with mouse click ...
Flint_Lockwood's user avatar

1 2
3
4 5
78