Logging in android

A very nice system is use for logging in android, usually called a centralized system. Developer can filter log statements by using android tools. We can create log statements by using android.util.Log class. Log class have so many methods l...

Generate SHA1 Key in android

In android we need to generate SHA1 key fingerprint to get Google Api key for Google Map. It just a one line command to generate SHA1 key. First of all create your .keystore file and sign to your app and take down this keystore lo...

Check Network Availability on android

We know that Its not possible that our android device should be always connected with a network. It might be a situation when we would not connected with any network, So to check it whether we are connected with any network or not. We check...

Test Scenarios

Test Scenarios It is a high level document that consist of all the possible combinations or ways of testing the application. Generally, test scenarios are written to understand the flow of the application. Why it is high level document? ...

Build Process

What is Build? It is a piece of software which is converted from code to application format. It consists of some set of features, bug fixes and installed on to the test server which needs to be tested by the test engineers for stability. B...

Types of Servers/Environment

Types of Servers/Environment Production Server It is a server which is accessed by the end users or the real users and it contains the real time data of the end users. The application or the software is installed into the production enviro...

Tools For Performance Testing

Hello Readers! In this Blog we will gain knowledge about the Good performance testing Tolls available in the Market, Performance testing tolls can be divided into two category : 1> Functional Performance tolls 2> load tools Where functio...

Components of Java Programing

Components of Java Programing The Java programming contains the following components: Keywords. Identifiers. Operators. Literals. Keywords Keywords are the commands used in Java program, these are the reserved words. In Java a...

Java Execution/Development Process

Java Execution/Development Process Java is a platform independent language. There are three stages involved in Java execution/development process: Development. Compilation. Execution. Development We write Java program in an e...

Basic Tutorial of Jquery Effects Method

About JQuery jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML. jQuery's syntax is de...

Routing in Laravel 4.x

In any project routing plays an important role.In laravel 4.x we will define our routes in routes.php which is in app/routes.php. In laravel 4.x the basic routes consist of a URL and a clousure callback. Example: Basic Get Route Route::ge...

Validation in Laravel 4.x

