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
4
votes
3answers
2k views

What points should be covered in an Automation POC?

Background : We are planning to automate our web application, for that our manager asked for the Proof of Concept (POC). Overview : After studying and analyzing all factors of application, our team ...
1
vote
0answers
29 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 ...
5
votes
4answers
2k views

How to choose page object design & structure

We had a discussion between several automation engineers on page object design, specifically about how many layers it should have and what are the responsibilities of the layers. I hope you guys could ...
2
votes
2answers
138 views

What is the fastest way to test a website across all browsers and browser versions?

I have made a social media web application and I want to test the compatibility of the web application for the different type of browsers and browser version. I started testing my web application ...
3
votes
2answers
28k views

How to call a method from one class to another class when both are TestNG classes

I have 2 TestNG classes which are: ProductCanvas package objectRepo; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium....
1
vote
1answer
712 views

non-static method sendKeys(java.lang.CharSequence…) cannot be referenced from a static context

I am Using IntelliJ Idea 2016.3.4 and JDK 1.8. It has an inspection that claims the following: java: non-static method sendKeys(java.lang.CharSequence...) cannot be referenced from a static context ...
1
vote
2answers
259 views

Questions Regarding POM Framework

I am developing a framework for the popular e-commerce trading website platform (Amazon) – from scratch. I will be starting a new automation testing role, and, I need to get more practice before I ...
0
votes
0answers
46 views

Advice For Creating POM Test Framework [closed]

I am developing a framework for the popular e-commerce trading website platform (Amazon) – from scratch. I will be starting a new automation testing role, and, I need to get more practice before I ...
3
votes
1answer
13k views

How/When to fail the test case in case of exception occurs with Selenium WebDriver

I'm using Selenium with Cucumber and also using Page Factory for good framework practices. As we need to follow the principle of Fast Fail when we get TEST ERRORS/TEST FAILURES We use Asserts in ...
0
votes
4answers
1k 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?
2
votes
0answers
4k 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
2answers
451 views

How can functional programming be used for user acceptance tests?

An organization is looking to invest in functional programming. Using es6, react, clojure and reagent as some of the tools. When writing end user acceptance testing I usually use Selenium with a ...
2
votes
2answers
718 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
3
votes
3answers
742 views

Design patterns specific for test automation

Software engineering has many design patterns, including Adaptors, Abstract Factories, Decorators etc. Test automation, as a branch of software engineering, can use same patterns but has also its own ...
3
votes
0answers
597 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 anyone please help ...
4
votes
5answers
6k views

Selenium pros and cons

Selenium seems to be the mainstay in automated functional UI testing. But I'm wondering what peoples thoughts are on the pros and cons of using Selenium? Have any of you chosen another route for ...
9
votes
3answers
723 views

How do you know if you are writing high quality tests?

Inspired by Exercises on software testing We can learn to write automated tests and we can learn to do tdd and bdd but what tools / resources / guides are available to tell us if the actual tests we ...
3
votes
6answers
83k views

How to switch from one tab to another tab in chrome

Please help how to switch from one tab to another tab in chrome and to change focus on child tab.
1
vote
1answer
361 views

Which framework is best suited for full integration test?

I am a beginner to Selenium, I have started automating simple practice sites using Selenium Webdriver with java. Now I want to follow some framework for full integration testing, but I am little ...
2
votes
1answer
172 views

What is the best free automation tool for Windows applications [duplicate]

What is the best free automation tool for Windows application using object ID's. So NOT with keystrokes and x,y coordinates.
0
votes
1answer
425 views

Module Based Testing VS Test Library Architecture Testing Framework

I'm fairly new in the world of test automation frameworks and was researching some of the existing methodologies out there. When I came across Module Based Testing and Test Library Architecture ...
4
votes
1answer
3k views

How do I automate front-end testing for a web app with Javascript?

I am introducing myself to devops engineering and I'm stuck on "how to automate testing for web applications". I consider that backend and api test automation are relatively simple and the concept is ...
3
votes
2answers
97 views

Will automated testing tools make testing easier?

It depends on the Project size. For small projects, the time needed to learn and implement them may not be worth it unless personnel are already familiar with the tools. For larger projects, or on-...
-3
votes
1answer
2k views

How to develop data driven framework using Selenium with C#? Please provide example [closed]

How we can develop data driven framework using Selenium with C# to test the web applications? In your response can you please provide an example?
0
votes
3answers
3k views

How to run only 1 annotated test method in TestNG ?

I have coded many Test Cases as Test Methods with @Test Annotation. I have used only one class for all methods. I want to run only 1 or 2 particular methods. And not run other methods. Please ...
1
vote
1answer
1k views

Why doesn't testNG assertion message get printed after each test in data-driven testing?

I am running Data-driven tests driven from a spreadsheet which are input to TestNG test Framework. In a nutshell, the framework traverses through outlook mailbox and looks for mails based on the ...
2
votes
1answer
6k views

WebDriver instantiation in Selenium framework

