<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1481417253603578245</id><updated>2025-07-17T02:07:18.543-07:00</updated><title type='text'>QTP/UFT</title><subtitle type='html'>Automation Testing</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-6549776405776262666</id><published>2017-04-21T04:14:00.000-07:00</published><updated>2017-04-21T04:14:14.652-07:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.0pt; margin-bottom: 12.0pt; margin-left: 2.4pt; margin-right: 2.4pt; margin-top: 0in; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 12pt;&quot;&gt;XML is a
markup language designed to store data in a format that can be both readable by
human and machine. Using XML, data can also be easily exchanged between
computer and database systems.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.0pt; margin-bottom: 12.0pt; margin-left: 2.4pt; margin-right: 2.4pt; margin-top: 0in; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 12pt;&quot;&gt;Sample
XML and their key elements are represented below −&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTjyMAI59nSa6kmuQS0e1ekny2o-8zS0e5IFOPpvRjrXyli5mDhDFaUzrnLuMElSt6ewEFdHb1eZtG9PyXc61Vus3xwaMA-vco_QrhWQ1UnDMvvxqgBaknzFWp8WwMAFCYbI-fhHqnSYA/s1600/qtp_xml_1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTjyMAI59nSa6kmuQS0e1ekny2o-8zS0e5IFOPpvRjrXyli5mDhDFaUzrnLuMElSt6ewEFdHb1eZtG9PyXc61Vus3xwaMA-vco_QrhWQ1UnDMvvxqgBaknzFWp8WwMAFCYbI-fhHqnSYA/s640/qtp_xml_1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.0pt; margin-bottom: 12.0pt; margin-left: 2.4pt; margin-right: 2.4pt; margin-top: 0in; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.0pt; margin-bottom: 12.0pt; margin-left: 2.4pt; margin-right: 2.4pt; margin-top: 0in; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype
 id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot;
 path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_1&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot;
 alt=&quot;Working with XML&quot; style=&#39;width:450pt;height:180.75pt;visibility:visible;
 mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\ALOK~1.MAH\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg&quot;
  o:title=&quot;Working with XML&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , &amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 2.4pt; margin-left: 0in; margin-right: 2.4pt; margin-top: 2.4pt; mso-line-height-alt: 18.0pt; mso-outline-level: 2;&quot;&gt;
