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

How to avoid flakey E2E selenium tests?

I'm under the impression that most of the E2E selenium tests are flakey. A major reason seems to be timing issues. Another one is that they often test against servers that are not controlled by the ...
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
5answers
459 views

Test automation | Are we focusing more on automation than testing?

Take a very specified example of web application testing with selenium: It seems obvious that (almost) everyone is suggesting using element ID as the best locator strategy, and that your GUI-...
6
votes
3answers
6k 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 ...
6
votes
1answer
7k views

Testing ExtJS UI with WebDriver

Our Web app is using ExtJS framework for rendering UI. However, ExtJS-rendered UI is hard to test automatically because: For most clickable elements, ExtJS uses generated ids like "ext-gen-345" ...
6
votes
6answers
436 views

How to further expand knowledge in Software QA?

I recently passed the ISTQB Foundation Level exam and even though I did pretty well in the exam I have the feeling that I haven’t learned much at all except maybe some basic concepts and a few ...
5
votes
5answers
289 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 ...
5
votes
5answers
2k views

What tests to automate in a full stack web application? API vs UI

I joined a full stack automation team recently. There are some selenium tests for the frontend and APIs aren't automated yet. My question or thought process is should I pick the test cases carefully ...
5
votes
6answers
21k views

How to locate an element which is inside the iframe?

I'm new to automation testing (I'm using TestNG framework and Java language) I'm having trouble in locating an element which is inside iframe. WebElement iframeSwitch= driver.findElement(By.id("...
5
votes
3answers
4k views

ETL testing- checklist for testing

Can anyone tell me the basic test scenarios and checklist for ETL process testing for beginner level with any example ?
4
votes
2answers
13k views

What are basic metrics of coverage with functional UI automation testing

There is web application product which is tested by test automation (selenium webdriver based test project in scope of the whole project) Client is asking what is the test coverage by automation of ...
12
votes
5answers
3k views

Is retrying failed tests good strategy to handle flaky tests?

Like many companies we have flaky tests in our test suites. Google has this problem as well: Unfortunately, across our entire corpus of tests, we see a continual rate of about 1.5% of all test runs ...
10
votes
5answers
1k views

Can a proportionately scaled down testing environment find performance load issues?

At my company, we are working on ways to improve our testing of database changes, in our testing environment first. Since there are no resources to have a production like volume of data in servers ...
7
votes
4answers
514 views

How to keep track of the features in a website for impact analysis?

I have been working for an ecommerce client for the last 6 years as manual and automation QA engineering. New features gets applied to our site once in 2 weeks. Whenever a redesign project comes up, ...
7
votes
2answers
20k views

How to record in JMeter when proxy settings is configured to connect to internet

To record scripts in JMeter we need to run the proxy on local port 8080, where as in browser I need to configure for internet connectivity proxy to connect to internet. The company I work for is ...
7
votes
3answers
18k views

What are the test cases or test scenarios for palindrome

In the interview, the employer asked me to write test cases or test scenarios to check the Palindrome of the word. I said one with positive test case and another with negative test cases. But employer ...
7
votes
3answers
446 views

Structuring Selenium tests to avoid duplication

I'm refactoring our test suite to take advantage of page object pattern. I'm missing how to structure the actual tests. Lets say that I want to test StackOverflow posting and deleting. Once scenario ...
6
votes
10answers
918 views

Importance of test automation experience to advancing in QA departments

I am a test engineer with about 7 years of work experience. I am not an computer science / engineering graduate. I have done a post graduate conversion course that included a good mix of software ...
6
votes
5answers
595 views

Which kind of Manual Test cases should be automated for Regression Testing?

Automating each and every Test case would be futile. So which kind of Test cases should be automated so that more time is not spend on writing the automated test cases than actual manual testing of ...
5
votes
4answers
2k views

What to ask programmers before automating with Selenium

What points should I discuss with frontend programmers when preparing a product on which, as a tester, I will use Selenium to automate? I am referring to things like no dynamic ids for elements etc. ...
5
votes
3answers
1k 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
5answers
53k views

How to run all Selenium test cases via batch file [closed]

I am a noob in Java and automation so please bear with me if I get the terminology wrong. I have a class file that can open a browser and navigate to google.com and then closes the browser. There’s ...
4
votes
3answers
1k views

Should data validation be automated in a rapid development environment

I would like to understand Data Validation for Automation in case of (Weekly/ Frequent Builds) In the case of frequent code changes (Weekly builds) since the code base would change frequently ...
4
votes
4answers
388 views

Is there a name for automated tools that work from screenshots like Sikuli or Monkeyrunner with tools like Selenium?

I have a list of GUI testing tools, and I want to separate the tools that are 'based on screenshots' like Sikuli or Monkeyrunner that others that interact directly with the elements of SUT, like ...
4
votes
3answers
2k views

How to break down a single test case that covers an entire process into multiple interconnected tests?

I have a particular end to end test scenario which am trying to automate using Selenium Webdriver. If I automate the whole scenario into one test case, the test case is going to take a minimum of 25 ...
3
votes
5answers
27k views

Why this “WebDriver driver = new ChromeDriver();” Not this “ChromeDriver driver= new ChromeDriver();”

Why we always do: WebDriver driver = new ChromeDriver(); Not this: ChromeDriver driver= new ChromeDriver(); Any special reason, except object size ?
3
votes
6answers
286 views