I'm looking for some advice on how to instantiate my WebDriver driver instance in my automation framework (Selenium 3.0.1 / Java 8 / TestNG). My goal is to handle all the instantiation code in one ...
3
votes
1answer
488 views

Automation Framework Structure: Should the framework and the project under test be separated in two projects?

I'm using Selenium Webdriver (Java), Eclipse as IDE. My current setup was I have one Java project in Eclipse that serves as the framework (say FrameworkProject). The project is comprised of these ...
2
votes
1answer
2k 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
1answer
67 views

What type of framework to use [closed]

For automation of banking projects, please suggest what type of selenium framework(Hybrid, keyword driven or DDT) is ideal for opening a bank account scenario?
1
vote
1answer
409 views

In Jmeter before sending Http samplers I want to hit a URL to set some values, How do i do it? [closed]

I have a Jmeter script ready for checking performance of webapp, Before i send the actual http request to measure performance, i want to send another http request to set some value. How do set the ...
6
votes
3answers
725 views

Is page object a framework or design pattern?

Currently I'm using page object design pattern with testing.
4
votes
1answer
850 views

Is it possible to match a url with xpath in a nightwatch assertion?

In the nightwatch documentation I can see that there are both the urlContains and urlEquals assertions that can be specified in a nightwatch.js but these do not allow xpath selectors. I have applied ...
1
vote
2answers
403 views

Test Automation Framework: How to integrate other project to a Black-box Automation Test Framework

I've been spending for at least 3 months building a Test Automation Framework from scratch using Selenium WebDriver(Java) and TestNG. I have adapted the concepts of page-object-model, integrated excel ...
3
votes
2answers
1k views

BDD & Rest API automation

When I search for BDD and Rest API automation. I get lots of examples where some user scripts a human-readable user story which shows how to use his API. This user calls it BDD. But BDD based not ...
1
vote
1answer
286 views

Running Nunit Project from console

I am new to selenium webdriver C#, I had just jumped into test automation without much knowledge on mechanisms behind automation. Well, I have automated one process for a web application. For this, ...
0
votes
1answer
610 views

Android ADB error for Appium

The Android Debug Bridge (ADB) error below is given when running application on Eclipse. How can I fix this? Checking if an update is available Launching Appium server with command: C:\Program ...
0
votes
1answer
123 views

As a QA is it necessary to learn all frameworks in Selenium? [closed]

Currently, I am working as a Test Engineer. I want to know something about selenium Framework. I am using page object & page factory design pattern in my project. I don't have knowledge about ...
2
votes
5answers
238 views

One automation tool for Functional, UI, Database and WebServices

I know this could be opinion based question but still as per current trend in Software Industry which tool is most suitable if it is an e-Commerce based project (website). In this project there will ...
1
vote
3answers
1k views

How we can enter data into multiple fields at the same time to make automation faster?

With selenium we enter one field at a time, right now I am working on a project where there are 1000+ fields, actually it takes huge amount of time. Is there any possible way in selenium to make ...
3
votes
3answers
293 views

Page objects - use a separate method for each step or 1 method for all steps?

I just want to ask ideas from you on which is more appropriate to use. I'm currently automating a project using Selenium Webdriver adapting the Page Object Model approach. In the midst of my testing, ...
1
vote
0answers
56 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
1answer
481 views

How to give multiple Class names with or condition in Coded UI search properties [closed]

this.SearchProperties[WinWindow.PropertyNames.ClassName] = ".class1 or .class2";
1
vote
1answer
3k views

What are the recovery scenario for Selenium Framework? [closed]

How to handle recovery scenario in my framework. In this framework I want to create some methods which work after catching exception. So that I can easily come back on the normal stage from any of the ...
3
votes
3answers
693 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 ...
2
votes
3answers
7k views

Open source tools to automate manual testing a desktop application

I am looking to automate the execution of a series of manual tests which require changes to configuration files to run an executable file and record the result of each test run. I was wondering ...
0
votes
1answer
837 views

Coded UI scripts fail when remote desktop minimized or locked

I am using remote desktop to run my Coded UI scripts. When I minimize remote desktop window or lock my PC test cases starts to fail. Anyone had this problem? Can you recommend some solutions?
0
votes
3answers
269 views

Is there any Java based page object framework similar to Taza?

This is probably not a typical SO question. But, I need to post this here because google searches have not given me the answer I was looking for. Hopefully, the experienced developers here can give ...
-2
votes
1answer
622 views

Exception in thread “main” org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with [duplicate]

I have used find the element by Xpath in my code, I get the error as ElementNotVisible. <div class="loginBtn"> <input style="width: 59px; height: 20px" id="SubmitCreds" onclick="clkLgn()"...
-1
votes
3answers
44k views

What is the difference between keyword driven and Data driven frameworks in Automation?

I am having problems fully understanding the purpose of keyword driven frameworks compared to data-driven frameworks. What circumstances would make a keyword-driven framework more appropriate for an ...

1
4
5
6 7 8