<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LoadRunner TnT &#187; QTP</title>
	<atom:link href="http://www.loadrunnertnt.com/tag/qtp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loadrunnertnt.com</link>
	<description>Performance Testing, LoadRunner Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 08 Mar 2010 07:57:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Do you know you can work on the parameter files directly?</title>
		<link>http://www.loadrunnertnt.com/how-tos/do-you-know-you-can-work-on-the-parameter-files-directly/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/do-you-know-you-can-work-on-the-parameter-files-directly/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 07:57:02 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Parameterization]]></category>
		<category><![CDATA[QTP]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=739</guid>
		<description><![CDATA[Do you know you can work on the parameter files manually both on and LoadRunner (LR) and Quick Test Professional (QTP)?  What we are referring to is that you can make changes to the parameter list via the file system instead of going through the Vugen or QTP interface.  Sometimes when you have a huge [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo3.gif"><img class="alignleft size-full wp-image-740" title="company_hp_logo" src="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo3.gif" alt="" width="64" height="55" /></a>Do you know you can work on the parameter files manually both on and <strong>LoadRunner (LR)</strong> and <strong>Quick Test Professional (QTP)</strong>?  What we are referring to is that you can make changes to the parameter list via the file system instead of going through the Vugen or QTP interface.  Sometimes when you have a huge list of data that you want to test (especially in LoadRunner), it becomes an overwhelming task where you have to manually key in the values into the parameter list.  By knowing how to work with the parameter files directly, you can save a lot of time!<span id="more-739"></span></p>
<p><strong>LoadRunner </strong>– The parameter file is stored in the script directory as .dat file extension.  It can be opened with a simple text editor like Notepad as it is stored in pure text format.  Therefore, you can manipulate the files via the Notepad.  You can also use office applications such as Microsoft Excel or OpenOffice.org Calc to work on the file.  This greatly the amount of work required for maintaining a long list of data.</p>
<p><strong>Quick Test Professional</strong> – The parameter file is also stored in the script directory as an excel file, which will be an .xls file extension.  Being an excel file, it can be opened by office applications like Microsoft Excel.  Again, if you do not have money to purchase a licensed Microsoft product, you can always use open source products like OpenOffice.org Calc as an alternative tool as it is still able to work with .xls files.</p>
<p>We hope that by providing you such tips, you will be able to work efficiently with large list of data (that is especially prevalent in LoadRunner)!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/do-you-know-you-can-work-on-the-parameter-files-directly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking Transaction Response Time in GUI Vuser</title>
		<link>http://www.loadrunnertnt.com/how-tos/tracking-transaction-response-time-in-gui-vuser/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/tracking-transaction-response-time-in-gui-vuser/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 08:22:40 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[GUI Vuser]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[QTP]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=721</guid>
		<description><![CDATA[In our earlier post, we’ve mentioned that Quick Test Professional (QTP) scripts can be used in load testing in LoadRunner.  The scripts are developed in QTP and port into LoadRunner for usage where they are called GUI Vuser.  Executing GUI Vuser in a load test requires the GUI Vuser protocol.  One of the key features [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo2.gif"><img class="alignleft size-full wp-image-724" title="company_hp_logo" src="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo2.gif" alt="" width="64" height="55" /></a>In our earlier post, we’ve mentioned that <strong><a href="../concepts/using-qtp-with-loadrunner-for-load-testing/">Quick Test Professional (QTP) scripts can be used in load testing in LoadRunner</a></strong>.  The scripts are developed in QTP and port into LoadRunner for usage where they are called GUI Vuser.  Executing GUI Vuser in a load test requires the GUI Vuser protocol.  One of the key features of LoadRunner scripts is the ability to track the timing of your individual transaction in the script and generally, you will want to perform the same tracking in the GUI Vuser script.<span id="more-721"></span></p>
<p>Now, if you are proficient in LoadRunner, you may miss out on the details of how to go creating the start-stop transaction for the GUI Vuser script as the details are actually found in the QTP User Manual under the section, “Measuring Transaction” of HP Quick Test Professional User Guide – Volume 2 instead of LoadRunner manual.  In anyway, this is possible and only achievable via amending the scripts in QTP because Vugen will not be able open (read) QTP scripts.</p>
<p>Two ways you can insert a transaction.</p>
<ul>
<li>Via <strong>Keyword View</strong> – You can use <strong>Start Transaction </strong>icon <strong>&gt; Insert Transaction</strong> at the step that you want the transaction to start measuring.   Subsequently, you will use Stop Transaction icon to stop the measurement.</li>
<li>Via <strong>Expert View</strong> – You can use Services.StartTransaction &#8220;Transaction Name&#8221; and Services.EndTransaction &#8220;Transaction Name&#8221; to encapsulate where the start and end measurement.  “Transaction Name” is the name you give to defined for the transaction and this will appear when you run the GUI Vuser script in LoadRunner.</li>
</ul>
<p>With the above information, you should be slightly more familiar with <strong>Quick Test Professional (QTP)</strong> integrating with <strong>LoadRunner</strong>.  However, again there may be more things that need to be considered and I may have left out.  Do feel free to feedback and experiences and anything that I missed out when using QTP in load testing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/tracking-transaction-response-time-in-gui-vuser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What’s QTP?</title>
		<link>http://www.loadrunnertnt.com/products/what%e2%80%99s-qtp/</link>
		<comments>http://www.loadrunnertnt.com/products/what%e2%80%99s-qtp/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 08:20:28 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Products]]></category>
		<category><![CDATA[Licenses]]></category>
		<category><![CDATA[Object Spy]]></category>
		<category><![CDATA[QTP]]></category>
		<category><![CDATA[VB Script]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=712</guid>
		<description><![CDATA[Quick Test Professional (QTP) is another product from HP/Mercury (originally from Mercury Interactive) that provides automated functional testing capabilities.  The current version at the time of this writing is QTP version 10.0.  Generally, QTP is a record and playback tool similar to LoadRunner.  Although they look similar in terms of record and playback, they differ [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo1.gif"><img class="alignleft size-full wp-image-714" title="company_hp_logo" src="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo1.gif" alt="" width="64" height="55" /></a>Quick Test Professional (QTP)</strong> is another product from HP/Mercury (originally from Mercury Interactive) that provides automated functional testing capabilities.  The current version at the time of this writing is <strong>QTP version 10.0</strong>.  Generally, QTP is a record and playback tool similar to <a href="../products/whats-loadrunner/">LoadRunner</a>.  Although they look similar in terms of record and playback, they differ greatly in terms of what is recorded and what is playback.  QTP identify and records objects on the windows and rewrite the process of launching the object in a script (VB).  Example, QTP identifies and recognizes the click activity of the button on the web-browser or the web-application.  However, LoadRunner records whatever request made after the button is clicked (although <strong>Web Click &amp; Script protoc</strong>ol supports this).<span id="more-712"></span></p>
<p>During replay, the script will then be replayed like a <a href="http://technet.microsoft.com/en-us/scriptcenter/default.aspx">Windows VB Script</a>, launching the windows and activating the buttons as what is being recorded.  A sound knowledge of VB script is actually helpful in maintaining the scripts however not necessarily needed as QTP is relatively easy to use.  A tip here is you can actually use VB script in Windows to run automation without even using QTP.  It works the same way but a little low-level work is required and you need to understand the various ways the windows and objects are called in the Windows environment.</p>
<p>In QTP, you can add check points to determine if your application response as intended.  You can also use output values similar to the concept of correlation in QTP to handle dynamic data.  The output values are also used to be input values for the next step depending on how the test case is designed.</p>
<p>As for the licenses, they worked in two ways.  Either you use a <strong>Seat license</strong> or a <strong>Concurrent license</strong>.  The seat license is tied to the machine that installed the license while the concurrent license requires a license server to be available for it to retrieve the license information.  The license will decide the type of application you can record; generally called an Add-In.  QTP has various Add-In to suit the needs of the customer.  The common one is Web, Java script and ActiveX.  Other supported technologies that require an Add-In are Java, Oracle, SAP, etc.</p>
<p>Of all the virtues of using QTP, you will still need to be careful on the following and use it correctly:</p>
<ul>
<li><strong>Resolution of the      recording machine and replay machine MUST be the same</strong> – QTP rely on the resolution      of the machines to recognize the coordinates and size of the objects.  Problem will arise when the resolution      of the recording machine and replay machine is different.  Example, the script was recorded in 1024      x 768 resolution while it was replayed in a 1280 x 800 resolution may      result in the script generating error as the objects have changed their      coordinates.</li>
<li><strong>Iteration of the      script requires the start and end point to be the same </strong>– For a script to iterate      successfully, the script should be recorded in a way that the start and      end point are the same.  Example,      the script starts off with the login page and proceeds with login and some      activities then logout to return to the login page.  In this manner, the script will be able      to iterate with the next set of value such as a new login account.</li>
<li><strong>Context</strong>-<strong>sensitive – </strong>Context sensitive menus may require the use of <strong>Object Spy</strong> feature in QTP.  Context sensitive menu such as      mouse-over menu that will show the sub-menu.  This will require pressing “Crtl-Key”      when using the Object Spy and inserting the action (and object) into the      script.  However, we recommend      recording in a lower granularity (in analog) to capture as much objects as      you can before proceeding to use the Object Spy.</li>
<li><strong>Preparation of      initial test data</strong> – Most often people ignored the need for a baseline set of data      for testing.  After each functional      (regression) test, the data needs to be refreshed to a clean set before      the script can work again.</li>
<li><strong>Still dependent      on a well-designed test case – </strong>To make the tool really useful, the tool      still highly depends on a well-designed test case.  Without a well designed test case, the      downstream activities such as recording and modifying may not serve its      purpose well.</li>
</ul>
<p>The information should give you an overview of how <strong>QTP</strong> works and what you should take note after purchase (or even before purchase).  We hope that it will be useful to you and do share with us on anything related to QTP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/products/what%e2%80%99s-qtp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using QTP with LoadRunner for Load Testing</title>
		<link>http://www.loadrunnertnt.com/concepts/using-qtp-with-loadrunner-for-load-testing/</link>
		<comments>http://www.loadrunnertnt.com/concepts/using-qtp-with-loadrunner-for-load-testing/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 07:01:53 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[FAQs]]></category>
		<category><![CDATA[GUI Vuser]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[QTP]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=682</guid>
		<description><![CDATA[In this post, we shall cover the basic knowledge of using Quick Test Professional (QTP) for load testing with LoadRunner.   Unlike conventional protocols in LoadRunner where you record in Vugen, modify, port into Controller and run the execute button, you will need to do a few more stuff in order to get the setup right [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo.gif"><img class="alignleft size-full wp-image-684" title="company_hp_logo" src="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/company_hp_logo.gif" alt="" width="64" height="55" /></a>In this post, we shall cover the basic knowledge of using <strong>Quick Test Professional (QTP) </strong>for load testing with <strong>LoadRunner</strong>.   Unlike conventional protocols in LoadRunner where you record in Vugen, modify, port into Controller and run the execute button, you will need to do a few more stuff in order to get the setup right and running.   This knowledge will aid you in planning, budgeting, finding resources and minimizing any hiccups when setting up for such load test.<span id="more-682"></span></p>
<ul>
<li><strong>QTP scripts are developed in QTP not in LoadRunner Vugen</strong> – You won’t be able to record and replay a QTP script in Vugen.  All the recording and modification has to be done on QTP.  Once the modification of the QTP script is completed, it will be ported into LoadRunner Controller as GUI Vuser for load testing.</li>
<li><strong>QTP is required to install in the Load Generators (LG) </strong>– The load generators will be required to install QTP as they are used to run the scripts.</li>
<li><strong>Load Generators will be required to set the same resolution to the machine that developed the QTP script </strong>– As QTP is object sensitive, the resolution of the LG is required to be the same with the machine that was initially used to develop the QTP script to avoid any problems arising from missing objects (due to a different resolution)</li>
<li><strong>[1] GUI Vuser license is required for LoadRunner and QTP concurrent license is required for QTP </strong>– This is the 1<sup>st</sup> setup approach and budgeting for your licenses.  The total amount of Vuser that you wanted to generate will be the same for both LoadRunner and QTP.  Meaning, if you want to run 50 concurrent users using GUI Vuser protocol, you will need 50 GUI Vuser license and 50 QTP Concurrent license.  In this setup, the LG will create 50 instances of QTP to run the GUI Vuser.  This is described in “What licenses are required to run a scenario with GUI Vusers” from <a href="http://support.openview.hp.com/support.jsp">HP Software Support</a>.</li>
<li><strong>[2] GUI Vuser license is required for LoadRunner, QTP seat/concurrent license is required for QTP and Windows Terminal License is required for Windows </strong>– This is the 2<sup>nd</sup> setup approach and budgeting for your licenses.   For a 50 concurrent user load test, you will need 50 GUI Vuser protocol, <em>50 Windows Terminal License</em> and 1 QTP license.  In this setup, the QTP license is merely used to develop the script.  The LG will create 50 remote desktop connections and each of these connections will run 1 GUI Vuser.  This setup utilizes remote desktop functionality to emulate the virtual users.  I believed that HP Support does not really state about the licenses required from Windows Terminal and this is additional cost for you to factor if you are going though this mode.  Personally, I experimented using Windows Server 2003 (that is capable of 3 remote connections by default) with this approach and it works for me.  On the server, the remote connections are established and the QTP script launches the browser for testing.  (I wonder if this is permissible in the first place and like to know if anyone else is doing it.  If you got some input on this, please feel free to shout it here!)</li>
</ul>
<p>With the above information, you should be slightly more familiar with <strong>Quick Test Professional (QTP)</strong> integrating with <strong>LoadRunner</strong>.  However, there may be more things that need to be considered and I may have left out.  Do feel free to feedback and experiences and anything that I missed out when using QTP in load testing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/using-qtp-with-loadrunner-for-load-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

