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
1 answer
34 views

How to fetch header values from columns that are not visible in ag-grid using python selenium

I can catch the headers that are visible, not the ones that are not visible. If I use execute_script("document.body.style.zoom='30%'") with chrome, I can capture up to 40 (out of 50) ...
0 votes
0 answers
2 views

How to make a Java library jar file which multiple projects use and how to push latest code changes?

I have few java packages as part of Selenium, java, cucumber, maven automation framework which all projects use. If i create .jar file of it and place it in a separate project/folder in TFS Git ...
0 votes
1 answer
125 views

Cypress Error on chaining Cypress-If / Cypress-Drag-Drop commands with Cypress-iFrame commands

The application, which I have to automate, is completely inside an iframe. To continue, I used cypress-iframe plugin. However, when I am trying to chain the commands of cypress-drag-drop or cypress-if ...
0 votes
2 answers
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?
0 votes
1 answer
187 views

selenium how to deselect the selected element

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

How to launch Firefox Geckodriver with add-on enabled in selenium java?

I'm trying to use a custom profile in Firefox with an add-on, I can open the profile, launch URL, I even see the add-on icon on top bar but is always set into the disabled mode, I need to set it to ...
0 votes
1 answer
1k views

Unable to set proxy with BrowserMobProxy while modifying http header request in Selenium with Java

I am able to modify http request header using BrowserMobProxy, the same way explained https://sqa.stackexchange.com/a/37318/9043 But, the problem I am having at the moment is, that I am executing my ...
0 votes
1 answer
29 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 ...
5 votes
1 answer
145 views

weighing tools/approaches for testing of database components

Currently, the way we do this on LedgerSMB is to have SQL scripts which insert records into a test results table. This table is created in a transaction which runs the tests, and the tests always ...
5 votes
1 answer
122 views

How could aqString["Format"] in TestComplete suddenly change format when machine's local did not change?

When using this code: aqString["Format"]("%.2f", numb); the returned number used "," as a decimal point before - which is correct since I'm in Norway. Suddenly - like a few days ago - it started to ...
3 votes
2 answers
4k views

How to drag an element and drop it in another frame?

Hope you doing well, I'm trying to dragAndDrop an element from FrameOne to FrameTwo but not able to do so.Please help me to understand the concept and what I'm doing wrong here and need to achieve ...
0 votes
1 answer
69 views

Does Test Complete (SmartBear) allows to write unnitest classes in script steps?

