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
0 answers
7 views

Not able to match ChromeDriver version with chrome version

So at my current job I’m at a pinch, we can’t just download executable jars and use them. We have to request to download whatever we want . So the problem is , our chrome gets auto updated where as we ...
user avatar
  • 1
0 votes
0 answers
22 views

How to verify the Json response field data type in rest assured test

How can we verify the Json data type of mentioned fields such as "price", "ck", "name", "enabled" and "tags" in rest assured test. { "odd":...
user avatar
0 votes
0 answers
6 views

Automation of Dynamics CRM - how to change role in Selenium?

trying to find a way to change roles/teams for the account executing a Dynamics CRM test suite. This is so that business functionality can be covered correctly eg we have Scheduler roles that do ...
user avatar
0 votes
0 answers
64 views

Verify read-only fields using cypress

I have a few text fields which when I login as a specific user (rights of a read only) , all the text fields are not allowed to be edited. I am trying to automate this page in Cypress. I tried using : ...
user avatar
-1 votes
1 answer
29 views

how do you automate test a enterprise security software application?

I have been assigned to automate test a enterprise security software which will be installed on client computers with different operating systems (linux, windows). my team challenge is to setup a ...
user avatar
  • 1
0 votes
2 answers
32 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-...
user avatar
0 votes
0 answers
12 views

How to test a TFA library?

I have a Two Factor Authentication library that handles all the crypto necessary to convert a pre-shared secret into a 6 number code used to authenticate. I've followed the standard as tightly as ...
user avatar
0 votes
0 answers
15 views

How to design automation framework on given scenario for credit card system (asked during interview, complete answer would be helpful)

Consider a credit card billing system that generates bills based on customer credit-card usage data and sends these bills out to the customers via email. There's an admin website where an admin chose ...
user avatar
-1 votes
1 answer
17 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 ...
user avatar
0 votes
0 answers
6 views

Have you ever had experience using Adobe Experience Manager and building automated test suits?

i'm here to ask something that seems to have very little content about on the internet, that would be building an Automated Test Suit while while using Adobe Experience Manager (AEM) as your website ...
user avatar
0 votes
2 answers
81 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 ...
user avatar
  • 1,173
0 votes
1 answer
7 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....
user avatar
0 votes
1 answer
41 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(&...
user avatar
0 votes
1 answer
41 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 ...
user avatar
1 vote
1 answer
32 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-...
user avatar
0 votes
1 answer
442 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 ...
user avatar
0 votes
1 answer
30 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-...
user avatar
1 vote
1 answer
23 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 ...
user avatar
0 votes
0 answers
20 views

Can I ask jenkins how many tests were skipped?

Sometimes unit tests get skipped due to various reasons[1]. If that happens I notice it when I look at the report, which I sometimes don't do for several weeks. Instead I want jenkins to mark the ...
user avatar
  • 101
0 votes
3 answers
69 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 ...
user avatar
0 votes
0 answers
18 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?
user avatar
0 votes
2 answers
41 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" ...
user avatar
-1 votes
1 answer
16 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 ...
user avatar
  • 419
-1 votes
1 answer
27 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 ...
user avatar
  • 1,173
1 vote
2 answers
34 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: ...
user avatar
0 votes
1 answer
52 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. ...
user avatar
-1 votes
2 answers
20 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 ...
user avatar
0 votes
0 answers
23 views

how to mock/test a window.prompt feature using sinon.js

I have a javascript function hat uses prompt ask details from user: export function askUserForTeamDetails() { const emoji = window.prompt( 'Enter new team’s emoji:' ); if ( null ===...
user avatar
0 votes
1 answer
120 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 "...
user avatar
8 votes
8 answers
3k 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 ...
user avatar
  • 1,173
0 votes
2 answers
65 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 ...
user avatar
  • 13
0 votes
1 answer
50 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 ...
user avatar
0 votes
1 answer
56 views

Should I seperate my API tests from E2E tests

I have a system that display 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 to ...
user avatar
0 votes
1 answer
29 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 ...
user avatar
  • 13
0 votes
0 answers
10 views

Can't find PatchServices.jar when following SmartBear's instructions on using Android Studio to instrument a legacy Android app

Need help with instructions on instrumenting a legacy Android app for use with TestComplete. Windows 10 TestComplete 15.20.341.7 x64 Connected device running Android 7.1.1 Android Studio 3.3.1 I'm ...
user avatar
0 votes
1 answer
43 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 ...
user avatar
  • 1,173
0 votes
0 answers
9 views

How to run Testproject.io cloud script on command prompt offline

How can I run testproject.io cloud script which I have downloaded on my local PC as YAML file on the Command prompt? What are the basic settings for fetching YAML file in the command prompt?
user avatar
0 votes
1 answer
50 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. ...
user avatar
  • 1,173
0 votes
1 answer
60 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. ...
user avatar
  • 139
1 vote
1 answer
46 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 ...
user avatar
-1 votes
3 answers
133 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 ...
user avatar
  • 1
0 votes
0 answers
10 views

Need api to get log details from ZScalar

I've a scenario where I need to extract the offense logs from ZScalar using api. I've tried to the use the api fetched from UI but getting 500 response as showed in the screenshot. I've searched the ...
user avatar
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 &...
user avatar
0 votes
1 answer
47 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 ...
user avatar
0 votes
0 answers
26 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, ...
user avatar
0 votes
0 answers
18 views

How do I capture only one screenshot when I run an Automation Test on mobile also on website at the same time?

How do I capture only one screenshot when I run an Automation Test on mobile also on website at the same time? in java with selenium and attacted it to allure report : @Override public void ...
user avatar
-1 votes
1 answer
48 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 ...
user avatar
  • 107
-1 votes
1 answer
40 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, ...
user avatar
  • 3
0 votes
0 answers
27 views

Unable to determine element locating strategy for -android uiautomator

I have a method which works perfectly locally, but when I launch it on server I’ve got an error: org.openqa.selenium.InvalidArgumentException: Unable to determine element locating strategy for -...
user avatar
3 votes
2 answers
590 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 ...
user avatar

1
2 3 4 5
71