Thursday, June 13, 2013

Upgrade MTM2010 into MTM2012: Automation Testing with Error

If you are using Visual Studio and MTM 2010 and wish to upgrade into Visual Studio and MTM2012 then you need to start worried. It may costly because TFS for Visual Studio 2010 is actually not support/compatible with Visual Studio 2012 when you want to do Automation and Load Testing.

Below is the snapshot between MTM2012 and MTM2010. Both are use the same TFS server only upgrade the MTM and Visual Studio version. Using MTM2010 work fine but not on MTM2012. The solution is install back the Visual Studio and MTM 2010. Dont afraid, because one machine can have more than one Visual Studio and MTM version.

If you want to use Visual Studio and MTM 2012 then need to have new TFS server just for 2012 version.

Wednesday, May 29, 2013

MTM: "Build in use" is none, how to make it available?

For the first time create new Build, the build will not available on "Build in use" and "Available Build" on MTM. Then to make it available by click "Queue Build" button make it available on Build in use.

Monday, May 27, 2013

Visual Studio 2012 with Update 1 and 2

While finding the Test Agent VS2012 installer, i found that VS2012 need to install with Update 1, then i'm thinking its only VS2012 Ultimate but why need the Update 1. Its so weird. Then I read this article update about the Visual Studio, http://www.microsoft.com/visualstudio/eng/visual-studio-update.

So, we need to install even though your VS is Ultimate or whatever. This is how the Microsoft solve the issue to handle the bug and enhancement with their product.

From the article above stated that "
Visual Studio 2012 Update 1 (Visual Studio 2012.1) provides enhancements and fixes to address a variety of issues reported through Connect and Windows Error Reporting. In addition, Update 1 delivers a wealth of new functionality into Visual Studio 2012. Most of the new functionality appears in Ultimate and Premium, but there are some features for Professional and Express products".

So just install and see the different.

Monday, April 22, 2013

How to display query from TFS into excel?

You want to work with excel files, that will be great but you dont need to COPY-PASTE the data from TFS, its too many thing to do, maybe other Dev or QA or BA may adding new record in TFS, then no need to double check open and close the TFS many times. Use the step below so you can automatically have the update data from TFS by working on Excel files.

1) Open Microsoft Excel

2) Under Team tab, click on New List button
 3) Connect to TFS window is displayed. Choose Servers, Team Project Collection and Team Project to be open. Click on Connect button.
 4)  New List window is displayed. Tick on Query List radio button and choose the Query available in TFS. Then click on OK button.
 5) Select Query window is displayed. Select the query available in TFS and click on OK button
 6) Verify the excel files. New table is generate in the line.
 7) Select any rows or column and tick on Refresh button to get the update data.

Awesome, right? Cheers..

Thursday, April 4, 2013

How to Select All and Tick the box for configuration at "Select Test Configuration" in MTM VS2010

Tired to click one-by-one on the box to set the configurations for each test cases "Select Test Configuration" in MTM. So here is the how the shortcut works.

1) Select all test cases that need to configure. Verify Contents template will be displayed like below snapshot. "Select Test Configurations".



2) Tick on "Enable range selection...." at the bottom checkbox.

 3) Click on selected box as starter. Verify the box line is [........], like below snapshot.

4) Enter Shift on keyboard while click on selected box as end section. Verify the other box line is in bold line


 5)  Click on the box with [.....] dot line. Verify the box highlighted is checked/ticked.







ASP.NET is not exists in the IIS Web Service Extensions

Let say you found this problem, don't panic. No need to worry. Just need to install the ASP.NET on IIS that all. Here is the step you can follow.

1) Click open Control Panel and click Program and Features (using Window 7) or click Add or Remove Program (using Window XP)

2) Click on "Turn Windows features on or off". Window Component Wizard will displayed

3) Tick on Application Server checkbox.

4) Click on Details button

5) Then click on OK button to start install
 

 6) Verify in IIS the ASP.NET Web Services Extensions is available




Search Test View in VS 2012

The VS 2012 UI is so awesome and nice than VS2010. So in this version VS 2012, the Microsoft have change the Test View window name. Test View is use to show the list of Unit Test, Coded UI and Ordered Test that are ready to be run for testing.

In VS 2010 its called as Test View, while in VS 2012 its called as Test Explorer

Using VS 2010



Using VS 2012





Thursday, February 14, 2013

How to recall outlook email?

Before send any email you have to double check or read it through carefully or else you start to thinking how to recall back the email which just send in a few minutes a go.

The step below can only be success if the receiver do not open the email. If it does then you should wait for their respond on your email with many curiosity feedback.

Here is the step:

1) Click Sent Item and Open back the email need to recall.

2) Under Message tab, click Actions -> Recall This Message..

3) Wait for a few second

4) Received email with success status


5) Recall message in Sent Item icon change

And now you can smile again :)

Wednesday, January 23, 2013

Display Line Number on SQL query

Missing the line number on query? So, here is the step to enable the line number..


1) Under Tools, select Options..
2) Options window displayed. Expand Text Editor, under All Languages select General
3) Tick on Line Number checkbox and click on OK button


Then your query will displayed the line number like snapshot below



Monday, January 7, 2013

Virtual Machine WANTED!!

When do testing, no wonder their requirement are so many and complicated to be achieved. When they are scenario required you to test the project or application with a machine that you are not afford to buy or search in time to do the testing. Then you need to use Virtual Machine in one condition, you have to create your own iso files for specific OS to run.

Here is the Virtual Machine that I know:

1) For OS Window 7, Virtual PC Window XP Mode are free to be use by Microsoft.
    No need to use other Virtual Machine unless your machine have an error while install Windows
    Update on your machine Failure configuring Windows updates’ then you need to use other VM technology.
    http://www.microsoft.com/windows/virtual-pc/download.aspx 




2)  Oracle VM
     https://www.virtualbox.org/wiki/Downloads



3)  VMware Player
     https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/5_0

Thursday, January 3, 2013

VS2010: An Item with same key has already been added while running CodedUI

While you running CodedUI and found this error below. The best way is to create new UIMap.












1) Right click on project. Add New Item.

 2) Choose Coded UI Test Map.

3) UIMap1.uitest is created. Then you can start creating CodedUI Test without any error.