&lt;span style=&quot;color: #121214; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.5pt; letter-spacing: -0.75pt;&quot;&gt;Accessing XML&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #EEEEEE; border: solid #D6D6D6 1.0pt; mso-border-alt: solid #D6D6D6 .75pt; mso-element: para-border-div; padding: 4.0pt 4.0pt 4.0pt 4.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Const&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;XMLDataFile&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&quot;C:\TestData.xml&quot;&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Set&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; xmlDoc &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;CreateObject&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&quot;Microsoft.XMLDOM&quot;&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;xmlDoc&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Async&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #000088; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;False&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;xmlDoc&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Load&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;XMLDataFile&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&#39; Getting the number of Nodes (books)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Set nodes =
xmlDoc.SelectNodes(&quot;/bookstore/book&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Print &quot;Total books: &quot; &amp;amp;
nodes.Length&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Displays&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #006666; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&#39; get all titles&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Set nodes =
xmlDoc.SelectNodes(&quot;/Booklib/book/value/text()&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #000088; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;get&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; their values&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;For&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; i &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #006666; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;To&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;nodes&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Length&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #006666; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Title&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; nodes&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;NodeValue&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Print&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&quot;Title is&quot;&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;i &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #006666; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&quot;: &quot;&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Title&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Next&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 2.4pt; margin-left: 0in; margin-right: 2.4pt; margin-top: 2.4pt; mso-line-height-alt: 18.0pt; mso-outline-level: 2;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.0pt; margin-bottom: 12.0pt; margin-left: 2.4pt; margin-right: 2.4pt; margin-top: 0in; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 12pt;&quot;&gt;We can
compare two given XMLs −&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;background: #EEEEEE; border: solid #D6D6D6 1.0pt; mso-border-alt: solid #D6D6D6 .75pt; mso-element: para-border-div; padding: 4.0pt 4.0pt 4.0pt 4.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Dim&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; xmlDoc1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Dim&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; xmlDoc2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&#39; Load the XML Files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Set xmlDoc1 = XMLUtil.CreateXMLFromFile
(&quot;C:\File1.xml&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Set xmlDoc2 = XMLUtil.CreateXMLFromFile
(&quot;C:\File2.xml&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Use&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; the compare method of the XML to check &lt;/span&gt;&lt;span style=&quot;color: #000088; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; they are equivalent&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Comp&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; xmlDoc1&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #7f0055; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Compare&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;xmlDoc1&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt; xmlDoc2&lt;/span&gt;&lt;span style=&quot;color: #666600; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&#39;Returns 1 if the two files are the same&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;If Comp = 1 Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp; Msgbox
&quot;XML Files are the Same&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;Else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp; Msgbox
&quot;XML Files are Different&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: 12pt; margin-bottom: 7.5pt; padding: 0in;&quot;&gt;
&lt;span style=&quot;color: #008800; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;End if&lt;/span&gt;&lt;span style=&quot;color: #313131; font-family: &amp;quot;consolas&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/6549776405776262666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2017/04/xml-is-amarkup-language-designed-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/6549776405776262666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/6549776405776262666'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2017/04/xml-is-amarkup-language-designed-to.html' title=''/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTjyMAI59nSa6kmuQS0e1ekny2o-8zS0e5IFOPpvRjrXyli5mDhDFaUzrnLuMElSt6ewEFdHb1eZtG9PyXc61Vus3xwaMA-vco_QrhWQ1UnDMvvxqgBaknzFWp8WwMAFCYbI-fhHqnSYA/s72-c/qtp_xml_1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-8718985403169464413</id><published>2016-12-27T00:43:00.000-08:00</published><updated>2016-12-27T00:43:51.648-08:00</updated><title type='text'>Transaction point in QTP</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 16.0pt; mso-bidi-font-weight: bold;&quot;&gt;Transaction point:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 16.0pt; mso-bidi-font-weight: bold;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;It is a concept introduced in QTP which is used for calculating the time taken by an application to perform a specific task or the execution time of a block of statement.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;QTP has provided the following transaction options.&lt;/div&gt;&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;Start      transaction&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;End      transaction&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Syntax:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Services.start transaction ”transaction name”&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;“ statement 1”&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;“ statement 2&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Services.end transaction ”transaction name”&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/8718985403169464413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2016/12/transaction-point-in-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/8718985403169464413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/8718985403169464413'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2016/12/transaction-point-in-qtp.html' title='Transaction point in QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-6175518015773814229</id><published>2016-12-27T00:42:00.000-08:00</published><updated>2016-12-27T00:52:17.502-08:00</updated><title type='text'>QTP Framework:</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi Friends while I was exploring different blogs or different community or networking websites i found mainly many questions related to QTP framework.Here i am going to share a article with you that how we can establish a QTP framework and what are the main things need to take care while creating a framework.&lt;br /&gt;
&lt;br /&gt;
1. The automation process&lt;br /&gt;
The following sections describe in detail the process required to create automated scripts to regression test existing projects with maintenance releases.&lt;br /&gt;
&lt;br /&gt;
1.1. Automation Workflow&lt;br /&gt;
The diagram above depicts the process in which existing applications require automation for regression testing.&lt;br /&gt;
&lt;br /&gt;
1.1.1.  Pre-requisites for QTP Automation Process&lt;br /&gt;
The following are pre-requisites or dependencies for QTP automation:&lt;br /&gt;
• Knowledge and hands-on experience with the use of QTP;&lt;br /&gt;
• Quality Centre (QC) and QTP installed and configured;&lt;br /&gt;
• QC and QTP are integrated;&lt;br /&gt;
• QTP Add-Ins are installed (if required);&lt;br /&gt;
• QC user groups are defined and granted access to Quality Centre projects;&lt;br /&gt;
• The application or product is in a stable state;&lt;br /&gt;
• Creation of new automated scripts requires existing manual test cases to have been executed successfully.  This task is performed by the application tester or business representative and is performed prior to handover to QTP automation.&lt;br /&gt;
• The manual test cases must have been executed successfully and that there are no other changes in the application.  Existing automated scripts can be updated directly to reflect the changes as part of maintenance releases.&lt;br /&gt;
• All test cases must start and end at the same point. This is normally the First screen of the application. This allows for test cases to be batched together into a test suite.&lt;br /&gt;
• All environment, software or data table changes must be advised to the automated testing team. There will potentially be an impact on the running of automated test cases with the introduction of these changes.&lt;br /&gt;
• The test cases must not be data dependant.  All data required in the test case must be created in the test case. In the event that data cannot be created and the test case is data dependant, the data must be able to be restored, or manipulated back to the initial state after a test case updates the data. This then allows for any test case to be rerun at anytime&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Existing manual test cases exist in QC in the standard format (see the QC user guide) and a copy of the test case to be automated are placed in the regression folder alongside any existing automated scripts. &lt;br /&gt;
&lt;br /&gt;
2. QTP Functional Testing Methodology&lt;br /&gt;
Each Test case is built using a series of Quick Test Professional Functions. Each function executes Quick Test Professional code to input data onto a screen.&lt;br /&gt;
Each object in the Quick Test Professional Function resides in the Object Repository, thus allowing Quick Test Professional to identify all fields in the application.&lt;br /&gt;
• Each test case uses functions. Each function is either an applet on a screen or a whole screen depending on the amount of fields.&lt;br /&gt;
• Each function is named AUT_Screen Name e.g. MRS_Close_Application&lt;br /&gt;
• Every field/object on the screen or applet must be learnt into the object repository and renamed where required to a more meaningful screen name.&lt;br /&gt;
• Each function library must reside as .vbs file&lt;br /&gt;
• All functions are accessible via the step generator.&lt;br /&gt;
&lt;br /&gt;
Function is placed into testcase via the step generator. The rc value is passed back to Quality Centre via the Reporter. ReportEvent rc command. Quality Centre accepts 0 for a pass, 1 for a fail and 2 as done. Always try to pass 1 or 0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The testcase function call invokes the function as displayed above. This is the actual vbscipt that drives QTP. Each function uses a function template. Define in the function, the variables to uniquely identify the screen and any fields on the screen.&lt;br /&gt;
&lt;br /&gt;
The function displayed above selects links via a parameter link_name. The links have been learnt into the object repository. Notice the browser, page and frame name are the same as what has been learnt into the object repository.&lt;br /&gt;
2.1. Initial Condition&lt;br /&gt;
Automated test scripts must begin from the same starting point. It is best practise to end all open browsers and start the Application under Test from the beginning. This ensures that all scripts can run back to back in an unattended batch mode.&lt;br /&gt;
&lt;br /&gt;
2.2. Start Up Script&lt;br /&gt;
The start up script will copy all functions from the LAN and load them on the C Drive of the PC executing the test case. It will also build the infrastructure libraries if they don’t exist.&lt;br /&gt;
2.3. Test case Failure / Exception condition handling&lt;br /&gt;
&lt;br /&gt;
All Quick Test Professional functions must use an exception handling framework. This allows any Quick Test Professional function to fail, report the failure and backout of the application. &lt;br /&gt;
The exception handling framework is built by:&lt;br /&gt;
An Environment Variable set in the Quick Test Professional startup_script set as ENVIRONMENT(EXCEPTION_COND)=”N”.&lt;br /&gt;
&lt;br /&gt;
The MRS_Logon function sets the ENVIRONMENT(EXCEPTION_COND) to a value of “N”.&lt;br /&gt;
If any function has a failure by not finding the screen is should be on, or any known exception condition is triggered, the EXCEPTION_COND value is set to “Y”. The application is shutdown and all functions in that testcase flush. The next use of a MRS_Logon function will reset the EXCEPTION_COND to “N”. &lt;br /&gt;
&lt;br /&gt;
The following diagram demonstrates the exception handling process:&lt;br /&gt;
&lt;br /&gt;
3. Create Infrastructure&lt;br /&gt;
Infrastructure libraries are created to store QTP functions, utilities, documentation and object repository files&lt;br /&gt;
The Infrastructure libraries are created for each release of the software. Under each release folder (eg REL23) the folders below must exist, otherwise QTP will fail in the startup script.&lt;br /&gt;
Examples of the libraries for releases are as follows:&lt;br /&gt;
\\HCOPROD4\QSA\Group\QTP_MRS\REL23\Documentation&lt;br /&gt;
\\HCOPROD4\QSA\Group\QTP_MRS\REL23\Functions&lt;br /&gt;
\\HCOPROD4\QSA\Group\QTP_MRS\REL23\Repository&lt;br /&gt;
\\HCOPROD4\QSA\Group\QTP_MRS\REL23\Testcase&lt;br /&gt;
\\HCOPROD4\QSA\Group\QTP_MRS\REL23\Txtfiles&lt;br /&gt;
\\HCOPROD4\QSA\Group\QTP_MRS\REL23\Utilities&lt;br /&gt;
&lt;br /&gt;
The following diagram displays the directory structure for the Rel23 libraries. They are as follows&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
3.1. Library Definitions for each Release&lt;br /&gt;
The application under test must have a QTP release specific directory, i.e. REL11, REL 12 and Sandpit&lt;br /&gt;
Each of the release directories hold release specific infrastructure code or release specific infrastructure objects that QTP requires in order to run the application under test. Therefore the REL11 functions folder will hold all functions that execute on the Rel11 application code and the REL12 functions folder will hold any new application screen functions and modified Rel11 functions.&lt;br /&gt;
&lt;br /&gt;
3.2. Sandpit Libraries&lt;br /&gt;
Sandpit libraries are for use on the test automator’s pc to develop or modify QTP code. By saving in these libraries, data is not overwritten with the baseline code after a restart of QTP. &lt;br /&gt;
The sandpit libraries remain empty on the \\HCOPROD4\QSA drive. The sandpit library on the C drive is where changes can be made or new functions can be created. Once tested, they can be appended to the end of the Function or Utility VBS files on the \\HCOPROD4\QSA drive under the appropriate Release Folder. &lt;br /&gt;
The function and utility Sandpit libraries must contain a template function. If not, these libraries cannot be executed via an executefile command.  &lt;br /&gt;
&lt;br /&gt;
3.3. Documentation&lt;br /&gt;
The Documentation directory holds Word or Excel documents which reference the application.&lt;br /&gt;
&lt;br /&gt;
4. Functions Library&lt;br /&gt;
The Functions Library contains QTP functions. These are based on one function per screen. This library is a sequential file of all the QTP functions for that application release. As more than one software release can be tested at any one time, the QTP function library can be concatenated in QTP with as many prior function libraries as required. The following shows a library concatenation of rel13, rel12 and rel11&lt;br /&gt;
Sandpit&lt;br /&gt;
FunctionABC&lt;br /&gt;
FunctionDEF&lt;br /&gt;
REL12&lt;br /&gt;
Function  XYZ&lt;br /&gt;
REL11&lt;br /&gt;
Function 123&lt;br /&gt;
Function 346&lt;br /&gt;
FunctionABC &lt;br /&gt;
&lt;br /&gt;
The above shows that Sandpit function FunctionABC would be a modified version of REL11 Function ABC and a new function functionDEF as the sandpit library would override the rel11 function library.  &lt;br /&gt;
As each application release gets tested, only the new functions and functions that require modification are held in the Sandpit function library. All Functions that are not changed are still accessed via the concatenation of new and old release function libraries in the QTP Startup &lt;br /&gt;
The QTP startup script will copy all available Release folders to the C:Drive or D:Drive of each test machine.&lt;br /&gt;
At the end of each VBS file, an ENVIRONMENT library variable will be used to load other libraries if required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.1. Function Creation&lt;br /&gt;
When creating a new function, the following steps must be followed:&lt;br /&gt;
1. Learn Object Repository entries into the \\HCOPROD4\QSA drive Object Repository.&lt;br /&gt;
2. Rename Object Repository entries to meaningful names.&lt;br /&gt;
3. Create function by copying the template function into your sandpit/function library&lt;br /&gt;
4. Add the field names of the screen to the parameter list of the function.&lt;br /&gt;
5. Add the new Object Repository entry names into the function, as AP_webedit, AP_weblist, etc. This will allow the function to communicate to the object repository and play data into each field&lt;br /&gt;
6. Save the function and test change&lt;br /&gt;
7. Once satisfied that new function is ok, append it to the \\hcoprod4\qsa drive function library.&lt;br /&gt;
&lt;br /&gt;
4.2. Object Repository&lt;br /&gt;
The Object Repository library holds all the application objects for the application under test. This library is not concatenated as only one Object Repository, with the same entries in it, can be opened at any time. &lt;br /&gt;
When creating a new release of the Object Repository, a “save as” must be done on the old Object Repository to the new release library. Any subsequent changes can then be done in the new Object Repository library. &lt;br /&gt;
When a QTP script is executed, a copy of the Object Repository is taken and saved to C:\Application\Release\Repository. This is done to ensure no corruption occurs on the master that is held on the \\HCOPROD4\QSA drive. &lt;br /&gt;
If changes are required, they must be done directly to the \\HCOPROD4\QSA drive copy of the object repository. This is because when merging two object repositories, QTP sees like defined objects as the same.&lt;br /&gt;
By learning new objects into the \\HCOPROD4\QSA drive Object Repository a rename on objects can be done and the Object Repository can be resaved onto the \\HCOPROD4\QSA drive. Ensure that a backup of the object repository is done first. If the Object Repository gets corrupted, then QTP will not run.  &lt;br /&gt;
E.g. MRS uses \\HCOPROD4\QSA\Group\QTP_MRS\REL23\Repository\MRS.tsr .The Object Repository is copied from the \\HCOPROD4\QSA:\Group\QTP_MRS\REL23\Repository\MRS.tsr folder when the test case starts to C:\Group\QTP_MRS\REL23\Repository\MRS.tsr.&lt;br /&gt;
&lt;br /&gt;
4.2.1. Object Repository Naming Standards&lt;br /&gt;
Any object placed into the Object Repository should be named according to the field name on a screen. As web GUI entries will be captured as the html programming name, rename this to an understandable name such as CustomerName or CustomerPhoneNumber. This will then mean the GUI entry is shown in functions and test scripts as something understandable. A GUI entry in the format F032fwfn is not acceptable.&lt;br /&gt;
Any GUI entries that are non web based must also have an understandable name. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.3. Testcase Folder&lt;br /&gt;
This library holds reusable actions that we can use for data loading. i.e. creating a piece of data that we can reuse in the test script later. Any data that is created must be saved as an Environment variable. &lt;br /&gt;
This library also contains the startup script and template script. &lt;br /&gt;
4.4. Txtfiles Folder&lt;br /&gt;
This library holds files that are created at run time. This can also be used for transient data that is used between test scripts. This practice is not recommended as test cases should be data independant.&lt;br /&gt;
4.5. Utilities Folder&lt;br /&gt;
This library holds non specific functions that can be used in any test script. Functions may include reading and writing from files, button press, edit sets, list selects etc.&lt;br /&gt;
&lt;br /&gt;
5. Build Automated Scripts&lt;br /&gt;
5.1. Manual Test Cases&lt;br /&gt;
Each Test Case must be written into Quality Centre. From Quality Centre, login to your project and select the test case. The Details tab of Quality Centre describes the tests Purpose, Test Conditions, Pre requisites, Dependencies, Environments and post-test Cleanups. &lt;br /&gt;
View your ‘manual’ steps by clicking on the tab, Design Steps.   Ensure that manual Test Cases have been written and executed without error and are therefore verified as correct before automating.&lt;br /&gt;
&lt;br /&gt;
Before any test case is automated it must pass the following criteria:&lt;br /&gt;
&lt;br /&gt;
• Each script has been written so that each application screen in the test case flow is a new test step and each verification point is a new step.&lt;br /&gt;
• Test cases are stand alone, non data dependant, logon to the application under test at the start and logoff or shutdown the application at the end of each test case.&lt;br /&gt;
• All data requirements are defined in the details tab of Quality Centre.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.2. Generate QTP Script&lt;br /&gt;
You can now convert this manual Test Case in to a Quick Test Professional script.  To do this, click on the Generate Script button and select the QUICKTEST_TEST option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Quality Centre has now generated Quick Test Professional code and has attached it to this manual Test Case.  This can be viewed by clicking on the tab Test Script.  This generated code is nothing more than a series of comments and reporter events.  The Quality Centre manual Test Case has been copied in to Quick Test Professional and each step has been placed in as comments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.3. Generated QTP Script&lt;br /&gt;
After generating a Quick Test Professional script from Quality Centre all the Step details are placed into comments in the Quick Test Professional script  &lt;br /&gt;
&lt;br /&gt;
5.4. Test Settings and Options&lt;br /&gt;
Each new script requires test settings, record and run settings, associate repositories and options to be set.&lt;br /&gt;
5.4.1. Test Settings&lt;br /&gt;
Click on File and select Settings. Click on Run tab. Ensure that ‘Run on all rows’ is selected. At field: When error occurs during run session: select ‘proceed to next step’.&lt;br /&gt;
Ensure that the two tick boxes are also ticked.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on Resources tab. Click on ‘+’ to add resource library and utilities. Ensure that functions are associated to local C:\ or D:\ and that sandpit libraries are listed first.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.4.2. Record and Run Settings&lt;br /&gt;
Select Automation, then Record and Run Settings.&lt;br /&gt;
When using a Windows based application, set as per example below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.4.3. Associate Repositories&lt;br /&gt;
In QTP, click on Resources and then select Associate Repositories. Click on ‘+’ to create repository association. Click on ‘&amp;gt;’ to associate ‘Action1’.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.4.4. Options&lt;br /&gt;
Click on Tools, select Options. Click on Run tab. Ensure Run Mode is set to ‘Normal’. As displayed in diagram above, ensure the following are ticked:&lt;br /&gt;
- View results when run session ends&lt;br /&gt;
- Allow other Mercury products to run tests and components&lt;br /&gt;
- Save still image captures to results. Select ‘For errors’ from drop list&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.5. Step Generator&lt;br /&gt;
All Quick Test Professional functions are written and stored in Libraries and are added to the Step Generator (F7) in Quick Test Professional.  &lt;br /&gt;
To access these functions, click on Insert, then Select Step Generator or press F7 from within QTP.&lt;br /&gt;
The functions have been sorted alphabetically to make it easier to find the function that matches your Application screen.  Once you have found the function that will perform the functionality matching the Application screen, you can fill in the value column with appropriate arguments that will be set to the function. &lt;br /&gt;
Every parameter must have an argument value specified. The return value box needs to be ticked each time a new function call is set. Insert another step to be ticked as required.&lt;br /&gt;
When creating a function you must enter data into every field of the function to verify it can run the function correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The return value (rc = return code) stores whether the function has passed or failed. The rc is then passed to the report and decides whether the particular step has passed or failed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.6. Editing QTP Scripts&lt;br /&gt;
Now edit and build the Automated Test Script via Quick Test Professional.  To make the script workable, we begin adding in to the Test Script the functions or Test conditions that will perform the automated tests, thus building up a test scenario.  The idea here is to match the manual Test Case steps to the appropriate Quick Test Professional Function.&lt;br /&gt;
&lt;br /&gt;
Each test case should have one or more Quick Test Professional functions per step. This function will relate to each screen of the tested application, as per the Automated Functional Testing Methodology.&lt;br /&gt;
&lt;br /&gt;
The Automated Functional Testing Methodology gives the advantage of modular programming; it enables an easy and fast way to create reusable test cases. Other advantages of this methodology are, ease of maintenance of scripts and ability to run scripts in any environment due to no data dependencies.   &lt;br /&gt;
&lt;br /&gt;
Ensure that you add the following text at the top of the Quick Test Professional script to identify who has written the script and when:&lt;br /&gt;
&lt;br /&gt;
E.g. “# Revision History:  KH  Initial Version   10/03/08 MRS version 2.2.3”&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You are now ready to edit/create the Automated Test Script.  To do this, start up Quick Test Professional and access the test script that was created in Quality Centre via the Open command.  There are two areas where Test Scripts can reside.  They can reside within Quality Centre or in the File System (PC or Network folders).  &lt;br /&gt;
&lt;br /&gt;
If we have created the Test Script via Quality Centre then the script will reside with in Quality Centre.  Just follow the same path you used when accessing the Manual Test Script, to find the Automated Test Script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.7. QTP Add-Ins&lt;br /&gt;
When Quick Test Professional scripts are created from Quality Centre, Quality Centre sets the script default addin setting to blank.  &lt;br /&gt;
&lt;br /&gt;
Once you have started up the Quick Test Professional script you have to add all the Add-ins for the application under test.  To do this, go to File / Test Properties… and click on the Add-ins tab.  From here you can select all the add-ins that will be needed by clicking on appropriate items then pressing Enter. &lt;br /&gt;
If this is not done, Quick Test Professional will be forced to shutdown and the script will not run at all, due to Webtest commands being executed in the functions while the WebTest addins have not been started when Quick Test Professional is invoked. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, any add-ins can be selected during opening QTP application.&lt;br /&gt;
&lt;br /&gt;
5.8. QTP Template Script&lt;br /&gt;
Each test case will use a template script at the start. This script will copy all functions from the LAN and load them on the C Drive of the PC executing the test case. It will also build the infrastructure libraries if they don’t exist. &lt;br /&gt;
It will then execute a function.vbs file so at run time these functions will override the function library associated at build time. &lt;br /&gt;
The template script will be administered by QSA. &lt;br /&gt;
The location of the template is:&lt;br /&gt;
\\hcoprod4\Group\ QTP_MRS\REL23\Testcase\ActionTemplate.mst&lt;br /&gt;
The PC that will be running the automated scripts will reference the abovementioned Action template. A copy of this template is placed in C:\Program Files\Mercury Interactive\QuickTest Professional\dat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.9. Completed Testcase&lt;br /&gt;
Each test case should have one or more QTP functions per step. The function should pass a return code back to the test case, therefore allowing QTP to pass Quality Centre the step status.&lt;br /&gt;
At the start of each test case, pre required data can be added. Most pre required data for MRS can be created using a test case that uses variables, e.g. first name and surname. A global variable is created which can be addressed anywhere else in the test case.&lt;br /&gt;
Any pre required data scripts exist in QTP_MRS/Rel23/Testcases. These testcases are reusable actions. The line RunAction denotes a called action.&lt;br /&gt;
The tester should ensure they have a good understanding of what is available. If new data scripts are required, it is best to model them off existing scripts.&lt;br /&gt;
A test case will appear as per the following example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. QTP – Connection to Quality Centre&lt;br /&gt;
6.1. Connection&lt;br /&gt;
Server Connection&lt;br /&gt;
From Quick Test Professional, select Tools; Quality Centre Connection and on the Quality Centre Connection page enter the following:&lt;br /&gt;
Server url: http://postapps/qcbin    Click on button Connect&lt;br /&gt;
E.g. Project Connection&lt;br /&gt;
Domain: PROJECTQC&lt;br /&gt;
Project: MRS&lt;br /&gt;
User Name: QC_MRS&lt;br /&gt;
Password: &lt;password&gt;     Click on button Connect&lt;br /&gt;
Other&lt;br /&gt;
Reconnect at startup: check this box.&lt;br /&gt;
Save password for reconnection on startup: check this box.&lt;br /&gt;
 &lt;br /&gt;&lt;br /&gt;
7. Maintenance Approach&lt;br /&gt;
To ensure that release changes of software can be accommodated by QTP, some tasks must be completed before running any tests.&lt;br /&gt;
7.1. Regression Test Changes&lt;br /&gt;
When a new release of software causes old functions to perform incorrectly, changes need to be done to these functions and object repositories to allow for testing to continue. These changes may be due to a new screen, a screen change or an object being seen differently in QTP, e.g. a change in a button name.&lt;br /&gt;
7.2. New Infrastructure&lt;br /&gt;
When building a new release of QTP Infrastructure, the first thing to do is build the infrastructure libraries as documented previously. This will give you the ability to make release dependant changes to old functions, scripts and Object Repositories in the new libraries.&lt;br /&gt;
Copy the QC folder within the project to a new version. This will allow for test cases changes in the new version of the QC folder and also keep the old QC folder as is. This will allow for easier reporting of the testing effort in the new release.&lt;br /&gt;
7.2.1. Building a new QTP Environment&lt;br /&gt;
As each new release of software is placed into an application testing environment, the QTP environment will need to be updated to allow for new functions, and the ability to run regression tests against the old software. The following tasks need to be performed to build the environment:&lt;br /&gt;
• The release specific infrastructure libraries must be created for the new release, as documented earlier in Section 4.&lt;br /&gt;
• The Object Repository for the current release must be “saved as” into the new release Repository folder&lt;br /&gt;
• The Function Library requires just a comment in it, so it does not appear as an empty file. &lt;br /&gt;
• The C:\TEMP\QTP_Start_Up.vbs file must be modified with the correct version of the application you wish to test with. Depending on the Release or Project, this is to be updated accordingly.&lt;br /&gt;
Once this is completed, restart QTP and ensure you are able to run a script through to completion. Any function changes can then be done by copying the function from the previous release’s function library and placing it into the new function library. From this new function library, you are then able to make the appropriate changes.&lt;br /&gt;
The following steps outline the build for new environment:&lt;br /&gt;
1. Open Windows explorer. &lt;br /&gt;
2. On network \\hcoprod4\qsa, open QTP_MRS folder&lt;br /&gt;
3. Create new folder e.g. REL31 and then create folders as per previous release:&lt;br /&gt;
- Documentation (to be empty)&lt;br /&gt;
- Functions (to contain blank function.vbs file)&lt;br /&gt;
- Repository (to contain empty repository file)&lt;br /&gt;
- Testcase (Copy Startup and QTP Startup from previous release)&lt;br /&gt;
- Txtfiles (to be empty)&lt;br /&gt;
- Utilities (to contain blank utilities.vbs)&lt;br /&gt;
4. Highlight the Testcase folder. &lt;br /&gt;
- Open up QTP Startup.vbs. Update release number in path&lt;br /&gt;
- Open up Startup.vbs. Update Dim Release +1 (2) and Add Release (2)&lt;br /&gt;
- Add Revision comments. Updates to be made in new function.vbs.&lt;br /&gt;
&lt;/password&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/6175518015773814229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2016/12/qtp-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/6175518015773814229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/6175518015773814229'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2016/12/qtp-framework.html' title='QTP Framework:'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-6052912950240230635</id><published>2011-10-10T23:42:00.001-07:00</published><updated>2011-10-10T23:42:48.648-07:00</updated><title type='text'>Dictionary Object</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 16px;&quot;&gt;Scripts often retrieve information from an outside source, such as a text file or a&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 16px;&quot;&gt;Database. After this information has been retrieved, it needs to be stored in&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; line-height: 18px;&quot;&gt;Memory so that the script can act upon it. Information such as this can be stored Dictionary object.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;The Dictionary object functions stores values in key-item pairs. The Dictionary object is similar to a Collection object .Like an array or a Collection object, Dictionary object holds elements, called items or members, containing data. A Dictionary object can contain any data whatsoever, including objects and other Dictionary objects. Access the value of these dictionary items by using unique keys (or named values) that are stored along with the data. Dictionary is a COM object.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 18.0pt; line-height: 115%;&quot;&gt;Creating Dictionary&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%;&quot;&gt;Set oDictionary = CreateObject(&quot;Scripting.Dictionary&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 18.0pt; line-height: 115%;&quot;&gt;Adding Key-Item Pairs to a Dictionary&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;Set oDictionary = CreateObject(&quot;Scripting.Dictionary&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%;&quot;&gt;oDictionary.Add &quot;Fax&quot;, &quot;Faxing&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%;&quot;&gt;Here the Key is Fax and Key Value is Faxing&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/6052912950240230635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/10/dictionary-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/6052912950240230635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/6052912950240230635'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/10/dictionary-object.html' title='Dictionary Object'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-1396620450658836113</id><published>2011-10-10T23:20:00.000-07:00</published><updated>2011-11-10T22:07:17.491-08:00</updated><title type='text'>Descriptive Programming:QTP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 16px; line-height: 18px;&quot;&gt;As I described earlier that how QTP identifies test objects during execution.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 16px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 16px; line-height: 18px;&quot;&gt;The answer is simple that during run time it recognize the test object by referring to its object repository ,where we already have stored test object earlier(before creating any test we must make QTP to learn all the test required test object and store it in object repository).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 16px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;Now the Question is the application is not ready then there is no test object available, then how QTP will learn the test objects and what will we store in the object repository??&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;Now answer may be the one of the following or all &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1)&lt;span style=&quot;font-size-adjust: none; font-stretch: normal; font: 7pt/normal &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;It is impossible to automate any application which is not ready.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2)&lt;span style=&quot;font-size-adjust: none; font-stretch: normal; font: 7pt/normal &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;QTP cannot work without Object repository.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3)&lt;span style=&quot;font-size-adjust: none; font-stretch: normal; font: 7pt/normal &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;What QTP will learn and where will it store.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;But all of the above answers are totally wrong &lt;/span&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; line-height: 115%; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-symbol-font-family: Wingdings;&quot;&gt;J&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Wingdings; font-size: 12pt; line-height: 115%; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;There is concept/technique which is known as &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 14pt; line-height: 115%;&quot;&gt;Descriptive Programming &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;is the solution for those.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;If we are using object repository then during the run session, QTP finds the object in the object repository based on its name and parent objects, and uses the stored test object description for that test object to identify the object in the application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pregtext&quot;&gt;We can also instruct QTP to perform operations on objects without referring to the object repository or to the object&#39;s name. To do this, we provide QTP with a list of properties and values that QTP can use to identify the object or objects on which we want to perform an operation. This technique is known as &lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Descriptive Programming &lt;/span&gt;&lt;/b&gt;(inserting programming descriptions).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-ansi-language: EN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;There are two types of programmatic descriptions: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; mso-add-space: auto; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/&quot; name=&quot;wp511344&quot;&gt;&lt;/a&gt;&amp;lt;!&lt;b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-ansi-language: EN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Static. &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-ansi-language: EN; mso-bidi-font-weight: bold; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;L&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-ansi-language: EN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ist the set of properties and values that describe the object directly in a VBScript statement&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; mso-add-space: auto; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Synatx: &amp;nbsp;Testobj(“Propname1:=PropVal1” , “Propname2:=PropVal2”)&lt;/div&gt;&lt;div class=&quot;pregtextafter&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TestObject. The test object class. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pregtext&quot;&gt;&lt;a href=&quot;http://www.blogger.com/&quot; name=&quot;wp356706&quot;&gt;&lt;/a&gt;&lt;span lang=&quot;EN&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;PropertyName:=PropertyValue. The identification property and its value. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pregtext&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;Each &amp;nbsp;&amp;nbsp;property:=value pair should be separated by commas and quotation marks&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pexample&quot; style=&quot;margin-left: 0.25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;pexample&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;Example :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pnotemiddle&quot;&gt;&lt;span class=&quot;cexample&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Browser(&quot;Title:=Mercury Tours&quot;).Page(&quot;Title:=Mercury Tours&quot;).WebEdit(&quot;Name:=Author&quot;, &amp;nbsp;&amp;nbsp;&quot;Index:=3&quot;).Set &quot;Alok&quot;&lt;/div&gt;&lt;div class=&quot;pnotemiddle&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-ansi-language: EN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;2) Dynamic. &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-ansi-language: EN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;Add a collection of properties and values to a Description object, and then enter the Description object name in the statement.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/&quot; name=&quot;wp511350&quot;&gt;&lt;/a&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; mso-ansi-language: EN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The &lt;b&gt;Dynamic&lt;/b&gt; type provides more power, efficiency, and flexibility. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pregtext&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;We can use the &lt;b&gt;Description&lt;/b&gt; object to return a &lt;b&gt;Properties&lt;/b&gt; collection object containing a set of &lt;b&gt;Property&lt;/b&gt; objects. A &lt;b&gt;Property&lt;/b&gt; object consists of a property name and value. We can then specify the returned &lt;b&gt;Properties&lt;/b&gt; collection in place of an object name in a statement. (Each property object contains a property name and value pair.) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pregtext&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;To create the Properties collection, you enter a Description. Create statement using the following syntax: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pexample&quot;&gt;&lt;a href=&quot;http://www.blogger.com/&quot; name=&quot;wp356799&quot;&gt;&lt;/a&gt;&lt;span lang=&quot;EN&quot;&gt;Set MyDescription = Description.Create() &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pexample&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;Example:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pexample&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;Set Objbtn = Description.Create()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pexample&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;Objbtn(“value”).Value =&lt;/span&gt;&lt;span lang=&quot;EN&quot;&gt; &amp;nbsp;&lt;/span&gt;“&lt;span lang=&quot;EN&quot;&gt;Google Search”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pexample&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;Objbtn(“type”).Value = “submit”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pexample&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;Browser(“Google”).Page(“Google”).WebButton(Objbtn).Click&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pexample&quot;&gt;&lt;span lang=&quot;EN&quot;&gt;Note: For getting the object properties and their values respectively please refer the Object Spy section described in earlier posts &lt;/span&gt;&lt;a href=&quot;http://expertqtp.blogspot.com/2011/05/object-spy-in-qtp.html&quot;&gt;http://expertqtp.blogspot.com/2011/05/object-spy-in-qtp.html&lt;/a&gt;&lt;span lang=&quot;EN&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;pregtext&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;pregtext&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/1396620450658836113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/10/descriptive-programmingqtp.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/1396620450658836113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/1396620450658836113'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/10/descriptive-programmingqtp.html' title='Descriptive Programming:QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-5618738611591910183</id><published>2011-10-05T02:18:00.000-07:00</published><updated>2011-10-05T02:18:57.122-07:00</updated><title type='text'>QTP: Recovery scenarios in QTP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; line-height: 115%;&quot;&gt;Recovery Scenarios&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;Unexpected events during a test run disrupt a test or may give invalid test results. For example, during a test run, an application error may occur. This error does not permit the automated test to navigate to the feature, screen, or module that needs to be tested. These unexpected errors and events are called exceptions.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;Default&quot; style=&quot;margin: 3pt 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;;&quot;&gt;Recovery scenarios are used when you cannot predict at what step the error can occur .&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;When QTP encounters an exception during a run session, it displays a run error window.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;A recovery Scenario consists of the following components:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;Trigger:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt; Specifies the exception that may occur during a run session. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;The following are the 4 trigger event that QTP provides.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;1.Pop up window&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;2.Object state&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;3. Test run error&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;4.Application crash&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;Recovery:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt; Instructs QTP how to handle the exception&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;Post-Recovery:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt; Instruct QTP how to proceed after the recovery operations are performed.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;The following are the 6 Post-Recovery steps that QTP provides&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;1) Repeat current step and continue&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;2) Proceed to next step&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;3) Process to next action or component iteration&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;4) Proceed to next test iteration.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;5) Restart current test run.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;6) Stop the test run.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/5618738611591910183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/10/qtp-recovery-scenarios-in-qtp.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/5618738611591910183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/5618738611591910183'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/10/qtp-recovery-scenarios-in-qtp.html' title='QTP: Recovery scenarios in QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-3544778783037138177</id><published>2011-10-04T09:20:00.000-07:00</published><updated>2011-10-04T09:20:06.159-07:00</updated><title type='text'>QTP Interview Questions:QTP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Hi Friends the few are some questions which are related to QTP interview ,which may be useful.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt;&quot;&gt;QTP Interview Questions -1&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;1) What are the advantages in Test Automation?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;a)&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Fast: Test Tool runs tests significantly faster than human users.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;b) Reliable: Automation tool can perform the same operation each time, if we repeated multiple times, so that we can eliminate human errors.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;c)&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Repeatable: We can check how application or website reacts after repeated the same operation with multiple times.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;d) Reusable: Automation scripts are reusable on different version of the application of websites even if the user interfaces changes.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;e)&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Comprehensive: In automation testing we can build a suit of tests that covers every feature in the application or website.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;f)&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Programmable: We can program sophisticated Tests that bring out hidden information from the application&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;2) What are the drawbacks in Test Automation?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;a) It is expensive &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;b) We cannot automate all areas. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;c) Lack of Skill &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;d) It has some limitations (It cannot test every thing)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;3) What type of test tools available in the industry?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;We can segregate Test tools in 2 categories&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;a) Business Classification&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1) Vendor Tools&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2) Open Source Tools&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3) In-house Tools&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;b) Technical Classification &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1) Functional and Regression Test Tools&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2) Load/Stress/Performance Test Tools&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3) Security Test Tools&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5) Test Management Tools&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;6) Unit Test Tools&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7) Requirement Management Tools Etc...&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;4) What are the important factors in test tool selection?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;a. Technical factors:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;i. Nature of the AUT (Application Under Test)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;ii. Tool Features (Facilities available)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;iii. Availability of Skilled professionals&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;iv. Organizations experience&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;v. Technical support from vendor&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;b. Business factors: &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;i. Budget&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;ii. Vendor’s Reputation&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;iii. Client’s Interest&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;5) What test cases can be automated?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Test cases that we want to execute on number of versions of the software&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Ex: Regression test cases&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Test cases that we want to execute with multiple sets of data&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Ex: Data driven test cases&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Test cases having complex functionality&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;6) What test cases cannot be automated?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Dynamically changing functionality&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Test cases that require more Human interaction &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o CUI (command user interface) based test cases&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;7) Explain about the Testing process in QTP? &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Planning: &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Analyzing the Application&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Automation Framework Implementation&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Selecting/Generating Test cases for Automation&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Collecting Test Data&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Configuring Tool Settings&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Generating the basic tests &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Using Object Repository method or using Descriptive Programming, we can generate Tests&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Enhancing Tests&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;With respect to our project requirements, we have to enhance our tests. For enhancing tests QTP is providing various features like:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Inserting Transaction points&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Synchronization&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Parameterization&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Inserting VB script Flow Control statements&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Adding comments&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Calling Functions/ calling Actions&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Using Environment variables&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Entering Regular Expressions&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Inserting Checkpoints &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;o Inserting Output values&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Etc..&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Note: For any Test all enhancement methods not required.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Debugging Tests (if required)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;It is optional; basically scripting languages are Light weight languages, no need to compile them separately. During execution Scripts can be compiled and Run. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;If we have any doubts about some scripts, then we can execute them step by step with the support of VBScript Debug commands and Break points&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Running tests&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Generally, many companies are using Framework feature for Running Tests.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;QTP Supports Individual Test execution, Batch execution, Tests execution through AOM Scripting, and Scheduled execution with the support of Windows Operating system.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Analyzing Results&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;It is not the Responsibility of QTP; Test engineer has to do this manually.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;QTP is providing Result window in XML format.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;QTP is providing Result deletion tool also.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;QTP is providing Test results exporting facility. It supports HTML, Word document and PDF (portable document format) formats.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Reporting defects&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Reporting defects also not a QTP responsibility that we have to do manually after analyzing the results, but if we are using &lt;place w:st=&quot;on&quot;&gt;&lt;placename w:st=&quot;on&quot;&gt;Quality&lt;/placename&gt; &lt;placetype w:st=&quot;on&quot;&gt;Center&lt;/placetype&gt;&lt;/place&gt;, from QTP result window we can send defects directly.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;8) What types of License available for QTP? &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;a) Seat License or Node locked&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Fixed for one System (Machine), we can use from that System only&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;b) Concurrent License or Floating License&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;This License, we can use from different Systems but one at a time&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;9) What are the QTP supported environments?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;QTP Supports Software Applications based on Add-ins only&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Add-in means Technology supporting files &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;QTP Add ins available for following technologies:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;a) Default Add ins &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;1) Activex&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;2) Visual Basic&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;3)&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Web&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;b) Other Add-ins&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;1) &lt;place w:st=&quot;on&quot;&gt;Delphi&lt;/place&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;2) Java&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;3) .NET Web forms&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;4) .NET Windows forms&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;5) WPF (Windows Presentation Foundation)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;6) Oracle&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;7) People Soft&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;8) Power Builder&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;9) SAP for Web&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;10) SAP GUI for windows environment&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;11) Siebel Environment&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;12) Standard Windows&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;13) Terminal Emulator (TE) &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;14) Visual Age Smalltalk Environment&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;15) Web Services Environment&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;10) Does QTP Support UNIX Environment?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;No, QTP doesn’t support UNIX/Linux Environment, Supports Windows Operating Environment only, but LoadRunner and &lt;place w:st=&quot;on&quot;&gt;&lt;placename w:st=&quot;on&quot;&gt;Quality&lt;/placename&gt; &lt;placetype w:st=&quot;on&quot;&gt;Center&lt;/placetype&gt;&lt;/place&gt; have support both Windows and UNIX Operating Environments.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;11) What is the scripting language that used in QTP for applying programming logic?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Micro Soft Visual Basic Scripting edition (VBScript) engine embedded with QTP.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;12) Does QTP Support Database Testing and Data driven Testing?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Yes, SQL Engine embedded with QTP Tool, so we use SQL Statements directly in QTP Test Pane as well as in Function Library.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;QTP has an integrated Spread sheet(Excel like) for Performing Data Driven Testing, otherwise we can fetch test data directly from&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;external files and databases using VB Script.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt;&quot;&gt;QTP Interview Questions -2&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;1) What is Recording in QTP?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;It is process of creating the main body of a test by recording the typical processes that users perform. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;QuickTest records the operations we perform, displays them as steps in the Keyword View, and generates them in a script (in the Expert View). &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;2) How many Recording Modes available in QTP? What are they?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;There are 3 Recording modes available in QTP.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1) Normal Recording&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2) Analog Recording&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3) Low Level Recording&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;3) What is Analog Recording mode?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;It Records exact mouse and keyboard operations, we can use this mode for recording continues mouse operations like digital signatures, paints etc..&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;This mode doesn&#39;t generate statements for each and every operation, generates all operations in a Track file.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;By default this mode is disabled, after selecting Normal Recording mode only it enables.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;4) What is Low Level Recording?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;It Records some operations on Non-supported environments apart from &lt;place w:st=&quot;on&quot;&gt;Normal&lt;/place&gt; operations. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;5) What are object and Software Objects?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Object: Object is something, which has structure and properties.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Software Object: an object is any entity that can be manipulated by the commands of a programming language, such as a value, variable, function, or data structure.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Example:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;GUI (Windows) Environment: Window, Dialog box, Edit Box, Button, Check Box, Radio Button, List Box and Combo Box etc...&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Web Environment: Browser, Page, Link, Image, edit Box, Button, Grid, Frame Etc..&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;6) What type of Objects available in QTP?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;There are 4 types of Objects available in QTP.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1) Run-time Objects&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2) Test Objects&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3) Utility Objects&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4) Automation / User Defined Objects&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;7) What are Utility Objects?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;These are QTP reserved objects, used for Testing and Result reporting.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Example:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;a) SystemUtil&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;b) Reporter&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;c) DataTable&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;d) Services&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;e) environment etc...&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;8) What is Automation Object?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;An object that is exposed to other applications or programming tools through Automation interfaces.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;9) Explain about Object, Property and value?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Object:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;It is something which has structure and properties&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Property: an attribute of an Object.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Value: Value of the Property &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;10) What is Object Repository?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;It is a Storage place for Storing Objects, QTP has 2 types of Repositories.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;a) Local Repository&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;b) Shared Repository&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;11) What are the differences between Local&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;and Shared Repositories?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Local Repository:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;QTP Creates a Local Repository for every Action during Recording automatically and also QTP maintenance Local Repositories, but user can edit these repositories.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;It is a QTP Internal file, extension is .mtr &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Shared Repository:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;User&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Creates Shared Repositories by adding objects in Object Repository Manager.This can be shared among nuber of tests.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;User has to maintain shared repository files&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Shared Repository files are External files, extension is .tsr&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;12)&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;How to Start Test Automation Process, before the Application is ready?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;QTP is providing a feature called &quot;Define New Test Object&quot; for creating new objects without Application. This feature available in Local Repository and Object Repository Manager.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;13) How to Combine Repositories?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;We Can combine Repositories using Object Repository Merge Tool. It is available in Object Repository Manager&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;14) Explain about Statement, Action and Test in QTP?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;a) Statement: an Instruction or a minimal executable unit&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b) Action: Set of Statements&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c) Test: One or more Actions&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;15) How Load repository files During run-time?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;We can Load Object Repositories during run-time using an Utility object called &quot;RepositoriesCollection&quot;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Syntax:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;RepositoriesCollection.Add&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&quot;path of the Repository file&quot;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Example:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;RepositoriesCollection.Add&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&quot;D:\ALOK\Login.tsr&quot;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/3544778783037138177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/10/qtp-interview-questionsqtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/3544778783037138177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/3544778783037138177'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/10/qtp-interview-questionsqtp.html' title='QTP Interview Questions:QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-505608087576004137</id><published>2011-10-03T03:41:00.000-07:00</published><updated>2011-10-03T03:41:49.721-07:00</updated><title type='text'>Business Process Testing : QTP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;This topic will guide you about BPT and how to work with BPT.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 18pt; mso-fareast-font-family: ArialMT;&quot;&gt;BPT Methodology&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l1 level1 lfo5; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;BPT is Business Process Testing&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l1 level1 lfo5; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Additional module in QC and is known as Business Component&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l1 level1 lfo5; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Test Scripts are associated with components.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l1 level1 lfo5; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Components are easily maintained, reusable units that perform a specific task.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 18pt; mso-fareast-font-family: ArialMT;&quot;&gt;QTP provides two types of components:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: ArialMT;&quot;&gt;1) Business component&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Business components (also known as keyword-driven components) are fully integrated with both QuickTest and Quality Center.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: ArialMT;&quot;&gt;2) Scripted component&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Scripted components are more complex components containing programming logic.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 18pt; mso-fareast-font-family: ArialMT;&quot;&gt;Pre-requisite for BPT:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;1) Install BPT Add-Ins.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;2) Check the &lt;/span&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;“&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Allow the Mercury Products to run test and components&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;”&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;checkbox in Options&amp;gt;Run tab.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 18pt; mso-fareast-font-family: ArialMT;&quot;&gt;BPT Strategy / Approach&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l3 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Initially start with creating the scripted components from Business Component tab in QC.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l3 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Pull the respective components to the Test Plan from Component Folder in QC as per manual test case.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l3 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Pull the Test scripts to Test Lab for regressions.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l3 level1 lfo1; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Execute and Analyze the results and log the defects if any failure occurs.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.25in; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 18pt; mso-fareast-font-family: ArialMT;&quot;&gt;Scripted Component:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Two ways to create a component&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;1) &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;From QC&amp;gt; Go to Business Component tab&amp;gt; Click on New &amp;gt;Enter the component name &amp;gt; OK&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;2) From QTP&amp;gt; Connect to QC&amp;gt; New&amp;gt; Select Scripted Component&amp;gt;Enter the component name&amp;gt; OK.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Once after create the component in QC, we can find some tabs at right side pane in QC. Like Details, Snap shot, Design steps, Automation. We need to fill the information in these areas.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Details tab:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt; Provides a general summary of the component&lt;/span&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;’&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;s purpose or&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;goals, and the condition of the application before and after a component is&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;run (its pre-conditions and post-conditions).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Snap shot tab:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt; Displays an image that provides a visual cue or description of the components purpose or operations.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Parameter tab:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt; Specifies the input and output component parameter values for the business component. Implementing and using parameters enables a component to receive data from an external source and to pass data to other components in the business process test flow.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Design Steps:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt; Enables you to create or view the manual steps of your business component, and to automate it if required.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Automation tab:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt; Provides access to automated component by choosing it to scripted component.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;The component has 4 status:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;1. Error:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt; When Component is error for some reason like May be Test case is incorrect or May be made a mistake or May be created a wrong component, in such cases you set to &lt;/span&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;“&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Error&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;”&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;status and provide with meaningful comment, displayed in Red color.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;2. Ready:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt; Once the component is completed include debugging and enhancement then the component is Ready status, displayed in Green.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;3. Under Development:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt; When a new Component is to be created then the component is Under Development, displayed in Grey.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;4. Maintenance:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt; When the requirements changed then component is under Maintenance, displayed in Yellow&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 18pt; mso-fareast-font-family: ArialMT;&quot;&gt;Parameterization:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Process to replace the constant values with variables is known as Parameterization.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;There are 2 parameters:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;1. Input Parameter:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;With this parameter, you can input the data to the application.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;This Input Parameter is also called &lt;/span&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;“&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Component Parameter&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;”&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;It&lt;/span&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;’&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;s another one more parameter especially for BPT apart from other parameters.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;We can find this as &lt;/span&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;“&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Component Parameter&lt;/span&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;”&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt; from the list in Keyword View&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Syntax is &lt;/span&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;“&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Parameter(&lt;/span&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;“&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;&amp;lt;name of parameter&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: ArialMT; font-size: 12pt; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;”&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;2. Output Parameter:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;With this parameter, you can retrieve the data from the application. Parameterization can be done in 2 ways for Input Parameters.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 18pt; mso-fareast-font-family: ArialMT;&quot;&gt;Application Area:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;An application area, provides a single point of maintenance for all elements&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;associated with the testing of application. These include function libraries, shared&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;object repositories, keywords, testing preferences, and recovery scenarios.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;From QTP&amp;gt;New &amp;gt; Application Area&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 18pt; mso-fareast-font-family: ArialMT;&quot;&gt;Creation of Test Script&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: white; font-family: ArialMT; font-size: 41pt; mso-bidi-font-family: ArialMT;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l2 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;From Test Plan&amp;gt; Click New Test&amp;gt; Select BPT&amp;gt; Enter the name of &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;the script&amp;gt; OK&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;The icon will be created at left side panel.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l2 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Once created the script, List the all manual test cases, one which are related to this script under Details tab.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l2 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;From Test Plan, pull the respective components under Test Script&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Arrange the components in a work flow by moving the components up and down.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l2 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;If the components have any parameters then displayed as link.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l2 level1 lfo2; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;5)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Click on this link, Component Iteration window will pop up. It just resembles the excel, where you enter the test data or import/export from external resource.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 18pt; mso-fareast-font-family: ArialMT;&quot;&gt;Regression Suite:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l4 level1 lfo3; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;All the Test scripts are pulled to Test Lab for the regression testing.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l4 level1 lfo3; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Set to run the suite from one or more systems remotely.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l4 level1 lfo3; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Analyze the results.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 18pt; mso-fareast-font-family: ArialMT;&quot;&gt;Benefits of BPT Process&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l0 level1 lfo4; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Each component is by default a reusable.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l0 level1 lfo4; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;There is no concept of multiple actions. It means each component is single action.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l0 level1 lfo4; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Business process tests are created and implemented more quickly than other automated tests.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l0 level1 lfo4; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Reduces maintenance compared to traditional automation.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-layout-grid-align: none; mso-list: l0 level1 lfo4; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;5)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: ArialMT;&quot;&gt;Data-driven testing can be performed effectively.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/505608087576004137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/10/business-process-testing-qtp.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/505608087576004137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/505608087576004137'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/10/business-process-testing-qtp.html' title='Business Process Testing : QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-4858335682501450568</id><published>2011-10-03T00:29:00.000-07:00</published><updated>2011-10-03T00:33:49.332-07:00</updated><title type='text'>Scripting ADODB:QTP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;strong&gt;ADODB - Microsoft ActiveX Data Object&lt;/strong&gt; 1. ADO is a Microsoft technology.&lt;br /&gt;
2. ADO stands for ActiveX Data Objects.&lt;br /&gt;
3. ADO is a Microsoft Active-X component&lt;br /&gt;
4. ADO is automatically installed with Microsoft IIS&lt;br /&gt;
5. ADO is a programming interface to access data in a database&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;ADO-ActiveX Data Objects&lt;/strong&gt;&lt;br /&gt;
Microsoft® ActiveX® Data Objects (ADO) enable your client applications to access and manipulate data from a variety of sources through an OLE DB provider. Its primary benefits are ease of use, high speed, low memory overhead, and a small disk footprint. ADO supports key features for building client/server and Web-based applications.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;RDS&lt;/strong&gt;&lt;br /&gt;
Remote Data Service (RDS) is a feature of ADO, with which you can move data from a server to a client application or Web page, manipulate the data on the client, and return updates to the server in a single round trip.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;OLEDB&lt;/strong&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;strong&gt;&lt;/strong&gt;OLEDB (sometimes written as OLEDB or OLE-DB) is an API designed by Microsoft for accessing different types of data stores in a uniform manner. It is a set of interfaces implemented using the Component Object Model (COM); it is otherwise unrelated to OLE. It was designed as a higher-level replacement for, and successor to, ODBC, extending its feature set to support a wider variety of non-relational databases, such as object databases and spreadsheets that do not &lt;br /&gt;
necessarily implement SQL. OLE DB separates the data store from the application that needs access to it through a set of abstractions, such as connections, record sets and attributes. This&lt;br /&gt;
was done because different applications need access to different types and sources of data and do not necessarily want to know how to access functionality with technology-specific methods. OLE DB is conceptually divided into consumers and providers. The consumers are the applications that need access to the data, and the provider is the software component that implements the interface. OLE DB is part of the Microsoft Data Access Components (MDAC) stack and is the database access interface technology. MDAC is a group of Microsoft &lt;br /&gt;
technologies that interact together as a framework that allows programmers a uniform and comprehensive way of developing applications for accessing almost any data store. OLE DB providers can be created to access such simple data stores as a text file or spreadsheet, through to such complex databases as Oracle, SQL Server and Sybase. However, because different data store technology can have different capabilities, OLE DB providers may not implement every possible interface available to OLEDB. The capabilities that are available are implemented through the use of COM objects - an OLE DB provider will map the data store technologies functionality to a particular COM interface. Microsoft calls the availability of an interface to be&lt;br /&gt;
&quot;provider-specific&quot; as it may not be applicable depending on the database technology involved. Additionally, however, providers may also augment the capabilities of a data store - these capabilities are known as services in Microsoft parlance.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;ODBC&lt;/strong&gt;The Microsoft Open Database Connectivity (ODBC) interface is a C programming&lt;br /&gt;
language interface that makes it possible for applications to access data from a&lt;br /&gt;
variety of database management systems (DBMSs). The ODBC interface permits&lt;br /&gt;
maximum interoperability — an application can access data in diverse DBMSs&lt;br /&gt;
through a single interface. Furthermore, that application will be independent of any&lt;br /&gt;
DBMS from which it accesses data. Users of the application can add software&lt;br /&gt;
components called drivers, which interface between an application and a specific&lt;br /&gt;
DBMS.&lt;br /&gt;
&lt;br /&gt;
The functions in the ODBC API are implemented by developers of DBMS-specific&lt;br /&gt;
drivers. Applications call the functions in these drivers to access data in a DBMSindependent&lt;br /&gt;
manner. A Driver Manager manages communication between&lt;br /&gt;
applications and drivers.&lt;br /&gt;
&lt;br /&gt;
Applications that use ODBC are responsible for any cross-database functionality.&lt;br /&gt;
For example, ODBC is not a heterogeneous join engine, nor is it a distributed&lt;br /&gt;
transaction processor. However, because it is DBMS-independent, it can be used&lt;br /&gt;
to build such cross-database tools.&lt;br /&gt;
&lt;br /&gt;
Connection.Open Method:&lt;br /&gt;
Syntax: object.Open (ConnectionString, UserID, Password, Options)&lt;br /&gt;
&lt;br /&gt;
Connection.OpenSchema Method&lt;br /&gt;
&lt;br /&gt;
Syntax: object.OpenSchema (QueryType, Criteria, SchemaID)&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
***************************************************************************&lt;br /&gt;
&lt;br /&gt;
Option Explicit&lt;br /&gt;
Const adSchemaTables = &amp;amp;H14&lt;br /&gt;
Const adSchemaColumns = 4&lt;br /&gt;
Const adStateOpen = 1&lt;br /&gt;
Dim oConn, oRst, oRstSchema&lt;br /&gt;
Dim nRow&lt;br /&gt;
Dim sColumn&lt;br /&gt;
Set oConn = CreateObject(&quot;ADODB.Connection&quot;)&lt;br /&gt;
&#39;--- Opening Database via DNS&lt;br /&gt;
oConn.Open &quot;QT_Flight32&quot;&lt;br /&gt;
&#39;--- Open schema Tables&lt;br /&gt;
Set oRst = oConn.OpenSchema(adSchemaTables)&lt;br /&gt;
Do Until oRst.EOF&lt;br /&gt;
&#39;--- Skip system tables&lt;br /&gt;
If StrComp(oRst(&quot;TABLE_TYPE&quot;).Value, &quot;SYSTEM TABLE&quot;) &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
sColumn = DataTable.LocalSheet.AddParameter( _&lt;br /&gt;
oRst(&quot;TABLE_NAME&quot;).Value, &quot;&quot;).Name&lt;br /&gt;
&#39;--- Querying Schema table columns&lt;br /&gt;
Set oRstSchema = oConn.OpenSchema(adSchemaColumns, _&lt;br /&gt;
Array(Empty, Empty, &quot;&quot; &amp;amp; oRst(&quot;TABLE_NAME&quot;).Value))&lt;br /&gt;
nRow = 1&lt;br /&gt;
DataTable.LocalSheet.SetCurrentRow nRow&lt;br /&gt;
Do While Not oRstSchema.EOF&lt;br /&gt;
DataTable(sColumn, dtLocalSheet) = _&lt;br /&gt;
oRstSchema(&quot;COLUMN_NAME&quot;).Value&lt;br /&gt;
oRstSchema.MoveNext&lt;br /&gt;
nRow = nRow + 1&lt;br /&gt;
DataTable.LocalSheet.SetCurrentRow nRow&lt;br /&gt;
Loop&lt;br /&gt;
End If&lt;br /&gt;
oRst.MoveNext&lt;br /&gt;
Loop&lt;br /&gt;
&#39;--- Close the recordset schema if opened.&lt;br /&gt;
If oRstSchema.State = adStateOpen Then oRstSchema.Close&lt;br /&gt;
&#39;--- Close the recordset if opened.&lt;br /&gt;
If oRst.State = adStateOpen Then oRst.Close&lt;br /&gt;
&#39;--- Close the connection if opened.&lt;br /&gt;
If oConn.State = adStateOpen Then oConn.Close&lt;br /&gt;
Set oRst = Nothing : Set oConn = Nothing : Set oRstSchema = Nothing&lt;br /&gt;
***************************************************************************&lt;br /&gt;
OutPut:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtwd5qmxcGtJJNcPyt-4aESOx2IT77hw50NUinYkFmPpVm5yh8BiedXPxCiuSr-FrrKu-dHsdFLQbAPisQbmZZjBKn3H-8J9TfjhjCkPE1fV1N0onZs4z9HA1jCSxqdRPNMD1AFagC1T8/s1600/ADODB.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;195px&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtwd5qmxcGtJJNcPyt-4aESOx2IT77hw50NUinYkFmPpVm5yh8BiedXPxCiuSr-FrrKu-dHsdFLQbAPisQbmZZjBKn3H-8J9TfjhjCkPE1fV1N0onZs4z9HA1jCSxqdRPNMD1AFagC1T8/s320/ADODB.JPG&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;OutPut:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/4858335682501450568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/10/scripting-adodbqtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/4858335682501450568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/4858335682501450568'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/10/scripting-adodbqtp.html' title='Scripting ADODB:QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtwd5qmxcGtJJNcPyt-4aESOx2IT77hw50NUinYkFmPpVm5yh8BiedXPxCiuSr-FrrKu-dHsdFLQbAPisQbmZZjBKn3H-8J9TfjhjCkPE1fV1N0onZs4z9HA1jCSxqdRPNMD1AFagC1T8/s72-c/ADODB.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-4213139276339375287</id><published>2011-10-02T21:27:00.000-07:00</published><updated>2011-10-02T21:27:58.266-07:00</updated><title type='text'>Scripting  Excel : QTP</title><content type='html'>Drives, files and folders are the lifeblood of any organization; this makes file&lt;br /&gt;
system administration one of the most important responsibilities assigned to&lt;br /&gt;
system administrators. Of course, file system administration is also one of the&lt;br /&gt;
More difficult responsibilities to carry out, simply because files and folders are&lt;br /&gt;
Scattered on multiple hard disks and multiple computers throughout the&lt;br /&gt;
Organization. Scripts can help make file system management much easier,&lt;br /&gt;
Particularly when the files and folders managed, are located on remote computers.&lt;br /&gt;
&lt;br /&gt;
1) Creating Excel Application Object&lt;br /&gt;
&lt;br /&gt;
Syntax: Set ObjVar = CreateObject(&quot;Excel.Application&quot;)&#39;Create &lt;br /&gt;
Examples:  Excel ApplicationObject&lt;br /&gt;
Dim objExcel&lt;br /&gt;
Set objExcel = CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
objExcel.Workbooks.Add&lt;br /&gt;
By running the preceding script, you really did create a brand-new instance of Microsoft Excel. Press CTRL-ALT-DEL and take a look at the Processes tab in the Task Manager. You should see an instance of Excel.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
-----------------------------------------------------------------------------------------&lt;br /&gt;
1) &#39;Create Excel file /Work book&lt;br /&gt;
&lt;br /&gt;
Dim objExcel&lt;br /&gt;
Set objExcel = CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
objExcel.Visible = True &#39;To make the excel visible&lt;br /&gt;
objExcel.Workbooks.Add ‘Adding a work book&lt;br /&gt;
objExcel.ActiveWorkbook.SaveAs &quot;D:\ALOK\alok.xls&quot;&lt;br /&gt;
objExcel.Quit &lt;br /&gt;
Set objExcel=Nothing ‘Releasing memory&lt;br /&gt;
-------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
2)‘Checking for the existence of the file and entering some data into it&lt;br /&gt;
&#39; If Not exists Create the Excel file /Work book and enter some data&lt;br /&gt;
&lt;br /&gt;
Dim objExcel, objFso, FilePath&lt;br /&gt;
FilePath=&quot;D:\Alok\alok.xls&quot;&lt;br /&gt;
Set objFso=CreateObject(&quot;Scripting.FileSystemObject&quot;)&lt;br /&gt;
Set objExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
&lt;br /&gt;
If objFso.FileExists(FilePath) Then&lt;br /&gt;
        objExcel.Workbooks.Open (FilePath)&lt;br /&gt;
        objExcel.Worksheets(&quot;Sheet1&quot;).Cells(1,1)=&quot;VB Script&quot;&lt;br /&gt;
        objExcel.ActiveWorkbook.Save&lt;br /&gt;
        Else&lt;br /&gt;
        objExcel.Workbooks.Add&lt;br /&gt;
        objExcel.ActiveSheet.Cells(2,2)=&quot;VB Script&quot;&lt;br /&gt;
        objExcel.ActiveWorkbook.SaveAs (Filepath)&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
