DCSIMG
May 2010 - Posts - Eran Ruso
Sign in | Join | Help

May 2010 - Posts

Performance Testing Goals and Criteria

פורסם בתאריך May 27 2010, 10:15 AM על ידי Eran Ruso

Many of my customers are asking me the “One Million Dollars” question each time I start working on there Performance Test Effort and Plan: “What is the Performance Testing Pass Criteria that we are looking for?”

The answer is based on the following 3 sections of Performance Testing Criteria:

  1. Response Time – This is very important from the User Perspective
  2. Throughput – This is very important from the Business Perspective
  3. Resource Utilization – This is very important from the System Perspective

Most of what we decide to test falls in to one of the above sections, when you plan your Performance Testing Goals and Acceptance Criteria don’t forget to have them in mined.

Have Fun!!!

Visual Studio 2010 Coded UI Test User Guide - Add Validation To Your Coded UI Tests

פורסם בתאריך May 16 2010, 11:50 PM על ידי Eran Ruso

This post is the Fourth post out of Four that builds the Visual Studio 2010 Coded UI Test User Guide. See the first post: “Visual Studio 2010 Coded UI Test User Guide - Introduction”, the second post: “Visual Studio 2010 Coded UI Test User Guide - Create A Simple Coded UI Test” and the third post: “Visual Studio 2010 Coded UI Test User Guide - Get A Coded UI Test Created In Manual Test Using The MTM Tool”

On this post I will show how to add validation rules to the Coded UI Test that we have previously recorded.

This post is based on the example made in the second post of this guide: “Visual Studio 2010 Coded UI Test User Guide - Create A Simple Coded UI Test”

Now that we have the code for the Coded UI Test we can add validation rules.

The validation rule I like to add will be placed after the last method of the test “this.UIMap.UpdateYourShoppingCart()” and I will call it: “CheckSubtotal”

Follow these steps to add this validation:

Step 1: Place the mouse cursor after the last method this.UIMap.UpdateYourShoppingCart() in the test.

Step 2: Right click choose “Generate Code for Coded UI Test” –> “Use Coded UI Test Builder…”

Step_1__Launch_Recorder

The Coded UI Test Recorder launched

Step_2__Recorder_launched

Step 3: Drag the cursor to the object you like to validate, in this case the “Subtotal”

The ID of the object is shown

 Step_3_Check_the_subtotal

Step 4: Choose the property to validate and click: “Add Assertion”

 Step_4_Add_assertion_on_a_field

A new window pops up with the assertions available.

Step 5: Choose the Comparator and the Comparison Value

Step 6: Click OK

 Step_5_check_subtotal

You will see a mark next to the property indicate that a validation rule was added

 Step_6_result

Step 7: Click the “Generate Code” button

 Step_7_generate_method

Step 8: Type the name of the method and click “Add and Generate” button

 Step_8_generate_method

You can see that the method was added to the “TestMethod” and will run with the test.

 Step_9_added_method

You can see that it is easy to add validations to the test, use validations as much as you can.

I have also published a video that shows all the steps and examples from this guide: "Coded UI Test Demo – Video Hebrew"

Have Fun!!!

Upgrade Visual Studio 2010 from Beta 2 Or RC To The RTM

פורסם בתאריך May 11 2010, 04:43 PM על ידי Eran Ruso

These instractions will work for all the Visual Studio 2010 versions

Upgrading your Visual Studio 2010 is a very simple task, just follow these steps:

Step 1: Go to Add Remove Programs from the control panel
Step 2: Uninstall Visual Studio
Step 3: Uninstall the .NET Framework 4.0 Extended
Step 4: Uninstall the .NET Framework 4.0 Client Profile
Step 5: Install the RTM version of Visual Studio

That is all.

Have Fun!!!

Upgrade TFS from RC to RTM

פורסם בתאריך May 05 2010, 02:03 PM על ידי Eran Ruso

Now that the RTM was released the "upgrade season" has started.

The upgrade process is very simple just a few uninstalls and reinstalls and you are done.

It is very important to backup the TFS before you start and if you cannot backup the all server at least backup the Databases.

Martin Hinshelwood has writen a grate post on the upgrade process, you can find it here.

In his post Martin does not say that you need to uninstall the Visual Studio Shell after uninstalling the Team Explorer and after uninstalling the TFS you will need to uninstall the .NET Framework 4.0 both Extended and Client Profile.

Have Fun!!!

 

סדנת הכשרה מעשית Team System 2010 – Test & Lab Management מפגש שלישי

פורסם בתאריך May 04 2010, 12:57 AM על ידי Eran Ruso

סדנת ההכשרה המעשית יצאה לדרך ב – 8 לאפריל השנה לרגל שחרור גרסת ה – Team System 2010 והחידושים הרבים בעולם הבדיקות בגרסא זו.

בשני המפגשים שהיו נחשפו המשתתפים לטכנולוגיות החדשות וזכו להתנסות בעצמם בכל הכלים החדשים.

אני מאוד נהניתי להעביר את הסדנא ולראות את המבטים של המשתתפים בזמן שהדגמתי את היכולות הכמעט בדיוניות של כלי הבדיקות.

הסדנא השלישית תתקיים ב – 24.05 ונותרו בה עוד מקומות אחרונים.

לכל המעוניינים ניתן לקבל מידע נוסף ולהירשם בלינק הבא: http://teamsysteme4d.weebly.com/

תיהנו!!!

Team Foundation Build Extensions For Ant and Maven2

פורסם בתאריך May 02 2010, 10:00 AM על ידי Eran Ruso

Java users that use the Ant or Maven2 for there Build Machines are now able to use the Team Foundation Build.

There is a new release for the Team Foundation Build, in this release the Ant and Maven2 users can now run and have the results as part of the Team Foundation Build.

You can download the Build Extensions here.

Have Fun!!!