Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
How to install meteor on windows
Meteor is a new javascript framework which is designed to simply the web development and automate the process. The best feature of meteor is real time communication. It acts in real time.
Installation of Meteor on Windows:
Download nod...
Fade-in effect using CSS3 @keyframes Rule
With CSS3 @keyframes rules, we can make a fade-in effect for any HTML element we want. In following code, we are just changing the opacity of an element on two different @keyframes states. We can increase the fade-in time by animation-duration pr...
Simple CSS3 Animation Example
Hi,
Here is an example of a simple animation showing a tree growing on the field and then some rays coming over it.
For this I will be using following images.
bg.jpg
treetrunk.png
branches.png
rays.png
shadow.png
...
Aimated Text shadow by CSS 3
Hello,
Bellow is a animation showing shadow of a text moving relative to the movement of the light.
<!doctype>
<html>
<head>
<style>
@import url(http://fonts.googleapis.com/css?family=Anton);
html {
height: 1...
Software Testing Process
Following are steps to make software testing more easy & efficient:
1.Participation right from beginning:-It is a good practice, if tester has involved in starting from the project. Testers can acquire better understanding of project.Earl...
Cakephp - Using Config.php
We can use config.php in cakephp to define constant which need to be used in our whole project example we have different role id for different users.We can define those user corresponding to their role id and can easily access them through out ...
Image Rotation by image magic
Creating image rotation using Image magic by command line.
Some time image taken from iphone when uploaded on the website gets rotated .We can easily find that the image is rotated and can rotate is back by using the following code.
$rot...
How to use variable Argument in java
How to use variable argument
Using variable argument in java method can be very important tool . As we can give multiple no of inputs to the methods using variable argument.
The rules to define variable-length parameters in a metho...
Method eq() in jquery
Description:
The eq ( index ) method reduces the set of matched elements to a single element or we can say that
find the element that matches or equals the index provided.
Syntax:
Here is the simple syntax to use this method:
selector.eq ( i...
How to use for each in java
Using for each In place of Normal loops in java
for each can be used to display the all the elements of the array.
Syntax :
for(datatype variablename : array)
{
// Do the work with varialble
}
example
publi...
How to copy image in NSPasteBoard
To copy the image on NSPasteBoard following code can be used:
- (IBAction)paste:sender
{
NSPasteboard *pasteboard = [NSPasteboard generalPasteboard];
NSArray *classArray = [NSArray arrayWithObject:[NSImage class]];
...
How to print an NSImage
The following code prints an image stored in a file:
-(void)print:(id)sender
{
NSImage *image = [[NSImage alloc]initWithContentsOfFile:[imageEdWindowController getImageLocation]];
[image scalesWhenResized];
NSImageView *	...
Text-shadow
Text-shadow:-
The text-shadow declaration allows you to create a text shadow.
Each shadow is specified as an offset from the text, along with optional color and blur radius values.
Syntax:-
text-shadow: h-shadow v-shadow blur color;
As you...
How to show ActivityIndicator before image load in iPhone
Show activity Indicator before image loads using SDWebImage SDK.
UIView *myView;
UIImageView *imgView;
UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
...
Add Section Index Title search in one section of UITableVIew in iPhone
Add Title search on UItableVIew
- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView
{
return [NSArray arrayWithObjects:@"A", @"B", @"C",@"D",@"E",@"F",@"G",@"H",@"I",@"J",@"K",@"L",@"M",@"N",@"O",@"P",@"Q",@"R",@"S",@"T",...
Show HTML formatted code on UIWebView in iPhone
Steps to create HTML file and display on UIWebView.
Step1. Add New File -> Resource -> Rich Text File.
Step2. Change .txt extension to .html.
Step3. Enter your HTML code as written below.
<html><head><style>{text-al...
Increase Label height according to Text in iPhone
On top header area
#define kDefaultCellFont [UIFont fontWithName:@"HoboStd" size:10.0f]
NSString *text = @"This is a simple example of the versatility of blocks, but the standard frameworks are chock-full of other use cases. NSArray lets yo...
Hide and Show TabBarController in iPhone
Sometimes we need to hide or show TabBarController from the bottom of the screen then we can just use following functions to do so...
In AppDelegate or Singleton class
for .h class :-
- (void) showTabBar:(UITabBarController *) tabbarcontro...
How can use Regular Expressions in HTML?
We can use a Regular Expressions width the help of HTML 5. You can use this with "textarea" and "Input" tags.
<form action="" method="post">
<label for="username">Create a Username: </label>
<input type="text...
how to get remaining months between two dates in ruby
Below is the code to get remaining months between two dates
date1 = '2011-03-31'
date2 = '2011-02-25'
(date1.to_date.year * 12 + date1.to_date.month) - (date2.to_date.year * 12 + date2.to_date.month)
...
Android how to send SMS
For sending SMS in Android, we have two different ways to do so, First is by using Android's built in SMS application and other is by using Android's SMS manager Api.
Here is how we do that:
1: By using Android device's built-in SMS applica...
Bind Model in cakephp
In one of my project I have two table with simple relation
Division (id, title) - hasMany Staff
Staff (id, division_id, name, jobtitle)
So. Now I need to get some info like: I need to get all Staff where birthday today, and get r...
Naming convention in cakephp
Naming convention in cakephp
To get Maximum advantages from Cakephp then we need to follow some basic naming convention that cakephp rules says.
Naming convention follows principles of following section of cakephp
Database name
Contr...
CAST
The Term CAST Computer aided software testing refers to Techniques and tools are user used for testing software applications. CAST use the combination of Software and hardware based tools and techniques to perform the process of testing.
Primar...
QA Metrics
Metrics are the most important responsibility of the QA team.Metrics allow for deeper understanding of the performance of the application and it's behaviour. The fine tuning of the application can be enhanced only with the metrics.In a typical QA...
Acceptance Testing
Acceptance Testing (UAT) :
This is the most important type of testing as it is conducted by the Quality Assurance Team who will indicate whether the application meets the intended specifications & satisfies the client requirements.
This is ...
How to Automate a Slider in Selenium?
Selenium is a very powerful, flexible open source automation testing tool for web applications. With the help of selenium we can automate Sliders. Sliders helps the user to select a value by dragging and dropping a handle.
The f...
User Review
Typically identifies problems with requirements defnition and uncover gaps between business stakeholder
expectations and the actual deliverables being produced.
UAT and Business Driven Testing can be executed in parallel.Specifically UAT is c...
How to automate a Flash Player in Selenium
The following should be used to automate a flash player:
WebDriver driver = new FirefoxDriver();
driver.navigate().to("http://www.youtube.com/watch?v=cwNmRCJAIXU");
FlashWebDriver flashObj = new FlashWebDriver(driver,"movie_player");
flas...
How to automate Drag and Drop functionality in Selenium webdriver
The following code should be used:
WebElement draggable = driver.findElement(By.xpath("//Give the xpath"));
WebElement droppable = driver.findElement(By.xpath("//Give the xpath"));
Actions action = new Actions(driver);
action.dragAndDrop(...
QA Analysis
Analysis is the key factor which drives in any planning.During the analysis, the analyst understands the following:
-Verify that each requirement is tagged in a manner that allows correlation of the tests for that requirement tself.(Establish T...
How to call a javascript function through android
If you are trying to load a web page inside android web view. Then a known java-script function of the page can be called through android in following way :-
webview.loadUrl ("javascript:methodName(\""+parameter1+"\",\""+parameter2+"\")");
...
Trick to apply Http connection timeout for post and get method in android?
While working with application that connects to a web service and sometime it wait too long if it can't get a connection. To avoid this too long waiting you can set connection timeout timing of the HTTP params as per you want.
If you want to d...
Mobile Application Testing- Importance & Challenges
Mobile Testing :
Mobile Devices everywhere in the market .Mobile devices have become the primary medium of
interaction for consumers as well as businesses worldwide, and mobile applications are driving these
interactions.In traditional mar...
Creating Multiple Columns in CSS3
CSS3 Provides Column Property to layout the content in form of columns like done in News Papers, Magazines and Books.
Column include multiple properties which are as follows.
column-count
column-gap
column-rule
.textBox{
width:...
7 Principles Of Testing
Testing shows presence of defects: Testing identifies the defects, Flows and errors present in the software but cannot prove that software is 100% defect free.
Exhaustive Testing is impossible: It is not possible to test every combination of i...
Getting weekends date in Java
To get weekend list for a current year, write the following code:
private ArrayList weekendList = null;
public void findWeekendsList()
{
weekendList = new ArrayList();
Calendar calendar = null;
calendar = Calendar.getInstance(...
Exploratory Testing
Exploratory Tests are categorized under Black box Tests that are aimed at testing in conditions when sufficient time is not available for testing or proper documentation is not available.
Exploratory testing is 'Testing while Exploring'.When ...
Web Content Security Checklist
The following checklist provides as overview as to what should be concentrated when choosing /designing a Web Content Security Policy.
-Support for flexible policies that allow you to configure the product for your current and future needs.
-...
CSS3 background properties in relation with Box Model
The CSS Box Model
In CSS, the term "box model" means considering all the HTML elements as boxes. It can be supposed as base of page layout. The CSS box model is essentially a box that wraps around HTML elements, and it consists of: margins, bo...
Wobble Effect by HTML 5 animation
<!DOCTYPE html>
<html>
<head>
<title>wobble effect</title>
<style>
body {
background-color: tomato;
}
.container {
position: absolute;
top: 40px;
left: 140px;
}
.slices {
position: a...
Content Management Testing Approach
Let us first understand the process of Content Management System.There are basically three different aspects of Content Management Systems:
1.Templating
2.Workflow
3.Versioning
Templating
Templating is the process of Layout Design.Initiall...
Benefits of Automated Testing
1.Fast
Automation tool runs tests significantly faster than human resources.
2.Reliable
Tests perform precisely the same operations each time they are run, thereby eliminating human error.
3.Programmable
We can program sophisticated test...
Web Designing Trends 2014
A lot of trends come and go in web design, and its important for designers and business owners to keep up with them in order to stay up-to-date and avoid having an outdated website.
The major trends which are being followed includes:
Res...
Translation module in drupal
If you have to add a multilingual feature in your drupal site then you can use 'Lingotek Translation' module. It provides machine translation as well as human translation for content type, fields labels, built-in terms, messages and for all keyw...
Enhancing HTML Content by Pseudo Elements
Pseudo Elements play important role while designing some web based stuff. With pseudo elements we can add content after or before any element in our web page.
Below is very simple demonstration.
<h1>Use of Before</h1>
<h2>U...
How to make iframe responsive
Hello reader !
How to make responsive iframe. We all are face this problem normally so there is an example and i hope it will helps you.
CSS :-
.wrapper {
width: 50%;
}
.container {
height: 0;
width: 100%;
paddin...
CSS 3 Filters
With CSS3, we can apply filters to our HTML elements in order to make them more interactive. There is no reqiurement of any designing software like photoshop anymore for making such effects.
Below are some filter examples:-
Blur:-
value from...
How To Create A Simple Animation With The Help Of Jquery
Simple Animations With The Help Of Jquery
You can slide elements or any content of HTML and even stop animations in mid-sequence. To slide elements up or down.
$("#Element").slideDown("fast", function() {
// For slide down
...
Polymorphism Java
Polymorphism in Java
OOP's a very important jargon in the programming world, and many of us are familiar with this word, Object oriented Programming. Polymorphism is a main pillar of OOP,s by definition it is the ability of an object to t...