<?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>G C Reddy</title>
	<atom:link href="http://www.gcrit.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gcrit.com</link>
	<description>Software Testing Complete Reference</description>
	<lastBuildDate>Wed, 22 Feb 2012 03:34:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>QTP User Defined Functions</title>
		<link>http://www.gcrit.com/qtp-user-defined-functions/</link>
		<comments>http://www.gcrit.com/qtp-user-defined-functions/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 03:33:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=818</guid>
		<description><![CDATA[User Defined Functions What is Function?  Its a reusable code Two Types of user defined functions in VBScript      a) Sub procedures:                    Def: 1.It is a set of statements enclosed with sub and end sub                            statements to perform a task or tasks                    2.Sub procedures take arguments, but arguments are optional                   3. [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><strong><span style="color: #0000ff;">User Defined Functions</span></strong></h1>
<p><br style="color: #000000;" /><span style="color: #000000;">What is Function?</span></p>
<p><span style="color: #000000;"> Its a reusable code</span></p>
<p><span style="color: #000000;">Two Types of user defined functions in VBScript</span><br />
<span style="color: #000000;">     a) Sub procedures:</span><br />
<span style="color: #000000;">                   Def: 1.It is a set of statements enclosed with sub and end sub </span><br />
<span style="color: #000000;">                           statements to perform a task or tasks</span><br />
<span style="color: #000000;">                   2.Sub procedures take arguments, but arguments are optional</span><br />
<span style="color: #000000;">                  3. They won&#8217;t return any value</span></p>
<p><span style="color: #000000;">           Syntax:   </span><br />
<span style="color: #000000;">                   Sub Procedurename(arguments)</span><br />
<span style="color: #000000;">                   Statements</span><br />
<span style="color: #000000;">                  &#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">                   End Sub</span></p>
<p><span style="color: #000000;">     b) Function procedures</span><br />
<span style="color: #000000;">                   Def: 1.It is a set of statements enclosed with function and end function</span><br />
<span style="color: #000000;">                           statements to perform a task or tasks</span><br />
<span style="color: #000000;">                   2.Function procedures take arguments, but arguments are optional</span><br />
<span style="color: #000000;">                  3. They can return a value</span></p>
<p><span style="color: #000000;">           Syntax:   </span><br />
<span style="color: #000000;">                   Sub Procedurename(arguments)</span><br />
<span style="color: #000000;">                   Statements</span><br />
<span style="color: #000000;">                  &#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">                   End Sub</span></p>
<p><span style="color: #000000;">   Note: Sub procedures are faster in execution thn function procedures</span></p>
<p><span style="color: #000000;">Examples:</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">&#8216;Sub procedure with no Arguments</span></p>
<p><span style="color: #000000;">Sub Login()</span><br />
<span style="color: #000000;">    SystemUtil.Run &#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;,&#8221;",&#8221;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&#8221;,&#8221;open&#8221;</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).Activate</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Agent Name:&#8221;).Set &#8220;asdfg&#8221;</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Password:&#8221;).SetSecure &#8220;4f444ce5be89cc361bebe68ef49c63509f693f87&#8243;</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">End Sub</span><br />
<span style="color: #000000;">Call Login()</span></p>
<p><span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">&#8216;Sub procedure with  Arguments</span></p>
<p><span style="color: #000000;">Sub Login(Agent, Password)</span><br />
<span style="color: #000000;">    SystemUtil.Run &#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;,&#8221;",&#8221;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&#8221;,&#8221;open&#8221;</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).Activate</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Agent Name:&#8221;).Set Agent</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Password:&#8221;).Set Password</span><br />
<span style="color: #000000;">wait 2</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">End Sub</span><br />
<span style="color: #000000;">Call Login(&#8220;Hyderabad&#8221;,&#8221;mercury&#8221;)</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">&#8216;Sub procedure with  Arguments (Data Driven Testing)</span></p>
<p><span style="color: #000000;">Sub Login(Agent, Password)</span><br />
<span style="color: #000000;">    SystemUtil.Run &#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;,&#8221;",&#8221;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&#8221;,&#8221;open&#8221;</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).Activate</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Agent Name:&#8221;).Set DataTable(&#8220;agent&#8221;,1)</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Password:&#8221;).Set DataTable(2,1)</span><br />
<span style="color: #000000;">wait 2</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Close</span><br />
<span style="color: #000000;">End Sub</span><br />
<span style="color: #000000;">Call Login(&#8220;Hyderabad&#8221;,&#8221;mercury&#8221;)</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">&#8216;Load Repositories at run-time</span><br />
<span style="color: #000000;">Sub Login(Agent, Password)</span><br />
<span style="color: #000000;">RepositoriesCollection.Add &#8220;C:\Documents and Settings\gcreddy\Desktop\Login.tsr&#8221;</span><br />
<span style="color: #000000;">    SystemUtil.Run &#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;,&#8221;",&#8221;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&#8221;,&#8221;open&#8221;</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).Activate</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Agent Name:&#8221;).Set &#8220;abcd&#8221;</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Password:&#8221;).Set &#8220;mercury&#8221;</span><br />
<span style="color: #000000;">wait 2</span><br />
<span style="color: #000000;">    Dialog(&#8220;Login&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Close</span><br />
<span style="color: #000000;">End Sub</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/qtp-user-defined-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VbScript Data Types</title>
		<link>http://www.gcrit.com/data-types/</link>
		<comments>http://www.gcrit.com/data-types/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 04:19:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=812</guid>
		<description><![CDATA[Data Types &#8212;&#8212;&#8212;&#8211; No Data type specification Variant is the Only Data type in VBScript Dim a a= &#8220;India&#8221; &#8212;&#8212;- &#8212;&#8212; a=100 &#8212;&#8211; &#8212;&#8212; a=10.23 &#8212;- &#8212; a=#10/10/2010# How to know Data sub types &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; Using VarType Function (It returns constant based Results) Types of Result in Computer Programming &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; i) Value based Result Ex: [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><strong><span style="color: #0000ff;">Data Types</span></strong><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8211;</span></h1>
<p><span style="color: #000000;">No Data type specification</span></p>
<p><span style="color: #000000;">Variant is the Only Data type in VBScript</span></p>
<p><span style="color: #000000;">Dim a</span></p>
<p><span style="color: #000000;">a= &#8220;India&#8221;</span></p>
<p><span style="color: #000000;">&#8212;&#8212;-</span><br />
<span style="color: #000000;">&#8212;&#8212;</span><br />
<span style="color: #000000;">a=100 </span></p>
<p><span style="color: #000000;">&#8212;&#8211;</span><br />
<span style="color: #000000;">&#8212;&#8212;</span><br />
<span style="color: #000000;">a=10.23</span><br />
<span style="color: #000000;">&#8212;-</span><br />
<span style="color: #000000;">&#8212;</span><br />
<span style="color: #000000;">a=#10/10/2010#</span></p>
<h3><span style="color: #0000ff;">How to know Data sub types</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">Using VarType Function (It returns constant based Results)</span></h3>
<p><strong><span style="color: #0000ff;">Types of Result in Computer Programming</span></strong><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></p>
<p><span style="color: #000000;">i) Value based Result</span></p>
<p><span style="color: #000000;">Ex:</span></p>
<p><span style="color: #000000;">    3 + 5 = 8</span></p>
<p><span style="color: #000000;">ii) Logical Result</span></p>
<p><span style="color: #000000;">x= 100</span></p>
<p><span style="color: #000000;">Msgbox IsNumeric(x) &#8216;True</span></p>
<p><span style="color: #000000;">iii) Constant based Result</span></p>
<p><span style="color: #000000;">x=&#8221;Mumbai&#8221;</span></p>
<p><span style="color: #000000;">Msgbox VarType(x) &#8217;8 for string</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Dim a</span><br />
<span style="color: #000000;">Msgbox VarType(a) &#8217;0 for Empty / Uninitialized</span></p>
<p><span style="color: #000000;">a=&#8221;India&#8221;</span><br />
<span style="color: #000000;">Msgbox VarType(a) &#8217;8 for String</span></p>
<p><span style="color: #000000;">a=&#8221;100&#8243;</span><br />
<span style="color: #000000;">Msgbox VarType(a)  &#8217;8 for String</span></p>
<p><span style="color: #000000;">a=100</span><br />
<span style="color: #000000;">Msgbox VarType(a) &#8217;2 for Integer</span></p>
<p><span style="color: #000000;">a=10.234</span><br />
<span style="color: #000000;">Msgbox VarType(a) &#8217;5 for Double</span></p>
<p><span style="color: #000000;">a=#10/10/2012#</span><br />
<span style="color: #000000;">Msgbox VarType(a) &#8217;7 for Date</span></p>
<h3><span style="color: #000000;">Set a = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span><br />
<span style="color: #000000;">Msgbox VarType(a) &#8217;9 for Automation Object</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #0000ff;">Convert Data from One type to another</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></h3>
<p><span style="color: #000000;">Initialization</span></p>
<p><span style="color: #000000;">Dim x</span><br />
<span style="color: #000000;">x=100</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Reading </span><br />
<span style="color: #000000;">    From Input devices</span><br />
<span style="color: #000000;">    From Files</span><br />
<span style="color: #000000;">    from Databases</span><br />
<span style="color: #000000;">    from Application Objects</span></p>
<p><span style="color: #000000;">&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">Ex:</span><br />
<span style="color: #000000;">Dim val, Tickets</span><br />
<span style="color: #000000;">&#8216;Reading from Input devices</span><br />
<span style="color: #000000;">val=InputBox(&#8220;Enter a value&#8221;) </span><br />
<span style="color: #000000;">Msgbox VarType(val) &#8217;8 for String</span></p>
<p><span style="color: #000000;">val = Cint(val)</span><br />
<span style="color: #000000;">Msgbox VarType(val)</span></p>
<p><span style="color: #000000;">&#8216;Reading from Application Objects</span></p>
<p><span style="color: #000000;">Tickets = Window(&#8220;Flight Reservation&#8221;).WinEdit(&#8220;Tickets:&#8221;).GetVisibleText()</span><br />
<span style="color: #000000;">Msgbox VarType(Tickets) &#8217;8 for string</span></p>
<p><span style="color: #000000;">Tickets = Cint(Tickets)</span><br />
<span style="color: #000000;">Msgbox VarType(Tickets) &#8217;2 for Integer</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">Dim val, Price</span><br />
<span style="color: #000000;">val= InputBox(&#8220;Enter a value&#8221;)</span><br />
<span style="color: #000000;">Msgbox VarType(val) &#8217;8 for String</span></p>
<p><span style="color: #000000;">val=Cdbl(val)</span><br />
<span style="color: #000000;">Msgbox VarType(val) &#8217;5 for Double</span></p>
<p><span style="color: #000000;">Price = Window(&#8220;Flight Reservation&#8221;).WinEdit(&#8220;Price:&#8221;).GetVisibleText()</span><br />
<span style="color: #000000;">Msgbox VarType(Price) &#8217;8</span></p>
<p><span style="color: #000000;">Price=Cdbl(Price)</span><br />
<span style="color: #000000;">Msgbox VarType(Price) &#8217;5 </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/data-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBScript Variables</title>
		<link>http://www.gcrit.com/vbscript-variables/</link>
		<comments>http://www.gcrit.com/vbscript-variables/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 03:50:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[Array Variables]]></category>
		<category><![CDATA[Declaration of Variables]]></category>
		<category><![CDATA[Variables]]></category>
		<category><![CDATA[VBScript Variables]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=805</guid>
		<description><![CDATA[Variables  What is Variable? RAM Declaration of Variables Public / private /Dim &#8212;&#8212;&#8212;&#8212; Dim a, b, c &#8212;&#8212;&#8212;- Dim a Dim b Dim c &#8212;&#8212;&#8212;&#8212; Implicit &#38; Explicit Declaration of Variables Dim a a=100 &#8216;Explicit b=200 &#8216;Implicit Msgbox &#8220;Addition of a, b is: &#8221; &#38;a+b Option Explicit Dim Tickets, Price, Total Tickets = 5 Price= [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><span style="color: #0000ff;"><strong>Variables</strong></span></h1>
<h3><span style="color: #0000ff;"> What is Variable?</span></h3>
<p><span style="color: #000000;">RAM</span></p>
<h3><span style="color: #0000ff;">Declaration of Variables</span></h3>
<p><span style="color: #000000;">Public / private /Dim</span></p>
<p><span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Dim a, b, c</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">Dim a</span><br />
<span style="color: #000000;">Dim b</span><br />
<span style="color: #000000;">Dim c</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;</span><br />
<strong><span style="color: #0000ff;">Implicit &amp; Explicit Declaration of Variables</span></strong></p>
<p><span style="color: #000000;">Dim a</span><br />
<span style="color: #000000;">a=100 &#8216;Explicit </span><br />
<span style="color: #000000;">b=200 &#8216;Implicit</span><br />
<span style="color: #000000;">Msgbox &#8220;Addition of a, b is: &#8221; &amp;a+b</span></p>
<p><span style="color: #000000;">Option Explicit </span><br />
<span style="color: #000000;">Dim Tickets, Price, Total</span><br />
<span style="color: #000000;">Tickets = 5</span><br />
<span style="color: #000000;">Price= 120</span><br />
<span style="color: #000000;">Total = Tickets * Priee</span><br />
<span style="color: #000000;">Msgbox Total</span></p>
<h3><span style="color: #0000ff;">Assigning values to variables</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Dim a, b</span><br />
<span style="color: #000000;">a=100 &#8216;Initialization </span><br />
<span style="color: #000000;">b=InputBox(&#8220;Enter b value&#8221;) &#8216;Reading</span><br />
<span style="color: #000000;">Msgbox a+b</span></h3>
<p><span style="color: #000000;">Usage of Variables</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">Dim a, c</span></p>
<p><span style="color: #000000;">a=10 &#8216;Holding the Data</span></p>
<p><span style="color: #000000;">b=20</span></p>
<p><span style="color: #000000;">c=a=b </span><br />
<span style="color: #000000;">Msgbox c &#8216;False (&#8216;Storing the data that returned a program)</span><br />
<span style="color: #000000;">c=a*b </span><br />
<span style="color: #000000;">Msgbox c &#8216;False (&#8216;Storing the data that returned a program)</span></p>
<p><span style="color: #000000;">c= Now</span><br />
<span style="color: #000000;">Msgbox c &#8216;(Storing the data that returned a Function)</span></p>
<p><span style="color: #000000;">Set c = CreateObject(&#8220;Scripting.FileSystemObject&#8221;) &#8216;Stroring Object Reference</span></p>
<h3><span style="color: #0000ff;">Naming Restrictions</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">a) should start with Alfa bytes</span></h3>
<p><span style="color: #000000;">Dim abc</span><br />
<span style="color: #000000;">Dim a9</span><br />
<span style="color: #000000;">Dim 7bc &#8216;Incorrect</span></p>
<p><span style="color: #000000;">b) Should not contain embedded periods</span><br />
<span style="color: #000000;">Dim abc &#8216;correct</span><br />
<span style="color: #000000;">Dim ab c &#8216;Incorrect</span><br />
<span style="color: #000000;">Dim ab*c &#8216;Incorrect</span><br />
<span style="color: #000000;">Dim ab-c &#8216;Incorrect</span><br />
<span style="color: #000000;">Dim ab.c &#8216;Incorrect</span><br />
<span style="color: #000000;">Dim ab_c &#8216;correct</span></p>
<p><span style="color: #000000;">c) 255 char</span></p>
<p><span style="color: #000000;">d) should be unique in the scope of Declaration</span></p>
<p><span style="color: #000000;">Dim a, b, c </span><br />
<span style="color: #000000;">Dim d, e</span><br />
<span style="color: #000000;">Dim f, g, A</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Standard</span><br />
<span style="color: #000000;">Reserved words</span></p>
<p><span style="color: #000000;">Dim Wait</span><br />
<span style="color: #000000;">Wait =100</span><br />
<span style="color: #000000;">Msgbox Wait</span></p>
<h3><span style="color: #0000ff;">Scope of variables</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">a) Program / Script level</span></h3>
<p><span style="color: #000000;">b) Function / procedure level</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Dim a, b, c &#8216;Script Level</span><br />
<span style="color: #000000;">a= 10</span><br />
<span style="color: #000000;">b=20</span><br />
<span style="color: #000000;">c=a+b</span><br />
<span style="color: #000000;">Msgbox c &#8217;30</span></p>
<p><span style="color: #000000;">Function xyz()</span><br />
<span style="color: #000000;">   Dim d, e &#8216;Function Level</span><br />
<span style="color: #000000;">   d=40</span><br />
<span style="color: #000000;">   e= b+d</span><br />
<span style="color: #000000;">   Msgbox e &#8217;60</span><br />
<span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">Call xyz()</span><br />
<span style="color: #000000;">Dim f,g &#8216;Script Level</span><br />
<span style="color: #000000;">f=70</span><br />
<span style="color: #000000;">g=a+d+f</span><br />
<span style="color: #000000;">Msgbox g &#8217;80</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></p>
<h3><span style="color: #0000ff;">Types of variables</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">a) Scalar Variables</span></h3>
<p><span style="color: #000000;">b) Array Variables</span></p>
<p><span style="color: #000000;">Dim a, b(3)</span><br />
<span style="color: #000000;">b(0)=10</span><br />
<span style="color: #000000;">b(1)=20</span><br />
<span style="color: #000000;">b(2)=30</span><br />
<span style="color: #000000;">b(3)=40</span></p>
<p><span style="color: #000000;">a= b(1) +b(3)</span><br />
<span style="color: #000000;">Msgbox a &#8217;60</span></p>
<p><span style="color: #000000;">&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">Dim a, b(3)</span><br />
<span style="color: #000000;">b(0)=10</span><br />
<span style="color: #000000;">b(1)=20</span><br />
<span style="color: #000000;">b(2)=30</span><br />
<span style="color: #000000;">b(3)=40</span><br />
<span style="color: #000000;">b(4)=50 &#8216;Error</span><br />
<span style="color: #000000;">a= b(1) +b(3)</span><br />
<span style="color: #000000;">Msgbox a &#8217;60</span></p>
<h3><span style="color: #0000ff;">Array Variables</span><br />
<span style="color: #000000;">    General, Dynamic and Dimensional Arrays</span><br />
<span style="color: #000000;">    Assigning Series of values at a time</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/vbscript-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QTP Error Handling</title>
		<link>http://www.gcrit.com/qtp-error-handling/</link>
		<comments>http://www.gcrit.com/qtp-error-handling/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 11:22:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=713</guid>
		<description><![CDATA[Error Handling in QTP Error Handling: Error handling refers to the anticipation, detection, and resolution of programming, application, and communications errors. Within every Script we have to think about possible exceptions and how to handle them. Especially in the uppermost layers of the script, it is important to handle all exceptions. Error Handling in QuickTest [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><strong><span style="color: #0000ff;">Error Handling in QTP</span></strong></h1>
<h2><strong>Error Handling:</strong></h2>
<p><span style="color: #000000;">Error handling refers to the anticipation, detection, and resolution of programming, application, and communications errors.</span></p>
<p><span style="color: #000000;">Within every Script we have to think about possible exceptions and how to handle them. Especially in the uppermost layers of the script, it is important to handle all exceptions.</span></p>
<p><span style="color: #000000;">Error Handling in QuickTest Professional:</span><br />
<span style="color: #000000;">QTP and VBScript give the Test Engineer some tools to handle errors and Exceptions.</span></p>
<p><span style="color: #000000;">Error Preventing:</span></p>
<p><span style="color: #000000;">A good method for using error handling is to try to prevent them.</span></p>
<p><span style="color: #000000;">When an error occurred, Report it in detail. When working with GUI objects, use the Window.Exist property. Every If…Then..End If statement has the Else part, the same for</span><br />
<span style="color: #000000;">Select Case. Use Case Else.</span></p>
<p><span style="color: #000000;">Error Handling Methods in QTP and VB Script:</span></p>
<p><span style="color: #000000;">a)    Synchronization</span><br />
<span style="color: #000000;">b)    Exist Property</span><br />
<span style="color: #000000;">c)    Recover Scenarios</span></p>
<p><span style="color: #000000;">d)    On Error Statement</span></p>
<p><span style="color: #000000;">Without an On Error statement, any run-time error that occurs is fatal: an error message is displayed, and execution stops.</span></p>
<p><span style="color: #000000;">Whenever possible, you use structured exception handling in your code, rather than resorting to unstructured exception handling and the On Error statement.</span></p>
<p><span style="color: #000000;">Parts:</span></p>
<p><span style="color: #000000;">GoToline</span></p>
<p><span style="color: #000000;">    Enables the error-handling routine that starts at the line specified in the required line argument. The line argument is any line label or line number. If a run-time error occurs, control branches to the specified line, making the error handler active. The specified line must be in the same procedure as the On Error statement, or a compile-time error will occur.</span></p>
<p><span style="color: #000000;">GoTo 0</span></p>
<p><span style="color: #000000;">    Disables enabled error handler in the current procedure and resets it to Nothing.</span></p>
<p><span style="color: #000000;">GoTo -1</span></p>
<p><span style="color: #000000;">    Disables enabled exception in the current procedure and resets it to Nothing.</span></p>
<p><span style="color: #000000;">Resume Next</span></p>
<p><span style="color: #000000;">    Specifies that when a run-time error occurs, control goes to the statement immediately following the statement where the error occurred, and execution continues from that point. Use this form rather than On Error GoTo when accessing objects.</span></p>
<p><span style="color: #000000;">On Error Resume Next </span></p>
<p><span style="color: #000000;">Example1:</span><br />
<span style="color: #000000;">Dim a</span><br />
<span style="color: #000000;">a = 1</span><br />
<span style="color: #000000;">b-2</span><br />
<span style="color: #000000;">MsgBox a + b &#8216; displays result without showing error</span></p>
<p><span style="color: #000000;">Example2:</span></p>
<p><span style="color: #000000;">Function Sum(Num1, Num2)</span><br />
<span style="color: #000000;">If IsNumeric(Num1) = False Or IsNumeric(Num2) = False Then</span><br />
<span style="color: #000000;">On Error Resume Next</span><br />
<span style="color: #000000;">Err.Raise vbObjectError + 100, &#8220;Sum Function&#8221;, _</span><br />
<span style="color: #000000;">&#8220;One or more parameters are invalid.&#8221;</span><br />
<span style="color: #000000;">Exit Function</span><br />
<span style="color: #000000;">End If</span><br />
<span style="color: #000000;">Sum = Num1 +Num2</span></p>
<p><span style="color: #000000;">End Function</span></p>
<p><span style="color: #000000;">Call Sum(&#8220;gcreddy&#8221;,&#8221;QTP&#8221;) &#8216;Comes out without showing error</span><br />
<span style="color: #000000;">Call Sum(100,200) &#8216; returns sum of 100,200 as 300</span><br />
<span style="color: #000000;">e)    Error Object</span></p>
<p><span style="color: #000000;">The Err object is an intrinsic object with global scope — there is no need to create an instance of it in your code. </span></p>
<p><span style="color: #000000;">The properties of the Err object are set by the generator of an error — Visual Basic, an Automation object, or the VBScript programmer.</span></p>
<p><span style="color: #000000;">The default property of the Err object is Number.</span></p>
<p><span style="color: #000000;"> Err.Number contains an integer and can be used by an Automation object to return an SCODE.</span></p>
<p><span style="color: #000000;">When a run-time error occurs, the properties of the Err object are filled with information that uniquely identifies the error and information that can be used to handle it. To generate a run-time error in your code, use the Raise method.</span><br />
<span style="color: #000000;">The Err object&#8217;s properties are reset to zero or zero-length strings (&#8220;&#8221;) after an On Error Resume Next statement. The Clear method can be used to explicitly reset Err.</span></p>
<p><span style="color: #000000;">Example:</span></p>
<p><span style="color: #000000;">On Error Resume Next</span><br />
<span style="color: #000000;">Err.Raise 6   &#8216; Raise an overflow error.</span><br />
<span style="color: #000000;">MsgBox (&#8220;Error # &#8221; &amp; CStr(Err.Number) &amp; &#8221; &#8221; &amp; Err.Description)</span><br />
<span style="color: #000000;">Err.Clear      &#8216; Clear the error.</span></p>
<p><span style="color: #000000;">Err Object Properties and Methods</span></p>
<p><span style="color: #000000;">Properties</span></p>
<p><span style="color: #000000;">Description Property</span></p>
<p><span style="color: #000000;">HelpContext Property</span></p>
<p><span style="color: #000000;">HelpFile Property</span></p>
<p><span style="color: #000000;">Number Property</span></p>
<p><span style="color: #000000;">Source Property</span></p>
<p><span style="color: #000000;">Methods</span></p>
<p><span style="color: #000000;">Clear Method</span></p>
<p><span style="color: #000000;">Raise Method</span></p>
<p><span style="color: #000000;">f)    Exit Statement</span></p>
<p><span style="color: #000000;">Open 30 to 40 Orders in Flight Reservation Window, if some records not available handle the situation</span></p>
<p><span style="color: #000000;">Option Explicit</span><br />
<span style="color: #000000;">Dim Order_Number</span><br />
<span style="color: #000000;">If Not Window(&#8220;Flight Reservation&#8221;).Exist(3) Then</span><br />
<span style="color: #000000;">SystemUtil.Run &#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;,&#8221;",&#8221;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&#8221;,&#8221;open&#8221;</span><br />
<span style="color: #000000;">Dialog(&#8220;Login&#8221;).Activate</span><br />
<span style="color: #000000;">Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Agent Name:&#8221;).Set &#8220;gcreddy&#8221;</span><br />
<span style="color: #000000;">Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Password:&#8221;).SetSecure &#8220;4c2e1e65bf29943393b6940f116d35231ce5fb7e&#8221;</span><br />
<span style="color: #000000;">Dialog(&#8220;Login&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">End If</span></p>
<p><span style="color: #000000;">For Order_Number= 30 to 40 step 1</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Activate</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Button&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinCheckBox(&#8220;Order No.&#8221;).Set &#8220;ON&#8221;</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinEdit(&#8220;Edit&#8221;).Set Order_Number</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinButton(&#8220;OK&#8221;).Click</span></p>
<p><span style="color: #000000;">If Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).Dialog(&#8220;Flight Reservations&#8221;).Exist(3) Then</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).Dialog(&#8220;Flight Reservations&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinButton(&#8220;Cancel&#8221;).Click</span><br />
<span style="color: #000000;">Reporter.ReportEvent micWarning,&#8221;Res&#8221;, &#8220;Up to &#8220;&amp; Order_Number-1 &amp;&#8221; Order only available&#8221;</span><br />
<span style="color: #000000;">Exit For</span><br />
<span style="color: #000000;">End If</span><br />
<span style="color: #000000;">Next</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/qtp-error-handling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Quality</title>
		<link>http://www.gcrit.com/software-quality/</link>
		<comments>http://www.gcrit.com/software-quality/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 10:14:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[Quality Standards]]></category>
		<category><![CDATA[software quality]]></category>
		<category><![CDATA[Software Quality Standards]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=684</guid>
		<description><![CDATA[Software Quality Standards ISO &#8211; International Organization for Standardization (1947) IEEE &#8211; Institute of Electrical and Electronics Engineers (1963) IEC &#8211; International Electrotechnical Commission (1906) BS (BSI) &#8211; British Standards (1901) CMMI- Capability Maturity Model Integration 1) IEEE 610.12-1990 IEEE Standard Glossary of Software Engineering Terminology 2) IEEE 829-1998 IEEE Standard for Software Test Documentation [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><span style="color: #0000ff;">Software Quality Standards</span></h1>
<p>ISO &#8211; International Organization for Standardization (1947)</p>
<p>IEEE &#8211; Institute of Electrical and Electronics Engineers (1963)</p>
<p>IEC &#8211; International Electrotechnical Commission (1906)</p>
<p>BS (BSI) &#8211; British Standards (1901)</p>
<p>CMMI- Capability Maturity Model Integration</p>
<p>1) IEEE 610.12-1990</p>
<p>IEEE Standard Glossary of Software Engineering Terminology</p>
<p>2) IEEE 829-1998</p>
<p>IEEE Standard for Software Test Documentation</p>
<p>The Types of Document:</p>
<p>There are eight document types in the IEEE 829 standard, which can be used in three distinct phases of software testing:</p>
<p>Preparation of Tests</p>
<p>Test Plan: Plan how the testing will proceed.</p>
<p>Test Design Specification: Decide what needs to be tested.</p>
<p>Test Case Specification: Create the tests to be run.</p>
<p>Test Procedure: Describe how the tests are run.</p>
<p>Test Item Transmittal Report: Specify the items released for testing.</p>
<p>Running the Tests</p>
<p>Test Log: Record the details of tests in time order.</p>
<p>Test Incident Report: Record details of events that need to be investigated.</p>
<p>Completion of Testing</p>
<p>Test Summary Report: Summarise and evaluate tests.</p>
<p>3) IEEE Standard 1012-1998</p>
<p>IEEE Standard for Software Verification and Validation -Description</p>
<p>4) IEEE Standard 1028-1997</p>
<p>IEEE Standard for Software Reviews -Description</p>
<p>5) IEEE 1008</p>
<p>IEEE Standard for Software Unit Testing</p>
<p>6) IEEE 1044-1993</p>
<p>IEEE Standard Classification for Software Anomalies</p>
<p>7) IEEE 1219-1998</p>
<p>Standard for Software Maintenance</p>
<p> <img src='http://www.gcrit.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> ISO/IEC 9126-1:2001</p>
<p>(Software engineering – Software product quality- part 1)</p>
<p>Support for review, verification and validation, and a framework for quantitative quality evaluation, in the support process;</p>
<p>Support for setting organisational quality goals in the management process.</p>
<p>9) ISO/IEC 12207:2008</p>
<p>Systems and software engineering &#8212; Software life cycle processes</p>
<p>10) ISO/IEC 14598-1:1999</p>
<p>Information technology &#8212; Software product evaluation</p>
<p>11) ISO/IEC 2382-1:1993</p>
<p>Data Processing &#8212; Vocabulary &#8212; Part 1: Fundamental terms</p>
<p>12) ISO 9000:2000</p>
<p>Quality management systems – Fundamentals and vocabulary</p>
<p>13) BS 7925-2:1998</p>
<p>Software testing, Software component testing</p>
<p>(This standard defines the process for software component testing using specified test case design and measurement techniques. This will enable users of the standard to directly improve the quality of their software testing, and improve the quality of their software products)</p>
<p>14) DO-178B:1992</p>
<p>– Software Considerations in Airborne Systems and Equipment</p>
<p>15) BS7925-1</p>
<p>The British software testing standard governing testing terminology</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/software-quality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test Management</title>
		<link>http://www.gcrit.com/test-management-2/</link>
		<comments>http://www.gcrit.com/test-management-2/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 10:08:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[Test management]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=682</guid>
		<description><![CDATA[Test Management 1.Which is true of Suggestion Day? a) It is a full staff offsite meeting to focus on quality improvement b) all staff meets in one room to discuss all suggestions on the table c) it uses the pare to principle to guide its agenda d) It was proposed by Deming 2.Which of these [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Test Management</strong></p>
<p><strong>1.Which is true of Suggestion Day?</strong><br />
a) It is a full staff offsite meeting to focus on quality improvement<br />
b) all staff meets in one room to discuss all suggestions on the table<br />
c) it uses the pare to principle to guide its agenda<br />
d) It was proposed by Deming</p>
<p><strong>2.Which of these is a &#8220;DON&#8217;T&#8221; when giving criticism?</strong><br />
a) Have the facts and be specific on expectations<br />
b) be prepared to help them improve<br />
c) do it in private<br />
d) state the consequences if they do not improve</p>
<p><strong>3.Which is not a good way to combat Groupthink?</strong><br />
a) Assign someone in the group to play Devil&#8217;s advocate<br />
b) use outside experts as resources<br />
c) inform the group that the meeting will last until a unanimous decision is reached<br />
d) break the team up into subgroups</p>
<p><strong>4.When delivering an Oral System Proposal, you should emphasise your enthusiasm to do the project, but not emphasize the expertise of yourself and your staff.</strong><br />
a) True<br />
b) False</p>
<p><strong>5.The formalized method of brainstorming, having a question and answer period, ranking solutions, and then thinking critically about them is known as:</strong><br />
a) Suggestion day<br />
b) nominal group technique<br />
c) continuous process improvement<br />
d) affinity diagramming</p>
<p><strong>6.Getting on the customer&#8217;s wavelength, getting the facts, taking notes, establishing an action program, and taking action are the recommended steps of&#8230;</strong><br />
a) Groupthink<br />
b) requirements gathering<br />
c) task force management<br />
d) conflict resolution</p>
<p><strong>7.The content of a System Proposal should include the people costs and the effects on other systems, as well as the standard cost benefit analysis.</strong><br />
a) True<br />
b) False</p>
<p><strong>8.It is acceptable to close the System Proposal without discussing everything on the agenda if the audience shows signs that they will approve the project.</strong><br />
a) False<br />
b) True</p>
<p><strong>9.Task forces should tackle more than one issue at a time.</strong><br />
a) False<br />
b) True</p>
<p><strong>10.The symptoms below refer to what phenomenon? &#8211; collective efforts to rationalize/discount negative info &#8211; tendency to ignore ethical or moral consequences to group decisions &#8211; stereotyped views of other groups &#8211; active pressure to change views</strong><br />
a) Loyalty<br />
b) groupthink<br />
c) an us vs them mentality<br />
d) newspeak</p>
<p><strong>11.Which one of these is NOT one of the three components of receiving information?</strong><br />
a) Responding to the speaker<br />
b) attending to the speaker<br />
c) hearing the speaker<br />
d) understanding the speaker</p>
<p><strong>12.The ideal size for a task force is:</strong><br />
a) 3-8 members<br />
b) two people from each group that will be impacted by the decision<br />
c) as many members as are interested in participating<br />
d) 5 members</p>
<p><strong>13.Therapeutic listening is:</strong><br />
a) Sympathetic, empathetic, and helps gain speaker&#8217;s confidence<br />
b) useful in conflict resolution<br />
c) helpful in understanding the reasons why events occurred<br />
d) all of the above</p>
<p><strong>14.If a person says &#8220;Sure, we will make the deadline&#8221; but has a smirk on their face, which two information channels are out of sync, and which should you pay more attention to?</strong><br />
a) Graphic channel and information channel &#8211; information channel<br />
b) body channel and verbal channel &#8211; body channel<br />
c) verbal channel and graphic channel &#8211; verbal channel<br />
d) information channel and body channel &#8211; body channel</p>
<p><strong>15.When trying to piece together facts from several different people, _________ listening is important.</strong><br />
a) Therapeutic<br />
b) comprehensive<br />
c) critical<br />
d) appreciative</p>
<p><strong>16.Which type of listening is typically not needed during a verbal walkthrough (Unless Phyllis is on the call)?</strong><br />
a) Critical listening<br />
b) Comprehensive listening<br />
c) Discriminative listening<br />
d) Appreciative listening</p>
<div><strong>17.Which of these is NOT a good way to portray a successful image?</strong><br />
a) Being purposeful in body language, making eye contact<br />
b) being analytical and decisive<br />
c) being brief, specific, and direct in conversation<br />
d) not engaging in casual conversation with management<strong>18.It is a good idea to give management regular updates on the current status of task force activities.</strong><br />
a) No, because the only output of the task force should be the final report, a unanimous decision<br />
b) yes, because they need to approve further funding<br />
c) no, because they will take credit for the task force&#8217;s work<br />
d) yes, because they assigned you to the task force</p>
<p><strong>19.____________ is selective listening to determine what you are looking to hear, weeding out the rest</strong><br />
a) Critical listening<br />
b) Comprehensive listening<br />
c) Discriminative listening<br />
d) Appreciative listening</p>
<p><strong>20.Which of these is NOT an important part of initiating an action program for conflict resolution?</strong><br />
a) Admitting the error if you are responsible<br />
b) taking action immediately<br />
c) reporting the conflict to governance bodies<br />
d) stating the solution and getting agreement on it</p>
<p><strong>21.When group members experience strong feelings of solidarity and loyalty, the desire for unanimity may override the motivation to logically and realistically evaluate alternative courses of action&#8230;</strong><br />
a) it is usually BAD and leads to bad decisions.<br />
b) it is called groupthink<br />
c) both of these<br />
d) neither of these</p>
<p><strong>22.In order to get the &#8220;whole&#8221; message with minimal distortion, _______ listening is necessary.</strong><br />
a) Discriminative<br />
b) Therapeutic<br />
c) Comprehensive<br />
d) Critical</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/test-management-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tool support for software testing</title>
		<link>http://www.gcrit.com/tool-support-for-software-testing/</link>
		<comments>http://www.gcrit.com/tool-support-for-software-testing/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 10:07:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=679</guid>
		<description><![CDATA[Tool support for software testing Important Terms: 6.1 Types of test tool Configuration management tool, debugging tool, dynamic analysis tool, incident management tool, load testing tool, modeling tool, monitoring tool, performance testing tool, probe effect, requirement management tool, review tool, static analysis tool, stress testing tool, test comparator, test data preparation tool, test design tool, [...]]]></description>
			<content:encoded><![CDATA[<div><strong>Tool support for software testing</strong></div>
<div><strong>Important Terms:</strong></div>
<div><strong>6.1 Types of test tool</strong></div>
<div>Configuration management tool, debugging tool, dynamic analysis tool, incident management tool, load testing tool, modeling tool, monitoring tool, performance testing tool, probe effect, requirement management tool, review tool, static analysis tool, stress testing tool, test comparator, test data preparation tool, test design tool, test harness, test execution tool, test management tool, unit test framework tool.</div>
<div><strong>6.2 Effective use of tools: potential benefits and risks</strong></div>
<div>Data driven (testing), keyword-driven (testing), scripting language</div>
<div><strong>6.3 introducing a tool into an organization </strong></div>
<div align="center"><strong>Types of test tool</strong></div>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="271">
<div><strong>management of testing and tests</strong></div>
</td>
<td valign="top" width="355">
<ul>
<li>Requirement management tools</li>
<li>Incident management tools</li>
<li>Configuration management tools</li>
</ul>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Static testing </strong></div>
</td>
<td valign="top" width="355">
<ul>
<li>Review tools</li>
</ul>
<ul>
<li>Static analysis tools (D)</li>
</ul>
<ul>
<li>Modeling tools (D)</li>
</ul>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Test specification</strong></div>
</td>
<td valign="top" width="355">
<div>§         Test design tools</div>
<div>§         Test data preparation tools</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Test execution and logging</strong></div>
</td>
<td valign="top" width="355">
<ul>
<li>Test execution tools</li>
<li>Test harness/unit test framework tools (D)</li>
<li>Test comparators</li>
<li>Coverage measurement tools (D)</li>
<li>Security tools</li>
</ul>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Performance and monitoring</strong></div>
</td>
<td valign="top" width="355">
<ul>
<li>Dynamic analysis tools</li>
<li>Performance/Load/Stress Testing tools</li>
<li>Monitoring tools</li>
</ul>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Specific application areas</strong></div>
</td>
<td valign="top" width="355">
<ul>
<li>Special tools for web-based applications</li>
<li>Special tools for specific development flat forms</li>
<li>Special tools for embedded systems</li>
</ul>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Tool support using other tools</strong></div>
</td>
<td valign="top" width="355"></td>
</tr>
</tbody>
</table>
<div align="center"><strong>Test Tools and their purposes</strong></div>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="271">
<div><strong>Requirement management tools</strong></div>
</td>
<td valign="top" width="355">
<div>Store requirements, check for consistency, allow requirements to be prioritized, trace changes, coverage of requirements etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Incident management tools</strong></div>
</td>
<td valign="top" width="355">
<div>Store and manage incident reports, facilitating prioritization, assessment of actions to people and attribution of status etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Configuration management tools</strong></div>
</td>
<td valign="top" width="355">
<div>Store information about versions and builds of software and testware; enable traceability between testware and software work products etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Review tools</strong></div>
</td>
<td valign="top" width="355">
<div>Store information, store and communicate review comments etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Static analysis tools (D) </strong></div>
</td>
<td valign="top" width="355">
<div>The enforcement of coding standards, the analysis of structures and dependencies, aiding in understanding the code etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Modeling tools (D)</strong></div>
</td>
<td valign="top" width="355">
<div>Validate models of the software, find defects in data model, state model or an object model etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Test design tools</strong></div>
</td>
<td valign="top" width="355">
<div>Generate test inputs or executable tests, generate expected out comes etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Test data preparation tools</strong></div>
</td>
<td valign="top" width="355">
<div>Preparing test data, Manipulate databases, files or data transmissions to set up test data etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Test execution tools</strong></div>
</td>
<td valign="top" width="355">
<div>Record tests, Automated test execution, use inputs and expected outcomes, compare results with expected outcomes, repeat tests, dynamic comparison, manipulate the tests using scripting language etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Test harness/unit test framework tools (D)</strong></div>
</td>
<td valign="top" width="355">
<div>Test components or part of a system by simulating the environment, provide an execution framework in middleware etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Test comparators</strong></div>
</td>
<td valign="top" width="355">
<div>Determine differences between files, databases or test results post-execution comparison, may use test oracle if it is automated etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Coverage measurement tools (D)</strong></div>
</td>
<td valign="top" width="355">
<div>Measure the percentage of specific types of code structure (ex: statements, branches or decisions, and module or function calls)</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Security tools</strong></div>
</td>
<td valign="top" width="355">
<div>Check for computer viruses and denial of service attacks, search for specific vulnerabilities of the system etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Dynamic analysis tools (D)</strong></div>
</td>
<td valign="top" width="355">
<div>Detect memory leaks, identify time dependencies and identify pointer arithmetic errors.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Performance/Load/Stress Testing tools</strong></div>
</td>
<td valign="top" width="355">
<div>Measure load or stress, Monitor and report on how a system behaves a variety of simulated usage conditions, simulate a load on an application/a database/or a system environment, repetitive execution of tests etc.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Monitoring tools</strong></div>
</td>
<td valign="top" width="355">
<div>Continuously analyze, verify and report on specific system resources; store information about the version and build of the software and testware, and enable traceability.</div>
</td>
</tr>
<tr>
<td valign="top" width="271">
<div><strong>Tool support using other tools</strong></div>
</td>
<td valign="top" width="355">
<div>Some tools use other tools (Ex: QTP uses excel sheet and SQL tools)</div>
</td>
</tr>
</tbody>
</table>
<div align="center"><strong>Potential benefits and risks of tool support for testing</strong></div>
<div><strong>Benefits:</strong></div>
<ul>
<li>Repetitive work is reduced</li>
<li>Greater consistency and repeatability</li>
<li>Objective assessment</li>
<li>Ease of access to information about tests or testing</li>
</ul>
<div><strong>Risks:</strong></div>
<ul>
<li>Unrealistic expectations for the tool</li>
<li>Underestimating the time and effort needed to achieve significant and continues benefits from the tool</li>
<li>Underestimating the effort required to maintain the test assets generated by the tool</li>
<li>Over-reliance on the tool</li>
</ul>
<div align="center"><strong>Special considerations for some types of tools</strong></div>
<div>Following tools have special considerations</div>
<div>ü       <strong>Test execution tools</strong></div>
<div>ü       <strong>Performance testing tools</strong></div>
<div>ü       <strong>Static testing tools</strong></div>
<div>ü       <strong>Test management tools</strong></div>
<div><strong>                            Introducing a tool into an organization                </strong></div>
<div><strong>The following factors are important in selecting a tool:</strong></div>
<ul>
<li>Assessment of the organization maturity</li>
<li>Identification of the areas within the organization where tool support will help to improve testing process</li>
<li>Evaluation of tools against clear requirements and objective criteria</li>
<li>Proof-of-concept to see whether the product works as desired and meets the requirements and objectives defined for it</li>
<li>Evaluation of the vendor (training, support and other commercial aspects) or open-source network of support</li>
<li>Identifying and planning internal implementation (including coaching and mentoring for those new to the use of the tool)</li>
</ul>
<div><strong>The objectives for a pilot project for a new tool</strong></div>
<ul>
<li>To learn more about the tool</li>
<li>To see how the tool would fit with existing processes or documentation</li>
<li>To decide on standard ways of using the tool that will work for all potential users</li>
<li>To evaluate the pilot project agonist its objectives</li>
</ul>
<div><strong>Successes factors for the deployment of the new tool within an organization </strong></div>
<ul>
<li>Rolling out the tool to the rest of the organization incrementally</li>
<li>Adapting and improving process to fit with the use of the tool</li>
<li>Providing training and coaching/mentoring for new users.</li>
<li>Defining usage guidelines</li>
<li>Implementing a way to learn lessons from tool use.</li>
<li>Monitoring tool use and benefits.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/tool-support-for-software-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Test Principles</title>
		<link>http://www.gcrit.com/software-test-principles/</link>
		<comments>http://www.gcrit.com/software-test-principles/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 10:05:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=677</guid>
		<description><![CDATA[Software Test Principles 1.Which of these is NOT part of the Cost of Quality? a) Failure costs b) Error Detection costs c) RTF costs d) Error prevention costs 2.The term &#8220;fit for use&#8221; refers to whose view of quality? a) Supplier&#8217;s b) Auditor&#8217;s c) Producer&#8217;s d) Customer&#8217;s 3.Which of these is a challenge/obstacle to implementing [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Software Test Principles</strong><br />