Resources to learn about testing theory

Can anyone recommend some good resources (books, perhaps) to dive into the theory of testing? (I don't mean "what is a test plan", but more on the level of "use these techniques to make your tests ...
3
votes
2answers
89 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 ...
3
votes
2answers
3k views

What kind of questions should i ask a Automation Test Engineer candidate and how should i judge him? [duplicate]

I am recently selected in interview panel for Automation Engineers. As i have never taken interviews till now, i am confused about how to judge a candidate? What kind of question should i ask to him ...
3
votes
5answers
618 views

Lightweight load & performance testing frameworks

Which lightweight load and/or performance testing frameworks could you recommend? some considerations: Configuration with not too much coding (some JS would be okay) command line + text editor (...
2
votes
1answer
2k views

How do I change browser request headers without using a browser extension?

I want to modify browser request headers to include custom headers with each of my requests. This can be done by using special browser extensions. But, can it be done without using any browser ...
2
votes
1answer
7k views

JDBC PostProcessor Example in Jmeter for Response assertion [closed]

How to Use JDBC PostProcessor(using Jmeter Variable) in Jmeter with Response assertion(using Jmeter Variable).Provide me with example..
2
votes
3answers
6k views

Which tool is used for website link checking and spelling checking in manual testing

Currently I am checking a website. In the website I need to check spelling errors and broken links. Is there is any software/tool to do this task?
2
votes
3answers
10k views

How to select Security Certificate From security Dialog

The problem I would like to solve is as follow: go to a website which is protected by client certificate authentication using browser once the security challenge dialog box is shown, select on the ...
1
vote
0answers
3k views

Unable to handle Google Authentication pop up window in robot framework test case

I am having a problem on handling google authentication pop up window in robot framework. The process I want to automate is - When a button( Sign in with google) is clicked , google authentication ...
13
votes
1answer
4k views

Is Selenium's LoadableComponent a good solution as test design pattern?

I need to refactor my Selenium tests, and come across their LoadableComponent wiki page. I began trying to use it, though I couldn't really understand what is it good for. I took a look at their ...
9
votes
2answers
3k views

How is Selenium different from other GUI automation tools?

I have used WatiN and WebAii but I have limited experience with Selenium. How does Selenium differ from these other tools?
9
votes
4answers
530 views

How to test the test scripts?

Once an automation test is created, how do I test it and make sure the test does what its supposed to do? I can easily test the scenarios where test passes, but how to go about the ones that fails due ...
9
votes
4answers
341 views

What should an automation tester create a script for?

I am a newbie in automation testing. The question that bothered me while creating scripts was: Is it only GUI testing or do we also have to create Integration automation scripts? What would be our ...
8
votes
2answers
25k views

Free/Sample Selenium test suites (code) for Open Source projects

I am a student and for learning purpose I am looking for following: Open source projects who have a ready-made selenium test-suite, free for others to use: can be any sort of web application, in ...
7
votes
3answers
9k views

Automate verification of emails being received

One of the applications that I have to do an enhancement to soon has a number of emails that are sent from the application. To the point of verification, I need to see the delivery failure ...
7
votes
3answers
6k views

Is it really possible to be a Full-Stack QA & if yes then list the technical skills required?

Everyone needs an all-rounder whether it is a software developer or Tester these days. Hence we are hearing the term “Full Stack QA” these days so my question is what skill-set makes a Full Stack QA &...
7
votes
3answers
567 views

What is page object modelling? and Why is it so important?

I have been hearing a lot about page object modelling? Why is it so important? Can someone please outline me page object model? I'm currently working as QE in webservices area
7
votes
2answers
7k views

Organizing and maintaining protractor test files within multiple suites

I am just getting started with Protractor and inherited roughly 40 automated test cases. They are currently meant to run sequentially and are not organized or built to run independently. I am taking a ...
6
votes
5answers
415 views

Balancing readability and reliability in end-to-end testing

One of the things that often helps to make tests more reliable and to reduce flakiness is Explicit Waits - waiting for an element to be visible or clickable before interacting with it, waiting for a ...
6
votes
4answers
7k views

Do you verify presence of text in your automated tests?

While automating multi locale application I had to stop using - assertTrue(selenium.isTextPresent("success text message")); where success text message would change for each locale. to - assertTrue(...
6
votes
1answer
56k views

How to switch-handle-close particular popup window, When multiple popups are opened?

I know how to switch to single popup window, but I do not know how to switch particular popup window when you have more popup windows. Scenario is: Go to the each and every popup Get the title ...
5
votes
5answers
5k views

What to do when waiting for an element to appear isn't enough?

I am writing selenium tests, and following the convention of using Webdriver Waits to have the webdriver poll for an object before it tries to interact with it. I am frequently finding my tests are ...
5
votes
1answer
1k views

org.openqa.selenium.StaleElementReferenceException: stale: either the element is no longer attached to the DOM or the page has been refreshed

Code: List<WebElement> d=driver.findElements(By.className("store-name")); System.out.println(d.size()); for(WebElement d1:d) { System.out.println(d1.getText()); d1.click(); ...
5
votes
2answers
3k views

Cloud Based Automation Testing with Selenium WebDriver - Java

I am beginner in selenium webdriver (java), and wanted to know whether selenium webdriver can be used in cloud based application testing or not, if yes how to setup it (Searched over the net but didn'...

1 2 3
4
5
7