Mock tests, Interview questions, Tutorials and Tech news
 
 

Archive

Archive for May, 2010

Mixed Case URL in link

May 14th, 2010 Vinay No comments

Programmers when creating url and page name sometimes create mixed case URL for eg

http://www.skill-guru.com/skill/login/testDetails/12/testName/SCJP-6-Mock-Practice-Test

Now this may be a good programming practice but it is not a good practice from user perspective.  Mixed case URLs are an absolute no-no, as Unix and Linux servers are case sensitive. Having mixed case URLs drastically increases the possibility of typos . It is always difficult for users to remember the url (if they can).

So try to keep all your url’s in lower case.

Categories: Programming / tutorials Tags: , ,

Invoking browser functions with JavaScript

May 14th, 2010 fanand 2 comments

Browser functionality can be disabled using the JavaScript. JavaScript has the ability to capture and handle the key events. We will look at couple of examples on how to trigger browser functionality using Java script.

Disabling new page event and ctr key event in browser

Following is the example which shows how to disable the ctrl + N (new page event) and back button in the browser.

<html>

<body onkeydown=”return
fnDisableNewPage(event)” >

<p>Test</p>

<script> Read more…

Selenium – Web application testing tool

May 12th, 2010 fanand 12 comments

What is Selenium ?

Selenium is an open source, robust set of tools that supports rapid development of test automation for web-based applications. This tool is primarily developed in Java Script and browser technologies and hence supports all the major browsers on all the platforms. Most of the time, we will not need to change our scripts for them to work on other platforms. Selenium provides a record/playback tool for authoring tests without learning a test scripting language.

Selenium Components

There are three variants of Selenium, which can be used in isolation or in combination to create complete automation suite for the web applications. Each one has a specific role in aiding the development of web application test automation.

Categories: Programming / tutorials Tags: , ,

Are the browsers ready for HTML 5 ?

May 12th, 2010 Vinay No comments

We have heard a lot about HTML5 in last couple of weeks. Apple does not want to go with flash technology and are adopting HTML5 as the new standard.  Scribd has ditched flash in favor of HTML5.

Sounds pretty exciting huh !!

So let us dump what we have and start developing in HTML5.

Nope not so fast . Hold on to your hour horses. Yes it is true that HTML5 is becoming the new standard . But at this stage neither all the browsers are ready for HTML5 , nor the clients would be ready with new browsers. So you might have a new website/application built in HTML 5 , using new tags but the clients are still with IE6 !!

You do not want to land in this situation.

Aditya Yadav’s  interview on Info q Deploying HTML 5, talks about some of issues around this new standard and he has put together an excellent table detailing compatibility level of each browser with HTML5 features.

Categories: Technology Tags: ,

SCJP 6 Mock Practice Test

May 8th, 2010 Vinay 1 comment

Kalyan is an experienced and certified Sun Certified Programmer. He has created SCJP 6 Practice Test for the candidates who would be taking Sun Certified Programmer for the Java Platform, Standard Edition 6 (CX-310-065).

This test has 60 questions(35 more questions would be coming pretty soon) . Currently 33 questions are free and rest are paid.  The test comes with original practice questions which you would not find else where.There is explanation for each question as to why is that correct.

Cost of test has been kept at $1.99  and comes back with money back guarantee.

Do you have anything to lose when buying test at Skill-guru ? Take the SCJp 6 free questions . If you like them , buy the Complete SCJP 6 Practice test. If not satisfied , get your money back.

Understanding JSON Request

May 8th, 2010 Vinay 2 comments

Continuing our JSON series, we have been covering some excellent features of JSON like JSON Java script tutorialJSON with CSS and Simple remoting using JSON. Today we will talk about JSON Request and its advantages

JSONRequest

JSONRequest is a global JavaScript object. It provides three methods: post, get, and cancel.

JSONRequest.post

JSONRequest.post does an HTTP POST of a the serialization of a JavaScript object or array, gets the response, and parses the response into a JavaScript value. If the parse is successful, it returns the value to the requesting script. In making the request, no HTTP authentication or cookies are sent. Any cookies returned by the server cause the request to fail. The JSONRequest service can only be used to send and receive JSON-encoded values. JSONRequest cannot be used to retrieve other text formats. Read more…

IBM FileNet BPM Administration Add-On (F007G) Practice Test

May 6th, 2010 Vinay No comments

abdpse has added a practice test for our readers on IBM FileNet BPM Administration. This test  has 20 questions .

Please take the test and give your feedback.

Simple Remoting using JSON

May 4th, 2010 Vinay No comments

In our JSOn series in which we are covering some excellent features of JSON like  JSON with CSS and JSON Request. Today we will talk about JSON Remoting and its advantages

Simple Remoting using JSON

Simple Remoting is an open source Java library/framework which designed as an alternative SOA implementation. It uses JSON/HTTP(S)  as its transport protocol to access back end java components. Simple Remoting can convert POJO,Spring,EJB and other type of java objects to web services without any code change on existing classes by using simple xml declarations.

Features of Simple Remoting

  • It’s lightweight and requires no additional knowledge.
  • Build-in support for POJO, EJB2.1, EJB3 and Spring components. Framework is expandable so developers can implement additional locators as they need.
  • No programming and modification required to expose components as services. Simple xml declarations are enough.
  • Java & Java Script client implementations are out of the box. Client implementations are easily adaptable to .net and other popular languages
  • Services also can be reachable through regular HTTP POST/GET requests. You can access your EJB methods by entering a simple url to your browser Read more…

Get Adobe Flash playerPlugin by wpburn.com wordpress themes