Friday, March 20, 2009

Validation rule - how to verify a list of values is listed in a Combo box.

Hello,

I am new to the validation rules using VSTS 2008 Test Edition. Any suggestions would be much appreciated.

One of things in my script is to verify a list of values (i.e. Monday – Sunday) is listed in a combo box. How to do it?

Thanks in advance!
HaYin
-------------------------------------------------------------------------------------------------

Yin

The "Find Text" validation rule can solve your problem. It can be used to check whether html code contains a specified string. For example, you can try to create a Find Text rule and set the text to find as some thing like "".

Bill Wang

-----------------------------------------------------------------------------------------------

To check a range of values like this will require a custom validation rule. The following article explains how to create a custom validation rule.

http://msdn.microsoft.com/en-us/library/ms182556(VS.80).aspx

You will be implementing a method called "Validate" in the in the rule. THe rule will set a pass/fail indicator via the ValidationEventArgs parameter. For instance…

public override void Validate(object sender, ValidationEventArgs e)
{
e.Message = "It didn't work";
e.IsValid = false;
}

The validate method will be supplied with the response body as a string and an HTMLDocument via the event args (e.Response.BodyAsString and e.Response.HTMLDocument). The HTMLDocument that is supplied by the response is very limited in what it can provide you. It parses HTML tags out of the response but does not provide any information about HTML structure. It is intentionally lightweight to avoid unnecessary overhead in the web test (especially when the web test may be executions thousands of time during a load test). It is sufficient for many validation scenarios, but not all.

For instance, you could do something like...

public override void Validate(object sender, ValidationEventArgs e)
{
WebTestResponse response = e.Response;
HtmlDocument doc = response.HtmlDocument;
IEnumerable tags = doc.GetFilteredHtmlTags("option");
foreach (HtmlTag tag in tags)
{
foreach (HtmlAttribute attribute in tag.Attributes)
{
if (string.Equals(attribute.Name, "value", StringComparison.OrdinalIgnoreCase))
{
string value = attribute.Value; // note this is the attribute "value" not the inner text of the tag.
}
}
}
}

Again, the HTMLDocument class only finds tags in the response but does not provide structure information. So, in the code snippet above you will not know which combo box each of the options belongs to. If this is sufficient for your needs then you can use the HTMLDocument class.

A colleague of mine is about to post a Validation Rule sample to CodePlex that will demonstrate how to do more complex searches through the HTML using e.Response.HtmlDocument. It would be a sample that you could refer to if needed. There should be an announcement on the forums when this sample is posted.

You could also consider using a full HTML Dom to parse the response and then navigate the document.

Let me know if you need additional information.
Thanks,
Rick
------------------------------------------------------------------------------------------------

This should work however you may need to tweak it depending on your source.

1) Add a Find Text validation rule
2) Change Use Regular Expression to True
3) Plop the following into Find Text

(?=[\w\W]*Sunday)(?=[\w\W]*Monday)(?=[\w\W]*Tuesday)(?=[\w\W]*Wednesday)(?=[\w\W]*Thursday)(?=[\w\W]*Friday)(?=[\w\W]*Saturday)

I tested this in a RegEx tester using the following source:



------------------------------------------------------------------------------------------


Thank you all for such quick response!

Looks like writing custom validation rules will be a common way to verify rules because the out-of-box validation rules are so limited (which is not a good thing for testers, like me, who are not good at writing code).

For this case, I tried to use Lewis’ suggestion and it worked! Thanks Lewis. One question – actually the range of values I want to check is the 12 months, so I tried to copy & paste the following to the Find Text parameter in the Add Validation Rule dialog box:

(?=[\w\W]*January)(?=[\w\W]*February)(?=[\w\W]*March)(?=[\w\W]*April)(?=[\w\W]*May)(?=[\w\W]*June)(?=[\w\W]*July)(?=[\w\W]*August)(?=[\w\W]*September)(?=[\w\W]*October)(?=[\w\W]*November)(?=[\w\W]*December)

However, it doesn’t work due to the text is too long. So what I did was to have 2 validation rules – one is “(?=[\w\W]*January)(?=[\w\W]*February)(?=[\w\W]*March)(?=[\w\W]*April)(?=[\w\W]*May)(?=[\w\W]*June)”;
another is “(?=[\w\W]*July)(?=[\w\W]*August)(?=[\w\W]*September)(?=[\w\W]*October)(?=[\w\W]*November)(?=[\w\W]*December)”. Is it right way to do it OR there are other better ways to do it without writing a custom validation rule? What does ‘[w\W]’ mean? Thanks for your time Lewis.