objExcel.Quit &#39;To Quit the Excel Appliction&lt;br /&gt;
Set objExcel=Nothing&lt;br /&gt;
------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
3) &#39;Fetch Test Data directly from an Excel file and perform Data driven testing for Login Operation&lt;br /&gt;
&lt;br /&gt;
Dim objExcel, objWorkbook, objWorksheet&lt;br /&gt;
&#39;Create Excel application Object that can be used to perform operations on Excel Appliction&lt;br /&gt;
Set objExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
&#39;Create WorkBook Object using Excel application Object that can be used to perform operations on Excel Work Books&lt;br /&gt;
Set objWorkbook=objExcel.Workbooks.Open (&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
&#39;Create Work sheet object Using Work Book Object, that can be used to perform operations on Excel Sheets&lt;br /&gt;
Set objWorksheet=objWorkbook.Worksheets(&quot;Sheet1&quot;)&lt;br /&gt;
Rows_Count=objWorksheet.usedrange.rows.count&lt;br /&gt;
&lt;br /&gt;
For i= 2 to Rows_Count Step 1&lt;br /&gt;
SystemUtil.Run &quot;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&quot;,&quot;&quot;,&quot;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&quot;,&quot;open&quot;&lt;br /&gt;
Dialog(&quot;Login&quot;).Activate&lt;br /&gt;
Dialog(&quot;Login&quot;).WinEdit(&quot;Agent Name:&quot;).Set objWorksheet.Cells(i,&quot;A&quot;)&lt;br /&gt;
Dialog(&quot;Login&quot;).WinEdit(&quot;Password:&quot;).Set objWorksheet.Cells(i,&quot;B&quot;)&lt;br /&gt;
Wait 1&lt;br /&gt;
Dialog(&quot;Login&quot;).WinButton(&quot;OK&quot;).Click&lt;br /&gt;
Window(&quot;Flight Reservation&quot;).Close&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
objExcel.Quit&lt;br /&gt;
Set objWorksheet=Nothing&lt;br /&gt;
Set objWorkbook=Nothing&lt;br /&gt;
Set objExcel=Nothing&lt;br /&gt;
-------------------------------------------------------------------------&lt;br /&gt;
4) &#39;Fetch Test Data directly from an Excel file and perform Data driven testing for Login Operation&lt;br /&gt;
&lt;br /&gt;
&#39;Export Test Results to the same file&lt;br /&gt;
Dim objExcel, objWorkbook, objWorksheet&lt;br /&gt;
&#39;Create Excel application Object that can be used to perform operations on Excel Appliction&lt;br /&gt;
Set objExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
&#39;Create WorkBook Object using Excel application Object that can be used to perform operations on Excel Work Books&lt;br /&gt;
Set objWorkbook=objExcel.Workbooks.Open (&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
&#39;Create Work sheet object Using Work Book Object , that can be used to perform operations on Excel Sheets&lt;br /&gt;
Set objWorksheet=objWorkbook.Worksheets(&quot;Sheet1&quot;)&lt;br /&gt;
objWorksheet.Cells(1,3)=&quot;Results&quot;&lt;br /&gt;
Rows_Count=objWorksheet.usedrange.rows.count&lt;br /&gt;
&lt;br /&gt;
For i= 2 to Rows_Count Step 1&lt;br /&gt;
SystemUtil.Run &quot;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&quot;,&quot;&quot;,&quot;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&quot;,&quot;open&quot;&lt;br /&gt;
Dialog(&quot;Login&quot;).Activate&lt;br /&gt;
Dialog(&quot;Login&quot;).WinEdit(&quot;Agent Name:&quot;).Set objWorksheet.Cells(i,&quot;A&quot;)&lt;br /&gt;
Dialog(&quot;Login&quot;).WinEdit(&quot;Password:&quot;).Set objWorksheet.Cells(i,&quot;B&quot;)&lt;br /&gt;
Wait 1&lt;br /&gt;
Dialog(&quot;Login&quot;).WinButton(&quot;OK&quot;).Click&lt;br /&gt;
&lt;br /&gt;
If Window(&quot;Flight Reservation&quot;).Exist(12) Then&lt;br /&gt;
        Window(&quot;Flight Reservation&quot;).Close&lt;br /&gt;
        objWorksheet.Cells(i,&quot;C&quot;)=&quot;Login Successful&quot;&lt;br /&gt;
        Else&lt;br /&gt;
SystemUtil.CloseDescendentProcesses&lt;br /&gt;
objWorksheet.Cells(i,&quot;C&quot;)=&quot;Login Filed&quot;&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
objWorkbook.Save&lt;br /&gt;
objExcel.Quit&lt;br /&gt;
Set objWorksheet=Nothing&lt;br /&gt;
Set objWorkbook=Nothing&lt;br /&gt;
Set objExcel=Nothing&lt;br /&gt;
&lt;br /&gt;
5) &#39;Fetch Test Data directly from an Excel file and perform Data driven testing for Login Operation&lt;br /&gt;
&lt;br /&gt;
&#39;Export Test Results &amp; Error Messgae to the same file&lt;br /&gt;
Dim objExcel, objWorkbook, objWorksheet, rows_Count&lt;br /&gt;
&lt;br /&gt;
Set objExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
Set objWorkbook=objExcel.Workbooks.Open (&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
Set objWorksheet=objWorkbook.Worksheets(1)&lt;br /&gt;
&lt;br /&gt;
objWorksheet.Cells(1,3)=&quot;Test Result&quot;&lt;br /&gt;
objWorksheet.Cells(1,4)=&quot;Error Message&quot;&lt;br /&gt;
&lt;br /&gt;
rows_Count=objWorksheet.usedrange.rows.count&lt;br /&gt;
&lt;br /&gt;
For i= 2 to rows_Count Step 1&lt;br /&gt;
        SystemUtil.Run &quot;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&quot;,&quot;&quot;,&quot;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&quot;,&quot;open&quot;&lt;br /&gt;
        Dialog(&quot;Login&quot;).Activate&lt;br /&gt;
        Dialog(&quot;Login&quot;).WinEdit(&quot;Agent Name:&quot;).Set objWorksheet.Cells(i, 1)&lt;br /&gt;
        Dialog(&quot;Login&quot;).WinEdit(&quot;Password:&quot;).Set objWorksheet.Cells(i, &quot;B&quot;)&lt;br /&gt;
        Dialog(&quot;Login&quot;).WinButton(&quot;OK&quot;).Click&lt;br /&gt;
&lt;br /&gt;
If Window(&quot;Flight Reservation&quot;).Exist(12) Then&lt;br /&gt;
                Window(&quot;Flight Reservation&quot;).Close&lt;br /&gt;
objWorksheet.Cells(i, 3)=&quot;Login Successful&quot;&lt;br /&gt;
Else&lt;br /&gt;
objWorksheet.Cells(i, 3)=&quot;Login Failed&quot;&lt;br /&gt;
objWorksheet.Cells(i, 4)=Dialog(&quot;Login&quot;).Dialog(&quot;Flight Reservations&quot;).Static(&quot;Agent name must be at&quot;).GetROProperty (&quot;text&quot;)&lt;br /&gt;
SystemUtil.CloseDescendentProcesses&lt;br /&gt;
End If&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
objWorkbook.Save&lt;br /&gt;
objExcel.Quit&lt;br /&gt;
Set objWorksheet=Nothing&lt;br /&gt;
Set objWorkbook=Nothing&lt;br /&gt;
Set objExcel=Nothing&lt;br /&gt;
6)&lt;br /&gt;
Using While...Wend Loop&lt;br /&gt;
------------------------&lt;br /&gt;
Dim objExcel, objWorkbook, objWorksheet, rows_Count, i&lt;br /&gt;
&lt;br /&gt;
Set objExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
Set objWorkbook=objExcel.Workbooks.Open (&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
Set objWorksheet=objWorkbook.Worksheets(1)&lt;br /&gt;
&lt;br /&gt;
objWorksheet.Cells(1,3)=&quot;Test Result&quot;&lt;br /&gt;
objWorksheet.Cells(1,4)=&quot;Error Message&quot;&lt;br /&gt;
&lt;br /&gt;
rows_Count=objWorksheet.usedrange.rows.count&lt;br /&gt;
 i= 2&lt;br /&gt;
While i&lt;= rows_Count&lt;br /&gt;
        SystemUtil.Run &quot;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&quot;,&quot;&quot;,&quot;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&quot;,&quot;open&quot;&lt;br /&gt;
        Dialog(&quot;Login&quot;).Activate&lt;br /&gt;
        Dialog(&quot;Login&quot;).WinEdit(&quot;Agent Name:&quot;).Set objWorksheet.Cells(i, 1)&lt;br /&gt;
        Dialog(&quot;Login&quot;).WinEdit(&quot;Password:&quot;).Set objWorksheet.Cells(i, &quot;B&quot;)&lt;br /&gt;
        Dialog(&quot;Login&quot;).WinButton(&quot;OK&quot;).Click&lt;br /&gt;
&lt;br /&gt;
If Window(&quot;Flight Reservation&quot;).Exist(12) Then&lt;br /&gt;
                Window(&quot;Flight Reservation&quot;).Close&lt;br /&gt;
objWorksheet.Cells(i, 3)=&quot;Login Successful&quot;&lt;br /&gt;
Else&lt;br /&gt;
objWorksheet.Cells(i, 3)=&quot;Login Failed&quot;&lt;br /&gt;
objWorksheet.Cells(i, 4)=Dialog(&quot;Login&quot;).Dialog(&quot;FlightReservations&quot;).Static(&quot;Agent name must be at&quot;).GetROProperty (&quot;text&quot;)&lt;br /&gt;
SystemUtil.CloseDescendentProcesses&lt;br /&gt;
End If&lt;br /&gt;
i=i+1&lt;br /&gt;
Wend&lt;br /&gt;
&lt;br /&gt;
objWorkbook.Save&lt;br /&gt;
objExcel.Quit&lt;br /&gt;
Set objWorksheet=Nothing&lt;br /&gt;
Set objWorkbook=Nothing&lt;br /&gt;
Set objExcel=Nothing&lt;br /&gt;
&lt;br /&gt;
7) &#39;Capture Link names from Google home page and export to Excel file3rd sheet&lt;br /&gt;
&lt;br /&gt;
Dim ObjExcel,ObjWorkbook,ObjWorksheet&lt;br /&gt;
Dim oLink,Links,myLink,i&lt;br /&gt;
&lt;br /&gt;
Set ObjExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
&lt;br /&gt;
Set ObjWorkbook=ObjExcel.Workbooks.Open(&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
&lt;br /&gt;
Set  ObjWorksheet=ObjWorkbook.Worksheets(3)&lt;br /&gt;
        ObjWorksheet.Cells(1,1)=&quot;Link Names&quot;&lt;br /&gt;
Set oLink=Description.Create&lt;br /&gt;
&lt;br /&gt;
oLink(&quot;micclass&quot;).value=&quot;Link&quot;&lt;br /&gt;
&lt;br /&gt;
Set Links=Browser(&quot;title:=Google&quot;).Page(&quot;title:=Google&quot;).ChildObjects(oLink)&lt;br /&gt;
&lt;br /&gt;
For i=0 to Links.Count-1 step 1&lt;br /&gt;
&lt;br /&gt;
        myLink=Links(i).GetRoProperty(&quot;text&quot;)&lt;br /&gt;
        ObjWorksheet.Cells(i+2,1)=myLink&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
ObjWorkbook.Save&lt;br /&gt;
&lt;br /&gt;
ObjExcel.Quit&lt;br /&gt;
&lt;br /&gt;
Set ObjWorksheet=Nothing&lt;br /&gt;
&lt;br /&gt;
Set ObjWorkbook=Nothing&lt;br /&gt;
&lt;br /&gt;
Set ObjExcel=Nothing&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
8) &#39;Capture Button names from Login Dialog (Flight Reservation Application) and export to Excel  file 3rd sheet&lt;br /&gt;
&lt;br /&gt;
Dim ObjExcel,ObjWorkbook,ObjWorksheet&lt;br /&gt;
Dim oButton,Buttons,myButton,i&lt;br /&gt;
&lt;br /&gt;
Set ObjExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
Set ObjWorkbook=ObjExcel.Workbooks.Open(&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
Set  ObjWorksheet=ObjWorkbook.Worksheets(2)&lt;br /&gt;
&lt;br /&gt;
        ObjWorksheet.Cells(1,1)=&quot;Button Names&quot;&lt;br /&gt;
&lt;br /&gt;
Set oButton=Description.Create&lt;br /&gt;
oButton(&quot;Class Name&quot;).value=&quot;WinButton&quot;&lt;br /&gt;
Set Buttons=Dialog(&quot;text:=Login&quot;).ChildObjects(oButton)&lt;br /&gt;
&lt;br /&gt;
For i=0 to Buttons.Count-1 step 1&lt;br /&gt;
        myButton=Buttons(i).GetRoProperty(&quot;text&quot;)&lt;br /&gt;
        ObjWorksheet.Cells(i+2,1)=myButton&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
ObjWorkbook.Save&lt;br /&gt;
ObjExcel.Quit&lt;br /&gt;
Set ObjWorksheet=Nothing&lt;br /&gt;
Set ObjWorkbook=Nothing&lt;br /&gt;
Set ObjExcel=Nothing&lt;br /&gt;
-----------------------------------------------------------------------------------&lt;br /&gt;
9) &#39; Read/capture order numbers and customer names from 1 - 10 orders in Flight Reservation window&lt;br /&gt;
&lt;br /&gt;
&#39; and export to excel file 2nd sheet&lt;br /&gt;
Dim objExcel, objWorkBook, objWorkSheet, ord, C_Name&lt;br /&gt;
Set objExcel = createobject(&quot;Excel.Application&quot;)&lt;br /&gt;
Set objWorkBook = objExcel.Workbooks.Open(&quot;C:\Documents and Settings\akm\Desktop\Sample.xls&quot;)&lt;br /&gt;
Set objWorkSheet = objWorkBook.Worksheets(2)&lt;br /&gt;
objWorkSheet.cells(1,1) = &quot;Order No.&quot;&lt;br /&gt;
objWorkSheet.cells(1,2) = &quot;C-Name&quot;&lt;br /&gt;
&lt;br /&gt;
For ord= 1 to 10 Step 1&lt;br /&gt;
        Window(&quot;Flight Reservation&quot;).Activate&lt;br /&gt;
        Window(&quot;Flight Reservation&quot;).WinButton(&quot;Button&quot;).Click&lt;br /&gt;
        Window(&quot;Flight Reservation&quot;).Dialog(&quot;Open Order&quot;).WinCheckBox(&quot;Order No.&quot;).Set &quot;ON&quot;&lt;br /&gt;
        Window(&quot;Flight Reservation&quot;).Dialog(&quot;Open Order&quot;).WinEdit(&quot;Edit&quot;).Set ord&lt;br /&gt;
        Window(&quot;Flight Reservation&quot;).Dialog(&quot;Open Order&quot;).WinButton(&quot;OK&quot;).Click&lt;br /&gt;
        Wait 1&lt;br /&gt;
        C_Name = Window(&quot;Flight Reservation&quot;).WinEdit(&quot;Name:&quot;).GetROProperty(&quot;text&quot;)&lt;br /&gt;
