As of May 31, 2023, we have updated our Code of Conduct.

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

Is it fine the environment for data migration tool testing be the same as the environment where regression testing is done?

We have a webapp which is an ecommerce site, and we have another web app (data migration tool) whose main purpose is to bulk upload data to the ecommerce site. We then have 3 environments we can ...
-1 votes
3 answers
8k views

How Do I iterate through all the search results in Selenium returned by google search

My test steps are- a) go to google.com b) in the search box start typing a keyword example "IBM" c) google displays all the matching results d) Get the count of matching results in a List of strings....
1 vote
3 answers
43 views

How to choose hardware for testing computationally intensive Android software?

I work on mathematical modelling software, which runs on a variety of platforms. The product is a library, not an app. For Android, I've found it easiest to re-use the command-line test harness that's ...
0 votes
2 answers
65 views

JMeter- multiple user login and extract the user id and password without using csv file

I am new to jmeter. so I need to know what is the alternative for csv data set config because if I use csv data it okay for couple of user but every time i need to change or add the data in file. it ...
0 votes
3 answers
120 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 = "...
0 votes
1 answer
24 views

How to resolve "Error: TypeScript compilation failed." issue in Gitlab CI?

I'm trying to learn to create a pipeline in Gitlab. All my tests fail because of the compilation issue. My code is included below along with the error message. import loginPage from "../...
1 vote
1 answer
189 views

Number of actors in E2E tests

We have roughly 30 Cucumber tests and a few actors that run these tests that have been created based on our service's personas. Exemplifying this: We have a C2C ecommerce platform and an user. Users ...
4 votes
1 answer
1k views

How to use multiple wait conditions in Selenium Webdriver using ruby?

I wanted to know, how I can use following waits in program at which situations? driver.manage.timeouts.implicit_wait = 20 driver.manage.timeouts.script_timeout = 20 driver.manage.timeouts.page_load = ...
0 votes
0 answers
37 views

selenium how to deselect the selected element

<select id="SelectedCustomerRoleIds" multiple="multiple" name="SelectedCustomerRoleIds" data-role="multiselect" aria-disabled="false" style="...
2 votes
3 answers
12k views

How to get the page size (content rendered) in selenium webdriver?

Background : Web page get blank (So script fails as there is no element to locate, only blank page) during selenium script execution in random place only on staging server while same working on ...
1 vote
3 answers
4k views

How to automate KendoUI dropdown with selenium webdriver and C#

Cannot make it work, need help, I don't know how to automate KendoUI drop-down with Selenium using C#. Sendkeys doesn't work for KendoUI. Here is my HTML: <div style="background-color: #e6e6e6;...
4 votes
3 answers
2k 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, ...
0 votes
2 answers
16 views

Managing exclusive resources across tests

I have a serial E2E test suite that's growing and getting slower. To solve this issue, I have to run the tests in parallel. But creating a user and all the required configurations is very complicated ...
0 votes
3 answers
120 views

How to get content of an clickable element in Selenium?

Facing issue to read content after clicking an element in Selenium. I have tried with below code: if(webElement2.isDisplayed()) { webElement.explicitWaitToClickElement(4,webElement); ...
1 vote
1 answer
583 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 ...
0 votes
1 answer
5k views

java.lang.NullPointerException in extent report while using snapshot in POM framework [duplicate]

Error: Starting ChromeDriver 2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f) on port 8745 Only local connections are allowed. Feb 01, 2018 1:09:16 PM org.openqa.selenium.remote....
48 votes
16 answers
15k views

Can a Manual Tester survive in software industry without learning Automation?

I mean to say is that if I dislike coding and don't understand complex code, then will I be able to survive as a QA. Or do I need to learn test automation to grow position and pay in my career, as I ...
0 votes
2 answers
49 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 ...
1 vote
1 answer
493 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 ...
0 votes
4 answers
2k views

After updating Google Chrome and Selenium, tests are not running with ChromeDriver