Rick – I am looking forward to seeing the Validation Rule sample posting. It will for sure give users great ideas on what and how to do with the custom validation rules.

Thanks all.
HaYin

-----------------------------------------------------------------------------------------------

If you can get away with it, you can shorten the months to read:

(?=[\w\W]*Jan)(?=[\w\W]*Feb)(?=[\w\W]*Mar)(?=[\w\W]*Apr)(?=[\w\W]*May)(?=[\w\W]*Jun)”“(?=[\w\W]*Jul)(?=[\w\W]*Aug)(?=[\w\W]*Sep)(?=[\w\W]*Oct)(?=[\w\W]*Nov)(?=[\w\W]*Dec)

According to my handy Regular Expressions book [\w\W]* means

\w = any alphanumeric in upper or lower case and undersore
\W = any non-alphanumeric or non underscore
putting both in brackets tells it to match one or the other
and the asterisk tells it to match zero or more of the set
----------------------------------------------------------------------------------------------------

Recording tool causing scripts to fail

During playback of the automation script, when the following HTTP request is sent, the request fails because the dependent request fail. Our Developers think this is a problem with the recording tool

https://xxxxxxxxxxx/xxxxxxxxx/VR.NET/public/xxxxxxxxxx.aspx?xxxxxxxxxxx=xxxxxxxx&page=&sortid=0&DueDate=Unknown&RequestIcon=..%2f..%2fimages%2fblue.gif&lsoeid=xxxxxx&Anthem_CallBack=trueThe following dependent request fails.https://xxxxxxxxxxx/%22/xxxxxxxx/VR.NET/images/tab_left.gif/%22

-------------------------------------------------------------------------------------------------
Can you either post the full response of the top level request that thius dependent is in, or email me the full response.

FAILED:An existing connection was forcibly closed by the remote host

hi everybody,

i am doing load test for 10 users,20users,30users working fine upto to this point if increase to 40 users iam getting error as below.
and also getting someimes for 30users as request time out . iam new to load test can any body help me out.

FAILED:An existing connection was forcibly closed by the remote host,
can any body help me on this error.
thanks.
ven

-------------------------------------------------------------------------------------------------


ven

It seems to be an SQL Server message. Please provide the exact error message and version information about platform and SQL Server. Since the system works well for low pressure, it's also possible that high pressure cause some request time out. So, please also let us know your hard ware sizing and what kind of operations you performed for each user.
Bill Wang

How to control webtest?

I'm new to VSTS webtest. I tried record and play. There are two questions:

1. Can I control the webtest sequence? If test1.webtest failed, go to test2.webtest, otherwise, go to test3.webtest?
2. Can I change post parameters? Instead of using textBoxUsername=abc, can I change it as User Name = abc? textBoxUsername is id, and User Name is label.

Thanks,

Cecilia
--------------------------------------------------------------------------------------------

1. There is no easy way to sequence as you suggest, based on outcome. You can serailize tests using an "orderedtest". What you could do is to generate code, then merge the generated code into one large coded web test, then put the logic in there. You will have to learn a bit about coded web tests to do this, but it is not that difficult if you are familiar with C# or VB. See http://msdn2.microsoft.com/en-us/library/ms364082.aspx#wtauthd_topic6

2. Yes, most strings can be replaced with parameters, those parameters can be changed, possibly driven from extraction rules, or from a data source. For more on this, take a look at http://msdn2.microsoft.com/en-us/library/ms364082.aspx#wtauthd_topic5 and look for the section called Handling View State and Other Dynamic Parameters.

In general if you take a look at the main page of this forum you will find a lot of useful information.

-------------------------------------------------------------------------------------------

Thanks for your replying.

I'm still struggling with my 2nd question.

I can use data source or context parameter to input different value for username and password, but how can I parameterize textboxUsername to User Name, and btnLogin to Login? If I delete them from Form Post Parameters, and add User Name = {{uservalue}}, Login=Login, the test failed.

Any suggestions?

----------------------------------------------------------------------------------------------
When you are editing
the value filed, the drop down should show "add data source", that can be bound to a source of data such as a CSV file, XML file or DB file. Please take a look at http://msdn2.microsoft.com/en-us/library/ms243182(VS.80).aspx

