<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8188117718822686915</id><updated>2024-10-06T21:26:24.377-07:00</updated><title type='text'>Automation Testing Using CodedUI - Visual Studio 2010</title><subtitle type='html'>At this blog I posting the challenges which I am facing while automating test cases using VS2010 and help you all</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-5711740476739694658</id><published>2013-09-27T01:58:00.000-07:00</published><updated>2013-09-27T01:58:04.541-07:00</updated><title type='text'>Hot to convert Coded UI .trx report to .html format</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi Guys&lt;br /&gt;
&lt;br /&gt;
In this post I will show you how to conert .trx report file to .html format. for this you need to download utility from below URL:&lt;br /&gt;
&lt;br /&gt;
http://trx2html.codeplex.com/&lt;br /&gt;
&lt;br /&gt;
TRX2HTML is used to convert .trx to .html format.&lt;br /&gt;
&lt;br /&gt;
Below are the steps:&lt;br /&gt;
&lt;br /&gt;
trx2html &quot;TestResult.trx&quot;&lt;br /&gt;
&lt;br /&gt;
by executing statement in the command prompt you can convert .trx to .html format.&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Team&lt;br /&gt;
&lt;br /&gt;
If above post helps you please share it and post your comment.. :)&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/5711740476739694658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2013/09/hot-to-convert-coded-ui-trx-report-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/5711740476739694658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/5711740476739694658'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2013/09/hot-to-convert-coded-ui-trx-report-to.html' title='Hot to convert Coded UI .trx report to .html format'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-412774720516419848</id><published>2013-09-27T00:27:00.001-07:00</published><updated>2013-09-27T00:27:24.838-07:00</updated><title type='text'>How to create set by step report of a test case while running a validation test case ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi Guys&lt;br /&gt;
&lt;br /&gt;
Below sample shows how you can create a detailed report while running a validation test case thru coded-UI. Lets take a an example: You have to validate 4-5 elements on a page and what will happen if your 2nd element doesn&#39;t exist have some visibility issue.&lt;br /&gt;
&lt;br /&gt;
TEST CASE GET FAILED AND IN THIS CASE WHAT WILL HAPPEN TO THE VALIDATION CHECK FOR OTHER ELEMENT WHICH ARE LEFT BECAUSE BECAUSE 2ND ELEMENT DOESN&#39;T EXIST.&lt;br /&gt;
&lt;br /&gt;
HOW ABOUT THIS: If your 2nd doesn&#39;t exist but your script will throw an error for that and also continue on validating other element too.&lt;br /&gt;
&lt;br /&gt;
By using below you can successfully do that:&lt;br /&gt;
&lt;br /&gt;
public void TC_Bing_VerifyingTheHomepageBing(string testCaseID, string inputFile)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Code:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #region Test Steps&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Declaring array to store exceptions and string should number of elements you are validating your test case&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string[] exceptionMessage = new string[50];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int count = 0;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //fetch test data &amp;nbsp;from csv file&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string[] testdata = common.ReadCSV(testCaseID, separator, inputFile);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (uIBingHomePage.Title == testdata[1])&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!uIWebHyperlink.Exists)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exceptionMessage[count] = &quot;Web link is not available&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; count++;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!uIImagesHyperlink.Exists)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exceptionMessage[count] = &quot;Image link is not available&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; count++;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!uINewsHyperlink.Exists)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exceptionMessage[count] = &quot;News link is not available&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; count++;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!uIMoreHyperlink.Exists)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exceptionMessage[count] = &quot;More link is not available&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; count++;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assert.Fail(&quot;HomePage of Bing is not opened as expected&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Collecting all the assertion message and failing the test case&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (exceptionMessage != null &amp;amp;&amp;amp; exceptionMessage[0] != null)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string errorMessage = string.Empty;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach (string x in exceptionMessage)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; errorMessage += x + AppConstants.comma;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; errorMessage.Substring(0, errorMessage.Length - 1);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; errorMessage = errorMessage.Replace(&quot;,,&quot;, &quot;&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; errorMessage = errorMessage.Replace(&quot;,&quot;, &quot; , &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assert.Fail(errorMessage);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception ex)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw ex;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #endregion&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #endregion&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Team&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If this post help you. Please share it and give your comments on it :)&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/412774720516419848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2013/09/how-to-create-set-by-step-report-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/412774720516419848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/412774720516419848'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2013/09/how-to-create-set-by-step-report-of.html' title='How to create set by step report of a test case while running a validation test case ?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-3521451893114755360</id><published>2013-09-25T22:52:00.001-07:00</published><updated>2013-09-25T23:05:01.681-07:00</updated><title type='text'>Cross Browser Automation Testing Using Coded UI- VSTS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi Guys&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Soon I will explain the how to do cross browser automation testing using Coded-UI.....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Team&lt;br /&gt;
&lt;br /&gt;
Here We Go....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
General Information: Coded-UI Support Chrome and Firefox for cross browser testing, it doesn&#39;t support safari.&lt;br /&gt;
&lt;br /&gt;
Pre-Requisites: You need to install &quot;&lt;br /&gt;
&lt;h1 class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
&quot;Selenium components for Coded UI Cross Browser Testing &quot;&lt;/h1&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
by following below steps: In the Visual Studio Goto Tools --&amp;gt; Extensions and Updates --&amp;gt; Search for selenium. Download and install it.&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
&lt;a href=&quot;http://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d?SRC=VSIDE&quot;&gt;http://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d?SRC=VSIDE&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
Now by adding below line in the [TestMethod] you can run your test case in choice of your browser:&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
BrowserWindow.CurrentBrowser = &quot;Chrome&quot;;&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
for firefox just replace chrome with firefox and it will launch the specified browser on executing the test case.&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
Please like the post if it helps you.&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
Thanks&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
Team&lt;/div&gt;
&lt;div class=&quot;projectTitle&quot; itemprop=&quot;name&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/3521451893114755360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2013/09/cross-browser-automation-testing-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/3521451893114755360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/3521451893114755360'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2013/09/cross-browser-automation-testing-using.html' title='Cross Browser Automation Testing Using Coded UI- VSTS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-2422758462264696654</id><published>2013-06-21T02:48:00.002-07:00</published><updated>2013-06-21T02:48:44.216-07:00</updated><title type='text'>Software Testing with Visual Studio 2012 Certification</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
On following URL:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/learning/en/us/exam.aspx?id=70-497#fbid=0WAhIdUoJdV&quot;&gt;http://www.microsoft.com/learning/en/us/exam.aspx?id=70-497#fbid=0WAhIdUoJdV&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/2422758462264696654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2013/06/software-testing-with-visual-studio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/2422758462264696654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/2422758462264696654'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2013/06/software-testing-with-visual-studio.html' title='Software Testing with Visual Studio 2012 Certification'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-7945931373825813286</id><published>2012-08-10T00:56:00.000-07:00</published><updated>2012-08-10T00:56:47.876-07:00</updated><title type='text'>How to read remote system / machine registries using VS2010 CodedUI</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi All&lt;br /&gt;
&lt;br /&gt;
Currently I am working on how to fetch required values or information from regedit to make sure the deployment done have correct server address or for others reason too.&lt;br /&gt;
&lt;br /&gt;
Soon I will share my finding with the sample project..........&lt;br /&gt;
&lt;br /&gt;
Let me know if any queries related to that.&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Arun Kapoor&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/7945931373825813286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/08/how-to-read-remote-system-machine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/7945931373825813286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/7945931373825813286'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/08/how-to-read-remote-system-machine.html' title='How to read remote system / machine registries using VS2010 CodedUI'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-5123730518275845378</id><published>2012-08-10T00:53:00.000-07:00</published><updated>2012-08-10T00:53:38.510-07:00</updated><title type='text'>Upgraded Batch file for download project / code from Team Foundation Server (TFS) using command line/ command prompt</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In my last post I shared how we can download code/project from TFS:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=8188117718822686915#editor/target=post;postID=583709375510837785;onPublishedMenu=overview;onClosedMenu=overview;postNum=12;src=postname&quot;&gt;http://www.blogger.com/blogger.g?blogID=8188117718822686915#editor/target=post;postID=583709375510837785;onPublishedMenu=overview;onClosedMenu=overview;postNum=12;src=postname&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Please find upgraded version of the same batch file with some extra features:&lt;br /&gt;
&lt;br /&gt;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;br /&gt;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;br /&gt;
@echo off&lt;br /&gt;:: variable declarations&lt;br /&gt;::*********************************************************&lt;br /&gt;set userName=&lt;br /&gt;set password=&lt;br /&gt;::GetLatest:Only If User Need Latest Code; &lt;br /&gt;::CreateTFS:Only if User want to create new mapping with TFS and take latest code; &lt;br /&gt;::NO: User Don&#39;t want to create New TFS not need latest code&lt;br /&gt;set isLatestCodeRequired=CreateTFS&lt;br /&gt;set workSpacename=&lt;br /&gt;set tfsURL=&lt;br /&gt;set tfsAddress=&lt;br /&gt;::*********************************************************&lt;br /&gt;::**************************************************&lt;br /&gt;:: Create work space and Download code from TFS&lt;br /&gt;::**************************************************&lt;br /&gt;:: check for existence of [Program Files(x86)]&lt;br /&gt;
::if %isTFSMappingRequired% == Y (GOTO CreateNewTFSAndGetLatest)&lt;br /&gt;
&lt;br /&gt;if %isLatestCodeRequired% == GetLatest (GOTO DownloadTFSCode) &lt;br /&gt;if %isLatestCodeRequired% == CreateTFS (GOTO CreateNewTFSAndGetLatest) &lt;br /&gt;if %isLatestCodeRequired% == NO (GOTO NotDownloadTFSCode)&lt;br /&gt;
:DownloadTFSCode&lt;br /&gt;
set EnvpathVS2010=%VS100COMNTOOLS%&lt;br /&gt;
::Creating path of Visual Studio Command Prompt&lt;br /&gt;set PathToAppend=\VC\vcvarsall.bat&quot; x86&lt;br /&gt;set EnvpathVS2010=%EnvpathVS2010:\Common7\Tools\=%&lt;br /&gt;set RootDirectory=%windir%&lt;br /&gt;set RootDirectory=%windir:\Windows=%&lt;br /&gt;
set FinalPath=&quot;%EnvpathVS2010%%PathToAppend%&lt;br /&gt;call %FinalPath%&lt;br /&gt;cd\&lt;br /&gt;%RootDirectory%&lt;br /&gt;
::Create Directory Application_App_Checkout&lt;br /&gt;md %workSpacename%&lt;br /&gt;
::Into Directory Application_App_Checkout&lt;br /&gt;cd %workSpacename%&lt;br /&gt;
::tf workspace /delete %workSpacename% /noprompt&lt;br /&gt;::tf workspace /new %workSpacename% /noprompt /collection:%tfsURL% /login:%userName%,%password%&lt;br /&gt;tf.exe get %tfsAddress% /recursive /all /overwrite /force /login:%userName%,%password%&lt;br /&gt;echo %isLatestCodeRequired%&lt;br /&gt;call C:\Application_AppCheckout_SourceCode_Download\AutomatedTests\ApplicationCheckOut\Development\Application_AppCheckoutRelease.bat&lt;br /&gt;GOTO End&lt;br /&gt;
:NotDownloadTFSCode&lt;br /&gt;echo &quot;User does not wish to download latest code from TFS.&quot;&lt;br /&gt;pause&lt;br /&gt;echo %isLatestCodeRequired%&lt;br /&gt;
&lt;br /&gt;GOTO End&lt;br /&gt;
:CreateNewTFSAndGetLatest&lt;br /&gt;set EnvpathVS2010=%VS100COMNTOOLS%&lt;br /&gt;
::Creating path of Visual Studio Command Prompt&lt;br /&gt;set PathToAppend=\VC\vcvarsall.bat&quot; x86&lt;br /&gt;set EnvpathVS2010=%EnvpathVS2010:\Common7\Tools\=%&lt;br /&gt;set RootDirectory=%windir%&lt;br /&gt;set RootDirectory=%windir:\Windows=%&lt;br /&gt;
set FinalPath=&quot;%EnvpathVS2010%%PathToAppend%&lt;br /&gt;call %FinalPath%&lt;br /&gt;cd\&lt;br /&gt;%RootDirectory%&lt;br /&gt;
::Create Directory Application_App_Checkout&lt;br /&gt;md %workSpacename%&lt;br /&gt;
::Into Directory Application_App_Checkout&lt;br /&gt;cd %workSpacename%&lt;br /&gt;
tf workspace /delete %workSpacename% /noprompt&lt;br /&gt;tf workspace /new %workSpacename% /noprompt /collection:%tfsURL% /login:%userName%,%password%&lt;br /&gt;tf.exe get %tfsAddress% /recursive /login:%userName%,%password%&lt;br /&gt;echo %isLatestCodeRequired%&lt;br /&gt;
&lt;br /&gt;GOTO End&lt;br /&gt;
End Local&lt;br /&gt;
&lt;br /&gt;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;br /&gt;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/5123730518275845378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/08/upgraded-batch-file-for-download.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/5123730518275845378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/5123730518275845378'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/08/upgraded-batch-file-for-download.html' title='Upgraded Batch file for download project / code from Team Foundation Server (TFS) using command line/ command prompt'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-5040414813122948306</id><published>2012-07-20T02:55:00.000-07:00</published><updated>2012-07-20T02:55:02.621-07:00</updated><title type='text'>Automation Testing In The Cloud Computing</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In some form or another, more aspects of application testing will become increasingly automated. While there is &lt;strong&gt;&lt;a class=&quot;jive-link-external-small&quot; href=&quot;http://www.ctoedge.com/content/trials-application-testing&quot;&gt;a general bias toward manual testing,&lt;/a&gt;&lt;/strong&gt; IT services companies such as Infosys increasingly are focused on automating as much of the application-testing process as possible.&lt;br /&gt;
&lt;br /&gt;According to Aparna Sharma, head of client services for independent validation and testing services for &lt;strong&gt;&lt;a class=&quot;jive-link-external-small external&quot; href=&quot;http://www.infosys.com/&quot; target=&quot;_blank&quot;&gt;Infosys,&lt;/a&gt;&lt;/strong&gt; it’s really just a matter of scale. Not only is the sheer volume of code being generated increasing, existing code is being updated much more often. Much of this has to do with iterative application-development methods that greatly speed the application-development process.&lt;br /&gt;
&lt;br /&gt;The biggest challenge, however, is getting the best application developers to focus on automating the testing. The best developers naturally want to do anything but test. The folks that generally do the testing, however, don’t have enough insight into the application.&lt;br /&gt;
&lt;br /&gt;Infosys is working on &lt;strong&gt;&lt;a class=&quot;jive-link-blog-small&quot; href=&quot;http://www.itbusinessedge.com/cm/blogs/vizard/learning-from-application-testing/?cs=40120&quot;&gt;automated testing routines for a variety of applications in various vertical industries&lt;/a&gt;&lt;/strong&gt; that will be available as a cloud computing service. Even though automating application testing might not be all that high a priority within the enterprise, as IT services firms go, the rest of the enterprise is sure to follow. And there are going to be a lot more IT services firms offering automated testing services in the cloud than just Infosys.&lt;br /&gt;
&lt;br /&gt;In the end, it will come down to economics. Manual application testing is too slow and costly. We’ll never automate the entire application-testing process, but it&#39;s pretty clear that much of it can be done just as well by a machine in the cloud as a programmer on premise. But few machines can actually create the program in the first place.&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
More from our Network&lt;/h4&gt;
&lt;a href=&quot;http://www.ctoedge.com/content/assuring-quality-third-party-code-integrations&quot;&gt;Assuring Quality in Third-party Code Integrations&lt;/a&gt;  &lt;span style=&quot;color: #999999;&quot;&gt;&lt;strong&gt;CTO Edge&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.ctoedge.com/content/middleware-muddle&quot;&gt;The Middleware Muddle&lt;/a&gt;  &lt;span style=&quot;color: #999999;&quot;&gt;&lt;strong&gt;CTO Edge&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.ctoedge.com/content/application-deployment-new-virtual-world&quot;&gt;Application Deployment in the New Virtual World&lt;/a&gt;  &lt;span style=&quot;color: #999999;&quot;&gt;&lt;strong&gt;CTO Edge&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.ctoedge.com/content/giving-developers-keys-virtual-kingdom&quot;&gt;Giving Developers Keys to the Virtual Kingdom&lt;/a&gt;  &lt;span style=&quot;color: #999999;&quot;&gt;&lt;strong&gt;CTO Edge&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.ctoedge.com/content/getting-ready-real-time-enterprise&quot;&gt;Getting Ready for the Real-time Enterprise&lt;/a&gt;  &lt;span style=&quot;color: #999999;&quot;&gt;&lt;strong&gt;CTO Edge&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/5040414813122948306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/automation-testing-in-cloud-computing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/5040414813122948306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/5040414813122948306'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/automation-testing-in-cloud-computing.html' title='Automation Testing In The Cloud Computing'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-3827511371657750186</id><published>2012-07-20T02:45:00.000-07:00</published><updated>2012-07-20T02:45:11.495-07:00</updated><title type='text'>Unit Test Automation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
NUnit is a unit-testing framework for all .Net languages. Initially ported from JUnit, the current production release, version 2.6, is the seventh major release of this xUnit based unit testing tool for Microsoft .NET. It is written entirely in C# and has been completely redesigned to take advantage of many .NET language features, for example custom attributes and other reflection related capabilities. &lt;br /&gt;
NUnit does not create any test scripts by itself. You have to write test scripts by yourself, but NUnit allows you to use its tools and classes to make the unit testing easier. The points to be remembered about NUnit are listed below:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;NUnit is not an automated GUI testing tool. &lt;/li&gt;
&lt;li&gt;It is not a scripting language, all test are written in .NET supported language, e.g., C#, VC, VB.NET, J#, etc.&lt;/li&gt;
&lt;/ul&gt;
Nunit works by providing a class framework and a test runner application. The class framework allows to write the test cases based on the application and the test is run using the test runner application.&lt;br /&gt;
The latest version of Nunit framework and the Help related to it can be downloaded from &lt;a href=&quot;http://www.nunit.org/index.php?p=download&quot;&gt;http://www.nunit.org/index.php?p=download&lt;/a&gt;&lt;br /&gt;
So far we took a look at unit testing, and NUnit, seeing how easy it was to create automated tests through the help of NUnit. Unit testing with NUnit is useful for testing class libraries that makeup an ASP.NET application, but is not designed to test the UI portions of an ASP.NET application.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/3827511371657750186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/unit-test-automation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/3827511371657750186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/3827511371657750186'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/unit-test-automation.html' title='Unit Test Automation'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-748796687482653966</id><published>2012-07-20T02:10:00.003-07:00</published><updated>2012-07-20T02:10:37.010-07:00</updated><title type='text'>Test Automation Guidance using VS 2010 Coded UI</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The objective of this artifact is to provide a &lt;i&gt;L200 test automation guidance leveraging VS 2010 Coded UI&lt;/i&gt; &lt;i&gt;features &lt;/i&gt;to foster a continuous, consistent and standard automation approach. The document can also be used as a quick jump start guide for beginners. &lt;br /&gt;
However the bigger objective is &lt;b&gt;Build, Deploy and Test&lt;/b&gt; leveraging Visual Studio Lab Management features, which will allow Automation Testers to reap the benefits of the following &lt;br /&gt;
· Integrating with the build process for automatic build deployment &lt;br /&gt;
· Execution on VMs &lt;br /&gt;
· Capabilities of getting the test automation results reported as part of Test Manager (MTM) for better reporting.&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;b&gt;Pre-requisites:&lt;/b&gt; &lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-metablogapi/8468.clip_5F00_image001_5F00_509C0F38.gif&quot;&gt;&lt;img alt=&quot;clip_image001&quot; border=&quot;0&quot; height=&quot;15&quot; src=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-metablogapi/1018.clip_5F00_image001_5F00_thumb_5F00_6448F8CC.gif&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image001&quot; width=&quot;15&quot; /&gt;&lt;/a&gt; &lt;i&gt;Ensure you have ‘&lt;/i&gt;&lt;b&gt;CodedUISampleFramework’&lt;/b&gt;&lt;i&gt; sample Coded UI project&lt;/i&gt; &lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-metablogapi/3678.clip_5F00_image0011_5F00_4EEB4364.gif&quot;&gt;&lt;img alt=&quot;clip_image001[1]&quot; border=&quot;0&quot; height=&quot;15&quot; src=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-metablogapi/2514.clip_5F00_image0011_5F00_thumb_5F00_63045FED.gif&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image001[1]&quot; width=&quot;15&quot; /&gt;&lt;/a&gt; &lt;i&gt;For VS 2010 installation &amp;amp; Configuration, go to &lt;/i&gt;&lt;a href=&quot;file:///D:/raj/raj%20backup/VS%202010/Automation%20Guidance%20MGSI/Review/Automation%20Guidance/#_Pre-Requisites:_Installation_and&quot;&gt;&lt;i&gt;Appendix: VS 2010 Installation Reference section&lt;/i&gt;&lt;/a&gt;&lt;i&gt; &lt;/i&gt;&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-metablogapi/4274.clip_5F00_image0012_5F00_4DA6AA85.gif&quot;&gt;&lt;img alt=&quot;clip_image001[2]&quot; border=&quot;0&quot; height=&quot;15&quot; src=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-metablogapi/6724.clip_5F00_image0012_5F00_thumb_5F00_61BFC70E.gif&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image001[2]&quot; width=&quot;15&quot; /&gt;&lt;/a&gt; &lt;i&gt;If you are new to Visual Studio Coded UI, go to &lt;/i&gt;&lt;a href=&quot;file:///D:/raj/raj%20backup/VS%202010/Automation%20Guidance%20MGSI/Review/Automation%20Guidance/#_Getting_Started&quot;&gt;&lt;i&gt;Appendix: Getting started with VS2010&lt;/i&gt;&lt;/a&gt; &lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-metablogapi/8484.clip_5F00_image0013_5F00_7A4F645E.gif&quot;&gt;&lt;img alt=&quot;clip_image001[3]&quot; border=&quot;0&quot; height=&quot;15&quot; src=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-metablogapi/1031.clip_5F00_image0013_5F00_thumb_5F00_4B89ABBC.gif&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image001[3]&quot; width=&quot;15&quot; /&gt;&lt;/a&gt; &lt;i&gt;Ensure your application is supported by Coded UI, go to &lt;/i&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/dd380742.aspx&quot;&gt;&lt;i&gt;MSDN link&lt;/i&gt;&lt;/a&gt;&lt;i&gt; &lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;_Toc284684660&quot;&gt;&lt;/a&gt;&lt;a href=&quot;&quot; name=&quot;_Case_Study&quot;&gt;&lt;/a&gt;Jump to Case Study, if your objective is to get started with Coded UI using our recommended framework and practices. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-CodedUI/2086.Automation-Guidance-_2800_VS-2010-Coded-UI_2900_-ExternalCommunity.pdf&quot; title=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-CodedUI/2086.Automation-Guidance-_2800_VS-2010-Coded-UI_2900_-ExternalCommunity.pdf&quot;&gt;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-CodedUI/2086.Automation-Guidance-_2800_VS-2010-Coded-UI_2900_-ExternalCommunity.pdf&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-CodedUI/0167.CodedUISampleFramework.rar&quot; title=&quot;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-CodedUI/0167.CodedUISampleFramework.rar&quot;&gt;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-73-CodedUI/0167.CodedUISampleFramework.rar&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Author:&lt;/strong&gt; &lt;br /&gt;
Raj Kamal (&lt;a href=&quot;mailto:rajkamal@microsoft.com&quot;&gt;rajkamal@microsoft.com&lt;/a&gt;) &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/748796687482653966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/test-automation-guidance-using-vs-2010.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/748796687482653966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/748796687482653966'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/test-automation-guidance-using-vs-2010.html' title='Test Automation Guidance using VS 2010 Coded UI'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-8301132919036492338</id><published>2012-07-20T00:43:00.001-07:00</published><updated>2012-07-20T00:43:48.273-07:00</updated><title type='text'>Automation Testing Using CodedUI - Visual Studio 2010: Discussion about design of a custom testing framew...</title><content type='html'>&lt;a href=&quot;http://qaforumautomationtesting.blogspot.com/2012/07/discussion-about-design-of-custom.html?spref=bl&quot;&gt;Automation Testing Using CodedUI - Visual Studio 2010: Discussion about design of a custom testing framew...&lt;/a&gt;: Hello All,   I want to discuss and get feedback about my ideas for creating a custom testing framework for our applications that leverages ...</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/8301132919036492338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/automation-testing-using-codedui-visual.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/8301132919036492338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/8301132919036492338'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/automation-testing-using-codedui-visual.html' title='Automation Testing Using CodedUI - Visual Studio 2010: Discussion about design of a custom testing framew...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-467731065713452434</id><published>2012-07-20T00:14:00.000-07:00</published><updated>2012-07-20T00:14:00.562-07:00</updated><title type='text'>Discussion about design of a custom testing framework that leverages Coded UI Testing in Visual Studio 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hello All,&lt;br /&gt;
&lt;br /&gt;
I want to discuss and get feedback about my ideas for creating a custom testing framework for our applications that leverages the Coded UI Test in Visual Studio 2010. I need to evaluate my current design.&lt;br /&gt;
&lt;br /&gt;
Definition: A &lt;strong&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;UI testing platform&lt;/span&gt;&lt;/strong&gt;is a system that provides interaction with the UI in an application under test. Coded UI Testing and Quicktest Pro are examples.&lt;br /&gt;
&lt;br /&gt;
Definition: A &lt;strong&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;custom testing framework&lt;/span&gt;&lt;/strong&gt;is a layer or several layers of basis functionality that provides levels of indirection between the testing platform and actual tests that will be executed. The tests call functionality from the custom testing framework, which manipulates the UI using the UI testing platform or provides custom functionality of some sort. These levels of indirection are meant to enhance maintainability and robustness of Coded UI Tests.&lt;br /&gt;
&lt;br /&gt;
In investigating Coded UI Testing I have found that recording of individual tests was often leading to very similar steps and UIMaps in each test. I have already gone through&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ff398056%28v=VS.100%29.aspx&quot; target=&quot;_blank&quot; title=&quot;Testing a large application with multiple UI Maps&quot;&gt;http://msdn.microsoft.com/en-us/library/ff398056%28v=VS.100%29.aspx&lt;/a&gt; and have implemented multiple UIMaps. There is still a problem recording actions on a per-test basis though since for every test I am generating identical functionality. An example of this would be the logical group of actions called “open a project” which is a composite of many sub steps and is used in almost every test. It is therefore desirable to have a single method recorded or built by hand and stored in some library of functions that can be invoked when required. I would call these methods that implement logical groups “test components”.&lt;br /&gt;
Definition: A &lt;strong&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;test component&lt;/span&gt;&lt;/strong&gt;is a test method existing in some layer of the custom testing framework that uses one or more UIMaps to manipulate UI elements to accomplish some specific task such as clicking an individual button, or to accomplish a logical group of actions such as opening a project. Test components can be identified by their common patterns in many tests.&lt;br /&gt;
&lt;br /&gt;
There are two types of test component. An “atomic test component” might perform some number of actions against the UI, but will never reference other components. That is, an atomic test component only uses the UIMap to manipulate UI elements. The second type of test component is a composite test component that is built from atomic components and composite components. Each test component will require access to one or more UIMap(s) to function. Since each test component will be implemented as a “test method”, the exception handling mechanism that provides results for tests can still be used and will filter up through the hierarchy of components in the custom testing framework. Since a test component is either atomic or is a collection of test components, and any test component is handled in the same way whether it is atomic or a collection, this is somewhat analogous to the composite design pattern except not in the context of object construction. A good example of a composite component is the “open a project” test component. This method would take the name of the project to open as a parameter and use atomic and potentially other composite components to execute the logical group of operations that open a project. The UIMaps used by such components are a little bit of a concern.&lt;br /&gt;
&lt;br /&gt;
The UIMap used by the “open a project” method also exists in the library and as such is not duplicated in multiple tests. Thus at the beginning of most tests, the test author will have to insert a call to the “open a project” method. Unfortunately as far as I can see at this point, this seems to break the test recording model since the Coded UI Test builder doesn’t provide a way to indicate a call to a method in the library instead of recording a new UIMap and method.&lt;br /&gt;
&lt;br /&gt;
Ultimately the goal is to provide a comprehensive set of test components implementing logical groups of actions such that a test creator can avoid duplicating functionality and quickly assemble a test by calling the appropriate components. The testers here have limited development experience, but are in the process of learning the basics. Hopefully in the long term, anyone from the most experienced developer to the programming challenged will be able to create automated tests that are maintainable and robust.&lt;br /&gt;
&lt;br /&gt;
With this model in mind, the recording functionality in VS2010 will be used only for creating the library of logical groups of actions (test components) and for per-test functionality that has not been included in the library at the time of test creation. This is ok, but it is note ideal and it would be nice to be able to extend the Coded UI Test Builder to add calls to the component library when required. A more serious problem lies in asserting or checkpointing values using the test creation.&lt;br /&gt;
&lt;br /&gt;
While there may be some common assertions or checkpoints included in the library of components, for all tests there exist test specific expected values. These test specific expected values must be stored in each test or in some structure defined to hold them; perhaps a CSV file. Since the UIMaps for everything lie in the application specific library of methods, using the assertion creator of VS2010 will not reference the library UIMaps and will thus try to create a per test UIMap that may duplicate some of the library UIMap for that portion of the application under test. This may even be desirable in some cases, but it still creates a potential maintainability problem. In most cases it would be better if the assertion recorder and generator could generate expected values in a UIMap that subclasses (inheritance) one of the library UIMaps. Another useful way to do things would be to allow the assertion generator to add expected values to some file such as a CSV or Excel spreadsheet.  The UIMap subclass situation would be ideal since a test can call its recorded assertion methods that exist local to the test, and these methods would be able to use the preexisting UIMap to verify expected values. As far as I know, using the Coded UI Test Builder in this way is not possible at this time and as such, assertion methods need to be provided via the library of test functionality. Somehow the test specific expected values need to be accounted for, but they cannot be recorded without duplicating UIMaps; undermining the usefulness of the recording tool.&lt;br /&gt;
&lt;br /&gt;
I must make a design decision and balance the tradeoffs of maintainability and ease of use in whatever system I implement. Making a component-wise library of functionality will provide maintainability and scalability, but will require much more development time initially and could potentially be more difficult to use for non-developers. That said, I believe maintainability and robustness of the system is the highest priority for our automated testing system due to personnel constraints. I do not want to get bogged down maintaining old tests; I would rather build new tests and have to perform simple fixes to components used in older tests.&lt;br /&gt;
&lt;br /&gt;
I have defined three levels of testing functionality as follows, each of which is a “test project” inside a “testing solution”. Each test project is compiled to a .dll and is referenced in the next higher level of functionality. These levels are as follows,&lt;br /&gt;
&lt;div style=&quot;text-indent: -18pt;&quot;&gt;
&lt;span&gt;&lt;span&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -18pt;&quot;&gt;
&lt;span&gt;&lt;span&gt;.&lt;span style=&quot;font-size-adjust: none; font-stretch: normal; font: 7pt/normal &amp;quot;Times New Roman&amp;quot;;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;The top level (level 1) is the common functionality that will be used in testing all of our software products. Examples of this are something like bitmap checkpointing, which any individual test might need to use.&lt;/div&gt;
&lt;div style=&quot;text-indent: -18pt;&quot;&gt;
&lt;span&gt;&lt;span&gt;2.&lt;span style=&quot;font-size-adjust: none; font-stretch: normal; font: 7pt/normal &amp;quot;Times New Roman&amp;quot;;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;The middle level (level 2) is the application dependent test functionality (test component) provider. This level is where all UIMaps exist and where the definitions of recorded or hand built atomic components and composite components exist.&lt;/div&gt;
&lt;div style=&quot;text-indent: -18pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -18pt;&quot;&gt;
&lt;span&gt;&lt;span&gt;3.&lt;span style=&quot;font-size-adjust: none; font-stretch: normal; font: 7pt/normal &amp;quot;Times New Roman&amp;quot;;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;The bottom level (level 3) contains the actual tests that will be executed. These tests will call test components from level 2 to perform some common actions such as “opening a project” and will also allow use of recording for per-test steps. These per-test recordings will allow the components from level 2 to be glued together to accomplish tasks for which there has been no test component defined in level 2. If it is found that all or part of these per-test recordings are being duplicated across different tests, then the common pattern can be extracted and will be a strong candidate for promotion to level 2.&lt;/div&gt;
&lt;div style=&quot;text-indent: -18pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
I would like to know what anyone thinks about my design, and if anyone else has tried something similar. I am concerned about this design cutting out much of the recording of actual tests, but at this point I feel that once a large number of tests are created, this framework will make the tests more maintainable. Please give me your feedback and any ideas you have. Any input is welcome! I am trying to learn how to maximize the effectiveness of my testing project, and how to leverage VS2010 properly.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/467731065713452434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/discussion-about-design-of-custom.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/467731065713452434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/467731065713452434'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/discussion-about-design-of-custom.html' title='Discussion about design of a custom testing framework that leverages Coded UI Testing in Visual Studio 2010'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-2360821444183262304</id><published>2012-07-19T00:19:00.000-07:00</published><updated>2012-07-19T00:19:49.037-07:00</updated><title type='text'>Performance Test with Capacity Tool, load balancing issues</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div align=&quot;left&quot;&gt;
Excellent question!  The answer is that with Configuration Services, the load balancing/failover detection happens from the Config-Services generated client itself (hence point to point, and this provides some big advantages especially for intranet scenarios; albeit some disadvantages as well).  Hence, to get load balancing ala the StockTrader web app to the middle tier stock trader business services (or from business service tier to Order Processor if running in that remote service config); this is predicated on the client app implementing Configuration Services.  The Capacity Planner tool does not---so it will *not* automatically load balance requests against backend service tiers (Java or .NET nodes).  I have though about re-implementing the Capacity Planner tool using Configuration Services (actually, not hard to do), such that its agents can auto-detect nodes of middle tier being tested, or user can use ConfigWeb to setup multiple backend servers to load balance against.  This would also help in testing of failover characteristics of Config Services...but for now the Capacity Planner tool just works against a single node at a time.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
There are of course other load balancing options; for example hardware or using Windows Network Load Balancing software built into Windows Server--that virtualize an IP address against mulitple hosts...if using this, then Capacity Planner can be pointed at the virtualized address, and load balance accordingly; but not a test of COnfig-service driven load balancing.  I will try to add into Capacity Planner an implementation of Config Services; this might be handy for setting config options, etc as well as doing load balancing and failover ala StockTrader and other samples for Config Service that are part of the download.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
(there are also a couple of bugs to address in the tool, I hope to do, plus I want to add binding/config options for testing with both transport and message-level security--to both .NET and Java implementations of the services).&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Also to note...I realize the Capacity Planner tool is very limited in what it can and cannot do; but the intent to to provide something *very* turnkey for the two workloads, as find many customers simply do not have the budget/time for buying and learning some of the more sophisticated load test tools out there. And without being able to drive load:&lt;br /&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
1)  Cannot verify any results I publish&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
2)  You cannot tune a system to any degree&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
3)  Cannot judge relative performance of various stacks; architecture tradeoffs within a given stack; different deployment options regarding location of front end web server, etc.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
So for now it does what it does.  One goal is that the two workloads chosen (much like a canned TPC or SPEC benchmark) are built using what I consider &quot;standard building blocks&quot; for the platforms they support; while simple, they do represent to some good degree the &quot;raw&quot; performance/capacity of software/hardware deployed for more sophisticated apps that will generally use the same core underlying building blocks.  &lt;strong&gt;&lt;u&gt;WSTest&lt;/u&gt;&lt;/strong&gt; is about measuring just Web Service especially network stack/serialization/de-serialization performance (including .NET or any Java stack; and also .NET TCP-Binary encoding vs. HTTP-XML encoding--and important options WCF adds while simulatenously hosting HTTP-XML endpoints for interop).  StockTrader is about introducing typical business logic behind the web service, involving database access (to SQL or Oracle); DB transactions including potentially distributed two-phase transactions against JTA or .NET Distributed Transaction Coordinator; etc.  So both workloads are useful, even given current constraints of this pre-packaged tool.  &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
If only I had time to add some level of scripting or auto-generation of test scripts based on WSDL/Meta-DataExchange of service operations...that would be really cool but all of a sudden I would be spending time building something like a poor-man&#39;s version of LoadRunner or even VS Load Test Tools; when these tools exist already (although free and turnkey has some advantages as well).&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
I really want to encourage people to do more load testing...I think not matter the platform, load testing early and often saves tons of money in the long wrong----finding out an option/feature/architecture decision does not scale early in the dev process could mean saving millions of dollars finding out after a complete system has been developed.  Hence the crude but free Capacity Planning tool.  And also I really want people to *believe* the results I publish; I do not just do this as an MS guy but also as a curious guy who wants to find the &quot;truth&quot; (which is out there, to parden an X-Files reference).&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
I do have plans for Capacity Planner, I will add to plans:&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
1)  Implement Config Services to enable turnkey testing of Config-Service hosted apps with Config Services load balancing, node notifications etc as you note is lacking.....&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
2)  Expand to include testing of WS-Security; both message level encryption performance and transport security; as well as mixed Transport with Message Credentials for a variety of options StockTrader already supports (does anyone really yet *know* the relative perf of IBM&#39;s stack (or other Java stacks) implementing message level security vs. .NET WCF; note there is at least one MSDN whitepaper on the perf costs of WCF message level security relative to transport security or &quot;wide-open&quot; SOAP on MSDN.  But relative to other stacks?  I for one want to know!&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
3)  Might be interesting as well to add a Federated security scenario, at least with WCF, for finding about this given interest on this forum around STS.....&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
got cutoff...&lt;br /&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
...performance.  One big debate that I think will always rage is ORM-style apps/frameworks vs. more data-tier defined data access layers (more optimized, more flexible sometimes, less flexible other times).  StockTrader sticks to the bread-and-butter:  ADO.NET, largely using DataReaders; System.Transactions for transactions that promote automatically from single phase commit to two-phase commit/mid-tier tx logging--now on both Oracle and SQL Server backends); and use of a model class approach for passing data between tiers.  Just like the WebSphere &quot;Direct&quot; mode of operations, that uses just a Stateless Session Bean to front-end direct access to DB from JDBC, vs. CMP and EJBs.  &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
But interesting to test relative perf of both....my .NET style is akin to using JDBC/servlets in the Java world, and staying away from the ORM runtime stacks (although EJB 3.0 is better, that is a complete other architectural discussion (rant) I can go on, but should not right now)...I will note however that some of the more popular ORM open source technologies such as Hibernate are now also being implemented on .NET...sorry if I offended anyone...I am by no means the definitive expert....but have my opinions based on some level of experience; especially in the perf realm.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/2360821444183262304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/performance-test-with-capacity-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/2360821444183262304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/2360821444183262304'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/performance-test-with-capacity-tool.html' title='Performance Test with Capacity Tool, load balancing issues'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-8077024111139909313</id><published>2012-07-19T00:15:00.000-07:00</published><updated>2012-07-19T00:15:02.525-07:00</updated><title type='text'>What is a Good Test Case?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Great question! There are probably two &#39;paths&#39; to answering that - the first path examines why you&#39;re testing at all, and the second looks at how you&#39;re actually writing your cases. In other words: strategy and process (ugh, I know..).&lt;br /&gt;
&lt;br /&gt;Some organizations view and implement testing as all about QA--validating that an application fulfills certain requirements (IE a tax calculation is completed and returns the expected result, or a server can serve up X pages per minute). I&#39;ve worked at a company like that--they were implementing packaged software and they only cared that it accomplished what they bought it for. (Ask me, or head to my blog at &lt;a href=&quot;http://thoughtsonqa.blogspot.com/&quot; title=&quot;http://thoughtsonqa.blogspot.com&quot;&gt;http://thoughtsonqa.blogspot.com&lt;/a&gt; to read what I think about that approach.) Other organizations have to be (or choose to be) much more focused on overall quality. Not just &#39;will it fit my bill&#39; but is it robust. SO there&#39;s a subtle difference, but the point is that a good test case is a solid step toward accomplishing the objectives. For instance, if the project is an internal line of business application for time entry, a test case which validates that two users can submit time concurrently and the data will retain integrity is a good test case. I think a case written which validates layout pixel by pixel would be a waste of time, money, and energy (would it get fixed, anyhow?).&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Another point of quality for test cases is how it&#39;s written. I generally require my teams to write cases which contain the following (and I&#39;m fine with letting them write &#39;titles only&#39; and returning to flesh out later; as a matter of fact, one-time projects I generally shy away from much more than that). &lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;left&quot;&gt;
Has a title which does NOT include &#39;path info&#39; (ie, Setup:Windows:Installer recognizes missing Windows Installer 3.x and auto-installs). Keep the title short, sweet, and to the point.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;left&quot;&gt;
Purpose: think of this as a mission statement. The first line of the description field explains the goal of the test case, if it&#39;s different from the title or needs to be expanded.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;left&quot;&gt;
Justification: this is also generally included in the title or purpose, but I want each of my testers to explain why we would be spending $100, $500, or more to run this test case. Why does it matter? If they can&#39;t justify it, should they prioritize it?&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;left&quot;&gt;
Clear, concise steps &quot;Click here, click there, enter this&quot;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;left&quot;&gt;
One (or more - another topic for a blog someday) clear, recognizeable validation points. IE, &quot;VALIDATION: Windows begins installing the Windows Installer v 3.1&quot; It pretty much has to be binary; leave it to management to decide what&#39;s a grey area (ie, if a site is supposed to handle 1,000 sessions per hour, it&#39;s binary - the site handles that, or not. Management decides whether or not 750 sessions per hour is acceptable)&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;left&quot;&gt;
Prioritization: be serious... Prioritize cases appropriately. If this case failed, would this be a recall-class issue, would we add code to an update for this case, would we fix it in the next version, or would we never fix it. Yes this is a bit of a judgment call but it&#39;s a valid way of looking a the case. Another approach is to consider the priority of a bug in terms of data loss, lack of functionality, inconvenience, or &#39;just a dumb bug&#39; way.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div align=&quot;left&quot;&gt;
Finally, I&#39;ve flip-flopped worse than John Kerry on the idea of atomic cases. Should we write a bazillion cases covering one instance of everything, or should we write one super-case. I&#39;ve come up with a description which I generally have to coach my teams on during implementation. Basically, write a case which will result in one bug. So for instance, I would generally have a login success case, a case for failed log in due to invalid password, a case for failed log in due to non-existant user name, a case for expired user name or password, etc. It takes some understanding of the code, or at least an assumption about the implementation. Again, use your judgment.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
I read the response that a good case is one that has a high probability of finding a bug. Well... I see what the author is getting at, but I disagree with the statement if read at face-value. That implies a tester would &#39;filter&#39; her case writing, probing more into a developer&#39;s areas of weakness. That&#39;s not helpful. Hopefully your cases will cover the project enough that all the important bugs will be exposed, but there&#39;s no guarantee. I think the middle ground is appropriate here - a good case 1) validates required functionality (proves the app does what it should) and 2) probes areas where, if a bug is found, the bug would be fixed (in a minimal QA environment) or (in a deeper quality environment) advances produce quality significantly.&lt;br /&gt;
&lt;div align=&quot;left&quot;&gt;
 &lt;/div&gt;