objWorkSheet.cells(ord+1,1) = ord&lt;br /&gt;
objWorkSheet.cells(ord+1,2) =C_Name&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
objWorkBook.Save&lt;br /&gt;
objExcel.Quit&lt;br /&gt;
Set objWorkSheet=Nothing&lt;br /&gt;
Set objWorkBook=Nothing&lt;br /&gt;
Set objExcel=Nothing&lt;br /&gt;
&lt;br /&gt;
10) One to One Comparison and Exact match&lt;br /&gt;
----------------------------------------&lt;br /&gt;
&#39;Capture Button names from Login Dialog (Flight Reservation Application) and Perform One to One Comparison and Exact match&lt;br /&gt;
&lt;br /&gt;
Dim ObjExcel,ObjWorkbook,ObjWorksheet&lt;br /&gt;
Dim oButton,Buttons,myButton,i&lt;br /&gt;
&lt;br /&gt;
Set ObjExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
Set ObjWorkbook=ObjExcel.Workbooks.Open(&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
Set  ObjWorksheet=ObjWorkbook.Worksheets(2)&lt;br /&gt;
&lt;br /&gt;
        ObjWorksheet.Cells(1,2)=&quot;Buttons&quot;&lt;br /&gt;
&lt;br /&gt;
Set oButton=Description.Create&lt;br /&gt;
oButton(&quot;Class Name&quot;).value=&quot;WinButton&quot;&lt;br /&gt;
Set Buttons=Dialog(&quot;text:=Login&quot;).ChildObjects(oButton)&lt;br /&gt;
&lt;br /&gt;
For i=0 to Buttons.Count-1 step 1&lt;br /&gt;
        myButton=Buttons(i).GetRoProperty(&quot;text&quot;)&lt;br /&gt;
        ObjWorksheet.Cells(i+2, 2)=myButton&lt;br /&gt;
Next&lt;br /&gt;
rows_Count= ObjWorksheet.usedrange.rows.count&lt;br /&gt;
For j= 2 to rows_Count step 1&lt;br /&gt;
Expected=ObjWorksheet.Cells(j, 1)&lt;br /&gt;
Actual=ObjWorksheet.Cells(j, 2)&lt;br /&gt;
&lt;br /&gt;
If  Expected=Actual Then&lt;br /&gt;
ObjWorksheet.Cells(j, 3)=&quot;Pass&quot;&lt;br /&gt;
Else&lt;br /&gt;
ObjWorksheet.Cells(j, 3)=&quot;Fail&quot;&lt;br /&gt;
End If&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
ObjWorkbook.Save&lt;br /&gt;
ObjExcel.Quit&lt;br /&gt;
Set ObjWorksheet=Nothing&lt;br /&gt;
Set ObjWorkbook=Nothing&lt;br /&gt;
Set ObjExcel=Nothing&lt;br /&gt;
&lt;br /&gt;
11) One to One Textual Comparison&lt;br /&gt;
------------------------------&lt;br /&gt;
&#39;Capture Button names from Login Dialog (Flight Reservation Application) and Perform and Perform One to One Textual Comparison&lt;br /&gt;
&lt;br /&gt;
Dim ObjExcel,ObjWorkbook,ObjWorksheet&lt;br /&gt;
Dim oButton,Buttons,myButton,i&lt;br /&gt;
&lt;br /&gt;
Set ObjExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
Set ObjWorkbook=ObjExcel.Workbooks.Open(&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
Set  ObjWorksheet=ObjWorkbook.Worksheets(2)&lt;br /&gt;
&lt;br /&gt;
        ObjWorksheet.Cells(1,2)=&quot;Buttons&quot;&lt;br /&gt;
&lt;br /&gt;
Set oButton=Description.Create&lt;br /&gt;
oButton(&quot;Class Name&quot;).value=&quot;WinButton&quot;&lt;br /&gt;
Set Buttons=Dialog(&quot;text:=Login&quot;).ChildObjects(oButton)&lt;br /&gt;
&lt;br /&gt;
For i=0 to Buttons.Count-1 step 1&lt;br /&gt;
        myButton=Buttons(i).GetRoProperty(&quot;text&quot;)&lt;br /&gt;
        ObjWorksheet.Cells(i+2, 2)=myButton&lt;br /&gt;
Next&lt;br /&gt;
rows_Count= ObjWorksheet.usedrange.rows.count&lt;br /&gt;
For j= 2 to rows_Count step 1&lt;br /&gt;
Expected=ObjWorksheet.Cells(j, 1)&lt;br /&gt;
Actual=ObjWorksheet.Cells(j, 2)&lt;br /&gt;
&lt;br /&gt;
If  StrComp (Expected,Actual,1)=0 Then&lt;br /&gt;
ObjWorksheet.Cells(j, 3)=&quot;Pass&quot;&lt;br /&gt;
Else&lt;br /&gt;
ObjWorksheet.Cells(j, 3)=&quot;Fail&quot;&lt;br /&gt;
End If&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
ObjWorkbook.Save&lt;br /&gt;
ObjExcel.Quit&lt;br /&gt;
Set ObjWorksheet=Nothing&lt;br /&gt;
Set ObjWorkbook=Nothing&lt;br /&gt;
Set ObjExcel=Nothing&lt;br /&gt;
--------------------------------------------------------------------------&lt;br /&gt;
12) Many to Many Comparison&lt;br /&gt;
-----------------------------------&lt;br /&gt;
&#39;Capture Button names from Login Dialog (Flight Reservation Application) and Perform and Perform Many to Many Comparison&lt;br /&gt;
&lt;br /&gt;
Dim ObjExcel,ObjWorkbook,ObjWorksheet&lt;br /&gt;
Dim oButton,Buttons,myButton,i&lt;br /&gt;
&lt;br /&gt;
Set ObjExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
Set ObjWorkbook=ObjExcel.Workbooks.Open(&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
Set  ObjWorksheet=ObjWorkbook.Worksheets(2)&lt;br /&gt;
&lt;br /&gt;
        ObjWorksheet.Cells(1,2)=&quot;Buttons&quot;&lt;br /&gt;
&lt;br /&gt;
Set oButton=Description.Create&lt;br /&gt;
oButton(&quot;Class Name&quot;).value=&quot;WinButton&quot;&lt;br /&gt;
Set Buttons=Dialog(&quot;text:=Login&quot;).ChildObjects(oButton)&lt;br /&gt;
&lt;br /&gt;
For i=0 to Buttons.Count-1 step 1&lt;br /&gt;
        myButton=Buttons(i).GetRoProperty(&quot;text&quot;)&lt;br /&gt;
        ObjWorksheet.Cells(i+2, 2)=myButton&lt;br /&gt;
Next&lt;br /&gt;
rows_Count= ObjWorksheet.usedrange.rows.count&lt;br /&gt;
&lt;br /&gt;
For j= 2 to rows_Count step 1&lt;br /&gt;
Expected=ObjWorksheet.Cells(j, 1)&lt;br /&gt;
&lt;br /&gt;
For k=2 to rows_Count step 1&lt;br /&gt;
        Actual=ObjWorksheet.Cells(k, 2)&lt;br /&gt;
&lt;br /&gt;
  If  Expected=Actual Then&lt;br /&gt;
          Flag =1&lt;br /&gt;
          Exit  for&lt;br /&gt;
          else&lt;br /&gt;
          Flag= 0&lt;br /&gt;
  End If&lt;br /&gt;
next&lt;br /&gt;
&lt;br /&gt;
If  Flag=1 Then&lt;br /&gt;
ObjWorksheet.Cells(j, 3)=&quot;Pass&quot;&lt;br /&gt;
Else&lt;br /&gt;
ObjWorksheet.Cells(j, 3)=&quot;Fail&quot;&lt;br /&gt;
End If&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
ObjWorkbook.Save&lt;br /&gt;
ObjExcel.Quit&lt;br /&gt;
Set ObjWorksheet=Nothing&lt;br /&gt;
Set ObjWorkbook=Nothing&lt;br /&gt;
Set ObjExcel=Nothing&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------&lt;br /&gt;
13) Many to Many Textual Comparison&lt;br /&gt;
&lt;br /&gt;
&#39;Capture Button names from Login Dialog (Flight Reservation Application) and Perform and Perform Many to Many Textual Comparison&lt;br /&gt;
&lt;br /&gt;
-----------------------------------&lt;br /&gt;
&#39;Capture Button names from Google home page and export to Excel  file 3rd sheet&lt;br /&gt;
&lt;br /&gt;
Dim ObjExcel,ObjWorkbook,ObjWorksheet&lt;br /&gt;
Dim oButton,Buttons,myButton,i&lt;br /&gt;
&lt;br /&gt;
Set ObjExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
Set ObjWorkbook=ObjExcel.Workbooks.Open(&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
Set  ObjWorksheet=ObjWorkbook.Worksheets(2)&lt;br /&gt;
&lt;br /&gt;
        ObjWorksheet.Cells(1,2)=&quot;Buttons&quot;&lt;br /&gt;
&lt;br /&gt;
Set oButton=Description.Create&lt;br /&gt;
oButton(&quot;Class Name&quot;).value=&quot;WinButton&quot;&lt;br /&gt;
Set Buttons=Dialog(&quot;text:=Login&quot;).ChildObjects(oButton)&lt;br /&gt;
&lt;br /&gt;
For i=0 to Buttons.Count-1 step 1&lt;br /&gt;
        myButton=Buttons(i).GetRoProperty(&quot;text&quot;)&lt;br /&gt;
        ObjWorksheet.Cells(i+2, 2)=myButton&lt;br /&gt;
Next&lt;br /&gt;
rows_Count= ObjWorksheet.usedrange.rows.count&lt;br /&gt;
&lt;br /&gt;
For j= 2 to rows_Count step 1&lt;br /&gt;
Expected=ObjWorksheet.Cells(j, 1)&lt;br /&gt;
&lt;br /&gt;
For k=2 to rows_Count step 1&lt;br /&gt;
        Actual=ObjWorksheet.Cells(k, 2)&lt;br /&gt;
&lt;br /&gt;
  If  StrComp (Expected,Actual,1)= 0 Then&lt;br /&gt;
          Flag =1&lt;br /&gt;
          Exit  for&lt;br /&gt;
          else&lt;br /&gt;
          Flag= 0&lt;br /&gt;
  End If&lt;br /&gt;
next&lt;br /&gt;
&lt;br /&gt;
If  Flag=1 Then&lt;br /&gt;
ObjWorksheet.Cells(j, 3)=&quot;Pass&quot;&lt;br /&gt;
Else&lt;br /&gt;
ObjWorksheet.Cells(j, 3)=&quot;Fail&quot;&lt;br /&gt;
End If&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
ObjWorkbook.Save&lt;br /&gt;
ObjExcel.Quit&lt;br /&gt;
Set ObjWorksheet=Nothing&lt;br /&gt;
Set ObjWorkbook=Nothing&lt;br /&gt;
Set ObjExcel=Nothing&lt;br /&gt;
---------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
14) &#39;Create Excel file and Rename 1st sheet as &quot;Module&quot;, 2nd Sheet as &quot;Test Case&quot;, &#39;and 3rd Sheet as &quot;Test Step&quot;&lt;br /&gt;
Dim objExcel&lt;br /&gt;
Set objExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
objExcel.Visible=True&lt;br /&gt;
objExcel.Workbooks.Add&lt;br /&gt;
objExcel.Worksheets(&quot;Sheet1&quot;).Name=&quot;Module&quot;&lt;br /&gt;
Wait 4&lt;br /&gt;
objExcel.Worksheets(&quot;Sheet2&quot;).Name=&quot;TestCase&quot;&lt;br /&gt;
Wait 4&lt;br /&gt;
objExcel.Worksheets(&quot;Sheet3&quot;).Name=&quot;TestStep&quot;&lt;br /&gt;
&lt;br /&gt;
objExcel.ActiveWorkbook.SaveAs &quot;C:\Documents and Settings\Administrator\Desktop\abcd.xls&quot;&lt;br /&gt;
&lt;br /&gt;
objExcel.Quit&lt;br /&gt;
Set objExcel=Nothing&lt;br /&gt;
-------------------------------------------------------------------------&lt;br /&gt;
15) &#39;Create an Excel file and add one more&lt;br /&gt;
&lt;br /&gt;
Dim objExcel&lt;br /&gt;
Set objExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
objExcel.Visible=True&lt;br /&gt;
objExcel.Workbooks.Add &#39;Creating Work Book&lt;br /&gt;
objExcel.Worksheets.Add &#39;Creating Work Sheet&lt;br /&gt;
Wait 4&lt;br /&gt;
objExcel.ActiveWorkbook.SaveAs &quot;C:\Documents and Settings\Administrator\Desktop\abcde.xls&quot;&lt;br /&gt;
&lt;br /&gt;
objExcel.Quit&lt;br /&gt;
Set objExcel=Nothing&lt;br /&gt;
--------------------------------------------------------------------------------------&lt;br /&gt;
16) &#39;Capture Button names from Login Dialog (Flight Reservation Application) and perform Many to Many Complete Comparison&lt;br /&gt;
&lt;br /&gt;
Capture Button names from Google home page and export to Excel  file 3rd sheet&lt;br /&gt;
&lt;br /&gt;
Dim ObjExcel,ObjWorkbook,ObjWorksheet&lt;br /&gt;
Dim oButton,Buttons,myButton,i&lt;br /&gt;
&lt;br /&gt;
Set ObjExcel=CreateObject(&quot;Excel.Application&quot;)&lt;br /&gt;
Set ObjWorkbook=ObjExcel.Workbooks.Open(&quot;C:\Documents and Settings\Administrator\Desktop\input.xls&quot;)&lt;br /&gt;
Set  ObjWorksheet=ObjWorkbook.Worksheets(2)&lt;br /&gt;
&lt;br /&gt;
        ObjWorksheet.Cells(1,2)=&quot;Buttons&quot;&lt;br /&gt;
