Wednesday, July 2, 2014

Unable to run javascript in internet explorer 11

Recently I was facing a peculiar issue. Unable to open the links, which are calling javascript functions directly. Those sites are working well on only internet explorer. I was changing Document mode and User Agent String.

Then I did uncheck the Popup Blocker and [CTRL + ALT + Click] combination. Not successful.
I was trying another option --> Tools > Compatibility View Settings > Check 'Display intranet sites in compatibility view'. Got success... Links were executing the required javascript functions.

Unable to open javascript links in ie 11
Internet Explorer 11’s Many User-Agent Strings

Monday, June 30, 2014

Microsoft Services openings

Are you ready to take BIG challenges and passion about Microsoft Technologies? Microsoft Services Global Delivery is looking for software professionals in following disciplines..


Thursday, May 29, 2014

Selenium WebDriver test in C#

I was trying simple C# test by using Selenium. It is very simple to use and noticed that few changes. You should have NUnit, Visual Studio 2013 and Selenium DLLs. You can go through the links, which are available at the end of post.

Bing Search - Selenium Test - C# Code

using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium; using OpenQA.Selenium.Support; using OpenQA.Selenium.IE; using NUnit.Framework; namespace BingSearch { [TestClass] public class SearchTests { public static IWebDriver WebDriver; [TestInitialize] public void setupAppTest() { try { System.Console.WriteLine("Test setup started..."); InternetExplorerOptions ieOptions = new InternetExplorerOptions(); ieOptions.IntroduceInstabilityByIgnoringProtectedModeSettings = true; ieOptions.IgnoreZoomLevel = true; WebDriver = new InternetExplorerDriver(ieOptions); } catch (Exception ex) { System.Console.WriteLine("Exception Occured in Init @ " + ex.Source); } } [TestMethod] public void testBingSearch() { //Navigate to the site WebDriver.Navigate().GoToUrl(""); // Get Search text field info IWebElement query = WebDriver.FindElement(By.Name("q")); // Enter Search String query.SendKeys("Selenium"); // Submit the form query.Submit(); // Sleep for 5 seconds System.Threading.Thread.Sleep(5000); //Get all the links from result page System.Collections.ObjectModel.ReadOnlyCollection links = WebDriver.FindElements(By.TagName("a")); //Print all the links foreach (IWebElement link in links) { System.Console.WriteLine(link.GetAttribute("href")); } //Assert the title text Assert.AreEqual("Selenium - Bing", WebDriver.Title); } [TestCleanup] public void testCleanup() { // Cleanup activites WebDriver.Quit(); WebDriver.Dispose(); System.Console.WriteLine("Test cleanedup & completed successfully.."); } } }

Below links might be useful to make setup to execute the Selenium tests.
How To - Setup C#, NUnit, Selenium
Capturning Screenshots

Wednesday, May 28, 2014

Top 5 Requirements for test automation tool

Recently there is an interesting discussion about top five requirements. Expectations are varied in group and few interesting thoughts...

Priorities for Advanced automation tool

  1. Robust Hybrid (Keyword driven+ Data Driven, etc) framework - None of the tool vendors are giving the libraries for Keyword driven Framework
  2. Language and OS independent - Should support multiple languages or libraries developed from multiple languages. Also tests should able to run in different type of OS. If I look test automation for past 15 years, tools are started to support multiple languages in last 6 years.
  3. Multi-browser and Multi-device support. For Mobile & Table support, tool should be lightweight app. Should use less storage for installation and less memory for execution.
  4. Ability to hook/hack custom object through programming or libraries
  5. Support for Continuous Integration tools - Automatically Should be able to deploy the build and then initiate the test suites and sent the report through email or SMS or any other devices.

To see few more experts answers - Discussion - What are the top five requirements for a test automation tool?

Tuesday, May 27, 2014

Share photos from XBOX play

Kinect Sports, Kinect Adventures, and Kinect JoyRide Games have functionality to upload pictures taken during game play. The pictures load to In the games there is a Remember and Share style section, where you can look at the pictures that were taken. From there you can select which items you would like to upload.

The pictures on KinectShare are only accessible from your Microsoft (Hotmail/Live/Outlook) login and are only stored for 14 days. They can be shared to Facebook or other social network site from there. They can also be removed from (such as, as soon as you get the Achievement....)

Change your privacy settings to allow Kinect Sharing

  1. On your console, sign in using your Xbox LIVE gamertag.
  2. Go to Settings, then select Privacy
  3. Select Change Settings
  4. Select Customize
  5. Select Kinect Sharing.
  6. Select Allowed or Blocked. Allowed: You can upload and share photos and videos using websites and services such as, Blocked: Photos and videos cannot be uploaded and shared on photo-sharing websites and services.
  7. Press B on your controller
  8. Select Save and Exit.

Steps to Upload photos

  1. Enable Internet connection through Wi-fi in XBOX Console
  2. Get the Pictures from games
  3. Go to the photos menu and choose which photos/statues you want to upload
  4. Uploaded to
  5. Go to, Login and you can see your photos
  6. You can download the pictures and share it

Thursday, April 24, 2014

Cloud Computing and Windows Azure Platform

I was going through couple of URLs in last week and liked the way, example was given by Arun.

What is Cloud Computing?

To start with let’s understand what exactly “Cloud computing” is?

Cloud computing is providing computing resources (Software, Platform and Infrastructure) as a service over the network. Cloud computing users can use the services provided by the Cloud Computing service provider without taking the trouble of planning, procuring, building, configuring and maintaining the infrastructure. Cloud is a metaphor used for Internet.

To take a real world example, it’s more like if you need to travel from one city to another you don’t buy a train. You just buy a ticket and “pay as you use”. And train service provider will take care of maintaining trains and rail-treks and manpower. Similarly cloud computing is using computing resources managed by provider and “pay as per usage”. The service provider will take care of infrastructure management and user needs to pay only for services used.

To know more about the cloud basics, go through Arun's blog
One more article by Arun --> Windows Azure - Step by Step guide for Designing, Developing , Deploying and Administrating a Windows Azure Applications

Wednesday, April 16, 2014

Windows Phone 8.1 Update Developer Preview

Microsoft has done many updates in Windows phone 8.1 version. Right now it is available only for windows phone developers.

To know more about the updates, check following links.

Windows Phone 8.1 Developer Preview with Cortana
Windows Phone 8.1 developer preview released; here's how to get it first