Hope that helps!&lt;br /&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;a href=&quot;http://www.yourtestmanager.com/&quot; title=&quot;http://www.yourtestmanager.com&quot;&gt;http://www.yourtestmanager.com&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://thoughtsonqa.blogspot.com/&quot; title=&quot;http://thoughtsonqa.blogspot.com&quot;&gt;http://thoughtsonqa.blogspot.com&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/8077024111139909313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/what-is-good-test-case.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/8077024111139909313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/8077024111139909313'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/what-is-good-test-case.html' title='What is a Good Test Case?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-2281967489877106916</id><published>2012-07-19T00:07:00.001-07:00</published><updated>2012-07-19T00:07:07.035-07:00</updated><title type='text'>Issue In Getting An Absolute Path - Visual Studio 2010 CodedUI</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;Question&lt;/strong&gt;:&lt;br /&gt;
When&amp;nbsp;I am build my project corresponding DLLs file are getting at below location:&lt;br /&gt;
TestResults/Defaultfolder/Out&lt;br /&gt;
&lt;br /&gt;
and also in the project bin location which is mentioned in the properties of the project.&lt;br /&gt;
&lt;br /&gt;
When&amp;nbsp;I am trying to find out the absolute path it is taking the path of dlls saved in the Out folder instead of bin folder. Have I made any change in the settings due to which this thing is happening?&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Answer&lt;/strong&gt;: &lt;br /&gt;
Check if you have enabled Deployment Items in your testsettings. If yes then the base directory is inside the TestResults folder and if it is disabled then it will be in the bin folder.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/2281967489877106916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/issue-in-getting-absolute-path-visual.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/2281967489877106916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/2281967489877106916'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/issue-in-getting-absolute-path-visual.html' title='Issue In Getting An Absolute Path - Visual Studio 2010 CodedUI'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-9218428176563929332</id><published>2012-07-18T04:41:00.001-07:00</published><updated>2012-07-18T23:57:57.567-07:00</updated><title type='text'>How To Use Regular Expression In Element Propeties Values using Visual Studio 2010 Coded UI</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Question: I have a object in my application whose id values is get dynamic:&lt;br /&gt;
&lt;br /&gt;
this. muTextButton.SearchProperties[HtmlEdit.PropertyNames.Id] = &quot;abc_yu2112121_ty56_hjhjh&quot;;&lt;br /&gt;
&lt;br /&gt;
In the string &quot;﻿abc_yu2112121_ty56_hjhjh&quot;, following text is dynamic &quot;yu2112121_ty56&quot;&lt;br /&gt;
&lt;br /&gt;
How can i handle this through regular expression or let me know if there is some other to handle this issue.&lt;br /&gt;
&lt;br /&gt;
Answer: &lt;br /&gt;
&lt;br /&gt;
Try This:&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;kwd&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;muTextButton&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;SearchProperties&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Add&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;Id&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;abc_&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;PropertyExpressionOperator&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Contains&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
In this moment, there is no way to use regular expressions in the search properties.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/9218428176563929332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/how-to-use-regular-expression-in-values.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/9218428176563929332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/9218428176563929332'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/how-to-use-regular-expression-in-values.html' title='How To Use Regular Expression In Element Propeties Values using Visual Studio 2010 Coded UI'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-8351397993792162051</id><published>2012-07-18T03:06:00.001-07:00</published><updated>2012-07-18T03:06:37.419-07:00</updated><title type='text'>How to maintain the values of Variables between multiple Test Methods in CodedUI when SmartMatchOptions is OFF</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I have defined a global variable say public int a=0;&lt;br /&gt;
There are two testmethods:  login() and  Search()&lt;br /&gt;
and following payback setting is set in TestInitialize &lt;br /&gt;
Playback.PlaybackSettings.SmartMatchOptions = SmartMatchOptions.None;&lt;br /&gt;
Now, in the test method login() I have written a line : a++ which sets the value of a as 1,&lt;br /&gt;
Now, when the Search() method is executed the value of a = 0 rather than 1.&lt;br /&gt;
So, can you please help how to maintain the session of the variables between Test Methods.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/8351397993792162051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/how-to-maintain-values-of-variables.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/8351397993792162051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/8351397993792162051'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/how-to-maintain-values-of-variables.html' title='How to maintain the values of Variables between multiple Test Methods in CodedUI when SmartMatchOptions is OFF'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-7848945942364432127</id><published>2012-07-18T03:02:00.000-07:00</published><updated>2012-07-18T23:58:50.126-07:00</updated><title type='text'>Script is able to find an element even when its ID is changed in the Search Criteria of that element in &quot;UIMap.Designer.cs&quot; file - CodedUI</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The automation script generated using Recording feature of CodedUI is able to find an element For Eg: a Textbox even when the ID of the textbox is changed in the Search Criteria of that element under UIMap.Designer.cs&quot; file.&lt;br /&gt;
For example : &lt;br /&gt;
&lt;br /&gt;
1) Suppose we have entered &quot;ABC&quot; in the Username textbox, the code generated for searching that textbox will be say:-&lt;br /&gt;
public HtmlEdit UITxtUserEdit&lt;br /&gt;
{&lt;br /&gt;
get&lt;br /&gt;
{&lt;br /&gt;
if ((this.mUITxtUserEdit == null))&lt;br /&gt;
{&lt;br /&gt;
this.mUITxtUserEdit = new HtmlEdit(this);&lt;br /&gt;
#region Search Criteria&lt;br /&gt;
this.mUITxtUserEdit.SearchProperties[HtmlEdit.PropertyNames.Id] =&lt;strong&gt;&quot;txtUser&quot;&lt;/strong&gt;;&lt;br /&gt;
#endregion&lt;br /&gt;
}&lt;br /&gt;
return this.mUITxtUserEdit;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
2) Now if in the above code we change the Search Property value to &quot;User&quot; like this :-&lt;br /&gt;
public HtmlEdit UITxtUserEdit&lt;br /&gt;
{&lt;br /&gt;
get&lt;br /&gt;
{&lt;br /&gt;
if ((this.mUITxtUserEdit == null))&lt;br /&gt;
{&lt;br /&gt;
this.mUITxtUserEdit = new HtmlEdit(this);&lt;br /&gt;
#region Search Criteria&lt;br /&gt;
this.mUITxtUserEdit.SearchProperties[HtmlEdit.PropertyNames.Id] =&lt;strong&gt;&quot;User&quot;&lt;/strong&gt;;&lt;br /&gt;
#endregion&lt;br /&gt;
}&lt;br /&gt;
return this.mUITxtUserEdit;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
then according to me the testcase should fail as we have changed the ID to be searched is different from the actual ID.&lt;br /&gt;
But the Script is not able to respond to this change and is able to find the Textbox.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/7848945942364432127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/script-is-able-to-find-element-even.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/7848945942364432127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/7848945942364432127'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/script-is-able-to-find-element-even.html' title='Script is able to find an element even when its ID is changed in the Search Criteria of that element in &quot;UIMap.Designer.cs&quot; file - CodedUI'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-583709375510837785</id><published>2012-07-18T02:17:00.001-07:00</published><updated>2012-07-18T02:17:38.442-07:00</updated><title type='text'>How to Download Code from TFS (Team Foundation Server) using .bat file?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hello Guys&lt;br /&gt;
&lt;br /&gt;
Below is the code to download code from TFS (Team Foundation Server) using command prompt or .bat file:&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;2&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;@echo off&lt;br /&gt;
:: variable declarations&lt;br /&gt;
::*********************************************************&lt;br /&gt;
set userName=Domain\UserName&lt;br /&gt;
set password=Password&lt;br /&gt;
set isCodeDownloadRequired=Y or N&lt;br /&gt;
set workSpacename=FOlder Name on your local drive&lt;br /&gt;
set tfsURL=URL of TFS&lt;br /&gt;
set tfsAddress=$/TFS Address&lt;br /&gt;
::*********************************************************&lt;br /&gt;
::**************************************************&lt;br /&gt;
:: Create work space and Download code from TFS&lt;br /&gt;
::**************************************************&lt;br /&gt;
:: check for existence of [Program Files(x86)]&lt;br /&gt;
if %isCodeDownloadRequired% == Y (GOTO DownloadTFSCode) ELSE (GOTO NotDownloadTFSCode)&lt;br /&gt;
:DownloadTFSCode&lt;br /&gt;
set EnvpathVS2010=%VS100COMNTOOLS%&lt;br /&gt;
::Creating path of Visual Studio Command Prompt&lt;br /&gt;
set PathToAppend=\VC\vcvarsall.bat&quot; x86&lt;br /&gt;
set EnvpathVS2010=%EnvpathVS2010:\Common7\Tools\=%&lt;br /&gt;
set RootDirectory=%windir%&lt;br /&gt;
set RootDirectory=%windir:\Windows=%&lt;br /&gt;
set FinalPath=&quot;%EnvpathVS2010%%PathToAppend%&lt;br /&gt;
call %FinalPath%&lt;br /&gt;
cd\&lt;br /&gt;
%RootDirectory%&lt;br /&gt;
::Create Directory Application_App_Checkout&lt;br /&gt;
md Application_App_Checkout&lt;br /&gt;
::Into Directory Application_App_Checkout&lt;br /&gt;
cd Application_App_Checkout&lt;br /&gt;
tf workspace /delete %workSpacename% /noprompt&lt;br /&gt;
tf workspace /new %workSpacename% /noprompt /collection:%tfsURL% /login:%userName%,%password%&lt;br /&gt;
tf.exe get %tfsAddress% /recursive /login:%userName%,%password%&lt;br /&gt;
GOTO End&lt;br /&gt;
:NotDownloadTFSCode&lt;br /&gt;
echo &quot;User does not wish to download latest code from TFS.&quot;&lt;br /&gt;
Pause&lt;br /&gt;
GOTO End&lt;br /&gt;
End Local&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/583709375510837785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/how-to-download-code-from-tfs-team.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/583709375510837785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/583709375510837785'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/07/how-to-download-code-from-tfs-team.html' title='How to Download Code from TFS (Team Foundation Server) using .bat file?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-2156077704734514431</id><published>2012-06-25T00:58:00.000-07:00</published><updated>2012-06-25T00:59:51.716-07:00</updated><title type='text'>What is Risk-Based Testing?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;b&gt;Risk-based testing&lt;/b&gt; (RBT) is a type of software testing that prioritizes the tests of 
features and functions based on the risk of their failure - a function of their 
importance and likelihood or impact of failure.&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;In theory, 
since there is an infinite number of possible tests, any set of tests must be a 
subset of all possible tests. Test techniques such as boundary value analysis 
and state transition testing aim to find the areas most likely to be 
defective.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmNjyfjqVVCNLIu3_QQkXC2rjqmiRgIoMgtrIrnhNAGqGFKlhz7DE5hjU8l0PeC_aLnQCYU51pZXFPrjnl8XovjgzhKU9DFO0X3YLWtAAqIcvk85g5pQxg-DGzIzDm5uNz7XRbMDo4LSY/s1600/4862331_13d4cbd04d_m.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmNjyfjqVVCNLIu3_QQkXC2rjqmiRgIoMgtrIrnhNAGqGFKlhz7DE5hjU8l0PeC_aLnQCYU51pZXFPrjnl8XovjgzhKU9DFO0X3YLWtAAqIcvk85g5pQxg-DGzIzDm5uNz7XRbMDo4LSY/s320/4862331_13d4cbd04d_m.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;Assessing_risks&quot;&gt;&lt;u&gt;&lt;b&gt;Assessing risks:&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot;&gt;&lt;/span&gt;&lt;br /&gt;
The changes between two releases or versions is key in order to asses risk. 
Evaluating critical business modules is a first step in prioritizing tests, but 
it does not include the notion of evolutionary risk.&amp;nbsp;This is then expanded using two methods: 
change-based testing and regression testing.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Change-based testing allows test teams to assess changes made in a release 
and then prioritize tests towards modified modules.&lt;/li&gt;
&lt;li&gt;Regression 
testing ensures that a change, such as a bug fix, did not introduce new 
faults into the software under test. One of the main reasons for regression 
testing is to determine whether a change in one part of the software affects 
other parts of the software. &lt;/li&gt;
&lt;/ul&gt;
These two methods permit test teams to prioritize tests based on risk, change 
and criticality of business modules. Certain technologies&amp;nbsp;can make this kind of test strategy very easy to set-up and to maintain with 
software changes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;Types_of_Risks&quot;&gt;&lt;b&gt;&lt;u&gt;Types of Risks&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
Risk can be identified as the probability that an undetected software bug may have a 
negative impact on the user of a system.&lt;br /&gt;
The methods assess risks along a variety of dimensions:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Business or Operational&lt;/b&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;High use of a subsystem, function or feature 
&lt;/li&gt;
&lt;li&gt;Criticality of a subsystem, function or feature, including the cost of 
failure &lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;Technical&quot;&gt;&lt;b&gt;Technical&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Geographic distribution of development team 
&lt;/li&gt;
&lt;li&gt;Complexity of a subsystem or function &lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;External&quot;&gt;&lt;b&gt;External&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Sponsor or executive preference 
&lt;/li&gt;
&lt;li&gt;Regulatory requirements &lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;E-Business_Failure-Mode_Related.5B6.5D&quot;&gt;&lt;b&gt;E-Business 
Failure-Mode Related&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Static content defects 
&lt;/li&gt;
&lt;li&gt;Web page integration defects 
&lt;/li&gt;
&lt;li&gt;Functional behavior-related failure 
&lt;/li&gt;
&lt;li&gt;Service (Availability and Performance) related failure 
&lt;/li&gt;
&lt;li&gt;Usability and Accessibility-related failure 
&lt;/li&gt;
&lt;li&gt;Security vulnerability 
&lt;/li&gt;
&lt;li&gt;Large Scale Integration failure&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/2156077704734514431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/06/risk-based-testing-rbt-is-type-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/2156077704734514431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/2156077704734514431'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/06/risk-based-testing-rbt-is-type-of.html' title='What is Risk-Based Testing?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmNjyfjqVVCNLIu3_QQkXC2rjqmiRgIoMgtrIrnhNAGqGFKlhz7DE5hjU8l0PeC_aLnQCYU51pZXFPrjnl8XovjgzhKU9DFO0X3YLWtAAqIcvk85g5pQxg-DGzIzDm5uNz7XRbMDo4LSY/s72-c/4862331_13d4cbd04d_m.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-4862442318824155413</id><published>2012-06-24T22:53:00.003-07:00</published><updated>2012-06-24T22:53:21.039-07:00</updated><title type='text'>Visual Studio 2010 Coded UI</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
A coded UI test class is identified by a &lt;span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.uitesting.codeduitestattribute.aspx&quot;&gt;CodedUITestAttribute&lt;/a&gt;&lt;/span&gt; 
applied to the class.&lt;br /&gt;

Each coded UI test is a test method in a coded UI test class. You can add 
multiple test methods to each coded UI test class and identify each coded UI 
test method by using the &lt;span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.unittesting.testmethodattribute.aspx&quot;&gt;TestMethodAttribute&lt;/a&gt;&lt;/span&gt;.&lt;br /&gt;

Your test method can also add validation code for a UI test control to obtain 
the value of a property of a UI test control. The test method can use an Assert 
statement to compare the actual value of the property to an expected value. The 
result of this comparison determines the outcome of the test. Every time that 
you run a coded UI test, you can analyze the test result and if the test fails, 
you can see or store the details of which assertion failed.&lt;br /&gt;

When you create a coded UI test, these files are added to your test 
project:&lt;br /&gt;

&lt;div class=&quot;caption&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;tableSection&quot;&gt;

&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;
File&lt;/th&gt;
&lt;th&gt;
Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;span class=&quot;code&quot;&gt;CodedUITest1.cs&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
Contains the coded UI test class, test methods and assertions.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;span class=&quot;code&quot;&gt;UIMap.uitest&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
Contains the XML model for the &lt;span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.uitest.common.uimap.uimap.aspx&quot;&gt;UIMap&lt;/a&gt;&lt;/span&gt; 
class, including all windows, controls, properties, methods, parameters, 
actions, and assertions.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;span class=&quot;code&quot;&gt;UIMap.Designer.cs&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
Contains the code representation of the XML contained in the &lt;span class=&quot;code&quot;&gt;UIMap.uitest&lt;/span&gt; file. Do not edit this file.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;span class=&quot;code&quot;&gt;UIMap.cs&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
Contains more of the code for the &lt;span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.uitest.common.uimap.uimap.aspx&quot;&gt;UIMap&lt;/a&gt;&lt;/span&gt; 
class. You can put any customizations for the UI map in this 
file.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
These assemblies are added as references to your test project:&lt;br /&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;span class=&quot;code&quot;&gt;Microsoft.VisualStudio.QualityTools.CodedUITestFramework&lt;/span&gt;&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;span class=&quot;code&quot;&gt;Microsoft.VisualStudio.QualityTools.UnitTestFramework&lt;/span&gt;&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;span class=&quot;code&quot;&gt;Microsoft.VisualStudio.TestTools.UITest.Common&lt;/span&gt;&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;span class=&quot;code&quot;&gt;Microsoft.VisualStudio.TestTools.UITest.Extension&lt;/span&gt;&lt;br /&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;span class=&quot;code&quot;&gt;Microsoft.VisualStudio.TestTools.UITesting&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/4862442318824155413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/06/visual-studio-2010-coded-ui.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/4862442318824155413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/4862442318824155413'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/06/visual-studio-2010-coded-ui.html' title='Visual Studio 2010 Coded UI'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188117718822686915.post-7602579802522265095</id><published>2012-06-24T22:40:00.001-07:00</published><updated>2012-06-24T22:40:14.919-07:00</updated><title type='text'>Automation Testing / Visual Studio 2010 CodedUI</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://qaforumautomationtesting.blogspot.com/feeds/7602579802522265095/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/06/automation-testing-visual-studio-2010.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/7602579802522265095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188117718822686915/posts/default/7602579802522265095'/><link rel='alternate' type='text/html' href='http://qaforumautomationtesting.blogspot.com/2012/06/automation-testing-visual-studio-2010.html' title='Automation Testing / Visual Studio 2010 CodedUI'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01634520193813247253</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>