In any project validation plays an important role.In laravel 4.x we have validation class which is used to validating data and validating error message. Basic Validation Example: $validator = Validator::make( array('name' => 'Dayl...

How to make listview scrollable inside ScrollView

If you apply ListView inside ScrollView, then the items of ListView will not scroll. By default the scrolling of ListView will not work if defined inside ScrollView. To make the scrolling work, use the onTouchListener. Below is the code to make l...

Challenges in Testing

As a tester you need to understand what the different challenges in testing stream as you will need to overcome the same STLC process related challenges : 1.1 Limited time available for testing, Late engagement of testing team 1.2 Te...

NStimer in Objective C

Hi, In this video blog, we will learn how we can use NSTimer in Objective C. NSTimer class to create timer objects or, more simply, timers. A timer waits until a certain time interval has elapsed and then fires, sending a specified message ...

Set time interval between events with queue function

Hello Readers, In this Blog I explain about the events and queue functions and how can we set interval between this events in jquery. If you can use this then: First, you can use queue() function (jquery function) to set time interval be...

How to show multiple pins at same Lat Lng

"Adding multiple pins at same LatLng" In this article we will see how to add multiple pins at the same Lat Lng in the Google Map.     While working with Google Maps, I faced a problem that, we are not able to show multipl...

FirePHP

Debugging means finding out the bugs.We all need to be sure that our applications is bug free, so here we have another tool for debugging our application that is "FIREPHP". Firephp is a Firefox extension, similiar to FireBug. It enables you t...

ANT Build File Example

Hello Readers.. In this blog I am giving an example that how can we create an build.xml file for performing clean,compile and run by using ANT. <?xml version="1.0" encoding="UTF-8"?> <project name="AntProject" basedir="." default...

Basic Query Using Eloquent ORM in laravel 4.x

As we know Every DB table has a corresponding "Model" that is helpful to interct with the table. By using Eloquent we can implement query using MODEL NAME. The basic query using Eloquent ORM in laravel 4.x are All Query: $users = User...

Capture Image using device camera

This video tutorial describes how to capture an image using device camera.To captured an Image using device camera use to following code:- private static int REQ_CAMERA = 1001; Intent takePictureIntent = new Intent(MediaStore.ACTION&#95...

Single Table Inheritance And where to use it in Rails

This particular post will give you a overview of Single Table Inheritance And where to use it in Rails. Single Table Inheritance is, as the name suggested, it is a way to add inheritance to your models. STI lets you to save different models i...

Adding Translations in Rails

Adding Translation to a Rails Application Hi friends, in my previous blogs related to internationalization of rails application, we have configured the i18N api and saw different types of methods to pass the locals, if you have not read thos...

Error : Cannot create a session after the response has been committed in liferay 6.2

Hello guys, We are getting below error when we click on link in liferay 6.2 but now I have resolved this issue. ERROR [http-bio-8080-exec-175][LanguageFilter:83] java.lang.IllegalStateException: Cannot create a session after the re...

How to send a status message to my server when android activity get closed ?

Sometime we wish to track our user activity when user closed particular activity in app so we can follow this life cycle of Activity : If you want to send status to your server when application closed or force quit then you should use override...

How to correctly use the AlarmManager class to execute a task at fixed intervals?

This Post ll help you to manage your alarm : AlarmManager am=(AlarmManager)getSystemService(ALARM_SERVICE); Intent alarmintent1=new Intent(MainActivity.this, AlarmReceiver.class); PendingIntent sender1=PendingIntent.getBroadcast(SpeedMotor...

Dp to Px converter and vice-versa

As we all know that Android works with dp size. But what to do if we have px values and want to check corresponding dp value ?. Don't worry try this - public static int pxToDp(int px, Context ctx) { DisplayMetrics displayMetrics = ctx.getRes...

Usability testing and its benifits

Usability testing is a Black Box testing technique. It is the best way to know how end/real users experience our application/website. Its a technique to know how user friendly our application is and whether real users feel comfortable with our ap...

Setting Rails Locales from URL

Rails Internationalization : Setting locals from URL In my previous blog, we looked in Setting rails locale from domain name, it was a good approach of detecting the desired locale from domain or subdomain, but sometimes you are not able to ...

jQuery Accordion

Hello readers! In this Blog we will gain knowledge about Accordion and how to use it . An Accordion is a vertically stacked list of items which allows users to toggle the display of sections of content. Each item(Header in this example) can be ...

MongoDB Sharding explained

Sharding is a method for storing data into multiple distributed machines. Database systems with large data sets and high throughput applications can challenge the capacity of a single server. To prevent this MongoDB Sharding concept used. In S...

Two Phase commits in MongoDB

Hello All, In this we will discuss about how to perform two phase commit in MongoDB. Consider a example where funds will be transferred from one account to another. In a relation database approach we just subtract fund from account a and ad...

SDLC Models

SDLC Models: The full form of SDLC is Software Development Life Cycle. SDLC process is used by Programmer or Developers the most but Tester also follow the rule for testing the applications. In IT company there are many SDLC model, but we ca...

How to create Concatenate string in java

With the help of java, I have created concat() string method. In the example given below, I have used '+' operator , StringBuilder and StringBuffer Class to join string in java. The string concat() method combines specified string at the end of t...

Setting rails locals from Client Requests

Rails Internationalization : Setting locals from Client Requests Hi friends, in my previous blog, we looked into Setting the Locale from the URL Params. There are some more cases where we don't want to set the locales through URLs or domains...

jQuery events

Welcome friends. Today we are here to discuss the heart of jquery. Do you know who is the heart of jquery?. i think your answer is ready. Am i right?. Events are the heart of the jquery. If we say, events means jquery and jquery means events then...

Setting rails locale from domain name in rails for internationalization

Rails Internationalization : Setting locale from Domain Name For translating your application to other language, you can set I18n.default_locale to your locale in application.rb or in initializers as I told in my previous blog Configuring i1...

ANT

What is ANT ? Ant is a product of Apache. Ant is a tool, based on Java library and command lines. The main motive of ant tool is that it handle the method or process which are mentioned in the build files in form of targets and extension poin...

Software Test Life Cycle (STLC)

Software Test Life Cycle (STLC) It is a step by step procedure to test the software which consists of all the testing activities. STLC is a part of SDLC where as Defect life cycle is a part of STLC. Below are the phases of STLC: Requi...

raw vs. html_safe vs. h to unescape html

Rails has a nice way to protect yourself from CSRF attacks through threatening HTML encoding from anything you write between <%= %>. But there is a caution, you want to render HTML from string so you need to tell rails that it should not es...

Is Ruby pass by reference or by value?

When we have to call a function with parameters there are basically two most generally known and easy to understand approaches for passing of parameters among all programming languages and these are pass-by-value and pass-by-reference. Ruby is pa...

Event binding on dynamically created elements?

Event binding is an advantage of jquery. In jquery we implement the event binding to handle the newly created elements on page. Jquery has provided different functions/events for different versions. Before discussing these types of functions/even...

Why does jQuery or a DOM method such as getElementById not find the element?

Welcome to this quick discussion. Today we are going to discuss the basic concepts of jquery. Have you tried to use the getElementById without window load or document ready events? Do you know why does it not work without these events? Every time...

RAID

RAID or Redundant Array of Independent Disks is a method by which we store the same data in several places on different hard disks. By Implementing RAID we can Make Input/Output operation to overlap in good proportions and it also Improve the Per...

How To Write Performance Test Cases

If you are going to write the Performance test cases, you required a different mind set to do that. As a performance Tester you don't require knowledge of application You have only one mid set i.e the performance of the application How can th...

Resource utilization

  Resource utilization is the metric we used in QA when we need to find the utilization of resource against total   available time .To find the Resource utilization we need values like Total Available time , Actual Productive time&...

How to get Outlook Invitation in Thunderbird Email

If you are getting corrupted invitation from outlook in your Thunderbird Mail. Please follow the below step: a) On the top right just next to search box. You can see an option to explore Thunderbird options. Please click on this and go to Ad...

Spring Security:RESTful Authentication via Spring

AuthenticationTokenProcessingFilter First we need to make security context where we define our Authentication Entry point and a filter for processing the token. Configuration xml will look something like this: <security:http realm="Authe...

Dynamically remove the model validation in cakephp

Hello Readers; If you want to remove the validation in cakephp from the Model dynamically then use the below one line code. $this->validator()->remove('username'); The above validation completely remove all rules for a field.(Her...

PHP Access Specifiers (Public, Private, Protected)

Hello Readers, The below are php accesss specifiers which are commonly used in php: Public: When you declare Public Method or function in PHP. It can be used as Publicly into the Class (so as to be seen by other people). Public scope...
1 231 292