Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
4answers
903 views

Sikuli IDE or Eclipse/JAVA for windows based application?

I am trying to prepare a POC using Sikuli. Can any one suggest me what is the best approach to use Sikuli for a windows based application ? Should I use Java with Eclipse or the Sikuli IDE itself?
3
votes
3answers
1k views

C++ app automation on multiple platforms

Need to automate C++ application testing on Web, Mobile (iOS, Android) and Desktop (Windows, OSX and maybe Linux). Searching for open source tools only and automated tests will be written using Java. ...
0
votes
3answers
377 views

Unable to switch into third window - Selenium

I'm using below code to switch into windows : Set<String> handle=driver.getWindowHandles(); System.out.println(handle); Iterator<String> it=handle.iterator(); String ...
3
votes
2answers
149 views

GUI Automation testing framework for android games

Is there any test framework which supports android games ? I have used UiAutomator2.0 for GUI automation test, but for some games, it is unable to capture screen.
3
votes
2answers
375 views

Running Junit test parallely with csv test data

I have a csv test data file with 50+ test data in it. I want my JUnit test to process these 50+ test data in parallel than serially. How can we do that? Is there a framework that can do that? Junit ...
3
votes
2answers
2k views

Getting Unknown error While Using latest Verison of Selenium With Microsoft Edge Browser

