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

Test Automation in Agile?

Since Agile is iterative and many test-last tools are record and playback-style, and therefore can't really be applied in an Agile environment, this brings up a few issues. the target for test is ...
3
votes
1answer
13k views

PageFactory is deprecated in C# (.NET) - what to use instead of that

I was using for a long time PageFactory (in Java). Now writing tests in .NET I found out it's deprecated. Right now I just initialize all page objects when application starts using [BeforeScenario] ...
3
votes
2answers
203 views

How do you test Microservices?

I'm in charge of leading a QA Team and one of our tasks is to develop Automated Microservice Tests. We've been successfully testing these Microservices for a year. In summary, our Testing Process is: ...
3
votes
2answers
4k views

Help using Sensetalk (Eggplant's scripting language)

Sensetalk - Eggplant's scripting language, leaves a lot to be desired. I do not personally see why people feel the need to invent new languages all the time. The syntax is overly simplistic, and as ...
3
votes
4answers
18k views

How to automate testing of received emails?

I'm testing an Email system where I would test a set of received emails to see if the received emails actually displayed as expected. This is done for each release of the system. So basically I want ...
3
votes
2answers
20k views

Difference Between CSS and XPATH [duplicate]

Difference Between CSS and XPATH ? Which is the best locator in selecting Elements in selenium? If Xpath is the better why? why should we use Xpath instead of CSS? If CSS is the better why? why ...
3
votes
2answers
6k views

How to navigate to a alert using Selenium Web Driver with Java?

I am trying to navigate the command on the alert box, but I am not able to do it in Web Driver with JAVA. Please help me with it. Apart from this I would also like to know how to tackle with the ...
3
votes
1answer
167 views

How to make sure test framework is reliable and credible?

Test frameworks help in test automation. However, as any software, they can and they do contain bugs. Just to give examples: TestNG issues REST-Assured issues and mailing list What metrics one ...
2
votes
4answers
248 views

Which automation tool should be learn for mobile devices? [closed]

I am working as a manual tester.I need to learn automation because my company has mobile application projects in pipeline process. So please suggest which tool should I learn ? Thanks in advance
2
votes
2answers
8k views

What are Selenium, JUnit, Ant and JScover and how they are combined?

I am given a javascript function which takes as input some numbers and returns the max, as a part of a project at the university, and I have to test it, using Selenium, JUnit, Ant and JScover. I have ...
2
votes
6answers
3k views

Coded UI vs Protractor

I just joined a new company who doesn't work with any kind of automated tests. I have been hired to start test automation, and looking around I found two interesting options to e2e tests, Protractor ...
2
votes
1answer
221 views

Which AWS certification to pursue for a road towards becoming an SDET/test architect? [closed]

Should I go for an AWS certified Developer associate? Since I have good programming experience related to Test automation and want to move my career as a Test architect or tools and automation ...
2
votes
0answers
136 views

Libraries and tools for Characterization/Golden Master Testing

I really like Characterization/Golden Master Testing, but I'm only aware of the ApprovalTests library. I wonder if there're more libraries and tools that embrace the paradigm. I'm looking for ...
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 ...
1
vote
2answers
743 views

How can I export code from the SeleniumIDE to eclipse and configure it to run as Java?

I've developed some automation in the seleniumIDE How do I export that code to eclipse as java files and what other configuration will I need to do in order to run those files.
0
votes
2answers
501 views

Learn Software Testing and Automation Testing [closed]

I have been working as Developer(Java/Grails) since 3 years, I would like to switch to Testing specially Automation testing. I would like to ask for some help. I just cannot yet decide what to refer ...
0
votes
4answers
4k views

How to Incorporate the Defunct PageFactory in Selenium with C#?

I just discovered the page object design pattern recently and really wanted to implement it into my company's UI Test Automation suite. I started to do so and immediately ran into problems which lead ...
0
votes
2answers
180 views

Setting up an API Test Framework

I'm testing an API and I'm looking to define my payload using classes so that my program can then deserialize/serialize into any format (namely XML in my case). Below is an example of the payload: ...
0
votes
1answer
460 views

Automated test flakiness

I'd like to validate some of my assumptions about what "flakiness" entails in an automated test/suite. To me, that list might include: Non-deterministic (inconsistent pass/fail) Inconsistent run/...
0
votes
2answers
105 views

What are the things that one must consider while learning Selenium Webdriver Automation framework?

I am a newbie in Automated scripting using Selenium WebDriver with Java. Also, i have the most basic knowledge of core Java. With tons of resources on the web for learning WebDriver, i am a bit ...
0
votes
3answers
16k views

ElementNotVisibleException: Message: element not visible

I've seen this error everywhere, but none of the solutions have seemed to work. This is my code: contpayment = driver.find_element_by_class_name('nsg-bg--nike-orange') contpayment.click() Python/...
16
votes
5answers
416 views

What is best practice for test failures that have a low priority fix?

If I have a test that fails due to a known bug, but that bug is deemed lower priority to fix than other work, what should be done with the test? I can think of 2 options: Leave the test in the test ...
15
votes
4answers
298 views

What techniques are available to determine which browsers to test?

When websites being deployed to the internet are about to go live, the age old question always comes up. "Which browsers should I test?" I am not asking that question because it will soon become ...
11
votes
5answers
58k views

Webdriver Firefox "Element could not be scrolled into view"

I am facing this problem on Firefox v.59, Selenium 3.11.0. I just click on an element, like this: webDriver.findElement(By.id("row_0")).click(); and I get exception: org.openqa.selenium....
9
votes
3answers
777 views

Where tools for automated UI test like selenium or Coded UI fits in Dev Ops cycle

My manager asked me to look into how we can utilize automated UI testing to gain productivity and help testers automate basic functionality of the system. I developed few test suites and cases using ...
7
votes
4answers
569 views

"Conventional" Test cases in an Agile environment?

I've just started at a Web Development company that does websites/mobile apps. I've done QA for 5-6 years now and they wanted someone that had QA experience but wasn't set in their ways to be their QA ...
6
votes
3answers
6k views

How to export test cases in the latest selenium IDE

How do I export test cases in the latest version of Selenium IDE? There is no export option in the file menu.
6
votes
6answers
64k views

WebDriver API: 'Failed to send keys because cannot focus element' -- better workaround than using Firefox instead of Chrome?

There's a bug in the chromedriver.exe Chrome driver for Selenium's WebDriver API. You can't use send_keys for certain types of inputs, like for the jQuery plugin "EZPZ Hint". It works okay on simple ...
5
votes
2answers
418 views

Matching images in Selenium2

Not sure if I'm even asking this question correctly, however, here goes. I'm looking at validating images in an automation suite that I just started. I am currently validating the location via XPath ...
5
votes
4answers
368 views

New to QA - how should my automated tests differ from my manual one?

I understand the concept of creating scripts to perform tasks, but I've read re-creating my manual tests as scripts isn't the direction I should be headed. What is the difference and what types of ...
5
votes
4answers
14k views

Running Selenium test on TFS

I am currently working on implementing UI tests of .NET web application using Selenium RC. The tests are now coming together and I am beginning to look at how these will be incorporated into TFS. ...
5
votes
5answers
8k views

What kind of test cases can we not automate in selenium webdriver - java [closed]

I want to know what kind of test cases we cannot automate using selenium webdriver. I do not want to use any 3rd party tool (Autoit, etc..) What are the limitations of Selenium WebDriver?
4
votes
2answers
1k views

Is it a good idea to use Page Object Model with TestComplete?

We're using TestComplete at this company, and we're intertwining a bit of scripting in our Keyword tests. I'm thinking about just turning it into just Page Object Model type tests since the recording ...
4
votes
1answer
696 views

Automated Web Testing against Sharepoint solutions in a windows development house

I'm researching which web browser automation tools is most suited to running functional user tests against SharePoint based solutions and potentially MVC based custom web parts at a later date. We are ...
4
votes
2answers
542 views

Black box testing methods without knowledge

I stumbled upon some black box techniques (1), but I don't really get how it works. I found sources saying that black box techniques are techniques in which you input something in a program and check ...
4
votes
4answers
26k views

IE always opens with random local host and message: "This is the initial start page for the WebDriver server"

I have my WebDriver tests running parallel in IE, Chrome and firefox. When I run test in IE browser it node gets registered with the hub, and the browser opens and it gets redirected to some random ...
4
votes
3answers
290 views

How can I successfully introduce automated user interface testing to my organization?

Our development teams are good on writing unit tests and also for using the same framework (rspec in our case) for writing integrated tests. There is a strong desire to increase automated UI ...
4
votes
3answers
25k views

Selenium: How to click a button using the button label?

In the HTML code like this: <a class="test-class"> <div class="test-content"> <div class="test-time" data-start="12:13pm" data-full="12:13 PM - 12:50 PM"> &...
4
votes
2answers
240 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 ...
3
votes
3answers
6k views

How to handle the browser pop-ups in selenium IDE?

After sign-in into any application, default browser pop-up would appear on screen like Would you like Firefox to remember this login? can we handle this pop-up with selenium IDE commands?
3
votes
7answers
2k views

Can developer do automation test for the feature that he has implemented?

Doing manual testing for the feature that you have implemented is obviously a bad idea. But what about automated functional tests? It seems to me that automation testing is more related to unit ...
3
votes
4answers
5k views

Negative testing automation

Should we do negative test cases testing by automation. Generally I heard that we can do functional and regression automation. I am doing same. I am using selenium web driver for automation and doing ...
3
votes
3answers
201 views

How best to start making a suite of broken tests relevant again?

I have a bit of a dilemma, I have recently taken over an automated suite of tests written in Selenium/Java for a legacy project. The trouble is, the suite has consistently had a 40% Fail rate and as ...
3
votes
2answers
5k views

StaleElementReferenceException with explicit wait

In my code I used Explicit Waits: private WebDriverWait wait; wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10)); I tried these methods: wait.Until(ExpectedConditions.ElementExists(By.Id("&...
3
votes
2answers
6k views

Looking for a test tool for Flash-based web applications. Any ideas?

I'm looking for a Selenium-like tool to test Flash-based web applications (specifically a guided interview with questions and form fields that the user navigates through to produce a document at the ...
3
votes
4answers
1k views

Is branching tests the only option for system with multiple versions?

Our system under test have schema that differs between system versions 1.0 and 2.0: new entities have been added, some have columns added. We used Hibernate to generate Java entities for both schema ...
3
votes
2answers
1k views

Looking for open source testing tool that can be used to test Flash based applications

I am looking for a open source testing tool that can be used to test Flash based applications. I Googled and found "AutoTest Flash" but it seems to be in a dormant state. Has anybody used that tool ...

1
3 4
5
6 7