It may not be 100% obvious, but the {{???}} strings that the data binding inserts can be further edited to add constant text around them (if you need it)
---------------------------------------------------------------------------------------------

Thanks for replying.

My question is not how to use datasource. My question is: Can VSTS use control label or name, instead of control id?

Thanks,

Cecilia
--------------------------------------------------------------------------------------

I'm not quite sure what you are asking for.

What is being specified is a post parameter, that us, an arbitrary name value pair. That should normally correspond with the name of a control, but that depends on the web page itself. There is ano hard and fast rule.

Am I still missing the point of your question?

-----------------------------------------------------------------------------------------

In short, no there is no way to do this. The Name is what gets posted back to the web server, and it is what the web server uses to determine which parameter has been set, so you can't change this value. Nor is there a way to provide an alias or friendly name for the parameter.

Ed.
Ed Glas [MSFT]

---------------------------------------------------------------------------------------------
about sequence in webtest ,, you can do this by using ordertest ,, you can arrange ur tests of defferent types in order test then from Test >> Window >> test view .. then select the order test >> right Click on it then run selection ... you will get what u want

-------------------------------------------------------------------------------------------


Very Interesting.
Srikanth Manohar

----------------------------------------------------------------------------------------

WebTest: How to automate flash based web site?

WebTest: How to automate flash based web site? Was this post helpful ?

Dear All,I am working on automation of a web site which is full of flash component/controls. In VSTS webtest the flash controls/objects are not getting recorded/tracked. How should I go for automation of such site? Let me know if I can go with coding and what should be the approach?Any comment/help in this regard would be appreciable.
Thanks,Salil
--------------------------------------------------------------------------------------------


Answer Re: WebTest: How to automate flash based web site? Was this post helpful ?

Our Webtests work at the http layer, the recorder only captures the http traffic from the browser. So if the flash controls on your site are making http requests (for example, how ajax does) then that will get captured. The actual mouse movements and UI manipulations are not captured though.

------------------------------------------------------------------------------------------------


Re: WebTest: How to automate flash based web site? Was this post helpful ?

Also, are you using VSTS 2008? The VSTS 2005 Web test recorder did not record Ajax requests or Java script requests, and would likely miss these.

Are Web Tests "Functional" tests?

Ed Glas's blog on VSTS load testing

Are Web Tests "Functional" tests?
When most people talk about automated functional testing, they are talking about UI Automated functional testing, where the test drives the UI (clicks buttons, types in text, etc.).
In fact there are many other strategies for functional testing, and most “unit tests” written today are not true Unit tests (with a capital U) that isolate and only test a single class, but test from the API down. For example, a unit test that tests a web service, or a client API that hits a server, are really functional tests.
Web tests work at the http layer, as Sean explains in this blog post. Really a better name for these is "Web Server Tests", or "Web Application Tests" since they actually test the server. The first thing users think when they see "web test" is a test that drives the browser. The browser preview window in web test playback only adds to this confusion.
Web tests do not actually instantiate IE when running, but only send and receive http requests. The main reason we chose to drive web tests at the HTTP layer is we wanted to be able to drive load efficiently in a load test. Instantiating IE, even just the guts of IE (the web browser control), consumes a lot more memory and constrains the amount of load that can be generated from a single machine. Web tests are super-efficient when running.
So what does and does not get tested by a web test? Obviously you can test your server code this way, which is super-valuable as that’s where most of your business logic is. Given a particular request, you can validate that the server sends back the correct response. However, since the test is not driven through IE, it will not test any client side code or behaviors, such as any java script code (including Ajax code). However, you can simulate the HTTP requests that Ajax will make and validate that the server is sending back the right response. Web tests do validation using Validation Rules, which enable you to validate the response sent back by the server.
There are advantages and disadvantages to driving at the protocol layer vs. the UI. UI tests are easier to understand and debug, but more fragile. To really be effective at scripting web tests you have to understand what is happening at the http layer, which most developers and testers are not usually concerned with. Most are . Also doing things like adding validation is easier in a UI automation tool, harder in web tests (although this is more a tooling problem than protocol vs. UI, we have some features lined up to make this easier).
So the bottom line answer is "yes", web tests are functional tests, but they work at the http layer rather than the UI layer.
Published Wednesday, February 27, 2008 5:31 PM by edglas

How do I filter sessionid from a header?