<strong>1.Which of these is NOT part of the Cost of Quality?</strong><br />
a) Failure costs<br />
b) Error Detection costs<br />
c) RTF costs<br />
d) Error prevention costs</p>
<p><strong>2.The term &#8220;fit for use&#8221; refers to whose view of quality?</strong><br />
a) Supplier&#8217;s<br />
b) Auditor&#8217;s<br />
c) Producer&#8217;s<br />
d) Customer&#8217;s</p>
<p><strong>3.Which of these is a challenge/obstacle to implementing testing in an organization?</strong><br />
a) People think testing is not essential for delivery; testing is often unstructured and subjective<br />
b) Testing is error prone; testing is too expensive<br />
c) Testing is often not managed properly; the mindset that you can test quality into software<br />
d) All of the above</p>
<p>4.&#8221;PDCA&#8221;, or &#8220;Plan, Do, Check, Act&#8221; is also known as<br />
a) The Shewhart cycle<br />
b) The Deming Wheel<br />
c) both<br />
d) neither</p>
<p>5.What are the three main categories defects can fall into?<br />
a) Wrong, Missing, and Extra<br />
b) Regression, Unit, and Integration<br />
c) FUBAR, really FUBAR, and uber-FUBAR<br />
d) display, processing, output</p>
<p>6.Which of these is NOT an important part of a Test Strategy?<br />
a) The procedure for logging defects<br />
b) how you will validate that the system meets user requirements<br />
c) how you will validate the software at each stage of development<br />
d) how you will use test data to examine the behavior of the system</p>
<p>7.Which of these are good ways to raise management&#8217;s awareness of the importance of testing?<br />
a) Make sure management knows what they get for the money they spend on testing<br />
b) relay other benefits of testing (shorter test times, higher quality software)<br />
c) Collect and distribute articles about testing<br />
d) all of the above</p>
<p>8.Continuous process improvement only works if you:<br />
a) Monitor performance of prior improvement initiatives<br />
b) base improvement efforts on the organization&#8217;s needs and business goals<br />
c) enforce the newly developed processes<br />
d) all are needed</p>
<p>9.Which is a more effective approach to risk mitigation?<br />
a) Test based on user requirements<br />
b) Test based on system specifications<br />
c) Test more heavily in areas deemed higher risk<br />
d) all of the above</p>
<p>10.Establishing a testing policy should include four main criteria. A definition of testing, the testing system, evaluation methods, and ________?<br />
a) Standards against which testing will be measured<br />
b) Data Requirements for a typical project<br />
c) Templates for deliverables generated by the test group<br />
d) All of the above</p>
<p>11.Which of these is the most effective method for establishing a testing policy?<br />
a) Information Services Consensus Policy<br />
b) Users Meeting<br />
c) Industry Standard<br />
d) Management Directive</p>
<p>12.During what phase of the project should you START thinking about Testing Scenarios?<br />
a) Requirements<br />
b) Maintenance<br />
c) Coding<br />
d) Design</p>
<p>13.What is the appropriate timing for Static, Structural tests?<br />
a) Analysis and design only<br />
b) testing phase<br />
c) as early as possible and in every phase thereafter<br />
d) not until the coding phase</p>
<p>14.Test coverage tools are useful starting in which phase?<br />
a) Any phase<br />
b) Analysis and Design<br />
c) Testing (functional testing)<br />
d) Coding (unit testing)</p>
<p>15.A Test Factor is:<br />
a) The risk or issue that needs to be addressed during testing<br />
b) a variable in a test script<br />
c) an error inserted by programmers to measure the effectiveness of testing<br />
d) part of the audit trail</p>
<p>16.means that the data entered, processed, and output by the application is accurate and complete.<br />
a) Completeness<br />
b) File integrity<br />
c) Correctness<br />
d) Audit trail</p>
<p>17.Validating that the right file is used and the data on that file is correct and in the correct sequence is known as:<br />
a) Structural analysis<br />
b) Data dictionary validation<br />
c) Black box testing<br />
d) File integrity testing</p>
<p>18._____________ can substantiate the processing that has occurred and allow analysts to reconstruct what happened at any point in a transaction.<br />
a) Continuity of Processing<br />
b) None of these<br />
c) Data Dictionaries<br />
d) Audit Trails</p>
<p>19.Failover testing at Chase is verification that ___________ is intact<br />
a) Continuity of processing<br />
b) audit trails<br />
c) maintainability<br />
d) both A and C</p>
<p>20.Processing time and &#8220;up time&#8221; goals are examples of<br />
a) Statistical process control<br />
b) metrics<br />
c) service levels<br />
d) workbenches</p>
<p>21.Access control testing is also known as<br />
a) Error handling<br />
b) Security testing<br />
c) Static testing<br />
d) Fault based testing</p>
<p>22.Audits to ensure that the system is designed in accordance with organization strategy, policies, procedures, and standards are designed to test which quality factor?<br />
a) Best practices<br />
b) correctness<br />
c) maintainability<br />
d) compliance</p>
<p>23.An application which performs its intended function with the required precision over an extended period of time has this quality factor:<br />
a) Validity<br />
b) ease of use<br />
c) service level<br />
d) reliability</p>
<p>24.If it is difficult to locate and fix errors in a program, that program is missing which quality factor?<br />
a) Coupling<br />
b) maintainability<br />
c) portability<br />
d) ease of operation</p>
<p>25.The quality factor &#8220;ease of use&#8221; is best measured by doing what type of testing?<br />
a) Performance test<br />
b) manual support test<br />
c) white box test<br />
d) acceptance test</p>
<p>26.Portability refers to<br />
a) How easy it is to transfer a program to other hardware or OS<br />
b) whether it&#8217;s possible to uninstall the program<br />
c) both of these<br />
d) neither of these</p>
<p>27.The effort required to interconnect components of an application to other applications for data transfer is:<br />
a) Coupling<br />
b) I/O<br />
c) flowchart analysis<br />
d) system testing</p>
<p>28.If defects are hard to find, that&#8217;s a sign that&#8230;<br />
a) Test coverage is inadequate<br />
b) there are errors in the test scripts<br />
c) neither of these<br />
d) either of these</p>
<p>29.    Which way(s) can lower the cost of testing without reducing it&#8217;s effectiveness?<br />
a) Phase containment<br />
b) the V concept of testing<br />
c) testing the artifacts of each development phase, not just the program itself<br />
d) all of the above</p>
<p>30.________ ensures that we designed and built the right system, while _________ ensures that the system works as designed.<br />
a) Validation, verification<br />
b) white box testing, black box testing<br />
c) verification, validation<br />
d) the project manager, the test team</p>
<p>31.Walkthroughs, peer reviews, and other structural tests tend to be __________ tasks<br />
a) Verification<br />
b) quality control<br />
c) quality assurance<br />
d) validation</p>
<p>32.Input, Procedures to DO, Procedures to CHECK, and Output are the four components of the:<br />
a) Workbench concept<br />
b) test phase<br />
c) reporting cycle<br />
d) Shewhart cycle</p>
<p>33.Which of these are considerations when developing testing methodologies?<br />
a) The type of development project, the type of software system<br />
b) tactical risks, project scope<br />
c) both of these<br />
d) neither of these</p>
<p>34.Deriving test cases based on known program structure and logic is&#8230;<br />
a) Control testing<br />
b) white box testing<br />
c) black box testing<br />
d) fault-driven testing</p>
<p>35.Functional testing that simulates the end user&#8217;s actions is known as&#8230;<br />
a) Access control testing<br />
b) performance testing<br />
c) black box testing<br />
d) structural testing</p>
<p>36.Breaking variables into chunks that should have the same expected results is:<br />
a) Workbench<br />
b) usability testing<br />
c) equivalence partitioning<br />
d) data mapping</p>
<p>37.Developing tests based on where you think the program&#8217;s weak points are is known as<br />
a) Error-handling testing<br />
b) risk based testing<br />
c) error guessing<br />
d) negative testing</p>
<p>38.Top-down and Bottom-up are two ways to approach<br />
a) Incremental testing<br />
b) thread testing<br />
c) boundary analysis<br />
d) none of these</p>
<p>39.An end-to-end, task based test that uses integrated components of a system is a&#8230;<br />
a) Performance test<br />
b) thread test<br />
c) unit test<br />
d) structural test</p>
<p>40.Which is a benefit of having a user committee develop the company&#8217;s test policy?<br />
a) All involved parties participate and sign off<br />
b) outside users learn the options and costs associated with testing<br />
c) testing and quality are seen as organization-wide responsibilities, not just IT<br />
d) all of these</p>
<p>41.Which of these types of reviews is NOT an effective phase containment mechanism?<br />
a) Post implementation review<br />
b) decision point review<br />
c) phase end review<br />
d) in process review</p>
<p>42.Which of these was not a Quality professional?<br />
a) Deming<br />
b) Townsend<br />
c) Juran<br />
d) Pareto</p>
<p>43.The successful implementation of a quality improvement program will have what long-term effect on productivity?<br />
a) There is no relationship between quality and productivity<br />
b) it will lower productivity<br />
c) it will raise productivity<br />
d) productivity will remain the same</p>
<p>44.Which of these are some of Deming&#8217;s 7 Deadly Management Diseases?<br />
a) Lack of constancy of purpose and emphasis on short-term profits<br />
b) evaluation of performance or annual review of performance<br />
c) running an organization on visible figures alone and excessive costs of warranty<br />
d) all of these</p>
<p>45.The scientific method is<br />
a) Relevant to developers<br />
b) a logical, systematic approach to processes<br />
c) useful when developing test cases<br />
d) all of these</p>
<p>46.Deming&#8217;s biggest contribution to the quality profession is:<br />
a) Zero Defects Day<br />
b) Using slogans and targets to motivate the work force<br />
c) focusing on process improvement, not the product itself<br />
d) all of these</p>
<p>47.Instituting pride in workmanship and eliminating numerical quotas were suggestions for management created by<br />
a) Pareto<br />
b) Shewhart<br />
c) Deming<br />
d) Juran</p>
<p>48.Which is an important source of data for Continuous Process Improvement?<br />
a) Defect databases<br />
b) Post-mortems<br />
c) Neither of these<br />
d) both of these</p>
<p>49.Who should NOT participate in testing?<br />
a) End users<br />
b) developers’<br />
c) management<br />
d) all should participate</p>
<p>50.According to Deming, 90% of defects are attributable to:<br />
a) Vague user requirements<br />
b) programmer error<br />
c) process problems<br />
d) communication errors</p>
<p>51.Which of these are NOT test factors<br />
a) Error guessing, incremental testing, boundary analysis<br />
b) compliance, reliability, access control<br />
c) correctness, audit trail, continuity of processing<br />
d) maintainability, portability, ease of operation</p>
<p>52.A test strategy matrix does not include:<br />
a) Test phases<br />
b) risks<br />
c) test factors<br />
d) script mapping</p>
<p>53.Of the four options listed below, which is able to detect an infeasible path?<br />
a) Performance testing<br />
b) black box testing<br />
c) structural testing<br />
d) manual support testing</p>
<p>54.Black box testing, thread testing, and incremental testing are all kinds of:<br />
a) Dynamic testing<br />
b) static analysis<br />
c) both of these<br />
d) neither of these</p>
<p>55.Which catches errors earlier, verification or validation?<br />
a) Verification<br />
b) Validation<br />
c) Neither<br />
d) Both</p>
<p>56.Mapping requirements to tests in order to prove that the system functions as designed is known as:<br />
a) Data mapping<br />
b) requirement validation<br />
c) requirements tracing<br />
d) metrics gathering</p>
<p>57.Who should not be allowed to participate in and contribute to the improvement of processes?<br />
a) Line workers<br />
b) nobody &#8211; all should be allowed<br />
c) the author of the original process<br />
d) management</p>
<p>58.Improving weaknesses in a process you just piloted is an example of which piece of the Shewhart cycle?<br />
a) Do<br />
b) Act<br />
c) Plan<br />
d) Check</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/software-test-principles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuration Management</title>
		<link>http://www.gcrit.com/configuration-management-2/</link>
		<comments>http://www.gcrit.com/configuration-management-2/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 10:00:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[Change Management]]></category>
		<category><![CDATA[configuration database]]></category>
		<category><![CDATA[Configuration item]]></category>
		<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Configuration Management Plan]]></category>
		<category><![CDATA[Release Management]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=672</guid>
		<description><![CDATA[Configuration Management Configuration management Configuration Management Planning Configuration Management starts during the early phases of the project All products of the software process may have to be managed Example: o    Specifications o    code o    Designs o    Programs o    Test data o    User manuals Thousands of separate documents may be generated for a large software system [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><span style="color: #0000ff;"><strong>Configuration Management</strong></span></h1>
<p dir="ltr">Configuration management</p>
<h3><span style="color: #0000ff;"><strong>Configuration Management Planning</strong></span></h3>
<p>Configuration Management starts during the early phases of the project All products of the software process may have to be managed</p>
<p>Example:<br />
o    Specifications<br />
o    code<br />
o    Designs<br />
o    Programs<br />
o    Test data<br />
o    User manuals</p>
<p>Thousands of separate documents may be generated for a large software system</p>
<p><strong>Configuration Management Plan</strong></p>
<p>o    Defines the types of documents to be managed and a document naming scheme<br />
o    Defines who takes responsibility for the CM procedures and creation of “baselines”<br />
o    Defines policies for change control and version management<br />
o    Defines the CM records which must be maintained<br />
o    Describes the tools which should be used to assist the CM process and any limitations on their use</p>
<p><strong>Configuration item identification</strong><br />
<strong> </strong><br />
o    Large projects typically produce thousands of documents which must be uniquely identified. Some of these documents must be maintained for the lifetime of the software<br />
o    Document naming scheme should be defined so that related documents have related names.<br />
o    A hierarchical scheme with multi-level names is probably the most flexible approach</p>
<p><strong>The configuration database</strong><br />
<strong> </strong><br />
All CM information should be maintained in a configuration database. This should allow queries about configurations to be answered<br />
o    Who has a particular system version?<br />
o    What platform is required for a particular version?<br />
o    What versions are affected by a change to component X?<br />
o    How many reported faults in version T?<br />
o    The CM database should preferably be linked to the software being managed</p>
<p><span style="color: #0000ff;"><strong>Change Management</strong></span></p>
<p>Software systems are subject to continual change requests<br />
o    From users<br />
o    From developers<br />
o    From market forces</p>
<p>Change management is concerned with keeping track of these changes and ensuring that they are implemented in the most cost-effective way</p>
<p><span style="color: #0000ff;"><strong>Version and Release Management</strong></span></p>
<p>o    Invent identification scheme for system versions<br />
o    Plan when new system version is to be produced<br />
o    Ensure that version management procedures and tools are properly applied<br />
o    Plan and distribute new system releases</p>
<p><strong>Versions/Variants/Releases</strong></p>
<p><strong>Version:</strong> An instance of a system which is functionally distinct in some way from other system instances</p>
<p><strong>Variant:</strong>  An instance of a system which is functionally identical but non-functionally distinct from other instances of a system</p>
<p><strong>Release: </strong> An instance of a system which is distributed to users outside of the development team</p>
<p><strong>Version identification</strong></p>
<p>o    Procedures for version identification should define an unambiguous way of identifying component versions<br />
o    Three basic techniques for component identification<br />
o    Version numbering<br />
o    Attribute-based identification<br />
o    Change-oriented identification</p>
<p><strong>Release management</strong></p>
<p>o    Releases incorporate changes forced on the system by errors discovered by users and by hardware changes<br />
o    They also incorporate new system functionality<br />
o    Release planning is concerned with when to issue a system version as a release</p>
<p><strong>System releases</strong></p>
<p>o    Not just a set of executable programs, may also include Compilers<br />
o    configuration files defining how the release is configured for a particular installation<br />
o    Data files needed for system operation<br />
o    An installation program or shell script to install the system on target hardware<br />
o    Electronic and paper documentation<br />
o    Packaging and associated publicity<br />
o    Systems are now normally released on CD-ROM or as downloadable installation files from the Web</p>
<p><strong>Release problems</strong></p>
<p>o    Customer may not want a new release of the system<br />
o    They may be happy with their current system as the new version may provide unwanted functionality<br />
o    Release management must not assume that all previous releases have been accepted<br />
o    All files required for a release should be re-created when a new release is installed</p>
<p><strong>Release creation</strong><br />
o    Release creation involves collecting all files and documentation required to create a system release<br />
o    Configuration descriptions have to be written for different hardware and installation scripts have to be written<br />
o    The specific release must be documented to record exactly what files were used to create it<br />
•    This allows it to be re-created if necessary</p>
<p><strong>System building</strong></p>
<p>o    The process of compiling and linking software components into an executable system<br />
o    Different systems are built from different<br />
combinations of components<br />
o    Invariably supported by automated tools that are driven by ‘build scripts’</p>
<p><strong>System building problems</strong></p>
<p>o    When there are many hundreds of components making up a system, it is easy to miss one out; this should normally be detected by the linker.<br />
o    A system built with the wrong version may work initially but fail after delivery<br />
o    Embedding absolute names in code almost always causes problems as naming conventions differ from place to place<br />
o    Different compiler versions may actually generate different code and the compiled component will exhibit different behaviour<br />
<strong><br />
Key points</strong></p>
<p>o    Configuration management is the management of system change to software products<br />
o    A formal document naming scheme should be established and documents should be managed in a database<br />
o    The configuration database should record information about changes and change requests<br />
o    A consistent scheme of version identification should be established using version numbers, attributes or change sets<br />
o    System releases include executable code, data, configuration files and documentation<br />
o    System building involves assembling components into a system</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/configuration-management-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Index</title>
		<link>http://www.gcrit.com/site-index/</link>
		<comments>http://www.gcrit.com/site-index/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 06:23:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[IEEE]]></category>
		<category><![CDATA[IEEE Test Case]]></category>
		<category><![CDATA[IEEE test documentation]]></category>
		<category><![CDATA[IEEE Test Plan]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[manual testing]]></category>
		<category><![CDATA[qtp]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[SQL Database]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[VB Script]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=480</guid>
		<description><![CDATA[QTP Demo Video Oracle Interview Questions QTP Script Java Interview Questions Java Guide XML Interview Questions HTML Interview Questions SQL Interview Questions Quality Center Certification Questions SQL QUERIES VIEWS SQL Functions SQL JOINS DATA INTEGRITY Database Tables SQL Introduction VB Script Variables VB Script Built-in functions VBScript Functions Excel Scripts File System Operations PERL Script [...]]]></description>
			<content:encoded><![CDATA[<h1><strong><span style="color: #0000ff;"><a href="http://www.gcrit.com/qtp-demo-video/">QTP Demo Video</a></span></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/oracle/"><span style="color: #0000ff;">Oracle Interview Questions</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/qtp-script/ ‎"><span style="color: #0000ff;">QTP Script</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/java-interview-questions-2/"><span style="color: #0000ff;">Java Interview Questions</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/java-guide/"><span style="color: #0000ff;">Java Guide</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/xml-interview-questions/"><span style="color: #0000ff;">XML Interview Questions</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/html-interview-questions/ ‎"><span style="color: #0000ff;">HTML Interview Questions</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/sql-interview-questions/"><span style="color: #0000ff;">SQL Interview Questions</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/quality-center…tion-questions/"><span style="color: #0000ff;">Quality Center Certification Questions</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><span style="color: #ff0066;"><strong><a href="http://www.gcrit.com/sql-queries-2/ ‎">SQL QUERIES</a></strong></span></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/views/"><span style="color: #0000ff;">VIEWS</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/sql-functions/"><span style="color: #0000ff;">SQL Functions</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><span style="color: #ff0000;"><strong><a href="http://www.gcrit.com/sql-joins/">SQL JOINS</a></strong></span></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/data-integrity/"><span style="color: #0000ff;">DATA INTEGRITY</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/database-tables/"><span style="color: #0000ff;">Database Tables</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/sql-introduction/"><span style="color: #0000ff;">SQL Introduction</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/vb-script-variables/"><span style="color: #0000ff;">VB Script Variables</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/vb-script-built-in-functions/"><span style="color: #0000ff;">VB Script Built-in functions</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/vbscript-functions/  "><span style="color: #0000ff;">VBScript Functions</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/excel-scripts/"><span style="color: #0000ff;">Excel Scripts</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/file-system-operations/"><span style="color: #0000ff;">File System Operations</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/perl-script/"><span style="color: #0000ff;">PERL Script</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/database-operations/"><span style="color: #0000ff;">Database Operations</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/test-incident-report/"><span style="color: #0000ff;">Test Incident Report</span></a></strong></h1>
<p><strong><span style="color: #0000ff;"><br />
</span></strong></p>
<h1><strong><a href="http://www.gcrit.com/test-case-template/"><span style="color: #0000ff;">Test Case Template</span></a></strong></h1>
<h1><strong><br />
</strong></h1>
<h1><a href="http://www.gcrit.com/istqb-sample-question-paper/"><strong><span style="color: #0000ff;">ISTQB Sample Question Paper</span></strong></a></h1>
<h1><strong><span style="color: #0000ff;"><br />
</span></strong></h1>
<h1></h1>
<h1><a href="http://www.gcrit.com/istqb-model-paper-1/"><strong><span style="color: #0000ff;">ISTQB Model Paper 1</span></strong></a></h1>
<h1><strong><span style="color: #0000ff;"><br />
</span></strong></h1>
<h1></h1>
<h1><a href="http://www.gcrit.com/ieee-test-plan/"><strong><span style="color: #0000ff;">IEEE TEST PLAN</span></strong></a></h1>
<h1></h1>
<h1><a href="http://www.gcrit.com/sql-queries/"><strong><span style="color: #0000ff;">SQL Queries</span></strong></a></h1>
<h1><a href="http://www.gcrit.com/performance-testing/"><strong><span style="color: #0000ff;">Performance Testing</span></strong></a></h1>
<h1><strong><span style="color: #0000ff;"><br />
</span></strong></h1>
<h1><a href="http://www.gcrit.com/configuration-management/"><strong><span style="color: #0000ff;">Configuration Management</span></strong></a></h1>
<h1><strong><span style="color: #0000ff;"><br />
</span></strong></h1>
<h1><a href="http://www.gcrit.com/test-management/"><strong><span style="color: #0000ff;">Test management</span></strong></a></h1>
<h1><strong><span style="color: #0000ff;"><br />
</span></strong></h1>
<h1></h1>
<h1><a href="http://www.gcrit.com/unit-testing/"><strong><span style="color: #0000ff;">Unit testing</span></strong></a></h1>
<h1><strong><span style="color: #0000ff;"><br />
</span></strong></h1>
<h1></h1>
<h1><a href="http://www.gcrit.com/database-tutorial/"><strong><span style="color: #0000ff;">Database Tutorial</span></strong></a></h1>
<h1><strong><span style="color: #0000ff;"><br />
</span></strong></h1>
<h1></h1>
<h1><a href="http://www.gcrit.com/automation-estimation/"><strong><span style="color: #0000ff;">Automation Estimation</span></strong></a></h1>
<h1><strong><span style="color: #0000ff;"><br />
</span></strong></h1>
<h1></h1>
<h1><a href="http://www.gcrit.com/loadrunner-faq/"><strong><span style="color: #0000ff;">LOADRUNNER FAQ</span></strong></a></h1>
<h1><a href="http://www.gcrads.com/"><strong><span style="color: #0000ff;">G C Reddy Ads Portal</span></strong></a></h1>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/site-index/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

