We’re rewarding the question askers & reputations are being recalculated! Read more.

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
16
votes
5answers
59k views

How to handle dynamic changing ID's In XPath?

How to Handle Dynamic Changing IDs In XPath? for example : //div[@id='post-body-3647323225296998740']/div[1]/form[1]/input[1] In this xpath id "3647323225296998740" is changing every time when ...
62
votes
14answers
282k views

How to download a file using Selenium's WebDriver?

Basically I want to at least check that a download-able file exists / download link works and preferably get stuff like the file size too. Here's an example: link = self.browser....
23
votes
6answers
13k views

What makes a good selenium locator?

When automating UI tests with Selenium, it is often not absolutely clear what method and what locator to use to locate an element. Some locators are less reliable, less readable than others. And, ...
18
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 ...
25
votes
6answers
140k views

How do I work with dropdowns in Selenium Webdriver?

This is a canonical question, intended to provide a comprehensive answer to many related questions. I understand the basics of working with Selenium Webdriver; I can navigate to pages, click buttons, ...
25
votes
13answers
109k views

How to fill CAPTCHA using Test automation?

How can I automate "Enter CAPTCHA" using Selenium WebDriver?
15
votes
7answers
10k views

How can I structure Selenium tests in a way that minimizes the maintenance work?

What is the best way to build/structure the tests in a way that will minimize the work needed to keep the tests up to date as the product changes and improves?
4
votes
4answers
3k views

How to generate good locators for elements in Web pages?

This site contains many questions that are about finding the right locator expression (XPath, CSS, etc) for an object in WebPage or about troubleshooting problems related in invalid or dynamic ...
23
votes
13answers
33k views

What is a good website to hack around using Selenium?

I want to learn Selenium, but I don't know what to code. Sure, I can throw Google some queries, I can fill out some forms, press buttons, find divs and links, etc. But I think this stuff is pretty ...
15
votes
2answers
9k views

Good resources/tutorials/tips for beginner doing automation?

I've just started automating all the tests our team has (~5000). I'm using Telerik Test Studio for the Silverlight automation. I have some tests written, but I'm quickly realizing that with each test ...
5
votes
1answer
13k views

Unable to scroll down to bottom of div with data loading dynamically

<div id="findingTblBody" class="tablebody" infinite-scroll-distance="2" infinite-scroll="loadMoreData()" style="width: 819px;"> I want to scroll to the bottom of div mentioned above. I am ...
20
votes
4answers
55k views

How to Implement Page Object and Page Factory Pattern in Selenium Webdriver?

I am a beginner in learning selenium Webdriver. I am not able to understand how page object and factory models works and how it can be beneficial? Kindly help me explain it with detailed ...
9
votes
5answers
9k views

Manual tester wanting to get into automation

So its been a year since I have been studying python, and just recently I started picking up webdriver. It was a long journey, and I am still pretty noob, but I finally understand how to use it lol. I ...
11
votes
3answers
9k views

Is it a bad practice to use implicit wait in Selenium Webdriver? Should one use only explicit wait?

I was reading up on implicit and explicit waits and found the following two statements: Implicit wait is not considered a good practice because different browsers have different loading times and ...
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 ...
42
votes
18answers
48k views

Compare screenshots of rendered web pages

In my team, we use Selenium for automation of functional testing. We also do a lot of manual regression testing to make sure the appearance of the rendered web pages is ok. I would like to develop a ...
56
votes
18answers
10k views

What are some tools for testing Mobile web apps?

I'm thinking along the lines of a Firebug for the iPhone/iPad/Android/BB that can truly give more insight on the markup/scripts. Even when testing on the simulator/device, it's hard to truly simulate ...
21
votes
9answers
54k views

What are some good open source UI Testing tools for testing Windows GUI?

I need a list of some good tools which are open source and meant for automating the UI testing of Windows GUI. Any help will certainly be appreciated.
11
votes
5answers
4k views

Looking for open source, Java-based tool for performance testing

Goal: I have an enterprise application written in java to test for performance. I need to do it separately, so I will be basically simulating a user interaction over http/https. My findings: ...
33
votes
16answers
43k views

What programming languages are good for novice testers to learn?

I'm looking for a programming language to recommend to a friend considering teaching herself software testing. I have a friend who is interested in learning software testing, and I believe strongly ...
17
votes
4answers
5k views

Screen Play vs Page Object pattern

I've recently stumbled upon Senenity/JS framework which advocates the Screen Play pattern, which was proposed as a better alternative to Page Objects. What are the key fundamental differences between ...
9
votes
11answers
27k views

Is mail testing with selenium possible?

We have merely just had a kick off meeting for a new project that I am required to automate ASAP. The project is essentially a "mailbox project", if you will, and I have no idea as to where to start ...
5
votes
1answer
321 views

Suggest some Android and iPhone mobile app automation tools [closed]

Please suggest me some tools for Android and iPhone app automation testing. I have searched some, like - Appium, Calabash, MonkeyTalk, Selendroid, Robotium, etc. I am confused to choose any one from ...
5
votes
6answers
3k views

I am about to automate the Web API testing, how to initiate

There is a web API (RESTful) which is used by our mobile applications. Untill now we were manually testing it through mobile devices. Now, as per our client requirement, we need to automate the ...
-1
votes
3answers
3k views

How do I get particular textNode value of a DOM with Selenium

