Tuesday, 31 January 2012

http://seleniumdotnet.blogspot.com

Hello All, it’s giving me intense pleaser to share that now I have started one more blog. That is http://seleniumdotnet.blogspot.com./


In this blog I’m going to share my learning about selenium web driver in .net using C#.

If you have any issues related to selenium dot net then feel free to visit this blog and feel free to provide your valuable comments and suggestion. Thanks!!

One glimpse of the blog:


http://seleniumdotnet.blogspot.com.

Thanks,
Md. Jawed
http://seleniumdotnet.blogspot.com./


Tuesday, 24 January 2012

Let's customize Google to show previous searchs by Hitesh Sharma

while going through code project website i show one article published by Hitesh sharma.
which catches my eyes with his nice idea and explanation of the article.
awesome!!
here is little introduction:
Introduction


Usually when I Google something there are a good amount of chances that I'll be googling the same thing again after a few days to recollect whatever I learned last time. So I run Internet Explorer and look into the history if I feel like hitting the search button again with the same keywords as I used last time to get the results I am looking for. This works great but one day I just wondered that why doesn't google shows recently searched text on its page, if it does so it will provide Googlers much ease. Certainly since I can't approach Google with the idea so I decided to customize google for my machine so that it may show me whatever I looked for last few times

you can visit this link to get the more details about the artile.

Let's customize Google to show previous searchs



Sunday, 22 January 2012

Google Automation-Automated Testing Search Engine


While I was reading Sep 2011 issue of Automated Software Testing Magazine, but at one page my eye got stuck, where the publisher has partnered with Google to create a software test automation search engine. I tried this and its work great it means gave my all search related to automation.
So here is the word complied for the same magazine.

“The Automated Testing Institute has partnered with Google to create a software test automation search engine. If your are looking for the software test automation information, you will get the best results by using this search engine, because it only searches the sites that matter most to automators. You can also restrict searches to blogs and forum sites."





Enjoy happy automation.
Thanks,
Md. jawed

Monday, 16 January 2012

Script to Get Microsoft Product Installed on your machine with version Number

Few days back I was working on build machine. Or you can say I need to release new build machine installed with some specific software.


To achieve this I wrote few bat file to installed particular software silently.

But to verify this whether that software or application has been installed or not I need to check this through control panel. It was kind of manual process.

So avoid this manual process I came across bat file or VBscript file which will list out the entire Microsoft product with version number installed on that particular machine.

First I will show you the bat file to write the entire product with version list in test file:

echo CompanyName SoftwareInstalled VersionNumber>ListOfMicroSoftware.txt


echo ===========================================>>ListOfMicroSoftware.txt
cscript //nologo D:\Install-Jawed\GetListOfSoft.vbs >>ListOfMicroSoftware.txt
 
 
Now here is the logic written in VBscript file.
On Error Resume Next

Const strComputer = "."
Const HKLM = &H80000002
Const strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
Dim oReg, arrSubKeys, strProduct, strDisplayName, strVersion
Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")
' Enumerate the subkeys of the Uninstall key
oReg.EnumKey HKLM, strKeyPath, arrSubKeys
For Each strProduct In arrSubKeys
' Get the product's display name
oReg.GetStringValue HKLM, strKeyPath & "\" & strProduct, "DisplayName", strDisplayName
' Process only products whose name contain 'Microsoft'
If InStr(1, strDisplayName, "Microsoft", vbTextCompare) > 0 Then
' Get the product's display version
oReg.GetStringValue HKLM, strKeyPath & "\" & strProduct, "DisplayVersion", strVersion
WScript.Echo strDisplayName &"======"& vbTab &"===========================================" & strVersion
End If
Next



 
Click on bat file and it will generate the text file with all products with version number.


Thanks,
Md. jawed

Thursday, 12 January 2012

Enable Sound when Breakpoint is hit in Visual Studio 2010

It is really interesting and funny to let Visual studio make sound or give some signal that it hit break point.


So here is the tips to do the same. I have done this in windows 7 machine. Might be for other OS setting would be different.

First look at the below snap shot.




Steps:
1. Go to Control Panel.
2. Click on Hardware and Sound. A different window appears.
3. On new popup window click on Change System sounds. A different pop window would appear, refer above snap shot.
4. Select sound tab and scroll down to Microsoft Visual Studio.
5. Select Break point Hit.
6. Now select your desired sound from Sounds drop down menu.
7. Click on Apply and then ok.

Now you are ready to hear the Hit sound, whenever visual studio would hit the breakpoint.

Happy Debugging.

Thanks,

Md. Jawed