Selenium | Data Driven Framework to read csv data

Author - Webner

During testing, I had a test case to add multiple employees automatically with selenium script so I have implemented Data Driven Framework. Using this we have to read the data from the CSV and register all the users in the system.

Note:  We need to add a jar Read more…

Eclipse SVN | Working Copy XXXX Locked during commit

Author - Webner

When you do svn update or commit in Eclipse you may face this problem- “working copy xxxxx locked”

Solution: Sometimes the problem can be solved with “project cleanup” or “move the project to some other location without .project and .svn files”. But you may have to solve it Read more…

Enum in Java

Author - Richa

What is Enum/Enumeration?

Enum/Enumeration is a data type in Java which is used to store a fixed set of constant values. For example, number of days in a week or a set of arithmetic operators (addition, subtraction, multiplication and division) or status of a customer’s bank account Read more…

Java | Deep cloning object containing list of other objects

Author - Harleen Kaur

Suppose you have a class like this:
public class Student {
private String name;
private int rollNumber;
private int grade;
private List subjects;
}

This is the Subject class

public class Subject {
private String sName;
}
You have an object sObj1 of Student class and it also contains a list of subjects assigned Read more…

Hadoop | Creating and running Mapreduce Programs in Eclipse and from Command line

Author - Webner

We can create and run the java Mapreduce programs in Eclipse as well as from command line.
Using Eclipse – For Eclipse first we have to install the plugin for hadoop mapreduce which inherits the libraries required to implement the mapreduce functionality. After this we have to build the path which Read more…

Java | static blocks

Author - Webner

Static Blocks: Static block is used to initialize the static data members. It is executed before main method and constructor at the time of classloading. A class can have any number of static initialization blocks and they can appear anywhere in the class body. The runtime system guarantees Read more…

Java | Variables in Java Interfaces

Author - Webner

Interface:
In Java we have a concept called interfaces.A Java interface is same like a class, except a Java interface cannot contain an implementation of the methods, we have only signature of the method.It has static constants data member.

Can interfaces contain variables?
Yes, Interface can contain only Read more…

Lambda Expression in Java 8

Author - Neha Mishra

A lambda expression is a new feature that has been added to Java 8.
It is a function declared inside a method to which we can pass arguments as well as fetch lambda expressions in the form of return value of a function.

Significance:
This feature is a way to Read more…

WordPress | Dynamically generating ADF XML format of the form submission

Author - Komal

ADF XML FORMAT

ADF XML format stands for Auto-lead Data Format XML that is an automotive retailing industry standard data delivery format for import and export of automotive customer leads.

This format is used as a way to format the customer data so that the heterogeneous systems Read more…

Salesforce | SOQL OFFSET clause is not supported in this organization

Author - Webner
|
0 Comments
|

In Salesforce, we can limit the records returned by the soql query using LIMIT and OFFSET clauses. In our case where we tried to fetch salesforce Product records by using “Salesforce Rest API” using the following query:
$query = “Select unitprice,product2.id,product2.name,product2.description,product2.ProductCode from pricebookentry Read more…

PHP | core.php and some important settings

Author - Manju Kashyap

In CakePHP application, core.php is configuration file and is located at app/Config/core.php. This file contains various variable definitions and constant definitions that alter the behavior of the application. The description of some important variables and their effect on the application is given below:

Debug:Read more…

Moodle | This page should automatically redirect

Author - Shalini

In my plugin code I was trying to redirect from one page to another page using redirect as follows:
redirect(“success.php?cd=”.$id);
Redirecting to the other page was working but during redirection an intermediate page was being displayed like this:

On click of continue button, it was redirecting Read more…

HTML Media Capture

Author - Shalini

How to access Camera and upload the image/video to server?

We can achieve above requirements easily by using HTML Media Capture :
<form action=”upload.php” method=”post” enctype=”multipart/form-data”>

Capture Image: <input type=”file” name=”uploadedfile” accept=”image/*” capture=”camera”>

<input type Read more…

Captivate | Show instant feedback on selecting an an option in quiz question

Author - Neelam

In Adobe Captivate on a question slide if we want some feedback to be displayed instantly when user clicks radio button to select an option, it will not work. There is no option out of the box to achieve this. But it can be achieved with Javascript.

On entering a Read more…

Java | super keyword in Java

Author - Webner

Should super() be the first method call in constructors, if yes why? What can go wrong if this were not the case? Explain with example.

super() is a keyword in java which is used to refer to immediate parent class object. We can use super keyword to call parent class Read more…

Moodle | How to create a scheduled task in moodle

Author - Kritika Sood

In moodle we can create scheduled tasks which will run after a defined interval. We also have cron jobs in moodle but they usually run after every minute so if we need to run a task after a particular time we need to create a scheduled task for this.

An Read more…

Adobe Captivate | Mathematical Symbols and Expressions

Author - Webner
|
0 Comments
|

How to add exponents in Adobe Captivate 9

In one of our Adobe Captivate projects, we had a requirement to add mathematical exponents. Here is what we wanted to achieve:

Writing “x raised to the power of 2” (exponents)

Look at the following image:

In the above image options A Read more…

Adobe Captivate | How to add quiz questions into question pool

Author - Webner
|
0 Comments
|

Adobe Captivate is a tool which helps in creating attractive E-learning content such as courses and quizzes. One of the most useful feature that Adobe captivate provides to its user is question pool. Quiz questions can be added to question pools and these question pools can be used to Read more…

CSS/jQuery- Fading out text inside a div and moving the effect as the text scrolls down

Author - Richa
|
0 Comments
|

Requirement:- Sometimes we come across the requirement to fade out the text displayed on a webpage horizontally and want the DIV containing text scrollable.

For Example:

The requirement usually comes when there is a large amount of text on the webpage and you want to let the user know that Read more…

CakePHP 3.x or 2.x | Some important configuration settings

Author - Rita

Some important settings that can help you while working with CakePHP 3 or 2.

1. How to set Homepage for your website in CakePHP 3?

Go to the root directory of your project. You will see config folder there. Inside Config
folder, open routes.php file. Add below the line Read more…

‹ Prev page1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 Next page ›
Send your message