Questions tagged [test-automation-framework]

A test automation framework provides a superstructure for automated tests. The superstructure may include APIs, coding practices, ways to structure and run the automated tests.

Filter by
Sorted by
Tagged with
0
votes
0answers
75 views
+100

Hardening of test cases in test automation

Details: In a discussion about maintainability of automatic test cases in the area Cucumber + Junit / Unitest the topic "hardening of test cases" came up. You know this topic from your ...
0
votes
0answers
28 views

How to execute test cases after ide crashed

Kindly suggest if I have 100 test cases after executing 40 Test Cases my IDE was crashed. So, on the next time when I am restarting my Test Cases again the execution should be start from 41 to 100. I ...
-1
votes
0answers
26 views

NPM library to convert cucumber tests into Robot framework

can we convert a cucumberJS generated XML into RObot Framework generate XML? if yes, I am looking for an npm library to convert cucumber test reports(as XML) into Robot framework format as XML.
1
vote
1answer
47 views

Selenium Extent Reporting Problem

I cannot figure out the problem. After the picture, another problem is here. htmlReporter.config() is not working and I'm not able to fix it. This is my dependency: <dependency> <groupId>...
-1
votes
1answer
60 views

How to configure path for file download in python-selenium

I have changed the path of file download from using below code. chromeOptions=Options() chromeOptions.add_experimental_option("prefs", {"download.default_directory": r"C:\...
-1
votes
1answer
41 views

until method is not present in class WebDriverWait in Selenium showing complie error

WebDriverWait wait = new WebDriverWait(driver, 1000); WebElement element = wait.until(ExpectedConditions.elementToBeClickable(ExcelFileReader.findElement(xpath))); import org.openqa.selenium.support....
-1
votes
2answers
64 views

How to get incremental xpath for newly added rows in webtable using robot framework-python-selenium

I came across a certain requirement. There is a web table where new rows are added daily.I want to write an automation script in Robot Framework-Python-Selenium-Eclipse-RedEditor Plugin. Right now, I ...
0
votes
0answers
18 views

How do I validate the data display in mobile app against the expected values?

We have been developing a mobile application using Xamarin and a server component. So there are no direct services calls to the mobile App all the services coming and going through the server ...
0
votes
3answers
185 views

Why is WebDriver instance declared static in Page Object model structure in Selenium?

I am a complete newbie in Selenium and java in general. I am trying to use the Page object model with Page factory to create Page object class for the Login page of an application. I am reading lot of ...
0
votes
0answers
24 views

Is there any way I can have Cypress test steps printed out in the command prompt?

Cypress shows a log of all test cases / spec files executed while execution goes on in CMD. I want to know if there is a way that Cypress can show the test steps execution also in the command prompt. ...
0
votes
0answers
21 views

Failed Android tests - Firebase Test Lab

I'm running Android tests on Firebase Test Lab for the HUAWEI P8 Lite device (hwALE-H) and I find that a lot of tests fail, compared to other (newer) devices. The most frequent errors are:No views in ...
1
vote
1answer
29 views

How do I automate the setting of Cypress environment variables on a windows machine via a text file?

On Unix and Mac machines, environmental variables can be read from .env files which have 'export' commands in them. For example: export USER_ENV=test export CLIENT=company In windows, there's no ...
0
votes
1answer
58 views

Is it possible to test Desktop Applications using Protractor directly or via a third party tool?

I have an application built over angular (new version) and WinForms (legacy) which needs to be automated for testing. I had identified selenium (WinAppDriver + NgWebDriver) as the possible tool for ...
1
vote
1answer
142 views

How to implement Extent report in Cucumber using EventListener and Where to find documentation for this class

I was trying to implement a custom formatter using cucumber event listener but I was not able to get official documentation for this class. When I Googled i got the below link : https://www....
0
votes
1answer
371 views

failed: ModuleNotFoundError: No module named 'robot.parsing.populators' error

I was using python 3.6 for robot framework and selenium. As my client wants to upgrade to python 3.7.1 we did that. Now facing issue in running my automation scripts with the message as failed: ...
0
votes
1answer
171 views

sikuli runtime error in eclipse ide

i am hitting an error for the code below, this is my first time running eclipse with sikuli to automate desktop application. the image is an icon of a new folder in desktop. any help? import org....
0
votes
1answer
51 views

My Cypress Reports Folder does not get properly deleted when I execute the rmdir command in the package.json file. Which command should I use?

I am running Cypress on a Windows machine. I am using this command (included in the package.json file) to remove the cypress/reports folder before the start of each test run: "clean:reports": "IF ...
0
votes
1answer
183 views

Cypress: Problems in merging individual test suite Mochawesome reports. Consistent Errors observed

I'm using Mochawesome with Cypress to generate reports. I am consistently observing this error when I attempt to merge my individual Mochawesome test suite files into one combined report: ERROR: ...
-2
votes
1answer
39 views

A standalone framework for testing multiple products/services or individual frameworks per product/service?

I'd like to know what advantages/disadvantages to testing a range of different sites, applications or services using a single, standalone framework? Let's say that some of these sites combine to form ...
0
votes
1answer
48 views

TESTNG, how to validates test case results to pass fail status [duplicate]

Need help, my question here is how can I code it such when the result is not expected testNG will display the test case as failure/fail? if the result is expected test case result is passed? very new ...
-1
votes
1answer
57 views

How to finalize manual and automation scenarios during sprint

I have to finalize manual and automation scenarios and give it the client at the start of the sprint. How to finalize manual and automation scenarios in this scenario.
0
votes
1answer
38 views

Appium-based framework for testing desktop app (not web)

Anyone had experience in automating desktop applications (not web)? I need an Appium-like solution to integrate it with my mobile automation (written on Appium, Java). Our company has a messenger ...
-2
votes
1answer
31 views

Testcase Python Request: 405 Error despite not accepting the certificates

Details Currently I have the problem that I cannot accept the certificate on our test page. We use Python requests for our test cases and unittest from Python directly. We have also excluded the ...
2
votes
4answers
85 views

Adding inexperienced automation tester into Automation experts team

I wonder how an inexperienced automation tester (may have manual testing experience) with programming knowledge but no hands-on in creating frameworks are added to the team of experts in an ...
6
votes
3answers
122 views

Designing an open source test framework without compromising security

Context The robot framework website mentions robotframework-autoitlibrary in its external library listing and it points to http://code.google.com/p/robotframework-autoitlibrary/.And I found a ...
0
votes
1answer
55 views

Python + Selenium: Is there a way convert Groovy based test cases into Python?

In my new project, I am supposed to bring the current test cases, all written in Groovy, to a Python base. We are talking about several thousand test cases that have accumulated over the last years. ...
1
vote
3answers
53 views

Cucumber feature file name is Jira ticket number

I am starting to name my cucumber .feature files as VerifyLogin_JIRA-1211.feature Is this the correct/optimum naming convention? This question might get closed due to "opinion-based" but there is ...
3
votes
2answers
73 views

Are there any automation tools which have a feature to first check (as a pre-request) for Internet connection up or down before script execution?

It was accidental but it's a required feature for most of the modern automation tools. Yesterday I made one automation script job on a remote machine and it will be supposed to run on schedule time ...
0
votes
1answer
64 views

TestNG how to build a queue of test cases to be retried

Currently, we have logic in place which retries all the failing test cases immediately after the failure, what could be any approach where if a test fails that test should go in a queue and should be ...
0
votes
2answers
59 views

JBehave - large number of steps in a scenario, due to preconditions and pre-steps

I'm having a scenario which consists of around 500 steps. About 490 steps out of the it are preconditions and steps that needs to be done, in order to come to a state where the actual acceptance (...
-1
votes
1answer
51 views

Business test data for automated tests

My automated tests (at the GUI/API levels) require to have already existing test data - like users or privileges assigned to them. I want them to be stable and able to run independently every time so ...
2
votes
1answer
576 views

“No Keyword with name” error while using AutoIt Library Robot Framework

Got an error encountered "No keyword name" error in AutoIt Library Robot Framework. I installed the AutoIt Library by using pip install and it was successful. I tried to automate input text in the ...
10
votes
8answers
2k views

What is Test Automation Framework?

I am a complete beginner in Test Automation and could not find a good answer on the web. Some automation engineers use an underlying automation framework as a jar dependency in their selenium web ...
1
vote
2answers
62 views

What is the approach to create a framework that should handle both Web and mobile app automation cases

I have an application which has web and mobile app (hybrid). Test cases are same for both but locators and actions are different. I would like to create a single automation framework that can handle ...
30
votes
8answers
13k views

How can Internet Explorer 5 be emulated in 2020?

Details One of our customers uses a rather old software solution, and this is still based (yes, it's unbelievable!) on Internet Explorer 5, and the customer still uses IE 11 in compatibility mode. ...
-2
votes
1answer
21 views

How to provide File and some para. to POST API using Python/ C#?

Team, I am trying to provide File and some para. as a input for API. Expecting output based on validation. Even after providing both inputs correctly, I am getting File as null with length 0. Below ...
4
votes
4answers
531 views

Is there any possible way to automatically update the locators when developer changes the locators

I am planning to build a self-heal tool to update the locators automatically when developer the changes the UI locators
1
vote
0answers
35 views

Best approach for end to end testing for integration of web, hardware and desktop in Ci/CD?

I have a very unique application that involves a web portal, USB hardware dongle license and windows executable utility that configures the hardware As a customer buy a USB dongle hardware in a web ...
0
votes
1answer
154 views

I am getting the error “Failed to load extension from” at the start of every run

I am using Serenity framework and getting the attached error at the start of every run. If I close or accept the box then my test successfully otherwise failed. I tried to handle this in serenity.conf ...
0
votes
4answers
234 views

Unable to click on 'sign out' link

I am trying to click on sign out link, but not able to succeed: I tried the below ways, Click Element class=mat-icon.notranslate.mat-primary.material-icons Click Button name=Sign Out Click ...
2
votes
2answers
539 views

Setup of Test automation framework from scratch using NUnit and Specflow and RestSharp and selenium with Visual Studio 2017 C#

We have so many API's(5 to 8 API calls - Mostly REST based and 1 or 2 in SOAP based) and Oracle DB. We do not have any WEB UI. No UI automation.Only middle tier and backend automation. For automation ...
0
votes
4answers
90 views

Locate Element using selenium

I am trying to locate an element to click in order to Sign In , not able to succeed. I tried the below steps, Click Element class=mat-raised-button mat-accent Click Element class=mat-focus-...
3
votes
3answers
150 views

What test automation tools and approached to use

When we think of test automation , there are tons of options that comes up and few of them like selenium, UFT , protractor , Cypress etc are popular. So when we takes up test automation ...
1
vote
3answers
162 views

One Selenium framework to rule them all (or an actively maintained collection of frameworks)

I am looking for most universal, up to date, open source, selenium framework for test automation. Or at least a number of frameworks for different languages. I am surprised as how every company and ...
1
vote
1answer
43 views

Having trouble automating Android testing with Appium

I'm trying to automate Android testing using Appium. What I want to do is like: My Test Suite: Test case 1: Starting from Activity A Do something Test case 2: Starting from Activity A Do something ...
2
votes
1answer
51 views

Protractor right approach to page object model

On Investigating on protractor page object model, i came across the below two approaches: First: var AngularHomepage = function() { var nameInput = element(by.model('yourName')); var greeting =...
0
votes
0answers
225 views

TestNGClassFinder Warning: Can't link and determine methods of class examples.ExamplesTest

Just started with Karate API test sample project and encountered with this issue. My pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
2
votes
2answers
268 views

Is paid Apple Developer Account needed to run Selenium Appium Automation tests on real apple devices like iPhone or iPads?

So I am working on a project which comprises of the software web application, built on Python 3.7. Currently, it supports pc and mac platforms only with various browsers, and we have automated it ...
2
votes
2answers
102 views

Who are some of the Test Automation experts that are well-known and respected in Software Industry? [closed]

I am a complete beginner in Test Automation and was looking for some world experts on this subject. Could you list or refer to material of some of the best known experts in Automation industry who ...
1
vote
3answers
612 views

Automation running on a locked machine

I am fairly new to the automation scene and am looking for some advice. I've done Selenium development for about 2 years however, I just got a new job. Coming from a Selenium background, when running ...

1
2 3 4 5
8