&lt;br /&gt;
Set oButton=Description.Create&lt;br /&gt;
oButton(&quot;Class Name&quot;).value=&quot;WinButton&quot;&lt;br /&gt;
Set Buttons=Dialog(&quot;text:=Login&quot;).ChildObjects(oButton)&lt;br /&gt;
&lt;br /&gt;
For i=0 to Buttons.Count-1 step 1&lt;br /&gt;
        myButton=Buttons(i).GetRoProperty(&quot;text&quot;)&lt;br /&gt;
        ObjWorksheet.Cells(i+2, 2)=myButton&lt;br /&gt;
Next&lt;br /&gt;
rows_Count= ObjWorksheet.usedrange.rows.count&lt;br /&gt;
&lt;br /&gt;
x =0&lt;br /&gt;
&lt;br /&gt;
For j= 2 to rows_Count step 1&lt;br /&gt;
        Expected=ObjWorksheet.Cells(j, 1)&lt;br /&gt;
        flag  = 0&lt;br /&gt;
        For k=2 to rows_Count step 1&lt;br /&gt;
                Actual=ObjWorksheet.Cells(k, 2)&lt;br /&gt;
                If  StrComp (Expected,Actual,1)= 0 Then&lt;br /&gt;
                Flag =1&lt;br /&gt;
                End If&lt;br /&gt;
                x=x+1 &#39; increment the comparison count&lt;br /&gt;
        next&lt;br /&gt;
&lt;br /&gt;
        If  Flag=1 Then&lt;br /&gt;
                ObjWorksheet.Cells(j, 3)=&quot;Pass&quot;&lt;br /&gt;
        Else&lt;br /&gt;
                ObjWorksheet.Cells(j, 3)=&quot;Fail&quot;&lt;br /&gt;
        End If&lt;br /&gt;
        msgbox x  &#39;inner loop comparison values&lt;br /&gt;
Next&lt;br /&gt;
        msgbox x &#39; Total number of comparisons&lt;br /&gt;
&lt;br /&gt;
ObjWorkbook.Save&lt;br /&gt;
ObjExcel.Quit&lt;br /&gt;
Set ObjWorksheet=Nothing&lt;br /&gt;
Set ObjWorkbook=Nothing&lt;br /&gt;
Set ObjExcel=Nothing</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/4213139276339375287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/10/scripting-excel-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/4213139276339375287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/4213139276339375287'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/10/scripting-excel-qtp.html' title='Scripting  Excel : QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-2943805657669827985</id><published>2011-09-30T00:19:00.000-07:00</published><updated>2011-09-30T00:19:48.916-07:00</updated><title type='text'>Input/Out put Parameters:</title><content type='html'>Input/Out put Parameters:&lt;br /&gt;
&lt;br /&gt;
One can pass number of values in to the function while calling and a function can return only one value.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Function add(a,b) Main program&lt;br /&gt;
Res= a+b Add(10,20)&lt;br /&gt;
Add= res Msg box var&lt;br /&gt;
End function&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Input/Output parameters concept is used for passing some values in to the action to return some values once the execution is finish&lt;br /&gt;
 To do the same one has to declare the desired number of input parameters and out put parameters at the action, which is about to be called&lt;br /&gt;
&lt;br /&gt;
Navigation:&lt;br /&gt;
• Activate the menu item test&lt;br /&gt;
• Select the option action properties&lt;br /&gt;
• Select the parameters tab&lt;br /&gt;
• Declare the desired number of input/output parameters&lt;br /&gt;
• Using the corresponding add buttons&lt;br /&gt;
• Click on OK&lt;br /&gt;
&lt;br /&gt;
Exmaple:&lt;br /&gt;
vbwindow(&quot;Form1&quot;).VbEdit (&quot;val1&quot;).set parameter (&quot;a&quot;)&lt;br /&gt;
vbwindow(&quot;Form1&quot;).VbEdit(&quot;val2&quot;).Set parameter (&quot;b&quot;)&lt;br /&gt;
vbwindow(&quot;Form1&quot;).VbButton(&quot;ADD&quot;).Click&lt;br /&gt;
var= vbwindow(&quot;Form1&quot;).VbEdit(&quot;res&quot;).GetROProperty &quot;text&quot;&lt;br /&gt;
parameter (&quot;c&quot;)= var&lt;br /&gt;
vbwindow(&quot;Form1&quot;).Vbbutton(&quot;SUB&quot;).Click&lt;br /&gt;
var1=vbwindow(&quot;Form1&quot;).VbEdit(&quot;res&quot;).GetROProperty &quot;textA&quot;&lt;br /&gt;
parameter (&quot;d&quot;)=var1&lt;br /&gt;
vbwindow(&quot;Form1&quot;).VbButton(&quot;CLEAR&quot;).Click&lt;br /&gt;
&lt;br /&gt;
At the calling point one need to specify the input values in a sequence separated by commas and the variable names in a sequence in order to catch the return value&lt;br /&gt;
&lt;br /&gt;
Example:Take the new test&lt;br /&gt;
&lt;br /&gt;
Run action &quot;action1[inout122]&quot;, one iteration,20,30,r1,r2&lt;br /&gt;
msg box r1&lt;br /&gt;
msg box r2</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/2943805657669827985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/09/inputout-put-parameters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/2943805657669827985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/2943805657669827985'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/09/inputout-put-parameters.html' title='Input/Out put Parameters:'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-7677995855779272474</id><published>2011-09-30T00:13:00.000-07:00</published><updated>2011-09-30T00:13:02.138-07:00</updated><title type='text'>DataTable Methods</title><content type='html'>QTP is having a powerful utility that is DataTable.It is normally used to enter the test data into the QTP script during script execution.&lt;br /&gt;
The following are some data table methods and their descriprions with examples.&lt;br /&gt;
&lt;br /&gt;
Data table methods:&lt;br /&gt;
&lt;br /&gt;
Data table methods are used for performing the operations on the runtime data table&lt;br /&gt;
&lt;br /&gt;
1. Add- sheet: It is used for adding the new sheet for the runtime data table&lt;br /&gt;
SYNTAX: Data table.add sheet ”sheet name”&lt;br /&gt;
&lt;br /&gt;
2. Delete- sheet: It is used for deleting a specified sheet from the run time data table&lt;br /&gt;
SYNTAX: Data table.delete sheet”sheet name”&lt;br /&gt;
&lt;br /&gt;
3. Import: It is used for importing the data present in all the sheets in an excel file to the runtime data table&lt;br /&gt;
SYNTAX: Data table.import ”path of the excel file”&lt;br /&gt;
&lt;br /&gt;
4. Import Sheet: It is used for importing specified sheet of data from the excel file to the specified sheet in the runtime data table&lt;br /&gt;
SYNTAX: Data table. Import sheet “path of the excel file, source sheet id, destination sheet id”&lt;br /&gt;
 &lt;br /&gt;