e.g header: ARPT=YMXXXKS192.168.100.218CKQIY; path=/,JSESSIONID=3F523783B77C8E8EDEE5F5FE5B8FE99A; Path=/ I just want to grab JSESSIONID and value.

-----------------------------------------------------------------------------------------------
Code Snippet
using System.Net;

public class ExtractJSESSIONID : WebTestRequestPlugin
{
public override void PostRequest(object sender, PostRequestEventArgs e)
{
foreach (Cookie cook in e.Response.Cookies)
{
if (cook.ToString().StartsWith("JSESSIONID="))
{
e.WebTest.Context.Add("JSESSIONID", cook.Value.ToString());
}
}
}
}

Urgent problem with An existing connection was forcibly closed by the remote host

hi everybody,

i am doing load test for 10 users,20users,30users working fine upto to this point if increase to 40 users iam getting error as below.
and also getting someimes for 30users as request time out . iam new to load test can any body help me out.

FAILED:An existing connection was forcibly closed by the remote host,
can any body help me on this error.
thanks.

-----------------------------------------------
It seems to be an SQL Server message. Please provide the exact error message and version information about platform and SQL Server. Since the system works well for low pressure, it's also possible that high pressure cause some request time out. So, please also let us know your hard ware sizing and what kind of operations you performed for each user.
-----------------------------------------------------------

Congratulations, you have found your first stress bug in your product using load testing

I have also seen this error in applications outside of SQL server. I believe it is a generic TCP/IP error. Your web server could be crashing, or calling response.Close().

At any rate, I suggest you take this problem to the developer of your product. They will probably have web server logs that correspond to this failure and will know what the problem is.

Thanks,
-JP
------------------------------------------------------

venkatanna wrote:
yes my web server is crashing ,how can i solve this problem.?.
thanks


file a bug with your developers. or the IT folks that will administer the site.

Seriously, fixing the site is not the tester's job.

there are a LOT of things that can affect webserver performance, everything from webserver settings, the physical hardware, to the code that runs the site.

this type of thing generally has to be debugged by the site developer and IT folks.. they will perhaps want to look at your test results and review the performance data that was logged to see if they identify a bottleneck (like cpu time, memory, disk access). Hopefully they also have good error logging inside the code and on the site itself, and can review those logs as well.

Website performance tuning is a HUGE subject area, and is well outside the scope of this forum..
-------------------------------------

Hi,
I have an urgent problem need help. We have an Asp.net application runing on window 2003 server. One part of the application is socket programming. When customer hits our site a little bit heavier, after serveral thoudsands hits, I statrt to get a bunch of
An existing connection was forcibly closed by the remote host
exceptions, then if the customer continue hits the site, the other function throw out of memory exception, The result is our site not responding any more. The attached is the socket call programming, any help will be appreciated! Thank you.
IPAddress[] ips = Dns.GetHostAddresses(m_sAVSHost); IPEndPoint oIPEndPoint = new IPEndPoint(ips[0], iAvsPort); Socket oSocket = new Socket(oIPEndPoint.Address.AddressFamily, SocketType.Stream, ProtocolType.Tcp); try { oSocket.Connect(oIPEndPoint); byte[] bSendBytes = Encoding.UTF8.GetBytes(sAvsParam); oSocket.Send(bSendBytes, bSendBytes.Length, SocketFlags.None);
byte[] bRecvBytes = new byte[4096]; oSocket.Receive(bRecvBytes, SocketFlags.None); rtnVal = Encoding.UTF8.GetString(bRecvBytes).Trim(); } catch (Exception ex) { VVXmlListenerException.LogException(new VVXmlListenerException(ex)); } finally { oSocket.Shutdown(SocketShutdown.Both); oSocket.Close(); }

-----------------------------------------
I would run a packet trace to find out what's actually going over the network. (Use a tool like Ethereal or Netmon.)
On all the occasions I've seen this exception, it has meant exactly what it says: the connection was forcibly closed. So this suggests that whatever your code here is connecting to is closing the connection. (Or you're going through a firewall, proxy, or other intermediary which is closing it.) The first step would be to confirm that - look at the actual packets going across the network to see what's really happening - that will most likely confirm that the error you're getting is consistent with the incoming network packets.
And if that's what you see, then the problem is external to the code you're showing us here. You need to look into why the external system - the thing that this code connects to - is kicking you off.
What does this code connect to? (I.e. what is m_sAVSHost?)

----------------------------------------------------------


