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.

17
votes
5answers
9k views

How does one get started with web test automation using Selenium?

So I've been testing web based analytical software now for the past 4 years or so with mostly manual techniques. But for 2015, I've set myself the goal of getting setup and start writing automated ...
17
votes
5answers
1k views

What Are Some Examples of Why Explicitly Sleep Statements Are Bad?

I've read various places that explicit sleep statements are a bad practice in automated tests, even if I've used them occasionally. They can be annoying (creating unnecessary waiting in tests) but I ...
11
votes
5answers
3k views

How can I switch from manual testing to writing automation?

I am working hourly for low wage as a QA intern/tester. I want to learn more about this field. I have already graduated, so everything I have learned is self taught or learned somehow on the job. At ...
2
votes
2answers
127 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 ...
12
votes
6answers
34k views

How should you interview for QA *Automation* positions?

A variant on the How should you interview for QA positions? I am interviewing candidates for an Automation position, we don't use commercial automation tools, but rather use a framework using mainly ...
6
votes
3answers
3k views

Use Page Object vs other models for Automation in Selenium Webdriver? [duplicate]

I have been doing automation testing since last 2 years and I am following below ways for any website and mobile application automation testing. Create Global Method class where I implement all test ...
3
votes
2answers
259 views

Clean up test cases

How do companies clean up test cases? If I have 5000 tests in my library and 1000 of them are deprecated because we have cleaned up the code associated originally, how do we ensure that the tests are ...
5
votes
4answers
2k views

What tools work well for automating .NET 4.0 web sites using web forms with dynamic data?

What would be the best solution to accommodate automated testing of web forms with code-behind (.NET 4.0)? Specifically, we need a solution that can automate web form testing and handle dynamic data ...
0
votes
3answers
1k views

How to tackle the problem of non-static paths/names/ids of DOM elements while automating with Selenium?

I've got not very common task to take care of. We need to create several test suites for some forms in one complex web application. I'm a rookie in this field and Selenium was the first (and pretty ...
23
votes
6answers
9k views

Mobile automation: Boss wants 100% coverage. How feasible is that?

Just started a new mobile automation role using react native for iOS. I'm not new to automation, but I am new to React Native (with detox and jest). The learning curve is slow, but we are getting ...
8
votes
1answer
1k views

Test Automation Design Question

I am analyzing automation design for an Intranet based web app with a limited user base: UI Layer Web Service Layer DB Layer My Approach for automation is: Web Services layer Test automation ...
10
votes
4answers
269 views

In Page Object pattern, aren't we creating over-specialized methods than generalized re-usable functions?

Background: In the Selenium UI automation we all have been using Page Objects pattern as the "Best Practice" for years. In Page Objects "methods" are tightly coupled to pages instead of generic ...
7
votes
4answers
4k views

Is Eggplant any good for image capture and image recognition?

As a software tester looking at different automated testing solutions, I need a tool that will interact with a heavily graphical interface such as a flash website or application. I want the tool to ...
6
votes
3answers
5k views

MS-SQL server sql test automation

I'm looking to create a batch of automated tests in SQL on MS-SQL server, these will include tests like - insert some records, call stored procedure, check certain conditions in various tables. There ...
4
votes
5answers
168 views

Test automation role: challenges beyond automated tests and frameworks?

Before asking the actual question, let me describe the current situation. The IT department consists of a few Scrum-like teams, with one or two software testers per team. Furthermore there are two ...
4
votes
4answers
6k views

Daily tasks/Anything fun & challenging to automate with Selenium? [closed]

I'm currently studying test automation with Selenium and Java. It's very fun, but I have only done basic stuff. I've been thinking about something fun that I can do with selenium, for instance, ...
8
votes
3answers
1k views

API test automation: GUI tool vs programmatic approach?

We have a Rest API written in C# and I need to investigate a good approach to automate the tests. There are 2 ways to automate API tests: GUI tool (e.g. SoapUI) Programmatic approach, using some test ...
5
votes
3answers
666 views

Generate test data in which format

What is the best approach to make test data configurable ? Through XML file or properties file or any other way. But must not be hard coded. What approach should be taken to run the same Test Suit ...
4
votes
2answers
64 views

How you decide the right level of function abstraction in Page object model?

I wonder how people take a call in deciding the right level of function abstraction in Page objects, I sometimes find myself either on a very high level like "CreateOrder" or sometimes very low level ...
9
votes
5answers
39k views

Selenium 2 element.click() is unreliable

I am using Selenium 2 2.16 build. I've been running into problems where I get a variable response to a click() call, where sometimes the click activates the behaviour behind the element (new page ...
2
votes
2answers
1k views

Automated GUI Testing of MFC/Dynamic HTML embedded Desktop Application

I am working on finding an automated testing tool for a POC project at my organisation. In past I have worked on automation of desktop and web applications using Selenium,QTP and CodedUI. These tools ...
2
votes
1answer
2k views

Choosing framework type for selenium RC/Webdriver

I had opportunity to work in around 3 different projects, where selenium have been used extensively. Among them 2 were based on Data driven (say test cases driven by testng XML for each scenario with ...
-2
votes
3answers
31k 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 ...
7
votes
3answers
624 views

Is page object a framework or design pattern?

Currently I'm using page object design pattern with testing.
4
votes
2answers
224 views

Best approach to learn programming and start test automation [closed]

Where should I start if I want to automate and learn/improve my programming skills at the same time? I've used selenium webdriver + python and it was really cool, also tried some watir + ruby and now ...
4
votes
2answers
389 views

Using a system test framework that handles test dependencies

To explain better, if test B depends on test A, then if test A fails, then test B should not be run and fail implicitly if test A produces some output, then it should be available for test B I can ...
2
votes
1answer
3k 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 ...
1
vote
3answers
616 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 ...
1
vote
5answers
191 views

Can someone clear-out these job posts for me once and for all? [closed]

A typical job-post for a testing position: Requirements: Programming experience with Java, Python, VB or C# Ability to write test cases and work with test-automation Database knowledge Experience in ...
1
vote
1answer
810 views

How to automate test the website inside some windows desktop app?

I have this question: I found there are web test automation tools such as selenium, but they are designed for testing website in the browsers such as ie/firefox/google chrome... What if the website ...
1
vote
1answer
111 views

Where to initialize TestNG TestContext

I have a TestRunner class that starts my TestNG like this: TestRunConfigs configs = TestRunConfigs.parseCommandLine(args); TestNG testRunner=new TestNG(); testRunner.setXmlSuites(getXmlSuites(...
0
votes
5answers
3k views

What are features of the Selenium Test framework that are not present in other tools? [closed]

I have recently joined a company and we are looking to standardize our testing frameworks and tools across multiple (many legacy) products. Because of this, I'm seriously considering the Selenium ...
-1
votes
1answer
735 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/...