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
Format Validators in Rails
Hi Friends,
Hope you are doing well with your work. Today I am here with one of the most common topics in Rails that is format validators in rails. Lets start with defining validation.
"Validations are used to avoid the invalid data to get sto...
Choosing Between belongs_to and has_one
If we have has_one relation between two models then we need to declare belongs_to relation in one model and has_one relation in another model. belongs_to will be declared in the model where we will have the foreign_key and has_one in the other mo...
Joomla admin login problem
When we Install Joomla on our machine and we Log into Joomla administrator, after that when we enter the username and password, it will not taken us to the admin page, instead of landing to the admin page we get redirected to the same login page ...
Test procedures before releasing the software
We follow few steps before giving release of the application:
1. Test Strategy:
A Test Strategy document is a high level document which are prepared by a Test Lead or project manager. This document can be explain about Software Testing Approa...
How to set half color on text ?
Hi all,
Below is an example how to make half color on text using css. In this example we are using custom-attribute.
If you are looking for custom-attribute, In one my previous blog I have explained about it click custom-attribute to know m...
How to Update Modules List in OpenERP-7.0 ?
If you want to import the customer data through csv file in OpenERP(Odoo) follow the below mentioned steps:-
Step-1 Go to Settings Menu and Click it.
Step-2 Go to Modules -> Update Modules List and Click it.
Step-3 Click o...
Struts2 Framework and Features
Introduction of Struts2 Framework:
Struts2 is one of the mostly used framework for the Java application development. The struts2 framework is developed by the Craig McClanahan and later he handed it over to the Apache Foundation. Struts2 is ba...
How to create window.prompt Method
With the help of this javascript prompt() function, I have created a dialog box that will be used for taking user input. The prompt() method displays a dialog box that prompts the user to input data
<!DOCTYPE html>
<html>
<h...
Virtual attributes in Rails like acceptance and confirmation
Hi Friends,
We have talked about few Rails topics earlier like validates associated and overriding naming convention of table names. Here I am again with one more topic Virtual Attributes in Rails. Before discussing that lets look into a situati...
Finding the current domain address using MVC
I came across a requirement where i had to find the current domain address of the app as i had to send an email to users with a public page url. I knew the virtual address of page but it would not work as in order to open a page from my website u...
Method definition not displayed on mouse hover in eclipse.
Sometimes the method definition is not displayed hovering over the method name.
On hovering the desired method, following message is displayed:
"Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be...
How to set the Alarms in OpenERP(Odoo)?
If you want to set the Alarms in OpenERP(Odoo) follow the below mentioned steps:-
Step-1 Go to Sales Menu and Click it
Step-2 Go to Configuration ->Calendar->Alarms
Step-3 Click on Create Button
Step-4 Go ...
Pessimistic locking in ruby on rails
In pessimistic locking a particular row in the database is exclusively locked so that other updates on the same record are blocked . This mechanism has the advantage that when a certain operation is going on the selected row other user cannot rea...
Optimistic locking in rails
Optimistic locking is used to restrict updation of a record by multiple user at the same time . For example we have two user u1 and u2 and both of them is trying to edit the same record from a model City . While u1 is editing the record u2 c...
How to send email using Intent in android
This tutorial is about sending the Email from your android code using implicit intents.
Following is the code to send an Email-
Intent emailIntent = new Intent(Intent.ACTION_SENDTO
, Uri.fromParts("mail...
What is Prototype in JavaScript
Prototype in JavaScript
A prototype is nothing but an object from which other objects inherit their properties and every object in JavaScript has a prototype by default.
Objects in JavaScript is primitive data type which may be Nul...
Why we Use Log4j in Java Projects?
Log4j in Java
Log4j is a logging tool made only for Java
Generally we Use System. Out console to print our Output, but they are all temporary messages and whenever new program run or when console is closed, our Output messages automatically...
How to set space in table row ?
HI all,
We can't add the margin between row in table but we can add space using an alternative method.
for this you have to add some property in your style.
table {
border-spacing: 0 5px ;
border-collapse: separate...
How do you enforce or maintain the quality of the bug reports in your bug tracker?
If defect report is productive then there are higher chances that it will get fixed as soon as possible. So it depends on how energetically you report the bug. Reporting a bug is nothing but an art or skill. In this topic will discuss "How to mai...
File upload using ajax
File uploading is the basic requirement of web development. Many times we have to upload single or multiple files on our server then we can not upload big files using form submit. We have to use the in-build jquery plugins for the file upload. Th...
Two-way Data binding in AngularJs
AngularJs provides a very useful and time saving feature,i.e,Two-way Data binding. Two-way Data binding in AngularJs is a way to synchronize data between model and view. If we change something in the model, it gets updated in the view component a...
Open Android App from Web Browser & Get Data from The App & Return Back to Web Browse
Sometime we a have a situation in which we use android app in our web application.In that situation you can use this.
For opening the android app first we have to check 2 conditions .
1. If the device is android or not.
2. In the android dev...
How to get any File Name to PHP File using Command Line?
In Ubuntu system, first check for the PHP. For checking open the terminal, using command
**Ctrl +Alt +T**
and type whereis php
If PHP present in system, above command display the path of PHP
Make a PHP file from where you can acce...
Difference between UI Testing,Usability testing And GUI Testing:
UI Testing:- UI Testing means (User Interface Testing). In UI testing tester basically check, how the application look & feel at the time of testing. In this time testing includes in application like- fonts, colors, images, buttons, layouts, ...
Points to be remembered during Testing process
Following Points should be remembered during Testing process:
1.Always start with positive testing i.e, test for all the positive values according to requirements.
2.Continue with negative Testing i.e, test for all the possible negative val...
How to add a new module position in Joomla
Hello Readers,
If you want to add the new module position in Joomla admin and show the text or Html on the front end side of this add new position.
You have to follow the some certain steps to do so:
1> Log into the Joomla admin Secti...
Validating Associated models in rails
Hi Friends,
I am here again with one more topic in rails that is validates_associated.
So as we all know that associations are a major part in every kind of Relation Databases. So what happens if we have one model with some associated objects ...
Overriding Name Conventions for table name and primary key in rails models
Hi friends,
Today we are going to talk about overriding the default naming conventions for table name and primary key in rails model. Before switching directly to the topic lets take a look to the summary of default naming conventions for dat...
How to import the Products data through csv file in OpenERP(Odoo)?
If you want to import the customer data through csv file in OpenERP(Odoo) follow the below mentioned steps:-
Step-1 Go to purchases Menu and Click it.
Step-2 Go to products button and Click it.
Step-3 Click on Import Butt...
What is the advantage of having a QA Server?
QA Server and its advantages:- QA stands for Quality Assurance. QA server is used for testing software where all types of tests are performed/done to measuring the quality of the software/product. Software is installed from development server to ...
How to create stages of project in openerp
To create stages of project in openerp follow these step given below
Step1 Install project module in openerp
Step2 - Go to Project -> Configuration -> Stages -> Task Stages -> Stages -> New
As shown in below given figure, one...
How to import the customer data through csv file in OpenERP(Odoo)?
If you want to import the customer data through csv file in OpenERP(Odoo) follow the below mentioned steps:-
Step-1 Go to Sales Menu and Click it.
Step-2 Go to Customer button and Click it.
Step-3 Click on Import Button and file will be up...
Selenium Webdriver Syntax for Selecting a Value using selectByVisibleText method
Method Name: selectByVisibleText
Syntax: select.selectByVisibleText(Text);
Purpose: To Select the options based on text, matching with the argument given by user., it will try to match the VisibleText which will display in dropdown.
The bel...
How to Rename files during upload within Wordpress backend
Hello readres today we will discuss about "How to Rename files during upload within Wordpress backend".
There are many hook function to remane file in uploading time in wordpress. We will use the sanitize_file_name hopok function.
Suppose use...
has_and_belongs_to_many relation in rails
has_and_belongs_to_many association is used in rails where we dont need a third joining model to establish the relation between the two model. There will be no additional columns (except the foreign keys) of the third joining table.
For exampl...
How to use Animated AJAX Record deletion in jQuery?
With the help of jQuery we can delete link for any record. On below code we have add a click event to triggers the ajax request. when the ajax request returns get success response.
$(document).ready(function() {
$('a.delete').click(fu...
Reading and injecting properties into spring from property file
We can read and inject the property from property file in spring. The below code will show you how you can read the property from property file and inject that properties to the List Object by using spring-config.xml file.
Customer.java
pac...
Locators in Selenium WebDriver
Locators in Selenium Webdriver:
In Selenium WebDriver, everything is related to web elements. All the objects in a web page is called web elements like input box, buttons, etc. To do any action with these web elements, we need to first locate ...
Slide-Out Side Bar Menu/ Hamburger Menu
Slide-Out Side Bar Menu/ Hamburger Menu
One of the useful implementations of menu views has been the slide out side bar often known as basement,side drawer or side menu it is vastly used & is popular in Facebook app and Path.When the us...
How to add a Podfile in your Project
Below is the step-wise process for integrating a Podfile easily in your Application.
Open Terminal
Change the directory in Terminal to the location where your Xcode project resides.
When you reach to the desired project location in which ...
Selenium Web-driver Syntax for Selecting a Value using selectByValue method
Method Name: selectByValue
Syntax: select.selectByValue(Value);
Purpose: To Select the options based on value, matching with the argument given by user.
The below is the sample html code Example:
HTML Code:
<title>Select Example b...
Test Cases
What is Test Case?
Test case is an in-detail document that consists of step by step procedure to test the application.
It consists of navigation steps,all the possible scenarios and all the possible inputs that needs to be tested for applicat...
Function Templates in C++
Function Templates:-Templates are used to achieve the generic programming. By using function template the code will be independent to any data type.
A template is used to create generic class or a function. By using function templates we have ...
How to upload image in Specific folder of your application iOS
Here is the code for UIImagePickerController Delegate. In this Code when we select an image from UIImagePickerController then we call this delegate function which upload the selected image to your local application folder. You have to first find ...
Set robots in magento for cms pages
Robots is useful to prevent your website from search engines indexing. You can simply add robots.txt in your website as well as set the default robots settings from admin.
Go to configuration->system->design section to set the value for ro...
ORM GreenDao vs ORMLite
Which ORM is better is terms of performance and ease of use between these two. In some benchmarks I have read ORMLite is faster and in some, I read GreenDao. I like the way automatic code generation works in GreenDao. Also it does not use any ann...
How to show multiple items in a textbox, using auto completion in Javascript
"How to show multiple items in a textbox, using auto completion in Javascript"
In this article we will make a project that will select multiple items from the autocomplete list and display them in the textbox as tags using Javascript.
For ...
How to Connect the Android Mobile Device to JMETER?
Pre Conditions:
1. Install the Jmeter in system
2. Mobile & installed Jmeter system should be in same network
Follow the Steps to Connect the Android Mobile to Jmeter:
Step 1: Open the JMETER in system
Step 2: ...
File Handling in PHP - Tutorial 8
This blog explains about various functions used for File Handling in PHP.
Date and Time in PHP - Tutorial 7
This blog explains different functions used for date and time manipulation in PHP.