<?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-4267957121880879722</id><updated>2024-10-09T07:33:34.566+05:30</updated><title type='text'>QuickTest Professional</title><subtitle type='html'>The One you can learn</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><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>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4267957121880879722.post-8059535260170445433</id><published>2012-02-26T19:32:00.000+05:30</published><updated>2012-02-26T19:35:51.721+05:30</updated><title type='text'>VBScript code in QTP to create a dictionary object to access a dictionary, to store five pairs of data into that dictionary and then to find total marks stored in that dictionary.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Option explicit&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dim dico, i, sn, m, lm, tot &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&#39;Here&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for loop&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;sn&amp;nbsp; &amp;nbsp; &amp;nbsp;for subject name&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m&amp;nbsp; &amp;nbsp; &amp;nbsp;for marks&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lm
&amp;nbsp; &amp;nbsp;for list of marks&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tot&amp;nbsp; &amp;nbsp;for total&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&#39;Create dictionary object and add pairs of data&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Set dico=CreateObject(&quot;Scripting.Dictionary&quot;)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
For i=1 to 5 step 1&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; sn=inputbox(&quot;Enter
Subject Name : &quot;)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; m=inputbox(&quot;Enter
Marks : &quot;)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; dico.Add
sn,m&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Next&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&#39;Find total marks in that dictionary&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
tot=0&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
lm=dico.Items&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
For each m in lm&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; tot=tot+m&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Next&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Print(&quot;Total Marks is :&quot;&amp;amp;tot)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Set dico=nothing&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/8059535260170445433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/8059535260170445433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/8059535260170445433'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create.html' title='VBScript code in QTP to create a dictionary object to access a dictionary, to store five pairs of data into that dictionary and then to find total marks stored in that dictionary.'/><author><name>Unknown</name><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-4267957121880879722.post-898255995270343387</id><published>2012-02-23T12:06:00.007+05:30</published><updated>2012-02-23T12:52:18.584+05:30</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;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dictionary is used to store pairs of data and every pair
first value is called as &lt;b&gt;Key&lt;/b&gt; and
second value is called as &lt;b&gt;Item&lt;/b&gt;. To
access this dictionary pairs we can use an object called as &lt;b&gt;dictionary object&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&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;http://1.bp.blogspot.com/-jD_8K2WQhls/T0Xd89E_q9I/AAAAAAAAAzg/zBGHQE2U52o/s1600/Dictionary+Object.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;265&quot; src=&quot;http://1.bp.blogspot.com/-jD_8K2WQhls/T0Xd89E_q9I/AAAAAAAAAzg/zBGHQE2U52o/s400/Dictionary+Object.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The corresponding dictionary object can create an interface
between QTP tool and a dictionary in memory (RAM). To create dictionary object
and access dictionary content using that object, we can use below code in
VBScript in QTP tool:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim dico&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Set dico=CreateObject(&quot;Scripting.Dictionary&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;In the above code createobject() function is used to create
an object for specified data structure. Here “dico” is an object for a
dictionary.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;To store data into dictionary as pairs, dictionary object is
providing a function or method like shown below:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim dico&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Set dico=CreateObject(&quot;Scripting.Dictionary&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;dico.Add &quot;English&quot;, 78&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;dico.Add &quot;Hindi&quot;, 65&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;dico.Add &quot;Maths&quot;, 98&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;dico.Add &quot;Computers&quot;, 90&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;dico.Add &quot;Physics&quot;, 80&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;While adding pairs of data to dictionary using
dictionary object, corresponding test automater can maintain &lt;b&gt;unique&lt;/b&gt; values for &lt;b&gt;Keys.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/898255995270343387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/dictionary-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/898255995270343387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/898255995270343387'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/dictionary-object.html' title='Dictionary Object'/><author><name>Unknown</name><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="http://1.bp.blogspot.com/-jD_8K2WQhls/T0Xd89E_q9I/AAAAAAAAAzg/zBGHQE2U52o/s72-c/Dictionary+Object.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4267957121880879722.post-378762153419563400</id><published>2012-02-23T12:02:00.002+05:30</published><updated>2012-02-23T12:02:32.373+05:30</updated><title type='text'>VBScript code in QTP for to display addition of two arrays</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim array1(4), array2(4), array3(4), i&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; array1(i)=inputbox(&quot;Enter
value for Array 1 :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; array2(i)=inputbox(&quot;Enter
value for Array 2 :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; array3(i)=cint(array1(i))+cint(array2(i))&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; print(array3(i))&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/378762153419563400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-for-to-display.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/378762153419563400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/378762153419563400'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-for-to-display.html' title='VBScript code in QTP for to display addition of two arrays'/><author><name>Unknown</name><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-4267957121880879722.post-6192223965294299437</id><published>2012-02-23T12:00:00.002+05:30</published><updated>2012-02-23T12:01:18.299+05:30</updated><title type='text'>VBScript code in QTP to display given value is Palindrome</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;
Option explicit&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dim val, res&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
val=inputbox(&quot;Enter any value : &quot;)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
res=strreverse(val)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;If val=res Then&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp;msgbox(val&amp;amp;&quot;
is a Palindrome.&quot;)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp;else&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; msgbox(val&amp;amp;&quot;
is not a Palindrome.&quot;)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
End If&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;OR&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Option explicit&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dim val, res&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
val=inputbox(&quot;Enter any value : &quot;)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
res=strreverse(val)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;If strcomp(val,res)=0 Then&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp;msgbox(val&amp;amp;&quot;
is a Palindrome.&quot;)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp;else&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; msgbox(val&amp;amp;&quot;
is not a Palindrome.&quot;)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
End If&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/6192223965294299437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-given_23.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/6192223965294299437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/6192223965294299437'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-given_23.html' title='VBScript code in QTP to display given value is Palindrome'/><author><name>Unknown</name><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-4267957121880879722.post-968505494983144581</id><published>2012-02-23T11:58:00.005+05:30</published><updated>2012-02-23T11:58:59.012+05:30</updated><title type='text'>VBScript code in QTP to display given value in reverse</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim val, res&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;val=inputbox(&quot;Enter any value : &quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;res=strreverse(val)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(&quot;Reverse of&amp;nbsp;
&quot;&amp;amp;val&amp;amp;&quot; is : &quot;&amp;amp;res)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/968505494983144581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-given.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/968505494983144581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/968505494983144581'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-given.html' title='VBScript code in QTP to display given value in reverse'/><author><name>Unknown</name><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-4267957121880879722.post-8502945110371345837</id><published>2012-02-23T11:58:00.001+05:30</published><updated>2012-08-22T13:58:34.576+05:30</updated><title type='text'>VBScript code in QTP to display last four characters in given value</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim val, lastfour&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;val=inputbox(&quot;Enter any value : &quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;lastfour=right(val,4)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(&quot;Last four characters in
&quot;&amp;amp;val&amp;amp;&quot; is : &quot;&amp;amp;lastfour)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/8502945110371345837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-last.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/8502945110371345837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/8502945110371345837'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-last.html' title='VBScript code in QTP to display last four characters in given value'/><author><name>Unknown</name><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-4267957121880879722.post-7937943773746573226</id><published>2012-02-22T15:09:00.001+05:30</published><updated>2012-02-22T21:08:20.477+05:30</updated><title type='text'>VBScript code in QTP to display first four characters in given value</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim val, firstfour&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;val=inputbox(&quot;Enter any value : &quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;firstfour=left(val,4)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(&quot;First four characters in
&quot;&amp;amp;val&amp;amp;&quot; is : &quot;&amp;amp;firstfour)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/7937943773746573226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-first.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/7937943773746573226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/7937943773746573226'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-first.html' title='VBScript code in QTP to display first four characters in given value'/><author><name>Unknown</name><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-4267957121880879722.post-4323048052744609028</id><published>2012-02-22T09:19:00.005+05:30</published><updated>2012-02-22T21:08:20.433+05:30</updated><title type='text'>VBScript code in QTP to display number of words in given sentence</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim sentence, nw&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;sentence=inputbox(&quot;Enter any sentence : &quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;nw=split(sentence,&quot; &quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(&quot;Number of words in given sentence is :
&quot;&amp;amp;ubound(nw)+1)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/4323048052744609028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-number.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/4323048052744609028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/4323048052744609028'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-number.html' title='VBScript code in QTP to display number of words in given sentence'/><author><name>Unknown</name><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-4267957121880879722.post-1830976745115070268</id><published>2012-02-22T09:19:00.001+05:30</published><updated>2012-08-22T12:40:29.058+05:30</updated><title type='text'>VBScript code in QTP to create five elements array, to store five values in to that array in any type, display alphabets and alphanumerics in that array.</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim val(4), i&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;val(i)=inputbox(&quot;Enter
any values :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If not
isnumeric(val(i)) Then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(val(i))&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/1830976745115070268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create-five_22.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1830976745115070268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1830976745115070268'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create-five_22.html' title='VBScript code in QTP to create five elements array, to store five values in to that array in any type, display alphabets and alphanumerics in that array.'/><author><name>Unknown</name><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-4267957121880879722.post-1058502307675645114</id><published>2012-02-22T09:17:00.004+05:30</published><updated>2012-08-22T12:36:35.518+05:30</updated><title type='text'>VBScript code in QTP to create five elements array , to store five values in any type and display numbers only.</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim val(4), i&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;val(i)=inputbox(&quot;Enter
any values :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If
isnumeric(val(i)) Then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print(val(i))&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/1058502307675645114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create-five.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1058502307675645114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1058502307675645114'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create-five.html' title='VBScript code in QTP to create five elements array , to store five values in any type and display numbers only.'/><author><name>Unknown</name><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-4267957121880879722.post-1065504266537012290</id><published>2012-02-22T09:16:00.007+05:30</published><updated>2012-02-22T21:08:20.254+05:30</updated><title type='text'>VBScript code in QTP to create an array with five elements to store a student five subject marks and display minimum marks</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim subject(4), i, min&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;subject(i)=inputbox(&quot;Enter
marks :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;min=subject(0)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If
min&amp;gt;subject(i) Then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; min=subject(i)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(&quot;Maximum marks : &quot;&amp;amp;min)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/1065504266537012290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create-array_6145.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1065504266537012290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1065504266537012290'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create-array_6145.html' title='VBScript code in QTP to create an array with five elements to store a student five subject marks and display minimum marks'/><author><name>Unknown</name><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-4267957121880879722.post-5977010151865609924</id><published>2012-02-22T09:15:00.006+05:30</published><updated>2012-02-22T21:08:20.461+05:30</updated><title type='text'>VBScript code in QTP to create an array with five elements to store a student five subject marks and display maximum marks</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim subject(4), i, max&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;subject(i)=inputbox(&quot;Enter
marks :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;max=subject(0)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If
max&amp;lt;subject(i) Then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;max=subject(i)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(&quot;Maximum marks : &quot;&amp;amp;max)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/5977010151865609924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create-array_22.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/5977010151865609924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/5977010151865609924'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create-array_22.html' title='VBScript code in QTP to create an array with five elements to store a student five subject marks and display maximum marks'/><author><name>Unknown</name><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-4267957121880879722.post-8203591064235117061</id><published>2012-02-22T09:14:00.004+05:30</published><updated>2012-02-22T21:08:20.485+05:30</updated><title type='text'>VBScript code in QTP to create an array with five elements to store a student five subject marks and display total marks</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim marks(4), i, total&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;total=0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For i=0 to 4 step 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; marks(i)=inputbox(&quot;Enter
marks :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; total=total+marks(i)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(&quot;Total marks of student : &quot;&amp;amp;total)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/8203591064235117061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create-array.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/8203591064235117061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/8203591064235117061'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-create-array.html' title='VBScript code in QTP to create an array with five elements to store a student five subject marks and display total marks'/><author><name>Unknown</name><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-4267957121880879722.post-8910934019277664787</id><published>2012-02-22T09:13:00.006+05:30</published><updated>2012-02-22T21:08:20.504+05:30</updated><title type='text'>VBScript code to display gross salary of an employee</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;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Here, Gross Salary is equal to basic salary plus commission.
If basic salary &amp;gt;=15000 then commission is 10% of basic salary. If basic
salary &amp;lt;15000 and &amp;gt;=8000 then commission is 5% of basic salary. If basic
salary &amp;lt;8000 then commission is 100/-&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim gross, basic, comm&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;basic=inputbox(&quot;Enter Basic salary of an Employee
:&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;If basic&amp;gt;=15000 Then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp;comm=basic*10/100&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp;elseif
basic&amp;lt;15000 and basic&amp;gt;=8000 Then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;comm=basic*5/100&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comm=100&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;End If&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;gross=basic+comm&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(&quot;Gross salary of Employee is :&quot;&amp;amp;gross)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/8910934019277664787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-to-display-gross-salary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/8910934019277664787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/8910934019277664787'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-to-display-gross-salary.html' title='VBScript code to display gross salary of an employee'/><author><name>Unknown</name><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-4267957121880879722.post-4125218935513648062</id><published>2012-02-22T09:12:00.001+05:30</published><updated>2012-02-22T21:08:20.415+05:30</updated><title type='text'>VBScript code in QTP to display grade of a student depends on total marks.</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;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Here, Grade is “A” when total marks &amp;gt;=800, Grade is “B”
when total marks&amp;lt;800 and &amp;gt;=700, Grade is “C” when total marks &amp;lt;700 and
&amp;gt;=600, Grade is “D” when total marks&amp;lt;600.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim totalmarks&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;totalmarks=inputbox(&quot;Enter Total Marks of student
:&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;If totalmarks &amp;gt;=800 Then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp;msgbox(&quot;Grade
is A&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp;elseif
totalmarks&amp;lt;800 and totalmarks&amp;gt;=700 Then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;msgbox(&quot;Grade
is B&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;elseif
totalmarks&amp;lt;700 and totalmarks&amp;gt;=600 Then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msgbox(&quot;Grade
is C&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msgbox(&quot;Grade
is D&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;End If&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/4125218935513648062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-grade.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/4125218935513648062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/4125218935513648062'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-display-grade.html' title='VBScript code in QTP to display grade of a student depends on total marks.'/><author><name>Unknown</name><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-4267957121880879722.post-5807099626092372288</id><published>2012-02-22T09:09:00.003+05:30</published><updated>2012-02-22T21:08:20.454+05:30</updated><title type='text'>VBScript code in QTP to find given number is ever or odd</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 style=&quot;font-family: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim x&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;x=inputbox(&quot;Enter Number :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;If x mod 2 = 0 Then&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; msgbox(x&amp;amp;&quot;
is Even number&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;msgbox(x&amp;amp;
&quot; is Odd number&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;End If&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/5807099626092372288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-find-given.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/5807099626092372288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/5807099626092372288'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/vbscript-code-in-qtp-to-find-given.html' title='VBScript code in QTP to find given number is ever or odd'/><author><name>Unknown</name><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-4267957121880879722.post-2954680710685528597</id><published>2012-02-22T09:08:00.003+05:30</published><updated>2012-02-22T21:08:20.369+05:30</updated><title type='text'>Displaying output in 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; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;To display output while running VBScript code on desktop,
test automaters are using below syntax.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(“Welcome to divineQTP”)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/2954680710685528597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/displaying-output-in-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/2954680710685528597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/2954680710685528597'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/displaying-output-in-qtp.html' title='Displaying output in QTP'/><author><name>Unknown</name><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-4267957121880879722.post-2053178207108842521</id><published>2012-02-22T09:01:00.000+05:30</published><updated>2012-02-22T21:08:20.342+05:30</updated><title type='text'>Type Casting</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; line-height: 16px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Simply type casting is the procedure to convert the data from one type to another in any programming language.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; line-height: 16px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: inherit; line-height: 16px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Type casting Functions:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Cint()&lt;/span&gt; &lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;
Convert to integer&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Cdbl()&lt;/span&gt; &lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;
Convert to double(float)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Clng()&lt;/span&gt; &lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;
Convert to long integer&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Cdate() &lt;/span&gt;&lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Convert to date in format&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Ccur()&lt;/span&gt; &lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;
Convert to currency&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Cstr()&lt;/span&gt; &lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;
Convert to string&lt;/span&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;span style=&quot;font-family: inherit;&quot;&gt;Here, default value type is string.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/2053178207108842521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/type-casting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/2053178207108842521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/2053178207108842521'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/type-casting.html' title='Type Casting'/><author><name>Unknown</name><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-4267957121880879722.post-1618258981090570470</id><published>2012-02-22T08:52:00.001+05:30</published><updated>2012-02-22T21:08:20.277+05:30</updated><title type='text'>Addition of two numbers get from keyboard in 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: inherit; text-align: justify;&quot;&gt;Option explicit&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim x, y, z&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;x=inputbox(&quot;Enter First Number :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;y=inputbox(&quot;Enter Second Number :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;z=cint(x)+cint(y)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(z)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Note: &lt;/b&gt;In
VBScript, Plus(+) operator is overriding operator. It perform addition and
concardination. To get addition operation for plus(+) operator, test automaters
are using&amp;nbsp;&lt;a href=&quot;http://divineqtp.blogspot.in/2012/02/type-casting.html&quot;&gt;type casting&lt;/a&gt; concept.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/1618258981090570470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/addition-of-two-numbers-get-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1618258981090570470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1618258981090570470'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/addition-of-two-numbers-get-from.html' title='Addition of two numbers get from keyboard in QTP'/><author><name>Unknown</name><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-4267957121880879722.post-3175849970543180608</id><published>2012-02-22T08:51:00.000+05:30</published><updated>2012-02-22T21:08:20.379+05:30</updated><title type='text'>Multiplication of two numbers get from keyboard in 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: inherit; text-align: justify;&quot;&gt;Option explicit&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim x, y, z&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;x=inputbox(&quot;Enter First Number :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;y=inputbox(&quot;Enter Second Number :&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;z=x*y&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(z)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/3175849970543180608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/multiplication-of-two-numbers-get-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/3175849970543180608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/3175849970543180608'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/multiplication-of-two-numbers-get-from.html' title='Multiplication of two numbers get from keyboard in QTP'/><author><name>Unknown</name><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-4267957121880879722.post-8243876937245466163</id><published>2012-02-22T08:49:00.005+05:30</published><updated>2012-02-22T21:08:20.491+05:30</updated><title type='text'>Read input from keyboard in 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: inherit; text-align: justify;&quot;&gt;To read input from keyboard while running VBScript code,
test automaters can use below syntax in that code.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Variable=inputbox(“message”)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/8243876937245466163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/read-input-from-keyboard-in-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/8243876937245466163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/8243876937245466163'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/read-input-from-keyboard-in-qtp.html' title='Read input from keyboard in QTP'/><author><name>Unknown</name><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-4267957121880879722.post-1999497139739165417</id><published>2012-02-22T08:48:00.003+05:30</published><updated>2012-02-22T21:08:20.322+05:30</updated><title type='text'>Multiplication of two numbers in 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: inherit;&quot;&gt;Option explicit&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Dim x, y, z&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;x=10&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;y=20&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;z=x*y&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;msgbox(z)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/1999497139739165417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/multiplication-of-two-numbers-in-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1999497139739165417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1999497139739165417'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/multiplication-of-two-numbers-in-qtp.html' title='Multiplication of two numbers in QTP'/><author><name>Unknown</name><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-4267957121880879722.post-5033977302510282540</id><published>2012-02-22T08:47:00.004+05:30</published><updated>2012-02-22T21:08:20.445+05:30</updated><title type='text'>Importance of variables declaration 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&gt;
&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;In QTP, no need to declare variables in VBScript before use,
But “&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;to prevent typing mistakes in code&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;”
we can use variables declaration concept.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/5033977302510282540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/importance-of-variables-declaration-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/5033977302510282540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/5033977302510282540'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/importance-of-variables-declaration-in.html' title='Importance of variables declaration in QTP'/><author><name>Unknown</name><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-4267957121880879722.post-3839134450189450486</id><published>2012-02-22T08:44:00.006+05:30</published><updated>2012-02-22T21:08:20.404+05:30</updated><title type='text'>Launching 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: inherit; text-align: justify;&quot;&gt;To write programs in VBScript language in QTP tool, test
automaters can follow below navigation.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Go to “Start”&lt;/span&gt; &lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;All Programs&lt;/span&gt; &lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;font-family: inherit;&quot;&gt;QuickTest Professional &lt;/span&gt;&lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;QuickTest Professional.exe&lt;/span&gt;
&lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;Click “OK” in Add-in
Manager window without selecting any Add-in&lt;/span&gt; &lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;File
Menu&lt;/span&gt; &lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;New&lt;/span&gt;
&lt;span style=&quot;font-family: Wingdings;&quot;&gt;à&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;Test.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Calibri, sans-serif; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 115%;&quot;&gt;Write VBScript program in that pane area and
click “Run” to execute that VBScript program.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Calibri, sans-serif; line-height: 115%;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/3839134450189450486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/launching-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/3839134450189450486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/3839134450189450486'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/launching-qtp.html' title='Launching QTP'/><author><name>Unknown</name><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-4267957121880879722.post-1868232826390177953</id><published>2012-02-17T20:54:00.002+05:30</published><updated>2012-02-22T21:08:20.312+05:30</updated><title type='text'>Before Starting QTP some useful points</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;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is a Functional regression testing tool.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;QTP 11.0 is recent version released by HP (Nov 2010 to Jan
2011)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-qH4cC0YLt88/Tz5xhZkj7fI/AAAAAAAAAzU/JzTLVlLbmIM/s1600/HP+qtp11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;456&quot; src=&quot;http://2.bp.blogspot.com/-qH4cC0YLt88/Tz5xhZkj7fI/AAAAAAAAAzU/JzTLVlLbmIM/s640/HP+qtp11.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-LPBRauWp6rQ/Tz5wuy3Tf8I/AAAAAAAAAzM/9fcRscns3s8/s1600/HP+qtp11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;QTP will be installed in windows client or in windows server
based computers and working as stand alone.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;QTP can automate functional test cases on windows based and
web based SUT.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;QTP doesn’t support command based SUT automation.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;QTP can automate functional test cases on windows based and
web based SUT, when that SUT screens or pages developed in Java, .Net, VB, SAP,
PeopleSoft, Oracle Apps, HTML(web), Power Builder, Delphi, Stingray, VisualAge
Smalltalk, Siebel, Standard Windows, Terminal Emulators(C, C++, Mainframes) and
Silverlight(new support in QTP 11.0).&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;QTP can automate functional test cases on web based SUT,
when that site pages are developed in HTML along with Flex, QTP needs &lt;b&gt;Flex Plug-in&lt;/b&gt; installation provided by
Adobe corporation.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;To automate functional test cases on mobile based SUT, we
can integrate QTP 11.0 with &lt;b&gt;Webneir &lt;/b&gt;of
Perfectosoft company.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;QTP can support functional test cases automation on SUT
database developed in any technology like Oracle, SQL Server, MS-Access,
Sybase, FoxPro, MySql, DB2, TOAD,…etc.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;QTP have &lt;b&gt;Web Services&lt;/b&gt;
&lt;b&gt;add-in&lt;/b&gt; for SOA testing automation.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Using QTP we can automate Data volume testing and also find
capacity of SUT database.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
To use QTP tools on specified type of SUT, testing
team needs knowledge on VBScript/Jscript, QTP Script, .Net Factory, XML and
SQL.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divineqtp.blogspot.com/feeds/1868232826390177953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://divineqtp.blogspot.com/2012/02/before-starting-qtp-some-useful-points.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1868232826390177953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4267957121880879722/posts/default/1868232826390177953'/><link rel='alternate' type='text/html' href='http://divineqtp.blogspot.com/2012/02/before-starting-qtp-some-useful-points.html' title='Before Starting QTP some useful points'/><author><name>Unknown</name><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="http://2.bp.blogspot.com/-qH4cC0YLt88/Tz5xhZkj7fI/AAAAAAAAAzU/JzTLVlLbmIM/s72-c/HP+qtp11.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>