My query is if I can write scripts inside TestComplete using unittest? (Don`t get me wrong. Not import unittest/pytest test suite. WRITE tests in Scripts 'directory') As per TC (TestComplete) ...
1 vote
2 answers
701 views

How do i select random future date from date picker every time in katalon studio

How do I select a random future date from the date picker every time in Katalon studio?
5 votes
1 answer
195 views

Is there a way to stop GridLauncher opening during testing on Mac?

Since moving from a Linux VM to a Macbook Pro for testing, I have been having a recurring issue running Protractor automation. At a certain point in my suite all, a Java application called ...
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 ...
5 votes
1 answer
1k views

Karma/ Jasmine testing framework - tests don't appear to be executed

I am looking to implement the Karma/ Jasmine test suite/ framework for use with my AngularJS app. Having never used a testing framework previously, I have followed the tutorial - to give it a go, ...
1 vote
1 answer
278 views

Getting Error at the time of saving the test cases in Katalon Studio

Getting below error while saving test cases after recording. Can someone help me to understand and how to correct this?
2 votes
1 answer
1k views

Selenium Chrome Driver: How to Load all the Frames and get the Complete Page Source?

I'm developing an web application that monitor changes in other websites. I came across some of the websites and that contain load of Frame set and Frames. I'm using the below code: var ...
0 votes
1 answer
69 views

What aspects of javascript are relevant for Selenium Automation (with Java bindings)?

I use Java and Selenium for my automation framework. However, sometimes, as per need, I have to use JavaScriptExectutor in my script. But I have never studied JS and no nothing about it. If someone ...
-1 votes
0 answers
58 views

Needed: A forum for a website on testing complex systems

I have a website that focuses on testing complex systems. It defines the concept of "test platforms" and it includes working "case studies" in a GitHub repo and a Python-based &...
0 votes
1 answer
3k views

How to setup Jmeter as server and send messages to Client over TCP

Am trying to setup Jmeter as server and send messages from Jmeter to a client TCP connection. But unfortunately, Options in TCP Sampler of Jmeter make it a client.
0 votes
1 answer
37 views

Get code from email - java

I have an automation flow where there is a need retrieve a code from an email and input it into as a verification code. As its a demo I could use any temp email and grab it but I am wondering now what ...
5 votes
3 answers
3k 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
83 views

How to use java classes of one Selenium project into Another project in Eclipse?

I have around 10 Selenium/Java projects in Eclipse IDE and there is "utils" package and Automation framework classes that i manually copied to all projects and all those have different ...
0 votes
1 answer
76 views

How to find an unnamed button belonging to a certain h2 entry XPath

(I am a bit of a StackOverflow newbie, so please forgive any beginner mistakes and let me know what to improve in the future) I am trying to select the highlighted button in the appended picture. ...
3 votes
1 answer
980 views

How to set browser window size using Phantom JS + Java

I am working on PhantomJS with Java for one of my project. I am looking for some help in working with PhantomJS in following scenario. Scenario: Step-1: Mouse hover on tab/link then 2 sub-links will ...
2 votes
4 answers
823 views

How would you differentiate between UI (User Interface) and UX (User Experience) testing?

I have a project, where we need to test both the UI and UX, and that needs to happen in separate. How do I implement the UX part of this? UI for one thing, can be tested using Selenium, but UX part ...
0 votes
1 answer
205 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
244 views

Robot Framework - Best keyword to tab off an element

I am using Robot Framework and Selenium and have a drop down combo element that I need to focus on and tab off in order to fire a validation message. I cannot use Press Keys or Click Element as it ...
1 vote
3 answers
126 views

Why would StringUtils return the incorrect # of matches of a substring?

I'm using StringUtils from the Apache commons library to check the # of matches of a sub-string within the source code of an HTML page. I have converted the page source using the WebDriver command: ...
4 votes
1 answer
185 views

How to configure Phpunit.xml to use multiple browsers in Phpunit test with selenium webdriver

I'm working on automation test for a big project and I'm using Phpunit for functional test and as a server selenium webdriver. I want to execute many tests using different browsers, I don't know what'...
5 votes
2 answers
350 views

What infrastructure is required for automated testing on a hosted desktop?

I've started investigating dogtail as a solution for writing GUI-driven unit tests in a GNOME Wayland session. Before I dive deeper I want to understand what I'll need to run these GUI-based tests on ...
0 votes
2 answers
95 views

How to include automation framework jar file dependency in my maven pom.xml?

I want to include one .jar file which has classes of my core automation framework. I created a "lib" folder in my selenium project and then gave its path in the pom.xml dependency. This Jar ...
0 votes
1 answer
364 views

Playwright File layout

New to QA and Playwright. Related to styling and file naming conventions: Say you have complex software with multiple endpoints that you are writing automated tests for. How would you organize your ...
1 vote
4 answers
3k views

How to solve java.lang.NullPointerException error in button click event?

I'm using Java,Selenium web driver and TestNG framework. I have a method to click a button in web page. But it didn't work. When debugging I could find xpath is not passed to the button. Then I tried ...
0 votes
2 answers
292 views

Are there any browser automation tools that support video and audio recording?

I'm searching for a browser automation tool that can record video and audio. Selenium, Cypress, and Playwright do not support audio recording. Puppeteer maybe with puppeteer-stream but I'm not sure ...
1 vote
1 answer
98 views

How to access dependencies from test class

I'm wondering what some other options are for accessing the test automation framework dependencies from my test classes. Right now I have a layered architecture: Framework layer (contains all shared ...
1 vote
1 answer
218 views

In gradle 4.6, how to force all tests in a class gets executed first before moving to tests in next class?

I am using Gradle 4.6 with testng. My test suite has tests organized something like these. java class1 { test 1.1 test 1.2 test 1.3 test 1.4 } java class2 java class3 java class4 java class5 All ...
-1 votes
0 answers
42 views

Automated UI testing against a table whose editable elements change over time - dynamic xpath?

Context: We've got a table on a webpage that displays a varying amount of rows based on the input request. Data within the table can be clicked on to then make edits. The data is time-based and data ...
0 votes
2 answers
235 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 ...
0 votes
2 answers
233 views

Setting up an API Test Framework

I'm testing an API and I'm looking to define my payload using classes so that my program can then deserialize/serialize into any format (namely XML in my case). Below is an example of the payload: ...
0 votes
1 answer
24 views

safari message error when starting selenium

I have a MacBook m2 and I want to test with the Safari web browser. I received this message when I compiled my small test with Intellij idea ce. Could not start a new session. Possible causes are ...
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, ...
1 vote
1 answer
104 views

Screenshot not found error in protractor

I am getting broken image for screenshot. Unable to take screenshot in protractor framework. Please anyone help on this. My code: testconfig.js file var fs = require('fs-extra'); var today = new Date()...
0 votes
1 answer
259 views

Unable to execute single tc, login then run other application features, right now its running as a suite

I have to execute my test cases as a single as well as a suite, right now its running as a suite but not as a single test case in selenium webdriver: Below is my test which are calling methods present ...
1 vote
1 answer
137 views

IE 11 auto accepts the alert pop up

So I am on an edit page and when I click the cancel button to stay on the edit page the IE driver automatically accepts the leave page in alert pop up. I even added the IE capabilities saying: ...
1 vote
1 answer
80 views

NET::ERR_CERT_AUTHORITY_INVALID while recording from playwright

While I'm trying to record the web based application using Playwright tool and after launching the application getting as NET::ERR_CERT_AUTHORITY_INVALID . After recording and in the playwright tool ...
1 vote
2 answers
153 views

how to add "\n" to the method

I have the below method: PUBLIC methodname(WebDriver driver,formEntryMap<String,String>,String Colkey) { String Xpath = This will have the xpath of the input text box inputfieldEntry(driver,...
0 votes
2 answers
936 views

How to maximize browser window irrespective of windows versions

I have some scripts which are running on Firefox browser. Here, the problem was, I am using driver.manage().window().maximize(); code to maximize the browser. It is working perfectly fine with Windows ...
5 votes
2 answers
855 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea is to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com for ...

1
2 3 4 5
74