Tag Info

Hot answers tagged

4

I do not know what features QC delivers for running automated tests, but this is what I would do to maintain a Selenium test-suite: As a test runner for Selenium just use a unit-test runner in the language you are developing your tests in. Most xUnit-tests runners generate the same result files, which can be parsed by report generators for reporting. To ...


2

If you are testing for a specific image at a specific resolution then you could either compare the image with the reference image or quicker calculate the MD5 of the image and compare it with the expected. Be sure and wait for the page to be loaded, including images, before validation.


2

Converting Telerik Test Studio cases into Selenium WebDriver will require a lot of rework, because Test Studio uses completely different technology, framework and syntax for example you find logic expression are different. The only benefit you can get if you have used Nunit in both Test Studio and Selenium WebDriver, as both tools are compatible with Nunit, ...


1

Adding to Niels answer that CI-Servers like Jenkins are the tool of choice for automated test execution (which I strongly support), I like to point out that there are also plugins available for transferring the test results from Jenkins to a full blown test management application for archiving and reporting as well as merging them with other test results as ...


1

I try the scroll down with loop, it's great with Python. #!/usr/bin/python # -*- coding: utf8 -*- scroll_time = 13 ... scroll = driver.find_element_by_id("element_name") for num in range(0, scroll_time): scroll.send_keys(Keys.PAGE_DOWN) ...


1

Try out Galen; it's designed for testing responsive web design across different platforms and different sized viewports, so its all about how web elements are laid out on screen: Layout testing seemed always a complex task. Galen Framework offers a simple solution: test location of objects relatively to each other on page. Using a special syntax and ...


1

Don't use Thread.sleep or ImplicitlyWait. The best way to wait something is explicit wait. Try to use new WebDriverWait(driver, 60).until(new ExpectedCondition<Boolean>() { @Override public Boolean apply(WebDriver webDriver) { return // check if file downloaded } ...



Only top voted, non community-wiki answers of a minimum length are eligible