
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
JavaScript Initializing Arrays
How to create an array in JavaScript?
Before going for the above question we should be clear about What is an Array?
An array is a sequential collection of variables or we can say an array is a special variable, which can hold more than on...
Re-Declaring JavaScript Variables
In javascrit,if you re-declare a variable, it wouldn't lose it value.
Example ->
var a=10;
var a;
alert(a);
Output : 5
Here you can see, in JavaScript the output will be same but in other languages result would be undefined o...
Sample Traceability Matrix
Traceability Matrix
A traceability matrix is a documented report from the requirements database or repository. It contains all information requirements which determine the associated information to be stored with the requirements. We can use ...
Javascript Switch Statement
The JavaScript switch statement is used to execute one code from multiple expressions. It is just like else if statement. But it is convenient than if..else..if because it can be used with numbers, characters etc.
Syntax:
switch(expression)...
Javascript Comments
Javascript Comments
Comments like in any other computer language are used for making the code understandable ie explaining the code in simple language.
They are not executed by the javascript.
There are two ways to enter the comments
1. Sin...
Javascript arithmetic
Arithmetic operators perform arithmetic on numbers or literals or variables.
1) + addition
2) - subtraction
3) * multiplication
4) / division
5) % modulus
6) ++ increment
7) -- decre...
Javascript typeof Operator
The typeof Operator :
typeof is a kind of keyword that returns a string which tells the data type of an expression.
Syntax : `typeof operand`
(The operand used is an expression representing the object or primitive whose type is to be re...
Javascript variables
A JavaScript variable is simply a name of storage location. There are two types of variables in JavaScript : local variable and global variable.
There are some rules while declaring a JavaScript variable:.
1)Name must start with a letter (a...
Basic Program of Java Script
JavaScript is the programming language of HTML and the Web.
JavaScript can be placed in the and the sections of an HTML page.
In HTML, JavaScript code must be inserted between and tags.
<!DOCTYPE html>
<html>
<head>
...
Honeypot
What is Honeypots ?
A honey pot is a computer security system which is used to attract people whos motive is to penetrate the security of someone system . It is a trap to delude Hacker . Honeypot monitor the activity of the Intruder . when m...
Why to use tuples if we have Arrays in swift language and How it is different from Structures?
Hi Readers,
Before Moving ahead with the Topic,Lets us Briefly have a overlook what actually a Tuple is:
* In very simple language:
A tuple is a group of zero or more values represented as one value.
For example ("Pen", "50") ...
What is an Optional meant in Swift?
Hi Readers!
An Optional is just an enum in Swift.
enum Optional<T> {
case None
case Some(T)
}
Here <T> is generic similar to an Array<T>
<T> could be anything like Strings, Dictionary, Array etc.
...
Error in __weak typeof(self)weakSelf = self
If you have error in line
__weak typeof(self)weakSelf = self;
replace this line with
__typeof__(self) __weak weakSelf = self;
Animating Placeholder
Making Animated Placeholder
To make a Placeholder animation we need to make custom placeholder, for this I have used span tag.
HTML -
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">...
C# code to add google captcha in your web site
Hi Reader !
From this blog we can learn how to add google captcha in your web site using c# .
To use a Google Captcha(or reCaptcha) in your web application, you first have to follow below steps :
1) Open url https://www.google.com/recapt...
Recovery Models in SQL server
There are three types of Recovery model in SQL server
Simple recovery model -- gives you the backup to replace the entire database in the event of a failure . In simple recovery model data is recoverable only to the most recent backup ....
Butterknife (Easy way to Eliminate findViewById)
Remove findViewById calls by using @Bind on widgets and fields.
Remove the click listeners by annotating methods with @OnClick and others.
class MainActivity extends Activity {
@Bind(R.id.user) EditText username;
@Bin...
Selectors in CSS
Selectors help to select an element to which you want to apply a style.
selectors are patterns used to select the element(s) you want to style.
Examples: .class, #id
<div class="intro">
My name is Pranav Chhabra.
This is my first Tas...
Data binding in your xml layouts
Data Binding Guide
This document explains how to use the Data Binding Library to write declarative layouts and minimize the glue code necessary to bind your application logic and layouts.
Setting Up Work Environment:
dependencies {
...
Get nodes with the same taxonomy as the current node
Use following steps to create a similar content block for a particular content (Similar contents work on the basis of taxonomy. So first create a taxonomy and assign this to your content type):
1: Create a view with block view.
2: Set fiel...
Check Wifi Network reachability in Swift
In Swift if you want to check the Wifi connection in your device then use following code.
This is a function which returns Reachability instance (reachability class object) value as a returnvalue for wifi connection availability.
+ (instan...
PHP.Ini setting to allow large files upload
For configuring the size of upload file, post, memory in an application developed in php we need to do the following changes in the file php.ini. The path where we can find the php.in is below:
1-> Debian/ Ubuntu : { /etc/php5/apache2/p...
Configure apache to listen on port other than 80
For enabling server to listen on different ports we can make the changes in file port.conf in Debian/Ubuntu based linux server. The path where we can find the ports.conf file is below:
1-> Debian/ Ubuntu : { /etc/apache2/ports.conf }
...
How to install OpenERP-9 (Odoo9) in windows 7, 8 and 10 ?
If you want to install OpenERP-9 (Odoo9) in windows 7,8 and 10 follow the below mentioned steps:-
Step-1 Go to the link->"https://nightly.odoo.com/9.0/nightly/exe/
Step-2 Select->latest exe file like->odoo_9.0.latest.exe -> (Latest...
How to install OpenERP-9 (Odoo9) in windows server 2012 R2 ?
Step-1 Go to the link https://nightly.odoo.com/9.0/nightly/exe/
Step-2 Select->latest exe file like->odoo_9.0.latest.exe -> (Latest Date)
Step-3 click on Downloaded exe->select the languages->click on Next button.
Step-4 select...
Build Verification Testing
Build Verification Testing:-
A build verification test is a set of tests execute on each new build of an application/software/product to confirm that the build is testable or not, before delivering it to the testing team. It is generally a smal...
Exporting SQL Server table data to Excel
Hi Readers !
In this Blog we will find how we can Export SQL Server table data to Excel using .net code .
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.Web...
Things you want to know about CAPTCHA
What is CAPTCHA :
CAPTCHA stands for Completely Automated Public Turing test . CAPTCHA is implemented to differentiate between humans and machines ,it is generally used to keep machine or bots or automated scripts away from the website ...
Bug Triage
Bug Triage
Bug Triage is a traditional technique in which each bug/issue is prioritized on the basis of its severity, recurrence, uncertainty and other critical guideline. It enables testers to assign priority (high, medium, low) to bugs and rep...
3 Important Tips on Searching the Best Keywords for SEO
I am writing this blog based on my own experience which I have learnt during the different phase of my career as a Digital Marketing Specialist. The term SEO keyword means a lot when it comes to promoting a clients business over t...
Code Analysis using FindBugs Plugin in Android Studio
Android has Lint for checking errors in Java and XML code. Lint release with every new SDK.
But Lint is not find most type of bugs,exceptions and performance issue.
I found one plugin for static analysis tools to analysis android Java cod...
Test Planning And Control
Test Planning and Control:-
The first phase of STLC is a combination of two activities, test planning and other one is test control. Test planning involves verifying the mission of testing and defining the objectives of testing. In order to spec...
How to open the Navigation drawer by tapping menu icon of Action Bar.
Navigation drawer partially covers the screen when user swipes from left to right or eigter clicking on the menu icon at the top-left of the action bar. Navigation drawer is basically the hidden place where you can put navigation options.
acti...
PHP Code to connect to MongoDB
To connect MongoDB with PHP you need to install MongoDB php driver. After you successful install MongoDB php driver, you need to create connection with MongoDB.
MongoDB default port is 27017. To connect with localhost and default port
$conn...
Search a location in ios SDK
if you want to search a particular location using the google api so you can use this .
Step 1: Get the serverKey From the http://console.developers.google.com/ and write the server key as below.
Step 2: #define kGOOGLE_SERVER_KEY @"dsjfdsuiodfd...
Pull to Refresh using SwipeRefreshLayout like Gmail
This blog provide you simple Pull to refresh functionality with SwipeRefreshLayout.
First of all create new project.
Open xml layout file and create ListView/ScrollView/Gridview.
Wrap ListView/ScrollView/Gridview with "android.support.v...
Defect Tracking and Reporting
It is a portion of the test plan that documents the tool and process used to record and track defects. It describes team resources involved in the defect tracking process and the categories used to prioritize defects.
Some of the sample catego...
How to Debug in odoo 8
Use below code line in .py file if you want to debug file in odoo
import ipdb; ipdb.set_trace();
And then restart server use this command in terminal and then restart your openerp- server with the debug option.
# openerp-server debug
Maintenance Testing
Once the application is deployed, the application system remains in service for years or even for decades. During the service period the operational environment of the system is corrected or updated. Testing the application when it is deployed o...
Bug Summary Report
Bug/Defect Summary Report
Defining a format to prepare a bug summary report is another prerequisite that ensures coverage of the minutest details of bugs to be identified during testing. A bug summary report contains detailed descriptions of t...
How to get view controllers from navigation controller in swift
Hi Readers!
Please find below the code that you can use to get view controllers stack from Navigation Controller in swift.
var vc:NSMutableArray = ((navigationController?.viewControllers as! AnyObject) as! NSArray).mutableCopy() as! NSMuta...
Floating Label in Edittext with TextInputLayout Android Material Design
From 5.0 Lollipop version Android add some designing functionality with Material design. The one is Floating Label on Edit Text.
Before Material design EditText will hide the hint text after the first character is typed. But with the help of ...
What is Software
What is Software?
Software is a collection of computer programs and related data that provide the instructions telling a computer what to do and how to do it. In other words, software refers to one or more programs and data stored in the comput...
Use Case Testing
Use Case Testing
Use case testing is a test design technique wherein test cases are designed to execute use cases or user scenarios. We can define a use case as a sequence of steps that describe the interactions between the actor(a user of the...
HttpSessionAttributeListeners in Servlet
In Servlet we can also track the events using the Listeners, In below code script we have to track the events using the listeners. we have easily maintained the HttpSession events with the HttpSessionAttributeListener while we add, remove or repl...
Bug Isolation
What is Bug Isolation ?
Bug isolation or defect isolation is a process in which bugs are documented using distinct data fields mentioned in the bug report, such as Steps to Reproduce, input data and attachments.
In other words it is a process ...
How to Use XML-RPC of Odoo 8
XML-RPC is very useful in openerp. The XML-RPC protocol communicate to server and clients. XML-RPC is a very simple protocol which allows the client to do remote procedure calls. The called function, its arguments, and the result of the call are...
Introduction to Bug
Introduction to Bug
The main purpose of performing testing is to identify bugs or defects in the software product. A software bug is an error, flaw, mistake, failure, or fault in a computer program that prevents it from behaving as intended. An...
How to calculate two fields and show total in third fields in openerp
To create two float fields in openerp you have to make third fields function and also this is a auto calculate in openerp.
Like:- field3 = field1 + field2
EXAMLE -
'field3' : fields.function(get_total, method=True, string='FIELD3',type='i...
Odoo 9.0 release
As we all know that today being 1-10-2015 odoo version9 has been released, and our company is strongly looking out to partition the fundamental features with odoo9.
Odoo version 9 have loads of incipient features including the utilizer interface...