For instructions on how to get a netmon trace see here:
http://blogs.msdn.com/dgorti/archive/2005/10/29/486887.aspx
For instructions on how to get a System.Net tracing log go here:
http://blogs.msdn.com/dgorti/archive/2005/09/18/471003.aspx

Mariya
---------------------------------------------------------------
I guess this is because the number of clients exceed the backlog set in the listen request of the server.
Please take a look at (5) & (6) th points in
https://blogs.msdn.com/malarch/archive/2006/06/26/647993.aspx.
Try to avoid starting many clients at the same time.. One simple solution is to Add a random sleep before starting the clients.
Malar
-----------------------------------------------------------------

Customer now resends the data when the other side closes the connection
Mariya

-----------------------------------------------------------------
I am living diffuculty at the same problem if you have solved the problem can you help me please? Thank you in advance

----------------------------------------------------------------
The problem is caused by the remote port not being available. You get a ICMP packet with "Destination unreachable (Port unreachable)" and that causes an exception when you try to "listenerPort.Receive" The error is generated by sending data to an unreachable port and then windows receiving an ICMP packet with the error. The packet is in the receive buffer and when you try to read it you end up with an exception. All you have to do is add a TRY and then igonore the error and go back to listening to the port.

You do not get an exception when you send but that is where the problem lies.

Raymond Ortiz
---------------------------------------------

Question on Test mix based on user pace - How many tests??

Hi, All
I met a problem when I using VSTS2008 SP1 to implement the loadtest.

First of all, I create two common unittest in the test project.
Then I add the loadtest to the test project, using a constant load of 2 Vusers. Selecting those unittests I had witten. In the "Test Mix" option. I choose the "Test mix based on user pace" model. I apply "60 Tests Per User Per Hour"
OK. run the loadtest for 10 min

Based on my scenario. The 2 vusers should run 120 tests in total per hour (60*2). If I run 10min, The total runs of the loadtest should be 20, but the actual test run is "40", double of the expected result.

Does my calculation wrong? or there are some other option I was missed.

Thank you.

-------------------------------------------------------------------------------------------------

Hi

This is a bit tricky. Note the definition of "tests per user per hour". It is used to configure the frequency of each test in the test mix. Since you added 2 unit tests, 2 users, 60 tests per user per hour and run 10 minutes, the calculation should be:
60 * 2 tests * 2 users = 240 tests per hour.
Since you run the load test for 10 minutes, so the total tests have run should be 240 / 6=40 tests.

Password Encryption in VSTS

Of course, I work at a company that, for some reason, does not like the idea of unencrypted passwords being available to anyone that has access to the Webtests that we are creating.

Have I missed any built-in option that provides this functionality? If not, can I add this to the wish list?
-------------------------------------------------------------------------------------------

that would be a nice feature.. LoadRunner supports something like that so you can encrypt passwords, either in the test itself, or your datafiles..

Of course it's really just a speed bump to anyone who has access to the tool, since they could run it and look at the request details in the test results to see the acutal values being submitted.. (presuming they know or learn enough about how the tool works to do that)

Even if you can encrypt them, there is a very Strong argument here for a complete seperate set of userID''s and passwords on your test environment that are not used anywhere else, especially not in a production environment.
-----------------------------------------------------------------------------------------------


That's right, thanks Chuck. To be clear, encrypting the passwords does not make them secure, it just obfuscates them.

To really secure the password, we would have to tie the encryption algorithm to a machine, specific user, or use a shared secret (a cert file) that unless you had the cert file you couldn't decrypt the password. Or provide a central secure store for the user names and passwords.

We would also have to ensure the password does not show up in any log file or post request display.

But I agree Lewis, obfuscation is definitely the first step. We will likely go up to the shared secret option in our next release.
Ed.
---------------------------------------------------------------------------------------------

This is one of those instances where I think you REALLY need to take the view that any and every account in your test environment is presumed to be insecure. Those accounts should have no rights outside the test domain, they should be used ONLY for the test domain. Because ultimately the more you work to make it so those things are 'secured' the more difficult you make it to work with the tool and diagnose things if something goes wrong.. detecting a typo in a password becomes nearly impossible for example.

Ultimately the test system has to be able to submit the password for authentication, which pretty much means that anyone who can run the tests (perhaps in a debug mode) can get to the passwords. In that respect it's a lot like trying to secure a CD or DVD etc (and anyone who's been following that scene knows how effective those efforts have been).. You've also got run logs, recorded values, fiddler logs, and a host of other places a password could get stored in the clear simply because the system didn't know (or know at that TIME) that it was a password and should be obscured.

