Quick tip: How to install or uninstall an app in several Android devices with just one command

From my contribution in my company's blog

Recently, while working on a mobile project, I found myself spending a lot of time connecting a device, uninstalling the previous version of the Application Under Test (AUT), installing the new one, and then disconnecting the device, just to do it again on another 6 or 7 devices (I would like to talk about why it is better to test on actual devices than in a simulator, but that topic deserves its own blog post).

Read more...

Back to the basics: The best browser add-ons for Quality Assurance

Originally posted on the blog of my company.

Recently, Firefox 29 was rolled out with a new redesign and, while downloading and installing it, I realized all the history Firefox and I have together. I believe the first version I installed was 2.7; since then we've been BFFs.

I've seen some browsers rise, grow, and die, like Flock (based on Firefox) and Rockmelt (based on Chrome). I have also seen others that always have been there, like Opera and Internet Explorer, but they have never been good enough.

Read more...

Parameterization or Randomization

"Insanity is doing the same thing over and over again and expecting different results".

Albert Einstein

While reviewing a test script that I had setup to run daily, I found a test case had failed and decided to investigate further.  In doing so, I used a different user to run against the same script, but ran manually due to the previous user not meeting the perquisites I have defined for that script. The solution, I found, turned out to be more difficult than I had been expecting.  After trying with the different user, the script returned 3 more different errors.

While analyzing these errors, I discovered something odd.  Why would the same script return different results for two different users?  The difference, I discovered, was that my new testing user had been registered as a male, instead of my original, which was registered as a female. My script, in a nutshell, uses a test account to login to a social network to review different languages strings that appear on the site.  The string differences on this site of a male and female user are vast.  But, as it relates to my script, I noted the 3 errors as a result of using a different gender.

How can I solve this for future testing scripts?

Read more...

Parameterization or Randomization tools

In my previous post I was talking about parameterization or randomization in our tests, why is it necessary and how to add it in our tests. In this article I would like to talk about a tool that can help us achieve that, a tool that can save us a lot of tedious work.

Let's say we need to do some validation tests on a set of fields in a form that will be displayed on a page after saving them, this fields are:

  • Name
  • Lastname
  • Phone
  • Address
  • City
  • Country

We need to validate some different things like:

  • Text once saved fits the design and it doesn't overflow or overlaps anything
  • Min. allowed char.
  • Max allowed char.
  • Accented or other funky chars (á ç ñ) 
  • No numbers on Name and LastName fields
  • No letters on Phone fields

And we can go on and on and we could end up typing (and thinking about) 100 or 1000 different names, last names, phones, etc but. It wouldn't be better to have a tool that generates all that info for you?

Well, "there's an app for that". One of them is Generate Data it basically generates random data for us to use in our tests. Next I will detail how does it do it.

Read more...

How to upload multiple pictures to Pinterest and not die trying

I don't know about you, my multiple readers (hahaha), but I have been on Social Networks since the beginning and I'm not that old, and let's agree that Social Networks are not that old either. Maybe they have been around for about 7 or 8 years? Well, in all this time we have seen a lot of Social Networks come and go, like MySpace, Badoo, Metroflog, other flogs, sexy or not, etc.

One of the most common features is the ability for users to upload pictures. And that has been the base for many of them, like Pinterest.

Pinterest is a Social Network where you can share photos and that's pretty much it. It has some interesting features like sharing pictures from other sites without having to download the pictures and then upload them to Pinterest. You can just browse other sites and "repin" a photo to your Pinterest "board" (boards are like folders where you organize your pictures) and you can "like" and upload a picture from your computer and some other stuff.

Similar to other Social Networks from the past (like Metroflog) in Pinterest you can only upload pictures one at a time, so if you want to upload more than one picture, you have to click on the button for "Pinning" a new picture, select it, select your board, write a description, and click on "submit" and then repeat this process every single time. But what happens when you want to upload hundreds of pictures? Now it's tedious and you probably will only upload some of them.

In this post, I will try to explain how to use iMacros to upload any number of photos to Pinterest and not die trying.

Read more...

Page 2 of 3