Test Complete Online Training,Hyderabad,India,US,UK|Automation Testing With Test Complete |QA-Masters

Test Complete is a UI Automation Tool, a Product of Smart bear lets you create, manage and run tests for any Windows, Web or Rich Client software. QA-Masters offers Best Test Complete Training with most experienced professionals. Our topics are covered with practical and real time examples to help students to understand real time Scenarios. Our training courses are customized for current industry needs and therefore students are 100% placed in the companies. Why This Course?  Avg. Salary for TestComplete Developer: $78,856 PA.  TestComplete has a market share of 5%  Used by top industries across various business Verticals. Ex: cisco, JPMorgan, Boeing, McAfee.

submitted by /u/qamasters
[link] [comments] Continue Reading

Some code to generate reports with Headless Google Chrome and Puppeteer

I’ve been working on getting our test tool working with Headless Chrome and I just stumbled upon the Node API Puppeteer, which makes everything so much easier. I wrote a blog post about my findings, together with some example code that grabs a report from console and exits when the site outputs “All tests completed!”

Sharing it in case it’s useful for someone: https://boozang.com/generate-reports-headless-google-chrome-puppeteer/

Boilerplate code: https://github.com/ljunggren/bz-puppeteer

submitted by /u/styrmanljungman
[link] [comments] Continue Reading

ELI5 Selenium, Pytest and Jenkins integration

I was told to read this tutorial on Selenium, Pytest and Jenkins integration.

Can someone give a ELI5 explanation of this? I understand what Selenium does and Pytest, to a certain degree. But what is Jenkins for? Is it for when you get to hundreds of tests and need something to run them? Why not write a script that kicks and runs a bunch of tests?

submitted by /u/PortoPuddy
[link] [comments] Continue Reading

Code Health: Eliminate YAGNI Smells

This is another post in our Code Health series. A version of this post originally appeared in Google bathrooms worldwide as a Google Testing on the Toilet episode. You can download a printer-friendly version to display in your office.

By Marc Eaddy

The majority of software development costs are due to maintenance. One way to reduce maintenance costs is to implement something only when you actually need it, a.k.a. the “You Aren’t Gonna Need It” (YAGNI) design principle. How do you spot unnecessary code? Follow your nose!

A code smell is a code pattern that usually indicates a design flaw. For example, creating a base class or interface with only one subclass may indicate a speculation that more subclasses will be needed in the future. Instead, practice incremental development and design: don’t add the second subclass until it is actually needed.

The following C++ code has many YAGNI smells:

class Mammal { ...
virtual Status Sleep(bool hibernate) = 0;
class Human : public Mammal { ...
virtual Status Sleep(bool hibernate) {
age += hibernate ? kSevenMonths : kSevenHours;
return OK;

Maintainers are burdened with understanding, documenting, and testing both classes when only one is really needed. Code must handle the case when hibernate is true, even though all callers pass false, as well as the case when Sleep returns an error, even though that never happens. This results in unnecessary code that never executes. Eliminating those smells simplifies the code:

class Human { ...
void Sleep() { age += kSevenHours; }

Here are some other YAGNI smells:
  • Code that has never been executed other than by tests (a.k.a. code that is dead on arrival)
  • Classes designed to be subclassed (have virtual methods and/or protected members) that are not actually subclassed
  • Public or protected methods or fields that could be private
  • Parameters, variables, or flags that always have the same value
Thankfully, YAGNI smells, and code smells in general, are often easy to spot by looking for simple patterns and are easy to eliminate using simple refactorings.

Are you thinking of adding code that won’t be used today? Trust me, you aren’t gonna need it!

Continue Reading