All Questions
3,874 questions
1
vote
1
answer
889
views
Can not sendKey to hidden element
I'm practicing to interact with element (nopCommerce domain).
But encountered some problems, when trying to perform sendKey to an invisible element.
This is an input field of product tags, which ...
0
votes
2
answers
425
views
Xpath problem- cant locate the class
@When("I click on sign in again")
public void i_click_on_sign_in_again() {
WebElement signin1 = driver.findElement(By.xpath("//a[@class='uitk-button uitk-button-medium uitk-...
2
votes
1
answer
280
views
Scrollbar value returns false even though it is present
I have a pop up which enables a scroll bar depending on the element count it contains. Right now there are more than two elements and scroll bar is present.
Below is my html view of the pop up.
<...
-1
votes
1
answer
5k
views
Python + VS Code: ModuleNotFoundError: No module named ' ' occur
Facing issue with error :
ModuleNotFoundError: No module named 'selenium'
Basically, Error is not specific to module 'selenium'. Facing this issue in VS Code even when, I have selenium installed for ...
0
votes
2
answers
136
views
Properly manage regression testing as an interface between different testing teams
Baseline:
We work in a Safe-Scrum environment with a large number of different teams, and here also correspondingly different test teams.
We have different test cases from different teams, which are ...
1
vote
0
answers
614
views
Unable to scroll into view of an element in iOS with Appium & Webdriverio
i'm trying to scroll into an element but the the current code scrolls all the way to the bottom of the page, i have inserted the element name within the code but it doesn't seem to work.
const ...
0
votes
1
answer
400
views
How can I format the current date and time and then use them in a variable in GoTest?
I use the keyword...
get date
But I have a date with the format like this
Sun May 11,2014 9:60 p.m.
I need to convert it in to this format 2014.05.11.09.60.60.321 I tried to put this yyyy.MM.dd.HH.mm....
0
votes
1
answer
478
views
Selenium : webdriver.Chorme() function problems
I have difficulties in finding a solution, can you help me?
This is the code text:
from selenium import webdriver
web = webdriver.Chrome("C:\ Users\giova\Desktop\chromedriver.exe")
web.get(&...
0
votes
1
answer
2k
views
How to get specific data in a div with Selenium?
Let's say this website has frequently changed data (stores). I am also only interested in certain stores from my list. How do I get all the data of the first store from the top and from my list?
I was ...
2
votes
1
answer
234
views
Selenium Webdriver : Trying to get text, but specific class present
Kindly find attached the html code of the section in question
I use the following code and managed to get the text for Status
successMessage = driver.findElement(By.xpath("//span[@class='status-...
0
votes
1
answer
7k
views
Cannot invoke "org.openqa.selenium.SearchContext.findElement(org.openqa.selenium.By)" because "this.searchContext" is null error
I am trying to verify a functionality as a guest user and logged in user. In order to do that I log out form the system and verify the guest user actions then login again and verify logged in user ...
0
votes
1
answer
137
views
Element is not clicked even after explicit wait
I am trying to verify default selected value of a dropdown.
<div class="p-3 p-md-4 mt-4 mt-md-4 card"><div class="row"><div class="d-flex align-items-center col-...
2
votes
1
answer
293
views
Verifying scrollbar is present script fails
I'm trying to check whether a scrollbar is present when there are more than 2 elements in a pop up.
Here is the HTML code for the div which enables the scroll bar if when there are more than 2 ...
1
vote
3
answers
215
views
Difference between Test Coverage AND code coverage?
My team asked me to measure the Test coverage percentage via a tool i choose ( how many tests from the app features are covered by automated testing ) , so i added the gitlab coverage badge and now i ...
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?
0
votes
2
answers
587
views
Button click was not performed even though element was found
I'm trying to click below button.
<button class="MuiButtonBase-root MuiButton-root jss47 jss58 MuiButton-contained jss48 jss59 MuiButton-containedPrimary MuiButton-disableElevation" ...
-1
votes
1
answer
142
views
Looking for Javascript coding challenge Websites. Can you guys help?
I really need to improve my JS coding (currently learning ES6) as it would be great for my automation Testing. I would like to take a daily coding challenge (min 30 days) but I'm having difficulty ...
0
votes
1
answer
326
views
Fixed storage paths for Selenium screenshots or logs possible?
Details:
Currently I use Python 3.10 and Selenium. I used here in the area of functional testing here in particular UI Testing accordingly also Selenium screenshots. But since I work on different ...
1
vote
2
answers
450
views
Getting value from data-value (webdriver selenium / java)
I have the following HTML code
<div class="mbsc-sc-whl-c" style="height:40px;margin-top:-21px;">
<div class="mbsc-sc-whl-sc" style="top: 0px; transform: ...
0
votes
1
answer
86
views
Different boolean results for same scenario - selenium java
I'm trying to verify whether profile image is present after uploading an image. Image uploads successfully. I have try to verify image with two different ways.
profileImage= driver.findElement(By....
0
votes
1
answer
455
views
Return always false as using isSelected() in Selenium Webdriver java
I'm trying to use isSelected() method on Amazon website.
I'm trying to tick the check-box of item filter and then read the status of check-box by isSelected() but it always returns false message.
...
0
votes
2
answers
228
views
How to test a huge list of domains redirect to HTTPS?
I have got a huge list of domains/URLs (about a 1000). The task is to test if each one of them, if accessed with http://domain.com then it redirects to https://domain.com.
All the domains that do not ...
0
votes
1
answer
2k
views
How to set cypress to automatically detect proxy for automated executions?
I have a cypress test and its not loading the website properly. When I manually open the website using chrome, the website is working ok. Also I can find that my chrome proxy setting is set as "...
8
votes
8
answers
4k
views
Are there specific coding guidelines for test automation?
Details
Currently we are trying to find more ways to write better code. Of course, this does not exclude our automated test cases. We are already testing in the dev environment with SonarCube and ...
0
votes
2
answers
130
views
can we test GUI and a network protocol (SNMP) using selenium?
I have to test a website using Selenium.
This website is a graphical user interface for controlling a device and to shows data from that device.
This device is using SNMP which is used to give an ...
0
votes
1
answer
552
views
Automating test for VoIP webapp?
Our Web App is a call center app. One of the key functions of our Web App is to make VoIP call and then do post call processings. But we can't find a tool/way to do automate testing, which involves ...
0
votes
1
answer
445
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 ...
0
votes
1
answer
172
views
Can we write a part of a test with Selenium IDE and the other part with WebDriver and combine the two into one test?
I am new to selenium and am wondering if we can combine both Selenium IDE and WebDriver and write one test.
What I mean to ask is, can we use Selenium IDE for the easy tasks that we want to test and ...
0
votes
1
answer
56
views
Is it possible to run automatic performance regression tests based on load and performance monitoring?
Baseline:
In our team, we want to emulate certain high loads in production over and over again as a kind of load and performance regression, so to speak. Within one test stage.
We use Datadog for ...
0
votes
1
answer
287
views
Measurement of APIs load and performance within a Cucumber test case possible?
Baseline:
Currently, within a Java environment and Maven integration, we use Cucumber for our API testing procedures inside Junit Test.
This is also well implemented and accordingly everything works.
...
0
votes
1
answer
73
views
How to justify the expense of automation tools?
Question:
How do companies afford Tosca? How do testers and QA teams justify the expense to their managers/company?
Background:
The only testing software I've used is Selenium; for online app testing. ...
1
vote
1
answer
158
views
Automation framework for testing lamda on aws
Does anyone know how to test serverless lambda on aws?
Basically, to get input and output file, but not with lambda console.
So for architecture it is SQS from aws sending messages on lambda, and ...
-1
votes
3
answers
831
views
Not able to select value from drop down menu
https://demo.guru99.com/test/newtours/register.php
I was trying to automate the drop down country menu on this page but am unable to select any value from the drop down.
Eclipse is throwing the ...
19
votes
5
answers
7k
views
How to push people to use automatic tests?
I am a test automation engineer.
My main work is to automate UI tests for projects. My tests are suppose to be launch after every release in "qualification", "pre production" and &...
0
votes
1
answer
138
views
How do i get rid of duplicated local variables
I have a multiple drop-downs and need to automate them.
I added the code below, how do I add them in one step?
or
make it easier
or
how do I add them in one function?
I'm using eclipse and TestNG ...
0
votes
0
answers
50
views
Not able to see web element when I navigate to page using Automation
I have a web page which displays a new contact creation button. When I try to navigate to a page through automation, I can not see that button. When I login to site manually and navigate to same page, ...
-1
votes
1
answer
67
views
Exhaustive Resources on Concrete, Advanced test automation practices
Answer posted at the end of this post
Disclaimer
This topic might violate the general rule about how to ask questions. But I'm very sure its answers will add great value and hope the question will ...
-1
votes
1
answer
65
views
Estimation time for sub tasks [closed]
I need to know how to estimate the time needed to complete a QC subtasks in user stories. I’ve read many articles regarding the estimation of time but they were no help in applying them in real life, ...
3
votes
2
answers
6k
views
Selenium + Java: Unable to close Advertisement in webpage
Issue I am facing:
After this step: driver.findElement(By.linkText("New Customer")).click(); an advertisement window opens and script stops here. I'm unable to close the advertisement and ...
1
vote
1
answer
717
views
What application types are supported by winappdriver
I have application which has extension as .msc, I tried it with python
I also ran winappdriver before executing this script. I have seen demo codes on some blogs which uses .exe file extension for the ...
0
votes
1
answer
56
views
One Tests or Multiple Separate Test Automation BDD
How the system works (UI)
Registration Form > Redirect to Another Page with Products (based on the submitted in the registration form)
(backend)
API will check the validity > Valid or not it ...
-1
votes
2
answers
98
views
How to automatically test mobile device and desktop website connections?
We know that Appium can be used to test mobile device applications. We know that Selenium can be used to test PC desktop websites. We want to know how to test the connections between mobile apps and ...
2
votes
2
answers
546
views
Gherkin: When is appropriate to use the 'background'?
My colleague and I are having a debate about when its appropriate to use the 'background' keyword.
the test scenario is to confirm that the correct country codes appear when you enter a telephone ...
1
vote
4
answers
81
views
How to share responsibility for pipeline tests across multiple teams
We have three teams working on the same product. Each follows the same sprint cadence but has their own scrum meetings.
Recently the API testing has shifted to developers mostly, including maintenance....
0
votes
2
answers
196
views
Test automation within a waterfall project. What to consider?
Details:
In my new project I am to set up an automation, waterfall based project for a client. Since I have completed test automation exclusively within Agile projects so far, and in Waterfall rather ...
-1
votes
1
answer
74
views
I want to select a checkbox, how to obtain a xpath for the picture below anyone?
Please help me with the xpath for the above picture to select a checkbox?
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 ...
0
votes
0
answers
2k
views
Cypress - Identify when page is fully loaded
I am new to Cypress, but wanted to capture the time from visiting a page, up until the page is fully rendered and available to use.
I understand I can use the Window: load event to identify when the ...
-1
votes
1
answer
51
views
Is it must to learn RPA tools apart from web automation tools like Selenium?
I see many testers learning RPA tools like UI Path etc apart from Selenium, UFT etc.
Is it necessary for a Test Automation engineer to learn about process Automation tools? Or is just Automation of ...
1
vote
4
answers
150
views
Is software unit testing with tools considered manual or automated?
I'm quite new to software testing.
I was studying about it and I've read testing can be either manual or automated.
So is unit testing with tools (e.g. unittest or pytest in python) considered manual ...