So were it me I would pretty much plan on a presumption that all test accounts are not secure, and thus limit them to the test sandbox. I think any encryption you have available is mostly to make your corporate IT folks happy, and to comply with any company directive that no passwords be stored in cleartext EVER.. (which is a not unreasonable policy)

Speaking of which, for sites not using integrated security (eg. most public websites) it's not a bad idea to peek at the db and see how user passwords are stored for your system.. If it's not at least something like a salted hash, then somebody needs a lesson in basic security
------------------------------------------------------------------------------------------------

Someone messing with your test environment and invalidating your results? why when would that ever happen?

Yeah I so Totally get where you are coming from in that respect.. and preventing some 'well meaning' person from 'helping' you with your testing is a great reason to be able to obfuscate passwords in scripts and script data..

(Note that 'helping' here is used in much the same way that a cat will 'help' you read a book by either laying ON the book, or otherwise interposing their body between your eyes and said book..)
------------------------------------------------------------------------------------------

Diagnosing and fixing Web Test recorder bar issues.

http://blogs.msdn.com/mtaute/

Diagnosing and fixing Web Test recorder bar issues.
Since VSTS 2005 shipped there have been a variety of different questions raised by customers over the years. One topic which comes up somewhat frequently is a disabled or nonexistent web test recorder bar when recording web tests. Since it can be frustrating to diagnose and fix these problems, I’ve compiled a list of the most common reasons for this to happen and potential fixes for each.
If you know of something that fits the “My web test recorder bar isn’t working” criteria and isn’t on the list, please let me know and I’ll try to add it.

VSTS 2005 : Any OS : Recorder bar is not displaying when recording a webtest.
Fix: Upgrade to VSTS 2005 SP1. There are a few bugs preventing the webtest recorder bar from displaying under certain circumstances that were fixed in SP1. If you're having trouble in VS 2005 and haven't yet upgraded to SP1, that's your first step.
VSTS 2005 : Vista : Recorder bar displays, but the controls are disabled.
Fix: Webtest recording using VS 2005 on Vista only works when running in elevated mode. [When launching VS 2005, right click the icon and choose to run as administrator]
VSTS 2005, 2008 : Windows 2003 / Vista : Recorder bar comes up, but the controls are disabled.
Fix : the web test recorder bar does not work with IE enhanced security enabled. (VSTS 2008 will actually display an error message telling you this) IE enhanced security can be removed from within the Control panel / Add Remove Programs / Windows Setup
VSTS 2008 : Vista (64 bit) : Recorder bar does not appear when recording a new webtest
Fix: Vista caches the list of explorer bars you have available and the recorder bar was not included in your list. The fix is to force Windows to rebuild that cache. To do this, first make sure you have all Internet Explorer instances shut down, then open the 32 bit registry editor and delete the following keys:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021493-0000-0000-C000-000000000046}HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021494-0000-0000-C000-000000000046}
[Note: by default, the 32 bit registry editor is located in %WINDIR%\SysWow64\RegEdt32.exe]
The next time you boot Internet Explorer, your explorer bar cache will be rebuilt and the recorder bar should be available.
VSTS 2005, 2008 : Any OS : Recorder bar does not appear when recording a new webtest
Fix: Make sure that you don’t have browser add-ons disabled. Specifically, the web test recorder helper add-on needs to be enabled. For Internet Explorer 7, you can find this setting in Tools / Internet options / Program [tab] / Manage add-ons. From there, verify that Microsoft Web Test Recorder Helper is enabled.
VSTS 2008 : Any OS (IE 7) : When recording, a new web browser opens up and the new browser doesn’t have a recorder bar.
Fix: The reason for this is that by default, about:Blank is displayed in the browser when you start recording. This website is (by default) in the internet security zone (protected mode: on). When you open a website in a different zone (without protected mode) it will be handled by a new instance of internet explorer.
The fix is to do one of 2 things: a) Move about:blank into the zone where you’re attempting to record from or b) Change the default web page which is brought up when you start recording to something in the same zone as you’re trying to record. You can accomplish this by setting the following registry key
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\EnterpriseTools\QualityTools\WebLoadTest]
"StartingLocation"="http://server/website"

Unix/Linux Commands

  Flow control Syntax break Exit a loop. continue Exit the current iteration of the loop and proceed with the next iteration. Ctrl+C Key com...