My Code to launch Browser: System.setProperty("webdriver.edge.driver", "C:\\selenium-drivers\\MicrosoftWebDriver.exe"); DesiredCapabilities capabilities = new DesiredCapabilities("MicrosoftEdge", "", ...
3
votes
2answers
418 views

Is it possible to automate tests on an embedded WebKit browser on Mac OS X?

Is it possible to automate the tests on a WebKit/WebView browser that is embedded in a Mac OS X desktop application, preferably using Selenium or some Mac-based tool like AppleScript or ...
1
vote
2answers
57 views

How do you prevent poorly written acceptance criteria?

One of the biggest problems from my daily work in the team is the acceptance criteria are mostly too unclearly defined. What this means in detail: Stands inquiries, because the PO or a developer has ...
1
vote
2answers
73 views

Using Fluent Wait When Finding List WebElements

I have a fluent wait class that works pretty well for locating my page elements, however, when I am locating elements for lists I don't appear to be using the same wait. I currently need to add ...
1
vote
2answers
482 views

Is there any open source tool to automate oracle POS Xstore Application?

I am looking for a tool to automate Oracle XStore Application, Suitable tool to automate Oracle Xstore POS system. Application: oracle Xstore OS: windows
0
votes
2answers
114 views

how to perform click on an element using selenium for which I am getting staleState Exception

Problem: There are couple of radio buttons with the same ID and I need to perform click on these. The first radio button gets the click where the second one is getting StaleElementReferenceException ...
0
votes
2answers
2k 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 ...
-1
votes
2answers
146 views

How to pause test execution in testng

I am using testNG, Rest-Assured and Java for API automation. Is there any way to pause the execution for a specific time if any event/exception occurred?
-1
votes
2answers
1k views

driver is getting null for utility classes

I'm getting null pointer exception for driver object. Here is the flow: BaseClass initializes the driver (WebDriver driver = new ChromeDriver();) I create a test class and extend it with BaseClass. ...
2
votes
1answer
90 views

How to interact with the radio button if isDisplayed, isEnables are false

Scenario: I am automating a feature where i need to click on the radiio button but after many attempts it didn't work. So I checked with isDisplayed, isEnabled and isSelected.Upon execution it was ...
1
vote
1answer
121 views

Appium | Getting error when using .click or sendkeys

I'm looking to start automation of a mobile application. I went through Appium related articles and most of them suggest to use Appium with Javascript. I explored online and setup appium and my code ...
1
vote
1answer
425 views

How do I switch reporting from allure reports to extent reports in an existing automation framework?

I have been handed an existing framework that uses allure reports for reporting purposes. I am not really liking allure reports for primarily a couple of reasons: It displays the results only after ...
0
votes
1answer
21 views

Randomization test with constraints

My current project is written in C++. It takes a certain config file to do various work. There are a large number of parameters inside the config. I would like to do randomization test for those ...
0
votes
1answer
26 views

Automated test execution custom pdf reporting tool

I am automating a desktop based application testing. My requirement is that based on my execution for a particular test, i would like to mark real time results in pdf generated by the automation ...
0
votes
1answer
55 views

what is the way that POF working VS POM? and why not using POF?

I looked over here where the Selenium author recommended to not use anymore Page Object Factory but to use SOLID instead. What are the reasons to use these and what is recommended to use in terms of ...
0
votes
1answer
73 views

what is the good practice to instantiate page object in POM and PageObjectFactory

I am practicing POM and Page Object factory. I would like to learn good practices in instantiating the pages. till now I am Instantiating the pages from test class (e.g. TC_01_Register.java) using ...
0
votes
1answer
177 views

What are design patterns for REST Assured?

For Selenium usually Page Object Model is used. What are good design patterns for REST Assured to organize structure, files?
0
votes
1answer
68 views

How can I solve OutOfRangeException on using Selenium C#

I was faced with the below problem while trying to run a data driving testing and have tried to resolve it but nothing seem to be working for me. Please could you take a look at my code and tell me ...
0
votes
1answer
550 views

How to get the Indexes of all columns In a Single Row using Selenium WebDriver and C#?

For single web element in that row i got index..for multiple column in a single row how to get the index: IWebElement colelement = driver.FindElement(By.XPath("//div[@id='grdBooking']//table//tr/ th[...
-1
votes
1answer
738 views

java.lang.NullPointerException occured while implementing driver initialization through inheritance

Base class: public class Base { public WebDriver driver ; @BeforeMethod public void initialize() { System.setProperty("webdriver.chrome.driver", "/Users/apple/eclipse-workspace/Selenium/...
3
votes
0answers
463 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 at: https://scotch.io/...
2
votes
0answers
508 views

Unable to add/attach screenshot and test steps in Report

I am working on protractor and using "protractor-angular-screenshot-reporter" to generate the report.But i am unable to add screenshot and test steps in this report.Can any one please help me in this....
1
vote
0answers
34 views

Architecture of WebDriver-based GUI tests. How to break base helper into smaller ones?

I create automation tests for web using WebDriver and now architecture is like this: Description: HelperBase.java: contains extended methods for WebDriver which could be used in any project, they ...
1
vote
0answers
3k views

Does Robot Framework have more to offer than Cucumber?

I have some experience with Robot Framework + Selenium and am now learning Cucumber, since I noticed it's one of the most widely used frameworks in test automation. However, from what I've seen so far,...
1
vote
0answers
379 views

Type of automation done in white box testing

White box testing can be performed at various levels like unit, integration and system level. I have following queries regarding white box testing: What type of automation comes under white box ...
1
vote
0answers
29 views

Did anyone used MUNIT for API integeration testing?

Did anyone used MUNIT for API integeration testing? I'm exploring options to build automation suite for API's and among different options there is not enough information regarding munit. Could ...
1
vote
0answers
26 views

Benchmark Video Meta Testing Framework

I’m trying to find a good flow/framework to perform benchmark tests. I have a video transcoder CLI app which get as an input a video and output a video. I need to write a script which will compare ...
1
vote
0answers
3k views

Data driven using xml file in java selenium

I have already used the data driven approach and executed the test cases using excel file. I mean the data is extracted from excel file. Now i want to extract the data from xml file and execute the ...
1
vote
0answers
1k views

How to save Appium logs to a local text file?

I am using Appium to automate all my test cases related to IOS device using Java, Logs are currently displayed on Appium app itself. I want to save them in a text file so that i can check error after ...
1
vote
0answers
55 views

How to get the name of all the test methods and functions in a test?

I am developing a framework where I need to do the reporting of my tests. I have to do this from scratch with out using junit or testng. I need to create a custom annotation @Testing and write a test ...
0
votes
0answers
10 views

Jython or Groovy script: Check if a cookie has already been closed

Currently I have the following problem. I use a test framework (QfS) which offers the possibility to execute scripts via Groovy or Jython. Description: I've automated the history that I can close ...
0
votes
0answers
10 views

Error while running automated scripts in robot framework

'pybot' is not recognized as an internal or external command I am installing Python, Pip, Robot Framework and its all needed libraries and its working fine. 1) Python, Pip & Robot Framework all ...
0
votes
0answers
42 views

Not able to Click on the Drop down and wait for element also fail for drop down ID in IFrame with JavaScript

I am unable to click on this drop down. I tried select drop down also and javascript click also normal click also.& wait for this element become also fail. Please provide the solution for the same....
0
votes
0answers
23 views

To display error message when radio button is not selected

I am working on a project, where I have to catch the error message on radio button. When you submit the page or form, without selecting the radio buttons, it shows on top of radio button that 'please ...
0
votes
0answers
19 views

Vulnerability scanner with different scan profiles

As part of our development, we also want to test vulnerabilities for our Scrum teams in addition to load testing our websites. This should be planned in accordance with the sprint planning, found ...
0
votes
0answers
17 views

Tableau UI automation

Selenium does not recognize webelements of Tableau. Is there any tool which is successful for UI automation of Tableau ?
0
votes
0answers
33 views

Writing Selenium test scripts in JavaScript with features of Selenium-Jupiter?

I'm trying to prepare a test automation framework targeting NodeJS that is intended for developers familiar with JS but not (necessarily) Java. Selenium is at the core of the solution because all the ...
0
votes
0answers
274 views

How to debug a protractor test written in typescript using cucumber?

I have a sample project with my test cases written in protractor in ts. I could not able to debug the ts. package.json "debug": "node --inspect=1337 --debug-brk --nolazy node_modules/cucumber/bin/...
0
votes
0answers
392 views

Rest Assured | Why getting repeated errors when trying to automate apis using rest assured?

I have just set up rest assured framework and implemented it as a maven project. My pom.xml has the below mentioned dependencies io.rest-assured rest-assured 3.0.2 test io....