After updating Google Chrome and Selenium, tests are not running with ChromeDriver. System: OS: Ubuntu 20.04.5 LTS Selenium: selenium-server-4.8.1.jar Chrome: Version 111.0.5563.64 (Official Build) (...
1 vote
2 answers
1k views

Click getting to lower item (under dropdown) instead of dropdown in Selenium

I m trying to click on the dropdown menu item and i am able to select the dropdown and the menu item but instead of clicking on item the click is going to the element right under it. Before the ...
2 votes
2 answers
430 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 ...
0 votes
2 answers
337 views

How do you store test data into nosql document database for quick read?

I am currently migrating our currently test data that is stored in excel files to a database. Because the type of data in the test results are going to grow we decided to go with nosql instead of sql. ...
0 votes
1 answer
101 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?
1 vote
1 answer
182 views

How to extract adb dumpsys response for validation?

I need to validate few status of the android device. Can any one let me know how to extract the information from adb dumpsys and validate the responses using Java. Your help is much appreciated. Ex: '...
1 vote
2 answers
62 views

Is it recommended to use Page object model for cypress E2E test? if not what is the suggested method to adopt

I am new for writing e2e UI test using cypress. But I am uncertain if it's good practice to use page object model, when I repeatedly need to use same elements in different test cases. Does "Aap ...
0 votes
2 answers
630 views

Selenium, data driven testing using NUnit and SQL queries.

I am developing a Selenium Test Automation Framework for the purpose of testing multiple websites. I have currently set up the Framework in Visual Studio using C# and implementing the Page Object ...
0 votes
2 answers
1k 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 ...
0 votes
1 answer
2k views

Selenium + Python: how can we close all opened tabs except the first tab/main tab?

This is my code, ''' import time from selenium.webdriver.common.by import By from selenium.webdriver import ActionChains from selenium.webdriver.support import expected_conditions as EC ...
3 votes
6 answers
1k views

How to select option in a dropdown when the html-tag has a random id

I have a problem how to select a desired option (e.g. From, To...etc.) from list if 'datalist id' and 'select name' are randomly generated. This means that the ID and name has another value after ...
0 votes
2 answers
8k views

How do I implement Extent Reports in my REST assured API testing framework?

I have recently started rest assured to automate APIs. My current framework folder structure has an ApiTestCases class in a folder under src/test/java. I have a testNG suite xml to run the tests. How ...
0 votes
1 answer
16 views

How to delete cypress reports for both windows and linux before every run?

using below script for windows and linux but it is not working for linux
0 votes
1 answer
65 views

Calculate the total of liabilities and check it is matching with the given value

I want to calculate the total liabilities amount from webtable and need to compare with the total amount which is present on webpage. I got the following error : Illegal/unsupported escape sequence ...
3 votes
5 answers
107 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 ...
1 vote
1 answer
738 views

Compare 2 JDBC response in Jmeter

I want to compare 2 JDBC responses: I have Source reponse from 1 JDBC request as below in table format: (Source DB)JDBC Response response1: (Target DB)JDBC Reponse 2: I am saving the response as ...
0 votes
1 answer
358 views

Not able to add Bug from Testlink to JIRA (Required Version Number)

I have Integrated JIRA from testlink using REST API. I was also able to link the failed testcase to a bug in JIRA. But while trying to create issue in testlink there is a validation happening for ...
1 vote
1 answer
621 views

Exception generated after exporting code as runnable jar

D:\RhythmFileDownload>java -jar fileDownload.jar Starting ChromeDriver 2.28.455520 (cc17746adff54984afff480136733114c6b port 36946 Only local connections are allowed. Apr 03, 2017 6:14:23 PM ...
3 votes
2 answers
9k views

Sometimes Selenium doesn't click an element or clicks the wrong element

I have a number of tests which are run using Selenium and WinAppDriver. Sometimes the test gets passed, often Selenium doesn't find an element or click the wrong element even though it had passed the ...
0 votes
1 answer
17 views

Python + Appium : ios video recording is creating zero byte videos

Background : I am trying to record video on iOS using MacOS with M1. Problem : I am able to record video but after saving I can see video size is "Zero byte". I have not seen any error so ...
0 votes
1 answer
700 views

New SeleniumManager api in Selenium 4.6.0 - Error: session not created: This version of ChromeDriver only supports Chrome version 102?

I am using new Selenium Manager functionality in the 4.6.0 version. However, it is downloading the Chromedriver.exe in the .cache folder, but its not compatible with the Chrome Browser. Chrome Browser ...
1 vote
2 answers
45 views

How do you ensure your 'passing' tests(UI automated) actually pass?

How do you ensure your passing tests(UI automated) actually pass? As automation engineer I think we should question our passing tests in the same spirit as we dig in our failing tests to find out ...
0 votes
3 answers
302 views

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button.Can some one pls guide.NeedHelp

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button. Scenario: I have a screen where I need to find the row which has the value as &...
1 vote
4 answers
3k views

Python Selenium unable to login by clicking on Button inside a form

website:https://www.etoro.com/login <button automation-id="login-sts-btn-sign-in" ng-click="loginCtrl.login(loginForm)" class="e-btn-big wide dark pointer">Sign in</button> I am trying ...
2 votes
2 answers
139 views

Test Coverage Report in Cypress

I write my test cases in Confluence and then automate them in Cypress. I was wondering is there any way I can get the test coverage report. I already looked into Istanbul but it is for code coverage. ...
3 votes
4 answers
12k views

Wait for a random time with robot selenium 2 library

After submitting a POST request with a button click from a webpage, I want to wait for 60 seconds and click a link on that same page. The wait for 60 seconds part, is that possible to implement with ...
1 vote
5 answers
111 views

Why is performance testing needed?

To make sure that the system will satisfy the required service levels in production and to render a premium user experience, it is important to fulfil the role of performance testing. Adding to that, ...
0 votes
1 answer
703 views

How can we create our own Custom HTML report for Cucumber based Selenium Project?

I have a Cucumber based Selenium framework written in Java. Now, for reporting i use some common plugins/libraries like Extent report. That is fine. However, i want to create my own custom HTML report,...
0 votes
2 answers
12k views

Clicking a cell in a dynamic data table C# WebDriver

The HTML I'm trying working with is below, <div id="enquiry-header-grid-SalesTransactionEnquiry-enquiry-header-grid-wrapper" class="enquiry-kendo-grid-wrapper k-grid k-widget" data-role="grid" ...
0 votes
2 answers
1k views

Im trying to open jmeter using jmeter.bat command prompt is directly closing its not storing how to resolve this issue?

Can anyone please suggust me to solve this issue?
0 votes
1 answer
412 views

Keep getting 403 error code when executing POST request via Jmeter

keep getting error code 403 when executing POST request to Upload file. The system is using oauth2 authorization. i'm able to execute login, navigate to page but keep failing and getting 403 when ...

1
2 3 4 5
73