<?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>qaPages &#187; Raveen Sharma</title>
	<atom:link href="http://www.qapages.org/author/raveen-sharma/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.qapages.org</link>
	<description>qaPages - a collection of Software Testing &#38; Quality pages...</description>
	<lastBuildDate>Tue, 10 Nov 2009 10:36:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating a Vuser Script with Visual C</title>
		<link>http://www.qapages.org/creating-a-vuser-script-with-visual-c/</link>
		<comments>http://www.qapages.org/creating-a-vuser-script-with-visual-c/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 09:00:50 +0000</pubDate>
		<dc:creator>Raveen Sharma</dc:creator>
				<category><![CDATA[HP Mercury LoadRunner]]></category>

		<guid isPermaLink="false">http://www.qapages.org/?p=43</guid>
		<description><![CDATA[Vuser scripts can be created using Visual C 6.0 or higher. To create a Vuser script with Visual C, please follow the below steps:

In Visual C, create a new project &#8211; dynamic link library (dll). Select File &#62; New and click the Projects tab.
In the Wizard, select empty dll
Add a new cpp file with 3 exported function: init, run, end
Add library file lrun50.lib
Select the C/C++ tab and select Code generation (Category) &#62; Use Run Time library (List). Change it to: Multithreaded dll
Select the C/C++ tab and select Preprocessor (Category) &#62; Preprocessor definitions ...]]></description>
			<content:encoded><![CDATA[<p>Vuser scripts can be created using Visual C 6.0 or higher. To create a Vuser script with Visual C, please follow the below steps:</p>
<ol>
<li>In Visual C, create a new project &#8211; dynamic link library (dll). Select <strong>File &gt; New</strong> and click the Projects tab.</li>
<li>In the Wizard, select <em>empty dll</em></li>
<li>Add a new <em>cpp</em> file with 3 exported function: <em>init</em>, <em>run</em>, <em>end</em></li>
<li>Add library file lrun50.lib</li>
<li>Select the C/C++ tab and select <strong>Code generation</strong> (Category) <strong>&gt; Use Run Time library</strong> (List).<strong> </strong>Change it to: <strong>Multithreaded dll</strong></li>
<li>Select the C/C++ tab and select <strong>Preprocessor</strong> (Category) &gt; <strong>Preprocessor definitions</strong> (edit field) Remove _DEBUG</li>
<li>Add code from your client application, or program as you normally would</li>
<li>Enhance your script with Vuser API functions. For example, <strong>lr_output_message</strong> to issue messages, <strong>lr_start_transaction</strong> to mark transactions, and so forth</li>
<li>Build the project. The output will be a DLL</li>
<li>Create a directory with the same name as the DLL and copy the DLL to this directory</li>
<li>In the <strong>lrvuser.usr</strong> file in the <em>Template</em> directory, Update the USR file key <em>BinVuser</em> with the DLL name: <span>BinVuser=&lt;</span><em>DLL_name</em><span>&gt;</span></li>
</ol>
<p><span>In the following example, the lr_output_messsage function issues messages indicating which section is being executed. The lr_eval_string function retrieves the name of the user. To use the following sample, verify that the path to the Vuser API include file, lrun.h is correct</span></p>
<blockquote><p><span style="FONT-WEIGHT: normal; VERTICAL-ALIGN: baseline; FONT-STYLE: normal; TEXT-DECORATION: none">#include &#8220;c:\lrun_5\include\lrun.h&#8221;</span></p>
<p>extern &#8220;C&#8221; {</p>
<p>int __declspec(dllexport) Init (void *p)</p>
<p>{</p>
<p>lr_output_message(&#8220;in init&#8221;);</p>
<p>return 0;</p>
<p>}</p>
<p>int __declspec(dllexport) Run (void *p)</p>
<p>{</p>
<p>const char *str = lr_eval_string(&#8220;&lt;name&gt;&#8221;);</p>
<p>lr_output_message(&#8220;in run and parameter is %s&#8221;, str);</p>
<p>return 0;</p>
<p>}</p>
<p>int __declspec(dllexport) End (void *p)</p>
<p>{</p>
<p>       lr_output_message(&#8220;in end&#8221;);</p>
<p>return 0;</p>
<p>}</p>
<p>} //extern C end</p></blockquote>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.qapages.org/creating-a-vuser-script-with-visual-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Model Based Testing &#8211; MBT</title>
		<link>http://www.qapages.org/model-based-testing-mbt/</link>
		<comments>http://www.qapages.org/model-based-testing-mbt/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 02:10:34 +0000</pubDate>
		<dc:creator>Raveen Sharma</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[General Testing Concepts]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[Black-box testing]]></category>
		<category><![CDATA[MBT]]></category>

		<guid isPermaLink="false">http://www.qapages.org/?p=19</guid>
		<description><![CDATA[Model-based testing or MBT is a general term that signifies an approach that bases common testing tasks such as test case generation and test result evaluation on a model of the application under test.
Model-based testing involves developing and using a data mode to generate tests. The model is essentially a specification of the inputs to the software. The suite includes inputs, expected outputs and necessary infrastructure to run the tests automatically. Testers using MBT approach concentrate on a data model and genration infrastructure instead of hand crafting individual tests.
It is ...]]></description>
			<content:encoded><![CDATA[<p>Model-based testing or MBT is a general term that signifies an approach that bases common testing tasks such as test case generation and test result evaluation on a model of the application under test.</p>
<p>Model-based testing involves developing and using a data mode to generate tests. The model is essentially a specification of the inputs to the software. The suite includes inputs, expected outputs and necessary infrastructure to run the tests automatically. Testers using MBT approach concentrate on a data model and genration infrastructure instead of hand crafting individual tests.</p>
<p>It is essentially meant for functional testing and is a black box testing technique.</p>
<p>MBT is based on the premise that the reliability of the test process that can ensure the high quality of software demands that the test cases be derived form functional specifications. The test cases should guarantee that the functionality called out in specifications is completely covered and that the application can be fully excercised through execution of test cases. If testers can indeed develop such test cases directly from functional specifications, the at least functional specifications can not be faulted for corresponding deficiency in the application and it can be reasonably hoped that the desired functionality may have been sucessfully translated into the delivered application. MBT models tests based on the specifications.</p>
<p>MBT separates the testing logic from the actual test implemantation. This allows the developer to focus on developing good tests specific to the application while relying on the automation tool&#8217;s test execution environment to solve problems related to test execution.</p>
<p>MBT has as its roots applications in hardware testing, most notably telephone switched and recently has spread to a wide variety of software domains.</p>
<p>MBT is directly applicable for supporting mission critical applications, in fact MBT becomes imperative. NASA and the Europe space agency have already implemented model based testing.</p>
<p>There is promising future for MBT as software becomes even more ubiquitous and quality becomes the only distinguishing factor between brands. Modelling in general seems to be gaining favour particularly in domains where quality is essential and less than adequate software is not an option.</p>
<p>MBT is a natural choice for testers concerned about completeness, effectiveness and efficiency.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.qapages.org/model-based-testing-mbt/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
