Posts

Negative Testing

Negative testing is the process of applying as much creativity as possible and validating the application against invalid data. This means its intended purpose is to check if the errors are being shown to the user where it’s supposed to, or handling a bad value more gracefully.

Testing Framework : JAT

Hi Readers,

As we all know that now a days, Frameworks for automation testing are everywhere.

However, I feel there is a need to prepare framework for manual testing which should be generic and helpful to a tester.

What is a framework ?

Framework is a real or conceptual structure intended to serve as a support or guide for the building of something that expands the structure into something useful. A framework is generally more comprehensive than a protocol and more prescriptive than a structure.

Well same way, using manual testing framework, a tester should feel confident and pretty much sure that he/she has covered almost everything.

Well its a thought and I have started working on it. Project begins from January 2017 :)

Oops, what should i call it ?

JAT ( Just Another Testing Framework )

Things to test in Mobile App

End user scenarios

It is really important to think like an end user while testing your application. Try switching between applications, locking your phone, unlocking your phone, putting it in airplane mode, turning on/off bluetooth and so on. Think like a user and put yourself into their shoes. Think about scenarios which the real user  would face when using your mobile application. You may also want to create different user “personas” such as a non-technical user (someone who has little smartphone experience); a power user (who switches  between apps consistently and quickly) and impaired users (those who may have bad or no eyesight, or those who have sharp hand movements).

Logs

It bothers me that there are still testers out there who do not realize the value of log files. These files usually have bugs in them, hidden gems that are waiting to be discovered. While testing our mobile application, note that there are 2 types of logs:

    • Crash Logs
    • Console Logs

Crash logs are a g…

Automation Framework - RAFTAAR

Hi Readers,

I have started developing a generic Automation Framework from January 2016 :)

Though, its a tough job, I have managed and will continue to develop this generic Automation Framework. Well, I have named it

RAFTAAR (Regression Automation Framework That Allow Artificial Runs ) 

As the name suggests, Raftaar means Speed,  its fast and robust :)

Features :

- Easy to use for Manual Testers.
- Simple format to write Test Cases in excel.
- Cross Browser Support
- Operating system and application independent.

Framework Workflow :

The framework first parses the test cases & data. It then utilizes keywords using test libraries defined within framework to interact with the system under test. Test execution is started from the command line. You will get customized HTML test report and logs file for each test.

Flavors :

1. Java
2. Python

Project URL : https://github.com/iamgauravkhanna/RAFTAAR

In case you need access, please send an email to iamgauravkhanna@gmail.com

Content Testing

"Content testing" typically refers to the practice of testing whether or not your content is suitable for the audience in question, and whether or not they can understand and comprehend it. I believe it is more geared to internet-based content, but content testing is applicable to marketing, advertising, non-fiction, and probably even fiction - just about any discipline that relies on writing for a particular audience.

For good content testing, you need to know who your audience is, for example, literacy level, and any interests you may feel are relevant in relation to the content you've written. You're not really interested in whether or not the reader is going to like what you've written, but more whether or not they're going to actually understand what you've written.

Understanding can be greatly influenced by word choice, length of sentences, grammar, and sentence structure, so content testing would pay close attention to the way the author is trying t…

Regular Expression

A regular expression is a special sequence of characters that helps you match or find other strings or sets of strings, using a specialized syntax held in a pattern. Regular expressions are widely used in UNIX world.

The module re provides full support for Perl-like regular expressions in Python. The re module raises the exception re.error if an error occurs while compiling or using a regular expression.

We would cover two important functions, which would be used to handle regular expressions. But a small thing first: There are various characters, which would have special meaning when they are used in regular expression. To avoid any confusion while dealing with regular expressions, we would use Raw Strings as r'expression'.

The match Function
This function attempts to match RE pattern to string with optional flags.

Here is the syntax for this function -

re.match(pattern, string, flags=0)

- pattern = This is the regular expression to be matched.
- string = This is the string,…

Classes & Objects

Python has been an object-oriented language since it existed. Because of this, creating and using classes and objects are downright easy. This chapter helps you become an expert in using Python's object-oriented programming support.

If you do not have any previous experience with object-oriented (OO) programming, you may want to consult an introductory course on it or at least a tutorial of some sort so that you have a grasp of the basic concepts.

However, here is small introduction of Object-Oriented Programming (OOP) to bring you at speed -

Overview of OOP Terminology

Class: A user-defined prototype for an object that defines a set of attributes that characterize any object of the class. The attributes are data members (class variables and instance variables) and methods, accessed via dot notation.

Class variable: A variable that is shared by all instances of a class. Class variables are defined within a class but outside any of the class's methods. Class variables are not …