5. Export: It is used for exporting the complete data present in the run time data table to a specified location&lt;br /&gt;
SYNTAX: Data table. export “Path of the location with a file name.xls extension”&lt;br /&gt;
&lt;br /&gt;
6.Export Sheet: It is used for exporting the data present in a specified sheet in the run time data table to a specified location&lt;br /&gt;
SYNTAX: Data table .export sheet “path of the location with a file name.xls extension”, sheet id to be exported.&lt;br /&gt;
&lt;br /&gt;
7. Set currant row: It is used for making the QTP focus on a specified row&lt;br /&gt;
SYNTAX: Data table. Set currant row (row number)&lt;br /&gt;
&lt;br /&gt;
8. Set next row: It is used for making the QTP focused on the next of the currently focused row&lt;br /&gt;
SYNTAX: Data table. Set next row&lt;br /&gt;
&lt;br /&gt;
9.Set Prev Row: It is used for making the QTP focus on the previous row of the currently focused tow&lt;br /&gt;
SYNTAX: Data table. Set prev row&lt;br /&gt;
&lt;br /&gt;
10. Value Method: It is used for getting a value from a specified sheet, specified column and currently focused row.&lt;br /&gt;
SYNTAX: Variable= Data Table. Value ( “column name”, sheet id)&lt;br /&gt;
&lt;br /&gt;
11. Get Sheet: It is used for making the QTP to focus on a specified sheet&lt;br /&gt;
SYNTAX: Data table. Get sheet (sheet id)&lt;br /&gt;
&lt;br /&gt;
12 Get Row Count: It is used for getting the row count of a global sheet&lt;br /&gt;
If at all one wants to get the row count of a specified sheet first of all they need to make the QTP to focus on a specified sheet and then get the row count&lt;br /&gt;
SYNTAX 1: Variable= Data Table. Get row count&lt;br /&gt;
SYNTAX 2: Variable= Data Table. Get sheet (“sheet id”). Get row count&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DataTable.Addsheet “Alok”&lt;br /&gt;
 DataTable.Importsheet “e:\Alok\td122.xls,1,3&lt;br /&gt;
 N=Datatable.Getsheet( 3).getrowcount&lt;br /&gt;
 For i= 1 to n&lt;br /&gt;
 Data table. Setcurrantrow( i )&lt;br /&gt;
 Vbwindow(“form1”).vbedit(“val1”).set datatable(“v1”,3)&lt;br /&gt;
 Vbwindow(“form1).vbedit(‘val2’).set datatable(“v2”,3)&lt;br /&gt;
 Vbwindow(”form1”).vbbutton(“add”).click&lt;br /&gt;
 Expval= Datatable.value(“ev”,3)&lt;br /&gt;
 Actval= vbwindow(“form1”).vbedit(“res”).getroproperty(“text”)&lt;br /&gt;
 If (Expval= Actval) then&lt;br /&gt;
 Datatable (“res”,3)= “pass”&lt;br /&gt;
 Else&lt;br /&gt;
 Datatable (“res”,3)= “fail”&lt;br /&gt;
 End if&lt;br /&gt;
 Next&lt;br /&gt;
 Datatable.Export sheet “D;\fl_automation\log\file2.xls”,3&lt;br /&gt;
 Datatable.Delete “Alok”</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/7677995855779272474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/09/datatable-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/7677995855779272474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/7677995855779272474'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/09/datatable-methods.html' title='DataTable Methods'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-8177274725908128777</id><published>2011-08-08T02:47:00.000-07:00</published><updated>2011-08-08T02:47:31.325-07:00</updated><title type='text'>QTP Automation Architecture:-</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPBbyN9tXR1cSuB5iZUib6efT9mACZ_XxebCj0x7PgqY-iXnwA6xbEoPK46IHJ8xKy15M9-WRcBUHk_mIG0fmioMuPDS2WIqXkwZclWUqBy-89dsix02NrhFRAq3a3HEz6XENNSThNc14/s1600/QTP+Automation+Architecture.JPG&quot; imageanchor=&quot;1&quot; style=&quot;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; width=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPBbyN9tXR1cSuB5iZUib6efT9mACZ_XxebCj0x7PgqY-iXnwA6xbEoPK46IHJ8xKy15M9-WRcBUHk_mIG0fmioMuPDS2WIqXkwZclWUqBy-89dsix02NrhFRAq3a3HEz6XENNSThNc14/s320/QTP+Automation+Architecture.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=8184049722&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;&quot;align=&quot;left&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/8177274725908128777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/08/qtp-automation-architecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/8177274725908128777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/8177274725908128777'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/08/qtp-automation-architecture.html' title='QTP Automation Architecture:-'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPBbyN9tXR1cSuB5iZUib6efT9mACZ_XxebCj0x7PgqY-iXnwA6xbEoPK46IHJ8xKy15M9-WRcBUHk_mIG0fmioMuPDS2WIqXkwZclWUqBy-89dsix02NrhFRAq3a3HEz6XENNSThNc14/s72-c/QTP+Automation+Architecture.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-6839657787872849152</id><published>2011-08-08T02:37:00.000-07:00</published><updated>2011-08-08T02:37:12.021-07:00</updated><title type='text'>QTP Automation Process:</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi8RZ59m0_b_ybOiCJlmdhfTKSzYfL0t4S17k233oF_qkU-BHKE-Dv0c3RxNLEhnWUJWS_cH15rXFEHxhYBnA3trHcV0RK8PhyphenhypheneScWymRQkZ1K7NjvQtr9_qRkVHvKzOaOrNryFASOcz0/s1600/QTP+Automation+Process.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear:left; float:left;margin-right:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; width=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi8RZ59m0_b_ybOiCJlmdhfTKSzYfL0t4S17k233oF_qkU-BHKE-Dv0c3RxNLEhnWUJWS_cH15rXFEHxhYBnA3trHcV0RK8PhyphenhypheneScWymRQkZ1K7NjvQtr9_qRkVHvKzOaOrNryFASOcz0/s320/QTP+Automation+Process.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=1893115755&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;&quot;align=&quot;left&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/6839657787872849152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/08/qtp-automation-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/6839657787872849152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/6839657787872849152'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/08/qtp-automation-process.html' title='QTP Automation Process:'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi8RZ59m0_b_ybOiCJlmdhfTKSzYfL0t4S17k233oF_qkU-BHKE-Dv0c3RxNLEhnWUJWS_cH15rXFEHxhYBnA3trHcV0RK8PhyphenhypheneScWymRQkZ1K7NjvQtr9_qRkVHvKzOaOrNryFASOcz0/s72-c/QTP+Automation+Process.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-7992788922540114088</id><published>2011-08-08T02:33:00.000-07:00</published><updated>2017-04-21T04:07:43.004-07:00</updated><title type='text'>Test Automation Framework:</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Automation Framework&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Linear Framework:-&lt;br /&gt;
&lt;/b&gt;•It is a very simple framework.&lt;br /&gt;
•Only Record and Playback is done in this framework.&lt;br /&gt;
•It is a beginner level framework.&lt;br /&gt;
•Capturing tests by recording the actions of a manual tester.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Modular Framework:&lt;br /&gt;
&lt;/b&gt;•The whole scenario is divided into small business flows-called module. &lt;br /&gt;
•Those modules are written in a library file as a functions or reusable actions.&lt;br /&gt;
•Main Script is linked with small module functions or reusable actions, more over this is a very simple approach over record and play back.&lt;br /&gt;
•Modular is nothing but to make the script reusable. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Data Driven Framework:-&lt;br /&gt;
&lt;/b&gt;• Repeated use of Test Scripts with different inputs.&lt;br /&gt;
• Separates out the test inputs (the data), usually into a spreadsheet, and uses a more generic script that can read the test data and perform the same test with different data. &lt;br /&gt;
• Testers who are not familiar with the scripting language can enter test data for these predefined scripts.&lt;br /&gt;
• Ease of Testing of Time consumption. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Keyword Driven Framework:-&lt;br /&gt;
&lt;/b&gt;• Steps and data are feed to the automation tool.&lt;br /&gt;
•Automation tool judges the steps and input data from a data pool, It gave the output data&lt;br /&gt;
•Spreadsheet contains keywords describing the actions to be taken (also called action words), and test data.&lt;br /&gt;
• Testers (even if they are not familiar with the&lt;br /&gt;
scripting language) can then define tests using the keywords.&lt;br /&gt;
• Very sensitive towards data. &lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;Hybrid Framework:-&lt;br /&gt;
&lt;/b&gt;• Combination of keyword, data driven and modular framework.&lt;br /&gt;
• The main advantage is this is logic driven.&lt;br /&gt;
• Keywords are logic based.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/7992788922540114088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/08/test-automation-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/7992788922540114088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/7992788922540114088'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/08/test-automation-framework.html' title='Test Automation Framework:'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-3280013085827982531</id><published>2011-08-08T02:22:00.000-07:00</published><updated>2011-08-08T02:22:40.919-07:00</updated><title type='text'>Automation Testing</title><content type='html'>&lt;b&gt;Automation Testing:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
•Testing software using software known as automation testing.&lt;br /&gt;
•Framework is a set of rule designed by the experts.&lt;br /&gt;
•There is no hard and fast rule to design a framework. &lt;br /&gt;
•Currently, IT industry has various frameworks in support of automation testing. &lt;br /&gt;
 &lt;br /&gt;
        1) Linear Framework&lt;br /&gt;
 2) Modular Framework&lt;br /&gt;
 3) Data Driven Framework&lt;br /&gt;
 4) Keyword Driven Framework&lt;br /&gt;
 5) Hybrid Framework</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/3280013085827982531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/08/automation-testing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/3280013085827982531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/3280013085827982531'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/08/automation-testing.html' title='Automation Testing'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-8127920531091865934</id><published>2011-07-28T03:27:00.000-07:00</published><updated>2011-07-29T05:04:14.303-07:00</updated><title type='text'>Sample Questions-Part 2-QTP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div closure_uid_de50qv=&quot;126&quot;&gt;&lt;div closure_uid_q4f784=&quot;143&quot;&gt;1) Which scripting language is used in QTP ?&lt;/div&gt;&lt;/div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&amp;nbsp;Test Script Language (TSL) &lt;/li&gt;
