Posts

Showing posts from January, 2012

Learn to Code - Codeacademy v/s Treehouse

Image
Few months back I shared an article ‘Learn to code’ introduced by the team Codeacademy which lets you build and explore coding practices , experiences in an interactive manner. Today I am here to present another impressive learning site, sharing the same goal i.e. to teach programming online. Competitor Treehouse , teaches web design, web development and iOS in form of video tutorials and quizzes. So what’s the difference between both of them and which should you join in? The answer from my side would be yes to both, experience what is more comfortable and easy for yourself. Treehouse Home page Although I found Codeacademy much interactive as they present an editor to play with and at the time you are done playing, you found out that you were actually learning while playing. Fun isn’t it? And mainly because Codeacademy is free of cost hurray :) Well on the other hand Treehouse sound impressive as well but you need to be a paid user to enjoy the benefits of the site. Two pl

Working with WebRadioGroup

QTP WebRadioGroup means a radio button on the web page. Identifying and working with them can be easy or difficult. Sometimes they works out fine and at times executing the same code gives you error. If you have two radio buttons on the screen for example Gender selection options the code below might give problem. Browser("").Page("").WebRadioGroup("").Select "M" Where "M" can be the id or the value of the radio button (Spy the object). So what is the problem in the code above? As there are two radio buttons QTP identifies them as same, so we need to differentiate between them. Index is a property by which you can differentiate, it tells the position of the object. So if we write the same code below with an additional index property it will work fine. Browser("").Page("").WebRadioGroup("html id:=" ,"index:= 1").Select "M". This code is intended to select a radio button among two, what