Hello I am trying to find Load # detail from this site. Also You can refer screenshot too. I have tried with xpath: //div[@class='equipment_item']//text()[preceding-sibling::strong[text()='Load #:']][...
20
votes
7answers
3k views

Transition from all manual testing to automated testing

Right now my company only does manual testing. We've talked about starting some automated testing for a while but it hasn't taken off at all. It seems like automated testing would be a good way to ...
14
votes
7answers
3k views

What are anti-patterns in test automation?

anti-pattern: There must be at least two key elements present to formally distinguish an actual anti-pattern from a simple bad habit, bad practice, or bad idea: A commonly used process, ...
8
votes
2answers
2k views

Your suggestions for writing reliable Web UI automation

Web UI automation is unreliable. I presume it is possible to increase the reliability of Web UI tests. One such advice would be to put an abstraction layer on top of your test that does actual DOM ...
31
votes
16answers
17k views

Can every test be done by automation?

Can every test be done by automation? Or is there anything that cannot be done by automation?
11
votes
3answers
8k views

Controlling database state in Selenium UI Testing

We have a big test suite with around 300+ tests. Now a days we are manually restoring database and creating few Data Objects and hard coding some data to feed into the tests. However, there are a lot ...
22
votes
7answers
100k views

Selenium: reuse existing browser session, instead of opening new windows?

This has been asked a million times on the web, but there's no clear cut answer. I tried "-browserSessionReuse" today without any luck; my tests keep spawning new browser windows. X:\QA\Automation\...
16
votes
6answers
5k views

How to deal with flaky tests that have intermittent failures?

Having flaky tests that sometimes fail and sometimes pass is very frustrating: there is no single reason each of the flaky tests fail the failures don't seem to happen to real users using the ...
6
votes
16answers
47k views

Should I learn Python or Java to get into test automation? I am new to programming

Should I learn Python or Java to get into test automation? I'm new to programming. Please share your thoughts or links to any useful information.
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 ...
5
votes
2answers
2k views

Speeding up end-to-end tests

When we execute the same set of end-to-end browser-automated tests on BrowserStack, we notice a dramatic slowdown - tests are much slower than if executed locally and there are occasional failures ...
48
votes
12answers
2k views

Building “slow to break” regression tests

I need to build a lot of regression tests for our product at work and I plan on using Selenium. I am concerned about building tests that will become quickly outdated and broken based on the fast pace ...
23
votes
3answers
2k views

Good resources for building a QA team

Our corporation has, up until this point, largely lacked a 'quality mentality' of any kind. From no testers, they went to two testers - but 5 or 6 product teams still rely on a mix of developer and ...
24
votes
7answers
4k views

Are your UI automated tests dependent or ordered?

While writing UI automated tests, I've come across situations where test dependency looked like a must. For example, say I have two tests, where the second is dependent on the success of the first. I ...
15
votes
5answers
7k views

What are the trade-offs of using page objects instead of a collection of functions in UI automation?

I've been using Selenium off and on for the past two years. Recently I've been seeing more references to page objects. (I'm referring to page objects as an means of organizing UI automation code -- ...
7
votes
10answers
15k views

How can Manual QA's without a programming background learn Automated Testing?

I currently work at an ad agency as a Manual QA. I originally came in to act on the business side but kind of 'fell in to' the job. I do not have a programming background but I am very interested in ...
5
votes
11answers
3k views

RESTful JSON Web API Testing - what tools?

My company is working on its API which is RESTful JSON Web API. So far, all my testing was done using Selenium WebDriver. Starting from one and more tests I manage to create some sort of framework. ...
7
votes
2answers
5k views

QTP vs Selenium [closed]

I have largely worked with Selenium for front end automation. Looks like there is great market for QTP in this arena, especially when you could afford commercial tools. Have you worked with both ...
5
votes
5answers
505 views

Where to get feedback on my testing skills?

I've been testing for a number of months during development of two products. However, my organization does not have well-established testing process. We are given templates, TT tool, and told to write ...
5
votes
1answer
7k views

How to Use Http Request/JSON extractor(using Jmeter Variable) in Jmeter with Response assertion(using Jmeter Variable)

How to Use Http request/JSON extractor(using Jmeter Variable) in Jmeter with Response assertion(using Jmeter Variable). better to provide with Example?
4
votes
2answers
2k views

Open-source functional testing automation tools for testing Silverlight based applications

I am looking for an open-source functional testing automation tool that supports testing of Silverlight based applications. To be more specific, the tool should be able to recognize objects within ...
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 ...
6
votes
1answer
854 views

TestComplete working with a very large application loses the ability to access application internal properties

I work with automated testing of a very large Delphi XE application using TestComplete 9. The application has a 180MB executable. The automation environment is Windows XP, 32 bit. TestComplete is ...
4
votes
3answers
2k views

Where should I create a coded UI project?

Should Coded UI tests be within the solution that they are testing (similar to Unit Tests), or should they be contained in a separate, generic Coded UI solution that is built only once and executed ...
2
votes
1answer
7k views

How to locate element inside <form> <table> element </table> </form>?

I want to locate element TableHeader which is inside a form table, it has the following page structure: <form> <table id="topNavigation" cellspacing="0" cellpadding="0" border="0" width="...
1
vote
2answers
120 views

What are the top browsers to test on?

I have made the web platform for cab booking service. And I want to ensure the user interface and functionality of my web application across different browsers. But there are many browsers available ...