&lt;li&gt;&amp;nbsp;Java Script &lt;/li&gt;
&lt;li closure_uid_de50qv=&quot;130&quot;&gt;&amp;nbsp;ASP &lt;/li&gt;
&lt;li closure_uid_de50qv=&quot;132&quot;&gt;&amp;nbsp;VB Script &lt;/li&gt;
&lt;/ol&gt;&lt;div closure_uid_de50qv=&quot;131&quot;&gt;&lt;/div&gt;&lt;div&gt;2) Does QTP support Data Driven Framework ?&lt;/div&gt;&lt;ol closure_uid_de50qv=&quot;137&quot; style=&quot;text-align: left;&quot;&gt;&lt;li closure_uid_de50qv=&quot;136&quot;&gt;&amp;nbsp;YES &lt;/li&gt;
&lt;li&gt;&amp;nbsp;QTP supports only Modular Framework &lt;/li&gt;
&lt;li closure_uid_de50qv=&quot;135&quot;&gt;&amp;nbsp;QTP is only Keyword Driven Framework &lt;/li&gt;
&lt;li closure_uid_de50qv=&quot;134&quot;&gt;&amp;nbsp;No &lt;/li&gt;
&lt;/ol&gt;&lt;SCRIPT charset=&quot;utf-8&quot; type=&quot;text/javascript&quot; src=&quot;http://ws.amazon.com/widgets/q?rt=qf_sp_asin_mfw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822/US/httpexpertqtp-20/8001/d456cf27-5964-4d3b-8378-ef67b96cfe7a&quot;&gt; &lt;/SCRIPT&gt; &lt;NOSCRIPT&gt;&lt;A HREF=&quot;http://ws.amazon.com/widgets/q?rt=qf_sp_asin_mfw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fhttpexpertqtp-20%2F8001%2Fd456cf27-5964-4d3b-8378-ef67b96cfe7a&amp;Operation=NoScript&quot;&gt;Amazon.com Widgets&lt;/A&gt;&lt;/NOSCRIPT&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;3) Select the Browsers NOT Supported by QTP ?&lt;/div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;div closure_uid_de50qv=&quot;138&quot;&gt;&amp;nbsp;IE &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div closure_uid_de50qv=&quot;140&quot;&gt;&amp;nbsp;Netscape &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Safari &lt;/li&gt;
&lt;li&gt;&lt;div closure_uid_de50qv=&quot;139&quot;&gt;&amp;nbsp;AOL &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;div&gt;4) “Active Screen” Technology in QTP gives&lt;/div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;div closure_uid_de50qv=&quot;147&quot;&gt;&amp;nbsp;Test Data &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div closure_uid_de50qv=&quot;149&quot;&gt;&amp;nbsp;Checkpoints &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Screenshots of Application Under Test (AUT) &lt;/li&gt;
&lt;li&gt;&lt;div closure_uid_de50qv=&quot;148&quot;&gt;&amp;nbsp;Object Repository &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;div&gt;5) Does the “Information” Toolbar in QTP 10.x give the Syntax Errors if any in the script ?&lt;/div&gt;&lt;div closure_uid_de50qv=&quot;153&quot; style=&quot;text-align: left;&quot;&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;NO &lt;/div&gt;&lt;div closure_uid_de50qv=&quot;152&quot; style=&quot;text-align: left;&quot;&gt;&amp;nbsp;It gives syntax errors only related to functions &lt;/div&gt;&lt;br /&gt;
&lt;div closure_uid_de50qv=&quot;154&quot;&gt;6) Method to To count the no of rows in a table&lt;/div&gt;&lt;div&gt;&amp;nbsp;getrowcount &lt;/div&gt;&lt;div&gt;&amp;nbsp;getlinecount &lt;/div&gt;&lt;div&gt;&amp;nbsp;Getcount &lt;/div&gt;&lt;div&gt;&amp;nbsp;Count &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;7) Select Case statement is end with&lt;/div&gt;&lt;div&gt;&amp;nbsp;end case &lt;/div&gt;&lt;div&gt;&amp;nbsp;exit case &lt;/div&gt;&lt;div&gt;&amp;nbsp;esac &lt;/div&gt;&lt;div&gt;&amp;nbsp;end select &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;8) Object Repository is available in 3 modes viz.a) Per-Action Object Repository b) Shared Object Repository, c) Unshared Object Repository&lt;/div&gt;&lt;div&gt;&amp;nbsp;Both a &amp;amp; b &lt;/div&gt;&lt;div&gt;&amp;nbsp;Both a &amp;amp; c &lt;/div&gt;&lt;div&gt;&amp;nbsp;Both b &amp;amp; c &lt;/div&gt;&lt;div&gt;&amp;nbsp;Only a &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;9) What is the correct order of events in Test Script Creation ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;Plan, Record , Debug, Enhance &lt;/div&gt;&lt;div&gt;&amp;nbsp;Plan , Record , Enhance , Debug &lt;/div&gt;&lt;div&gt;&amp;nbsp;Record, Debug , Plan , Enhance &lt;/div&gt;&lt;div&gt;&amp;nbsp;Record, Enhance, Debug , Plan &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;10) Which one is the default data type of QTP&lt;/div&gt;&lt;div&gt;&amp;nbsp;integer &lt;/div&gt;&lt;div&gt;&amp;nbsp;String &lt;/div&gt;&lt;div&gt;&amp;nbsp;Variant &lt;/div&gt;&lt;div&gt;&amp;nbsp;Double &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;11) To use the non-standard windows object, we can go for&lt;/div&gt;&lt;div&gt;&amp;nbsp;Object spy &lt;/div&gt;&lt;div&gt;&amp;nbsp;Virtual objects &lt;/div&gt;&lt;div&gt;&amp;nbsp;Object identification &lt;/div&gt;&lt;div&gt;&amp;nbsp;None &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;12) Select INVALID Checkpoint Type from the following&lt;/div&gt;&lt;div&gt;&amp;nbsp;Page Checkpoint &lt;/div&gt;&lt;div&gt;&amp;nbsp;Accessibility Checkpoint &lt;/div&gt;&lt;div&gt;&amp;nbsp;Object Checkpoint &lt;/div&gt;&lt;div&gt;&amp;nbsp;XML Checkpoint &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;13) To terminate the script execution, during running, QTP uses&lt;/div&gt;&lt;div&gt;&amp;nbsp;Exit run &lt;/div&gt;&lt;div&gt;&amp;nbsp;Stop run &lt;/div&gt;&lt;div&gt;&amp;nbsp;Quit &lt;/div&gt;&lt;div&gt;&amp;nbsp;None &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;14) BITMAP Checkpoint checks the property values of an image ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;15) Synchronization Point is used :-&lt;/div&gt;&lt;div&gt;&amp;nbsp;To delay QTP execution until Application Under Test (AUT) attains certain status &lt;/div&gt;&lt;div&gt;&amp;nbsp;To synchronize execution in multiple instances of QTP &lt;/div&gt;&lt;div&gt;&amp;nbsp;To synchronize per action and shared object repositories &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;16) Do statement always end with&lt;/div&gt;&lt;div&gt;&amp;nbsp;end while &lt;/div&gt;&lt;div&gt;&amp;nbsp;End do &lt;/div&gt;&lt;div&gt;&amp;nbsp;Wend &lt;/div&gt;&lt;div&gt;&amp;nbsp;Loop &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;17) By default a Datable contains :-&lt;/div&gt;&lt;div&gt;&amp;nbsp;One Action Sheet and One Global Sheet &lt;/div&gt;&lt;div&gt;&amp;nbsp;Two Global Sheets &lt;/div&gt;&lt;div&gt;&amp;nbsp;Two Action Sheets &lt;/div&gt;&lt;div&gt;&amp;nbsp;Two Action Sheets and One Global Sheet &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;18) Results Table (results of a test) is available in which following locations ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;Test Script Folder &lt;/div&gt;&lt;div&gt;&amp;nbsp;Test Configuration Folder &lt;/div&gt;&lt;div&gt;&amp;nbsp;Test Results Folder &lt;/div&gt;&lt;div&gt;&amp;nbsp;Test Functions Folder &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;19) *.mts file contains :-&lt;/div&gt;&lt;div&gt;&amp;nbsp;Sequence and iterations of Actions to be executed &lt;/div&gt;&lt;div&gt;&amp;nbsp;User created library functions &lt;/div&gt;&lt;div&gt;&amp;nbsp;Per-Action Object Repository Files &lt;/div&gt;&lt;div&gt;&amp;nbsp;Parameter used in Actions &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;20) The feature of selecting different values of test data at run-time is called&lt;/div&gt;&lt;div&gt;&amp;nbsp;Synchronization &lt;/div&gt;&lt;div&gt;&amp;nbsp;Parameterization &lt;/div&gt;&lt;div&gt;&amp;nbsp;Smart Identification &lt;/div&gt;&lt;div&gt;&amp;nbsp;Transaction &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;21) Can Checkpoints be parameterized ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;div&gt;&amp;nbsp;Maybe. Depends on the type of checkpoints &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;22) Can Test-Data in “Action Sheet” of Data Table be used from one action to another ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;23) Text Output Value -&lt;/div&gt;&lt;div&gt;a) outputs property value of any object &lt;/div&gt;&lt;div&gt;b) outputs text string appearing in AUT&lt;/div&gt;&lt;div&gt;c) outputs part of displayed text appearing in AUT&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&amp;nbsp;only a &lt;br /&gt;
&lt;div&gt;&amp;nbsp;only b &lt;/div&gt;&lt;div&gt;&amp;nbsp;only c &lt;/div&gt;&lt;div&gt;&amp;nbsp;both b &amp;amp; c &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;24) Select the valid types of Actions in QTP&lt;/div&gt;&lt;div&gt;a) Nested Actions &lt;/div&gt;&lt;div&gt;b) Shared Actions&lt;/div&gt;&lt;div&gt;c) External Actions&lt;/div&gt;&lt;div&gt;d) Reusable Actions&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&amp;nbsp;both b &amp;amp; c &lt;br /&gt;
&lt;div&gt;&amp;nbsp;both b &amp;amp; d &lt;/div&gt;&lt;div&gt;&amp;nbsp;both a &amp;amp; d &lt;/div&gt;&lt;div&gt;&amp;nbsp;both a &amp;amp; c &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;25) Can Actions inserted as “Call to Action” be modified by the test engineer?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;26) Action Sheet (in Data Table) of an action inserted as “Copy of an Action” is editable only from the test from which they were created ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;27) Action Iteration is :-&lt;/div&gt;&lt;div&gt;&amp;nbsp;Number of times action would be executed every global iteration &lt;/div&gt;&lt;div&gt;&amp;nbsp;Number of time action would be executed in entire test execution &lt;/div&gt;&lt;div&gt;&amp;nbsp;Number of times all actions would be executed globally. &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;28) Choose the valid syntax to call Action 1 ( from Action 0) with input parameter “action_in” and store the output in a variable “MyVariable”&lt;/div&gt;&lt;div&gt;&amp;nbsp;RunAction &#39;Action1&#39;, oneIteration, Parameter(“action_in”), MyVariable &lt;/div&gt;&lt;div&gt;&amp;nbsp;RunAction &#39;Action0&#39;, oneIteration, Parameter(“action_in”), MyVariable &lt;/div&gt;&lt;div&gt;&amp;nbsp;RunAction &#39;Action1&#39;, oneIteration, MyVariable , Parameter(“action_in”) &lt;/div&gt;&lt;div&gt;&amp;nbsp;RunAction &#39;Action0&#39;, oneIteration, MyVariable , Parameter(“action_in &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;29) Can we use all standard Microsoft Excel features like Formulae, Formatting , Sorting etc in QTP DataTable ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;30) “Call to Copy” of an action can be inserted only for reusable actions ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;31) Parameterization of all Test data in a script can be done using&lt;/div&gt;&lt;div&gt;&amp;nbsp;Object Repository Manager &lt;/div&gt;&lt;div&gt;&amp;nbsp;Virtual Object Manager &lt;/div&gt;&lt;div&gt;&amp;nbsp;Data Driver &lt;/div&gt;&lt;div&gt;&amp;nbsp;Variable Driver &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;32) Are Nested Actions Call to one Action from Another ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;33) Is the Shared ( Global ) Action Repository the default repository in QTP ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;34) In a Per – Action (Local) Repository Action 1 and Action 2 in the same test script would have different object repositories?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;35) The Share Action Repository is preferable when&lt;/div&gt;&lt;div&gt;&amp;nbsp;The Application Under Test is Dynamic with respect time &lt;/div&gt;&lt;div&gt;&amp;nbsp;The Application Under Test is Internet Environment &lt;/div&gt;&lt;div&gt;&amp;nbsp;The Application Under Test is Static &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;36) What is *.tsr file in QTP ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;Object Repository Files &lt;/div&gt;&lt;div&gt;&amp;nbsp;VB Actions Files &lt;/div&gt;&lt;div&gt;&amp;nbsp;QTP Action Files &lt;/div&gt;&lt;div&gt;&amp;nbsp;Stores Test Data &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;37) Object Spy can be used to&lt;/div&gt;&lt;div&gt;&amp;nbsp;identify the Objects that can be identified by QTP &lt;/div&gt;&lt;div&gt;&amp;nbsp;identify the properties used for identification of objects &lt;/div&gt;&lt;div&gt;&amp;nbsp;identify the properties used for identification of objects in per-action repository &lt;/div&gt;&lt;div&gt;&amp;nbsp;identify the properties used for identification of objects in global action repository &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;38) Are Assistive properties used when mandatory properties are enough to identify an object ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;39) Are Ordinal Identifiers used when Mandatory and Assistive properties used by QTP are not enough to identify Object?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;40) Select the Invalid type of Ordinal Identifiers Used by QTP&lt;/div&gt;&lt;div&gt;&amp;nbsp;Index Based &lt;/div&gt;&lt;div&gt;&amp;nbsp;Location based &lt;/div&gt;&lt;div&gt;&amp;nbsp;Creation Time &lt;/div&gt;&lt;div&gt;&amp;nbsp;Time Based &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;41) Does Index based ordinal identifier indicates the order in which the object appears in the parent window frame or dialog box relative to other objects?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;42) Does Location based ordinal identifier indicates the order in which object appears in the application code relative to other objects?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;43) Select the environments in which Creation Time ordinal identifier is used&lt;/div&gt;&lt;div&gt;&amp;nbsp;SAP &lt;/div&gt;&lt;div&gt;&amp;nbsp;Oracle &lt;/div&gt;&lt;div&gt;&amp;nbsp;Web &lt;/div&gt;&lt;div&gt;&amp;nbsp;Java &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;44) When a test is run in update mode, what is updated?&lt;/div&gt;&lt;div&gt;&amp;nbsp;The test results &lt;/div&gt;&lt;div&gt;&amp;nbsp;The object descriptions &lt;/div&gt;&lt;div&gt;&amp;nbsp;The action names in the test &lt;/div&gt;&lt;div&gt;&amp;nbsp;The logical names in the test &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;45) For identification of any object the choice of ordinal identifier selected can be modified in the Object Identification Window?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;46) The Index Property value of Occurrence of the first object in source code is&lt;/div&gt;&lt;div&gt;&amp;nbsp;1 &lt;/div&gt;&lt;div&gt;&amp;nbsp;a &lt;/div&gt;&lt;div&gt;&amp;nbsp;2 &lt;/div&gt;&lt;div&gt;&amp;nbsp;0 &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;47) Is Smart Identification is invoked when QTP cannot recognize an object using mandatory , assistive and ordinal properties ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;Yes &lt;/div&gt;&lt;div&gt;&amp;nbsp;No &lt;/div&gt;&lt;div&gt;&amp;nbsp;Only in Web Environments &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;48) Select the type of properties used for Smart Identification&lt;/div&gt;&lt;div&gt;&amp;nbsp;Mandatory Properties &lt;/div&gt;&lt;div&gt;&amp;nbsp;Assistive Properties &lt;/div&gt;&lt;div&gt;&amp;nbsp;Base Filter Properties &lt;/div&gt;&lt;div&gt;&amp;nbsp;Smart Properties &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;49) Utility to measure the timing delays between transactions, we use&lt;/div&gt;&lt;div&gt;&amp;nbsp;synchronization &lt;/div&gt;&lt;div&gt;&amp;nbsp;sync &lt;/div&gt;&lt;div&gt;&amp;nbsp;services &lt;/div&gt;&lt;div&gt;&amp;nbsp;wait &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;50) Select the Invalid recording modes supported by QTP&lt;/div&gt;&lt;div&gt;&amp;nbsp;Low-level Recording mode &lt;/div&gt;&lt;div&gt;&amp;nbsp;Normal recording mode &lt;/div&gt;&lt;div&gt;&amp;nbsp;High-level Recording mode &lt;/div&gt;&lt;div&gt;&amp;nbsp;Analog recording mode &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;51) What does a breakpoint do?&lt;/div&gt;&lt;div&gt;&amp;nbsp;Stops test execution at the specified step, after executing that step &lt;/div&gt;&lt;div&gt;&amp;nbsp;Stops test execution at the specified step, before executing that step &lt;/div&gt;&lt;div&gt;&amp;nbsp;Pauses test execution at the specified step, after executing that step &lt;/div&gt;&lt;div&gt;&amp;nbsp;Pauses test execution at the specified step, before executing that step &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;52) Does Analog Recording mode, records exact mouse and keyboard operations ?&lt;/div&gt;&lt;div&gt;&amp;nbsp;YES &lt;/div&gt;&lt;div&gt;&amp;nbsp;NO &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;53) The RunAnalog function is used to run&lt;/div&gt;&lt;div&gt;&amp;nbsp;Tracks &lt;/div&gt;&lt;div&gt;&amp;nbsp;Functions &lt;/div&gt;&lt;div&gt;&amp;nbsp;Analog Functions &lt;/div&gt;&lt;div&gt;&amp;nbsp;Analog settings &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;54) Consider the QTP Script below&lt;/div&gt;&lt;div&gt;Window(“Calculator”).WinObject(“8”).Click 21,6&lt;/div&gt;&lt;div&gt;Window(“Calculator”).WinObject(“WinObject”).Click 14,13&lt;/div&gt;In which mode is the script recorded ? &lt;br /&gt;
&lt;div&gt;&amp;nbsp; Analog Recording mode &lt;/div&gt;&lt;div&gt;&amp;nbsp;Context Sensitive mode &lt;/div&gt;&lt;div&gt;&amp;nbsp;Low Level Recording mode &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;55) Virtual Objects are used when:-&lt;/div&gt;&lt;div&gt;&amp;nbsp;The objects do not exist in the Application Under Test &lt;/div&gt;&lt;div&gt;&amp;nbsp;Standard Objects cannot be recorded due to problems that arise during recording &lt;/div&gt;&lt;div&gt;&amp;nbsp;There are many objects of the same class in the Application Under Test &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;56) Consider the QTP Script below:-&lt;/div&gt;&lt;div&gt;On Error Resume Next&lt;/div&gt;What does the above line of code do ? &lt;br /&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;If an error occurs in the current line of script under execution , QTP proceeds ahead to the next step &lt;/div&gt;&lt;div&gt;&amp;nbsp;If an error occurs in the current iteration in script execution , QTP proceeds ahead to next iteration &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;57) Which of the following is an example of a missing resource?&lt;/div&gt;&lt;div&gt;&amp;nbsp;An object &lt;/div&gt;&lt;div&gt;&amp;nbsp;Run Results &lt;/div&gt;&lt;div&gt;&amp;nbsp;A Regular Action &lt;/div&gt;&lt;div&gt;&amp;nbsp;An External Action &lt;/div&gt;&lt;div closure_uid_de50qv=&quot;125&quot;&gt;&lt;/div&gt;&lt;div&gt;58) To enter the non-executable statement in QTP , we use&lt;/div&gt;&lt;div&gt;&amp;nbsp;single quotes &lt;/div&gt;&lt;div&gt;&amp;nbsp;Rem &lt;/div&gt;&lt;div&gt;&amp;nbsp;double quotes &lt;/div&gt;&lt;div&gt;&amp;nbsp;Com &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/8127920531091865934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/07/sample-questions-part-2-qtp.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/8127920531091865934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/8127920531091865934'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/07/sample-questions-part-2-qtp.html' title='Sample Questions-Part 2-QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-4296389575164042108</id><published>2011-07-19T03:07:00.000-07:00</published><updated>2011-07-29T07:58:02.534-07:00</updated><title type='text'>VB Script:QTP</title><content type='html'>&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=httpexpertqtp-20&amp;o=1&amp;p=8&amp;l=as1&amp;asins=0979147905&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;width:120px;height:240px;&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;As we all are aware that QTP supports VB script. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;VB script: Basic&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;A variable is a virtual container in the computer&#39;s memory where we can store&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;Program information that may change during the time of our script is running. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;In VBScript, variables are always of one fundamental data type, Variant.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;A computer program can store information in a variable and then access that&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;Information later by referring to the variable&#39;s name.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;Dim Statement&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;The Dim statement declares and allocates storage space in memory for&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;Variables. If the Dim statement is used at the start of a procedure then the variable is local to the procedure, if&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;it is used at start of a global script block the Dim will available throughout the module.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;Syntax: Dim varname[([subscripts])][, varname[([subscripts])]]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;Option Explicit Statement&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;Forces explicit declaration of all variables in a script.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;If used, the Option Explicit statement must appear in a script before any other&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;statements. When you use the Option Explicit statement, you must explicitly&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;declare all variables using the Dim, Private, Public, or ReDim statements. If you&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;attempt to use an undeclared variable name, an error pop will appear displaying the message as “variable is undefined”&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%;&quot;&gt;Arrays:&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_phlbq2=&quot;106&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;div closure_uid_phlbq2=&quot;91&quot;&gt;&lt;span closure_uid_phlbq2=&quot;114&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt;&quot;&gt;It is a variable which contains a series of variables value. Array variables and scalar variables are declared in the same way, except that the declaration of an array variable uses parentheses ( ) following the variable name. Arrays are useful when we are storing sets of similar data.&lt;/span&gt;&lt;/div&gt;&lt;div closure_uid_phlbq2=&quot;91&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background: white;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;Constants&amp;nbsp;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div closure_uid_phlbq2=&quot;116&quot; style=&quot;background: white;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;A &lt;i&gt;constant&lt;/i&gt; contains a value that never changes. For example, the value of PI is a constant. Use constants to define values that you know will never change during the execution of your script.VBScript also allows you to define your own constants.&lt;/span&gt;&lt;/div&gt;&lt;div closure_uid_phlbq2=&quot;116&quot; style=&quot;background: white;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 150%; margin: 0.1in 0in 0.05in;&quot;&gt;&lt;div closure_uid_8qialw=&quot;102&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Descriptive programming in QTP&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;span closure_uid_8qialw=&quot;101&quot; lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Whenever QTP records any action on any object of an application, it adds some description on how to recognize that object to a repository of objects called object repository. QTP cannot take action on an object until unless its object description is in the Object Repository. But descriptive programming provides a way to perform action on objects which are not in Object repository.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 150%; margin: 0.1in 0in 0.05in;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Why to use Descriptive programming?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;Below are some of the situations when Descriptive Programming can be considered useful:&lt;br /&gt;
The objects in the application are dynamic in nature and need special handling to identify the object. The best example would be of clicking a link which changes according to the user of the application, Ex. “Logout &amp;lt;&amp;lt;UserName&amp;gt;&amp;gt;”.&lt;br /&gt;
When object repository is getting huge due to the no. of objects being added. If the size of Object repository increases too much then it decreases the performance of QTP while recognizing a object.&lt;br /&gt;
When you don’t want to use object repository at all. Well the first question would be why not Object repository? Consider the following scenario which would help understand why not Object repository&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 150%; margin: 0.1in 0in 0.05in;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Scenario 1:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; Suppose we have a web application that has not been developed yet. Now QTP for recording the script and adding the objects to repository needs the application to be up, that would mean waiting for the application to be deployed before we can start of with making QTP scripts. But if we know the descriptions of the objects that will be created then we can still start off with the script writing for testing&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 150%; margin: 0.1in 0in 0.05in;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Scenario 2:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; Suppose an application has 3 navigation buttons on each and every page. Let the buttons be “Cancel”, “Back” and “Next”. Now recording action on these buttons would add 3 objects per page in the repository. For a 10 page flow this would mean 30 objects which could have been represented just by using 3 objects. So instead of adding these 30 objects to the repository we can just write 3 descriptions for the object and use it on any page.Modification to a test case is needed but the Object repository for the same is Read only or in shared mode i.e. changes may affect other scripts as well.&lt;br /&gt;
When you want to take action on similar type of object i.e. suppose we have 20 textboxes on the page and there names are in the form txt_1, txt_2, txt_3 and so on. Now adding all 20 the Object repository would not be a good programming approach. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 150%; margin: 0.1in 0in 0.05in;&quot;&gt;&lt;div closure_uid_8qialw=&quot;103&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 150%; mso-ansi-language: EN; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;How to use Descriptive programming:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div closure_uid_phlbq2=&quot;116&quot; style=&quot;background: white;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%; mso-ansi-language: EN; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;There are two ways in which descriptive programming can be used&lt;br /&gt;
By creating properties collection object for the description.&lt;br /&gt;
By giving the description in form of the string arguments.By creating properties collection object for the description.To use this method you need first to create an empty description&lt;/span&gt;&lt;/div&gt;&lt;div closure_uid_df5syt=&quot;90&quot; closure_uid_phlbq2=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Control Structures&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; &lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Control structures allow you to control the flow of execution of your scripts. You can specify that some code should be executed only under certain circumstances, using conditional structures. You can specify that some code should be executed repeatedly, using &lt;a href=&quot;http://support.technetex.ca/devguide/vbscript_reference2.aspx#Looping&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;looping structures&lt;/span&gt;&lt;/a&gt;. Lastly, you can specify that code from somewhere else in the script should be executed using &lt;a href=&quot;http://support.technetex.ca/devguide/vbscript_reference2.aspx#Branching&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;branching structures&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Conditional&quot;&gt;&lt;/a&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Conditional Structures &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-no-proof: yes;&quot;&gt;&lt;shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;stroke joinstyle=&quot;miter&quot;&gt;&lt;/stroke&gt;&lt;formulas&gt;&lt;f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 1 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum 0 0 @1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @2 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 0 1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @6 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @8 21600 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @10 21600 0&quot;&gt;&lt;/f&gt;&lt;/formulas&gt;&lt;path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;/path&gt;&lt;lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;&lt;/lock&gt;&lt;/shapetype&gt;&lt;shape alt=&quot;http://support.technetex.ca/images/spacer.gif&quot; id=&quot;Picture_x0020_32&quot; o:spid=&quot;_x0000_i1027&quot; style=&quot;height: 0.75pt; mso-wrap-style: square; visibility: visible; width: 0.75pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;spacer&quot; src=&quot;file:///C:\DOCUME~1\alokm\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.gif&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;A)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;If...Then...Else:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;It allows you to choose which block of code to execute based on a condition or series of conditions.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;If condition1 Then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block 1 &lt;br /&gt;
ElseIf condition2 Then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block 2&lt;br /&gt;
Else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block 3&lt;br /&gt;
End If &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;If &lt;i&gt;condition1&lt;/i&gt; is True, code block 1 is executed. If it is False, and &lt;i&gt;condition2&lt;/i&gt; is True, code block 2 is executed. If &lt;i&gt;condition1&lt;/i&gt; and &lt;i&gt;condition2&lt;/i&gt; are False, code block 3 executes. &lt;br /&gt;
An If...Then construct may have zero or more ElseIf statements, and zero or one Else statements. &lt;br /&gt;
You can use NOT to reverse the logic of the IF structure. (i.e. If Not...Then...Else)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;B)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Select Case:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-add-space: auto; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;It can be used instead of using some really complex If...Then constructs.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Select Case &lt;i&gt;variable&lt;/i&gt;&lt;br /&gt;
Case &lt;i&gt;chioce1&lt;/i&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block 1&lt;br /&gt;
Case &lt;i&gt;choice2&lt;/i&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block 2&lt;br /&gt;
...&lt;br /&gt;
Case &lt;i&gt;choiceN&lt;/i&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block N&lt;br /&gt;
Case Else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;default code block&lt;br /&gt;
End Select &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;This compares the value of &lt;i&gt;variable&lt;/i&gt; with &lt;i&gt;choice1&lt;/i&gt;, &lt;i&gt;choice2&lt;/i&gt;, and so on. If it finds a match, it executes the code block associated with that choice. If it does not find a match, it executes the default code block.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;Looping&quot;&gt;&lt;/a&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;a href=&quot;http://support.technetex.ca/devguide/vbscript_reference2.aspx#top&quot;&gt;&lt;/a&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Looping Structures &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-no-proof: yes;&quot;&gt;&lt;shape alt=&quot;http://support.technetex.ca/images/spacer.gif&quot; id=&quot;Picture_x0020_33&quot; o:spid=&quot;_x0000_i1026&quot; style=&quot;height: 0.75pt; mso-wrap-style: square; visibility: visible; width: 0.75pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;spacer&quot; src=&quot;file:///C:\DOCUME~1\alokm\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.gif&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Looping structures allow you to execute the same block of code repeatedly. The number of times it executes may be fixed or may be based on one or more conditions. Be careful not to create an endless loop; that is one where the condition required to break the loop is never met.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;A)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;For...Next&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; :&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;The looping structures take the following form:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;For &lt;i&gt;counter&lt;/i&gt; = &lt;i&gt;start&lt;/i&gt; to &lt;i&gt;s&lt;/i&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block&lt;br /&gt;
Next &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;code block is executed with &lt;i&gt;counter&lt;/i&gt; having the value &lt;i&gt;start&lt;/i&gt;, then again with &lt;i&gt;counter&lt;/i&gt; having the value &lt;i&gt;start&lt;/i&gt;+1, then &lt;i&gt;start&lt;/i&gt;+2, and so on until it has the value &lt;i&gt;s&lt;/i&gt;. It then leaves the loop.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Optionally, you may specify a different value to increment counter by using this construct:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;For &lt;i&gt;counter&lt;/i&gt; = &lt;i&gt;start&lt;/i&gt; to &lt;i&gt;s&lt;/i&gt; Step &lt;i&gt;stepvalue&lt;/i&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block&lt;br /&gt;
Next &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;counter&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; will take the values &lt;i&gt;start&lt;/i&gt;+&lt;i&gt;stepvalue&lt;/i&gt;, for example if &lt;i&gt;stepvalue&lt;/i&gt; is 2 &lt;i&gt;counter&lt;/i&gt; will count by 2s. If &lt;i&gt;stepvalue&lt;/i&gt; is negative, &lt;i&gt;s&lt;/i&gt; should be less than &lt;i&gt;start&lt;/i&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;B)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;For Each...Next&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; :&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-add-space: auto; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;The loop use the following form:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;For Each &lt;i&gt;item&lt;/i&gt; In &lt;i&gt;set&lt;/i&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block&lt;br /&gt;
Next&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;code block is executed with &lt;i&gt;item&lt;/i&gt; taking the value of each member of &lt;i&gt;set&lt;/i&gt;. &lt;i&gt;set&lt;/i&gt; should be an array or a collection.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;C)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Do...While&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; looping structure:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Do While &lt;i&gt;booleanValue&lt;/i&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;codeblock&lt;br /&gt;
Loop &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;code block is executed as long as &lt;i&gt;booleanValue&lt;/i&gt; is True. If it is False to begin with, the loop is not executed at all. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;D)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;While...Wend&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; looping structures have the following form : &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;while &lt;i&gt;booleanValue&lt;/i&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block&lt;br /&gt;
Wend &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;code block is executed as long as &lt;i&gt;booleanValue&lt;/i&gt; is True. If it is False to begin with, the loop is not executed at all. &lt;b&gt;Note:&lt;/b&gt; Wend is not supported in ASP.NET; use End While instead. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;E)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Do...Loop&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; While looping structure:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block&lt;br /&gt;
Loop While &lt;i&gt;booleanValue&lt;/i&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;code block is executed as long as &lt;i&gt;booleanValue&lt;/i&gt; is True. The loop is executed at least once no matter what. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;F)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Do Until...Loop&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; looks like this:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Do Until &lt;i&gt;booleanValue&lt;/i&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block&lt;br /&gt;
Loop &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;code block is executed as long as &lt;i&gt;booleanValue&lt;/i&gt; is False. If it is True to begin with, the loop is not executed at all.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -0.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;G)&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Do...Loop Until&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt; uses the following form:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block&lt;br /&gt;
Loop Until &lt;i&gt;booleanValue&lt;/i&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;code block is executed as long as &lt;i&gt;booleanValue&lt;/i&gt; is False. The loop is executed at least once no matter what. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 14pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;a href=&quot;http://support.technetex.ca/devguide/vbscript_reference2.aspx#top&quot;&gt;&lt;/a&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Branching Structures:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;shape alt=&quot;http://support.technetex.ca/images/spacer.gif&quot; id=&quot;Picture_x0020_34&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 0.75pt; mso-wrap-style: square; visibility: visible; width: 0.75pt;&quot; type=&quot;#_x0000_t75&quot;&gt; &lt;imagedata o:title=&quot;spacer&quot; src=&quot;file:///C:\DOCUME~1\alokm\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.gif&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/span&gt;Branching structures allow you to jump from one position in the code to another. &amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Subroutines:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;It &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;do not return a value. They simply execute.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Sub &lt;i&gt;name&lt;/i&gt; (&lt;i&gt;argumentlist&lt;/i&gt;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block&lt;br /&gt;
End Sub &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;Functions:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt 0.5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; mso-fareast-font-family: &#39;Times New Roman&#39;;&quot;&gt;It return a value and have the following form:&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;Function &lt;i&gt;name&lt;/i&gt; (&lt;i&gt;argumentlist&lt;/i&gt;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;code block&lt;br /&gt;
&lt;i&gt;name&lt;/i&gt; = &lt;i&gt;expression&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;; font-size: 12pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;&lt;em&gt;End Function&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;a imageanchor=&quot;1&quot; target=&quot;_blank&quot;  href=&quot;http://www.amazon.com/QuickTest-Professional-Unplugged-Tarun-Lalwani/dp/0578025795?ie=UTF8&amp;tag=widgetsamazon-20&amp;link_code=bil&amp;camp=213689&amp;creative=392969&quot;&gt;&lt;img alt=&quot;QuickTest Professional Unplugged&quot; src=&quot;http://ws.amazon.com/widgets/q?MarketPlace=US&amp;ServiceVersion=20070822&amp;ID=AsinImage&amp;WS=1&amp;Format=_SL160_&amp;ASIN=0578025795&amp;tag=widgetsamazon-20&quot; /&gt;&lt;/a&gt;&lt;img src=&quot;http://www.assoc-amazon.com/e/ir?t=widgetsamazon-20&amp;l=bil&amp;camp=213689&amp;creative=392969&amp;o=1&amp;a=0578025795&quot; width=&quot;1&quot; height=&quot;1&quot; border=&quot;0&quot; alt=&quot;&quot; style=&quot;border:none !important; margin:0px !important; padding: 0px !important&quot; /&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/4296389575164042108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/07/vb-scriptqtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/4296389575164042108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/4296389575164042108'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/07/vb-scriptqtp.html' title='VB Script:QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-4477043168721680546</id><published>2011-07-19T02:13:00.000-07:00</published><updated>2011-08-01T01:59:30.774-07:00</updated><title type='text'>Sample Questions in QTP</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;apple-style-span&quot; style=&quot;font-size: 12px; line-height: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #7a7a7a; font-family: Verdana, sans-serif;&quot;&gt;Sample Questions:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: #7a7a7a; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B0057Z87DK&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;&quot;align=&quot;left&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: #7a7a7a; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; line-height: 115%;&quot;&gt;1. What does ChildObject Method Return&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #7a7a7a; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. A Collection Object&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. A string true/false&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. A Boolean True/False&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. The Number of objects matching the child object descriptions&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;2. How can you make a test bypass the Object Repository during Test Run.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. Turn the Object Repository Off&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. Use a programmatic Description&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. Delete all objects in all repositories&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. Add the Object in Object Repository Manager&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: b&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;3. When a test is run in Update mode, what options can you select? Select Three&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. the datatable&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. Check point properties&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. Test Object Description&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. Action Names in the test&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;e. Logical Names in the test&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;f. Active Screen Images and Values&lt;/span&gt;&lt;br /&gt;
Ans.C    &lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=0471081124&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;&quot;align=&quot;left&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;4. What Object is used to read information from text file&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. Read&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. ReadLine&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. TextStream&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. FileStream&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;e. OpenTextFile&lt;/span&gt;&lt;br /&gt;
Ans.b&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #7a7a7a; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;5. What can you use to handle unpredictable exceptions&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. A Do Loop&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. Recovery Scenario&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. If Then Else&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. Select Case Statemtn&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: b&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;6. You have just stopped recording steps into your tests. Your application under step is still up and visible on your screen. You now wish to add checkpoints into your test using the menu command, insert &amp;gt; Checkpoint from the toolbar. Which checkboxes are available to you? Select two&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. Text checkpoint&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. XML checkpoint&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. Bitmap checkpoint&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. TextArea checkpoint&lt;/span&gt;&lt;br /&gt;
Ans:b&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;7. Browser Navigation Timeout is in which tab of Test Settings&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. Properties&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. Resources&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. Web&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. Web Settings&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7a7a7a; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; line-height: 115%;&quot;&gt;Ans: c&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #7a7a7a; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;8. How many tabs are present in Test Settings (File &amp;gt; Settings) window&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. 7&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. 6&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. 5&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. 8&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;9. Identify the Tabs in the Test Settings (File &amp;gt; Settings) Window&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. Properties, Run, Resources, Parameters, Environment, Web, Recovery&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. Properties, Run, Resources, Parameters, Environment, Web Settings, Recovery&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. Properties, Run, Options, Parameters, Environment, Web, Recovery&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. Properties, Run, Resources, Input Parameters, Environment, Web, Recovery&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;10.&#39;Generate Script&#39; is in which tab of Test Settings (File &amp;gt; Settings) window&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. Properties&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. Web&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. Resources&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. Recovery&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;11. The following are the main columns in the Keyword view&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. Item, Operation, Value, Comments&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. Item, Operation, Value, Documentation&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. Item, Operation, Property, Documentation&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. Number, Operation, Value, Documentation&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: b&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;12. For each object and method in an Expert view statement, a corresponding row exists in the Keyword view&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. True&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. False&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. There is a problem with the statement&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. None of the above&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;13. You can work with one or several function libraries at the same time&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. True&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. False&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;14. You can insert additional steps on the test objects captured in the Active Screen after the recording session&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. True&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. False&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=0849374758&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;&quot;align=&quot;left&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;15. Active screen enables you to parameterize object values and insert checkpoints&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. True&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. False&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;16. A QTP user can increase or decrease the active screen information saved with the test.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. True&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. False&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;17. The information pane provides a list of ... in the test.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. Semantic error&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. Syntax error&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;c. Common errors&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;d. Logical errors&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: b&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;18. When we switch from Expert view to Keyword view, QTP automatically checks for syntax errors and shows them in the information pane.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. True&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. False&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;19. If the information pane is not open, QTP automatically opens it incase a syntax error is detected&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;a. True&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;b. False&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;Ans: a&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/4477043168721680546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/07/sample-questions-in-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/4477043168721680546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/4477043168721680546'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/07/sample-questions-in-qtp.html' title='Sample Questions in QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-9021954284260342525</id><published>2011-07-12T08:20:00.000-07:00</published><updated>2011-08-05T04:16:41.552-07:00</updated><title type='text'>Regular Expression in QTP</title><content type='html'>I found regular expression concept in QTPro is a very strong concept.I found it is very much helpful in web application.In web applicatiton the web object are changed dynamic.Now i am going to describe the regular expression.I found some useful content regarding the regular expression and their use while i was exploring some sites.&lt;br /&gt;
&lt;div&gt;Regular Expression:&lt;br /&gt;
&lt;div&gt;A regular expression is a formula for matching strings that follow some pattern.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;In QuickTest Regular Expressions can be used in 3 places:&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=1598638033&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;&quot;align=&quot;left&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;1) Object Repository&amp;nbsp;&lt;/div&gt;&lt;div&gt;2) CheckPoints&amp;nbsp;&lt;/div&gt;&lt;div&gt;3) RegExp object.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Navigation through OR in QTP&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Symbol; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-weight: normal;&quot;&gt;Open the object repository&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Symbol; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-weight: normal;&quot;&gt;Select the desired object in the object hierarchy&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Symbol; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-weight: normal;&quot;&gt;Select the desired property in the properties list&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Symbol; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-weight: normal;&quot;&gt;Click on the constant value options button&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Symbol; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-weight: normal;&quot;&gt;Replace the constant value with suitable regular expression&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Symbol; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-weight: normal;&quot;&gt;Select the check box regular expression&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Symbol; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-weight: normal;&quot;&gt;Click on ok&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Symbol; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-weight: normal;&quot;&gt;Click on ok&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;There&#39;s a good reason that regular expressions are found in so many diverse&amp;nbsp;applications: they are extremely powerful. At a low level, a regular expression&amp;nbsp;describes a chunk of text.&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8XG1-oFCCtYJqjc3jNvQP8nBhANCneQRCT6cShN0tnDLsPhKeeGIWNpaFvDJwjEztfosFfqZVII3_2K5wVlnuYhQtZ1JWygSUG-kUDhw5uB3zSaInH0smmb6j5IskVpxfqAQO44v_xgQ/s1600/RegularExpressionCheatSheet.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320px&quot; m$=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8XG1-oFCCtYJqjc3jNvQP8nBhANCneQRCT6cShN0tnDLsPhKeeGIWNpaFvDJwjEztfosFfqZVII3_2K5wVlnuYhQtZ1JWygSUG-kUDhw5uB3zSaInH0smmb6j5IskVpxfqAQO44v_xgQ/s320/RegularExpressionCheatSheet.JPG&quot; width=&quot;260px&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;RegularExpression Cheat Sheet&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/9021954284260342525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/07/regular-expression-in-qtp.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/9021954284260342525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/9021954284260342525'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/07/regular-expression-in-qtp.html' title='Regular Expression in QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8XG1-oFCCtYJqjc3jNvQP8nBhANCneQRCT6cShN0tnDLsPhKeeGIWNpaFvDJwjEztfosFfqZVII3_2K5wVlnuYhQtZ1JWygSUG-kUDhw5uB3zSaInH0smmb6j5IskVpxfqAQO44v_xgQ/s72-c/RegularExpressionCheatSheet.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-3289351001127249711</id><published>2011-07-11T08:08:00.001-07:00</published><updated>2011-08-05T04:14:21.433-07:00</updated><title type='text'>Debugging</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;The following is the debugging process and the operational overview of the different step command available during debugging &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;Debugging:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Debugging is a process of executing the script or a program in a user desired passion with some temporary breaks in order to identify the errors.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=0070704554&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;&quot;align=&quot;left&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;To do the same QTP has provided step commands and break point feature.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Step commands: -&lt;/div&gt;&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;Step      into&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;Step      Out&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;Step      over&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B00359FBRA&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;&quot;align=&quot;left&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;1. Step into:&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Step into is used for executing a single statement then it will step in to the function or action and stops the execution.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;2. Step Out:&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Step out is used for executing all the remaining statements from the position of pointer in the function of the action and comes out of the function or action and stops execution &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;3. Step Over:&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Step over is used for executing the single statement if that statement is a function call or action call then it will execute all the statements in side the function or action once and stops the execution&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Break Point:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Break point is the feature provided by QTP, which is used for breaking the execution temporarily.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;Debug viewer Pane:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Debug viewer pane is used for viewing, modifying or setting the currant value of the variables or expressions during the execution break with the help of three tabs by name&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo2; tab-stops: list .5in;&quot;&gt;Watch      expressions&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo2; tab-stops: list .5in;&quot;&gt;Variables&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo2; tab-stops: list .5in;&quot;&gt;Command&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 2.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/3289351001127249711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/07/debugging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/3289351001127249711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/3289351001127249711'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/07/debugging.html' title='Debugging'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-3997374012808458742</id><published>2011-07-11T08:00:00.001-07:00</published><updated>2011-07-11T08:00:21.546-07:00</updated><title type='text'>Reporter utility object</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;Reporter utility object: -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: -1.0in; tab-stops: -63.0pt -.75in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;It is used for reporting an user defined message to the result window&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;SYNTAX:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Reporter.Reportevent status,”object name”,”message”&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Example: Reporter.Reportevent micdone,”my report”,”add button is working fine”.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Status:&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-bottom-style: none; border-collapse: collapse; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-left: 63pt; width: 91px;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 12.25pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; height: 12.25pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;div class=&quot;MsoNormal&quot;&gt;Pass&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; height: 12.25pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;div class=&quot;MsoNormal&quot;&gt;0&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 12.25pt; mso-yfti-irow: 1;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 12.25pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;div class=&quot;MsoNormal&quot;&gt;Fail&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 12.25pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;div class=&quot;MsoNormal&quot;&gt;1&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 12.25pt; mso-yfti-irow: 2;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 12.25pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;div class=&quot;MsoNormal&quot;&gt;Done&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 12.25pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;div class=&quot;MsoNormal&quot;&gt;2&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 22.25pt; mso-yfti-irow: 3; mso-yfti-lastrow: yes;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 22.25pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;div class=&quot;MsoNormal&quot;&gt;Warning&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 22.25pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;div class=&quot;MsoNormal&quot;&gt;3&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/3997374012808458742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/07/reporter-utility-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/3997374012808458742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/3997374012808458742'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/07/reporter-utility-object.html' title='Reporter utility object'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-1629698031526185406</id><published>2011-07-11T07:51:00.003-07:00</published><updated>2011-07-11T07:51:13.550-07:00</updated><title type='text'>Transaction point in QTP</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 16.0pt; mso-bidi-font-weight: bold;&quot;&gt;Transaction point:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 16.0pt; mso-bidi-font-weight: bold;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;It is a concept introduced in QTP which is used for calculating the time taken by an application to perform a specific task or the execution time of a block of statement.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;QTP has provided the following transaction options.&lt;/div&gt;&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;Start      transaction&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;End      transaction&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Syntax:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Services.start transaction ”transaction name”&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;“ statement 1”&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;“ statement 2&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Services.end transaction ”transaction name”&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/1629698031526185406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/07/transaction-point-in-qtp.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/1629698031526185406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/1629698031526185406'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/07/transaction-point-in-qtp.html' title='Transaction point in QTP'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-5053715986277723063</id><published>2011-07-11T07:39:00.000-07:00</published><updated>2011-08-05T04:15:50.183-07:00</updated><title type='text'>OUT PUT VALUE in QTP:</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;OUT PUT VALUE: -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B00359FBRA&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;&quot;align=&quot;left&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Out put value is a feature provided by QTP, which is used for capturing a value from an application or from a database or from a XML file and stores it under specified column in the runtime data table&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=0979147905&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;&quot;align=&quot;left&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Operational overview of out put value: -&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;The out put value feature works in the following phases&lt;/div&gt;&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo4; tab-stops: list .5in;&quot;&gt;Pre-Execution      Phase&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo4; tab-stops: list .5in;&quot;&gt;While      –Execution Phase&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot;&gt;1. Pre-Execution phase:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;It will capture the field name from which it need to capture the value&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;It will generate the corresponding script&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;2. While-Execution phase:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Captures the actual value from the field&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Stores it under a specified column in the run time data table&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;Out Put Values-&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;There are the following types of out put values&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;Standard      Out Put Value: - It is used for capturing property value of a standard GUI      object.&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;Text      Out Put Value: - It is used for capturing the text present on a specified      object&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;Text-Area      Out Put Value: - It is used for capturing the Text present in a specified      area&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;Data      Base Out Put Value: - It is used for capturing a value from the database&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;XML      Out put Value: - It is used for capturing a value from the XML file&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;Navigation for Standard Out put value through application:&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Keep      the cursor in the desired location&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Keep      the tool under recording mode&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Activate      the menu item insert&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Go to      out put value&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Select      the option standard out put value&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Click      on the desired object in the AUT&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Click      on OK&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Select      the desired property to be captured&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Click      on modify&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Specify      the desired column name&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Click      on Ok&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Once      again click on ok&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in;&quot;&gt;Stop      recording&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;Navigation For standard check point through Active Screen&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Keep      the cursor under the desired location&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on active screen&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Right      click on desired location&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on insert output value&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on ok&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Select      the desired property&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on modify&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Specify      the desired column name&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on ok&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Once      again click on ok.&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/5053715986277723063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/07/out-put-value-in-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/5053715986277723063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/5053715986277723063'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/07/out-put-value-in-qtp.html' title='OUT PUT VALUE in QTP:'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1481417253603578245.post-7706599268250083863</id><published>2011-07-11T07:29:00.001-07:00</published><updated>2011-07-11T07:29:31.114-07:00</updated><title type='text'>Data Driven Testing in QTP:</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 18.0pt;&quot;&gt;Data Driven Testing&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Data driven testing is a concept introduced in the automation in order to implement re- testing.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Steps to be followed to perform data driven testing:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l4 level1 lfo1; tab-stops: list .5in;&quot;&gt;Collect      the test data in to the data table&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l4 level1 lfo1; tab-stops: list .5in;&quot;&gt;Generate      the basic test&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l4 level1 lfo1; tab-stops: list .5in;&quot;&gt;Parameterize      the test&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l4 level1 lfo1; tab-stops: list .5in;&quot;&gt;Execute      the Test&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l4 level1 lfo1; tab-stops: list .5in;&quot;&gt;Analyze      the result&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;Parameterization:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Parameterization is a process of replacing the constant values with parameters or variables in order to increase the scope of the test. Parameterize can be done in three ways&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in; text-align: justify;&quot;&gt;Through data driver wizard&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in; text-align: justify;&quot;&gt;Through key word view&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo2; tab-stops: list .5in; text-align: justify;&quot;&gt;Manually&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;Navigation through Data Driver Wizard:&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Activate      the menu item tools&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Select      the option data driver&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on parameterize&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on next&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on the parameter option button&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Select      the desired column name&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on ok&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on next&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Click      on finish&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo3; tab-stops: list .5in;&quot;&gt;Finally      click on ok&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;u&gt;Navigation Through Key word view&lt;/u&gt;:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo4; tab-stops: list .5in;&quot;&gt;Go to      key word view&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo4; tab-stops: list .5in;&quot;&gt;Select      the desited constant value&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo4; tab-stops: list .5in;&quot;&gt;Click      on configure the value button&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo4; tab-stops: list .5in;&quot;&gt;Select      the option parameter&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo4; tab-stops: list .5in;&quot;&gt;Select      the desired column name&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo4; tab-stops: list .5in;&quot;&gt;Click      on ok&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;To avoid the above navigation one can directly type manually as follows:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;A= datatable(“v1”,1)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Vbwindow(“form1”).vbedit(“val1”).set A&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Vbwindow (“form1”).vbedit(“val2”).set datatable(“v2,1)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Vbwindow(“form1”).vbbutton(“Add”).Click&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Vbwindow(“form1”).vbedit(“res”).check checkpoint(“RES”)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;Navigation for parameterizing the check point:&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo5; tab-stops: list .5in;&quot;&gt;Right      click on the check point statement&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo5; tab-stops: list .5in;&quot;&gt;Select      the option check point properties&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo5; tab-stops: list .5in;&quot;&gt;Select      the option parameter&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo5; tab-stops: list .5in;&quot;&gt;Click      on the parameter options button&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo5; tab-stops: list .5in;&quot;&gt;Select      the desired column name&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo5; tab-stops: list .5in;&quot;&gt;Click      on ok&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo5; tab-stops: list .5in;&quot;&gt;Once      again click on ok&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot;&gt;We can also parameter the test objects from object repository/object repository manager.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://expertqtp.blogspot.com/feeds/7706599268250083863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://expertqtp.blogspot.com/2011/07/data-driven-testing-in-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/7706599268250083863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1481417253603578245/posts/default/7706599268250083863'/><link rel='alternate' type='text/html' href='http://expertqtp.blogspot.com/2011/07/data-driven-testing-in-qtp.html' title='Data Driven Testing in QTP:'/><author><name>Alok Mahapatra</name><uri>http://www.blogger.com/profile/01720496022844226686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>