<?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: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-1796507667018600072</id><updated>2012-01-25T15:07:12.707+05:30</updated><title type='text'>Quick Test Professional Tutorials</title><subtitle type='html'>QTP Fundamentals, QTP Features, VB Scripting examples in QTP, QTP framework and VB Script.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>78</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3279412660892898223</id><published>2011-02-15T13:13:00.002+05:30</published><updated>2011-02-15T13:15:01.851+05:30</updated><title type='text'>Write a Script to open an excel workbook through VB Scripting</title><content type='html'>The below vb script will open an excel work book for which the path is mentioned.&lt;br /&gt;set xl = CreateObject("Excel.Application")&lt;br /&gt;xl.visible = true&lt;br /&gt;set wb = xl.workbooks.open("C:\test.xls")&lt;br /&gt;wb.close&lt;br /&gt;xl.quit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3279412660892898223?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3279412660892898223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2011/02/write-script-to-open-excel-workbook.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3279412660892898223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3279412660892898223'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2011/02/write-script-to-open-excel-workbook.html' title='Write a Script to open an excel workbook through VB Scripting'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-8479706463908848505</id><published>2010-09-09T13:24:00.002+05:30</published><updated>2010-09-09T13:32:48.774+05:30</updated><title type='text'>Child Objects in QTP scripts with examples</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Many at times in Scripting we come across scenarios where we need to count the objects in the application or even highlight a child object like highlighting a text box or check and uncheck check boxes using scripting in QTP.&lt;br /&gt;&lt;br /&gt;Below are some of the examples where in you can do different actions. For our example we are using Flight Reservation application as reference.&lt;/div&gt;&lt;/h1&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to count  the number of child objects of flight reservation application&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; chd_obj = Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"text:=Login"&lt;/span&gt;).ChildObjects&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;msgbox&lt;/span&gt; chd_obj.count&lt;/span&gt;&lt;/h5&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;'Script to highlight all the child objects in Login dialog of flight reservation application&lt;br /&gt;Set chd_obj = Dialog("text:=Login").ChildObjects&lt;br /&gt;For i = 0 to chd_obj.count - 1&lt;br /&gt;chd_obj(i).Highlight&lt;br /&gt;Next&lt;/span&gt;&lt;/h5&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;'Script to highlight all the child objects(buttons) in Login dialog of flight reservation application&lt;br /&gt;Set button_obj = Description.Create&lt;br /&gt;button_obj("nativeclass").Value = "Button"&lt;br /&gt;&lt;br /&gt;Set chd_obj = Dialog("text:=Login").ChildObjects(button_obj)&lt;br /&gt;For i = 0 to chd_obj.count - 1&lt;br /&gt;chd_obj(i).Highlight&lt;br /&gt;Next&lt;/span&gt;&lt;/h5&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;'Script to check and uncheck all the check boxes in open order dialog box of flight reservation application&lt;br /&gt;Set checkbox_obj = Description.Create&lt;br /&gt;checkbox_obj("Class Name").value = "WinCheckBox"&lt;br /&gt;&lt;br /&gt;Set chd_obj = Window("text:=Flight Reservation").Dialog("text:=Open Order").ChildObjects(checkbox_obj)&lt;br /&gt;For i = 0 to chd_obj.Count - 1&lt;br /&gt;chd_obj(i).Set "ON"&lt;br /&gt;chd_obj(i).Set "OFF"&lt;br /&gt;Next&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-8479706463908848505?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/8479706463908848505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/09/child-objects-in-qtp-scripts-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8479706463908848505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8479706463908848505'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/09/child-objects-in-qtp-scripts-with.html' title='Child Objects in QTP scripts with examples'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-2479485513863246030</id><published>2010-08-05T17:47:00.004+05:30</published><updated>2010-08-05T18:05:31.292+05:30</updated><title type='text'>Write a Script to delete all the spam mails in Gmail</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We will write a script in QTP for deleting all the spam mails in Gmail Account. What we will do is first we will get the innertext of the Spam Link using GetROProperty so that if there are no spam mails then we will exit the test using ExitTest method or can use ExitAction method if we want to only exit that particular action.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If there are spam mails then we will c&lt;span style="font-weight: bold;"&gt;ount the unread spam mails&lt;/span&gt; and then display it to the user and then delete all the spam mails by checking all the check boxes and clicking the delete forever button. To check all the check boxed we will create a description object and add properties to it &lt;span style="font-weight: bold;"&gt;WebCheckBox Property&lt;/span&gt;. We will use the Childobjects method to get all the checkboxes and using the count method we will get the number of checkboxed. By using a For loop we will set the Checkbox to On so that all will be selected and then click the &lt;span style="font-weight: bold;"&gt;Delete Forever button to delete the mails.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to Delete spam messages from Gmail&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'First get the spam count. if there are no spam mails then exit test&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'using GetROProperty to get the innertext of the Spam Link&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:100%;"&gt;spamct = browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).link(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Spam.*"&lt;/span&gt;).GetROProperty(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext"&lt;/span&gt;)&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Checking whether spam mails are there or not&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;If&lt;/span&gt; spamct = &lt;span style="color: rgb(102, 0, 0);"&gt;"Spam"&lt;/span&gt; &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Then&lt;/span&gt;&lt;br /&gt;Print &lt;span style="color: rgb(102, 0, 0);"&gt;"No spam Mails"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Since there are no spam mail you can exit Test or Exit Action. Based on users decision&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ExitTest&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'If spam mails are present then we will enter the else part&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Else&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify; color: rgb(0, 102, 0);"&gt;&lt;span style="font-size:100%;"&gt;'we will take the innertext of Spam link and remove all the unnecessary characters and print only the spam count.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;spamcount = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Replace&lt;/span&gt;(spamct, &lt;span style="color: rgb(102, 0, 0);"&gt;"spam"&lt;/span&gt;, &lt;span style="color: rgb(102, 0, 0);"&gt;""&lt;/span&gt;) 'replacing the spam word with space&lt;br /&gt;spamcount = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Trim&lt;/span&gt;(spamcount)&lt;br /&gt;spamcount = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Replace&lt;/span&gt;(spamcount, &lt;span style="color: rgb(102, 0, 0);"&gt;"("&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;""&lt;/span&gt;)&lt;br /&gt;spamcount = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Replace&lt;/span&gt;(spamcount, &lt;span style="color: rgb(102, 0, 0);"&gt;")"&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;""&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Printing the number of spam mails to the user&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;print &lt;span style="color: rgb(102, 0, 0);"&gt;"You have "&lt;/span&gt;&amp;amp;spamcount&amp;amp; &lt;span style="color: rgb(102, 0, 0);"&gt;" unread spam mails and all the available spam mails will be deleted forever"&lt;/span&gt;&lt;/span&gt; &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'clicking  on the spam link&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).sync&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).link(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Spam.*"&lt;/span&gt;).Click&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Creating a description object for check boxes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; abc_obj = &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Description&lt;/span&gt;.Create&lt;br /&gt;abc_obj(&lt;span style="color: rgb(102, 0, 0);"&gt;"micclass"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Value &lt;/span&gt;= &lt;span style="color: rgb(102, 0, 0);"&gt;"WebCheckBox"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Getting the childobjects i.e Checkboxes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:100%;"&gt;Set  browser_checkbox = Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).childobjects(abc_obj)&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'using a for loop to set the check boxes to on position i.e selecting them&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;For&lt;/span&gt; i = &lt;span style="color: rgb(102, 0, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;to&lt;/span&gt; browser_checkbox.&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Count &lt;/span&gt;- &lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;&lt;br /&gt;browser_checkbox(i).Set &lt;span style="color: rgb(102, 0, 0);"&gt;"ON"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Next&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Clicking on the delete forever button to delete the spam mails&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).webElement(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Delete forever"&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;"index:=*.*"&lt;/span&gt;).Click&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify; color: rgb(0, 102, 0);"&gt;&lt;span style="font-size:100%;"&gt;'using windows script host environment to make sure that the delete forever button is clicked&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; wsh = &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;CreateObject&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;"wscript.Shell"&lt;/span&gt;)&lt;br /&gt;wsh.sendkeys (&lt;span style="color: rgb(102, 0, 0);"&gt;"{Enter}"&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-2479485513863246030?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/2479485513863246030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/08/write-script-to-delete-all-spam-mails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/2479485513863246030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/2479485513863246030'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/08/write-script-to-delete-all-spam-mails.html' title='Write a Script to delete all the spam mails in Gmail'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3647180459281487759</id><published>2010-08-03T17:04:00.002+05:30</published><updated>2010-08-03T17:14:31.548+05:30</updated><title type='text'>Description Object in QTP (Description. Create)</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We will look at Description Objects (Description. Create in QTP) which is very important in Descriptive programming in QTP. In Descriptive programming we can create object with description being a single property or multiple properties. We actually put a collection of properties for an object. We can create and empty object and place all the required properties in it. This object can be used instead of the actual object.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;We will see how to create a Description Object&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; Desc = &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Description&lt;/span&gt;.Create&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;We are actually using a variable called Desc and add &lt;span style="font-weight: bold;"&gt;properties&lt;/span&gt; to the variable using the &lt;span style="font-weight: bold;"&gt;Description.Create&lt;/span&gt; method. The variable Desc should follow a Set statement and the variable Des is an object reference.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Let us look at the Flight Reservation Application and create some &lt;span style="font-weight: bold;"&gt;Description objects&lt;/span&gt; for logging in to the Flight Reservation Application.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'script to login flight reservation using dynamic descriptive programming&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; dialog_login = &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Description&lt;/span&gt;.create&lt;br /&gt;dialog_login(&lt;span style="color: rgb(102, 0, 0);"&gt;"text"&lt;/span&gt;).value =&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; edit_agentname = &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Description&lt;/span&gt;.Create&lt;br /&gt;edit_agentname(&lt;span style="color: rgb(102, 0, 0);"&gt;"attached text"&lt;/span&gt;).value = &lt;span style="color: rgb(102, 0, 0);"&gt;"Agent Name:"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; edit_password = &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Description&lt;/span&gt;.Create&lt;br /&gt;edit_password(&lt;span style="color: rgb(102, 0, 0);"&gt;"attached text"&lt;/span&gt;).value = &lt;span style="color: rgb(102, 0, 0);"&gt;"Password:"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; button_ok = &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Description&lt;/span&gt;.Create&lt;br /&gt;button_ok(&lt;span style="color: rgb(0, 0, 153);"&gt;"text"&lt;/span&gt;).value =&lt;span style="color: rgb(0, 0, 153);"&gt;"OK"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Dialog(dialog_login).Activate&lt;br /&gt;Dialog(dialog_login).WinEdit(edit_agentname).&lt;span style="font-weight: bold; color: rgb(102, 0, 0);"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Ravi"&lt;/span&gt;&lt;br /&gt;Dialog(dialog_login).WinEdit(edit_password).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"mercury"&lt;/span&gt;&lt;br /&gt;Dialog(dialog_login).WinButton(button_ok).Click&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In the above code we are actually using the properties and values and creating the objects and using them instead of the actual objects. This kind of method is very easy and maintainable because there is always a scope of adding new properties and values to the Description objects.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The other way to login in to the Flight Reservation Application is by simply putting in the properties and values in the script it self instead of creating description Objects. Instead of learning the objects into the object repository we use the associated properties and values of the object and directly pass them.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Look at the simple script using descriptive programming.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Descriptive programming to login to the flight application.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"text:=Login"&lt;/span&gt;).Activate&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"text:=Login"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"attached text:=Agent Name:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Ravi"&lt;/span&gt;&lt;br /&gt;Dialog("&lt;span style="color: rgb(102, 0, 0);"&gt;text:=Login"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"attached text:=Password:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"mercury"&lt;/span&gt;&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"text:=Login"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"text:=OK"&lt;/span&gt;).Click&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3647180459281487759?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3647180459281487759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/08/description-object-in-qtp-description.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3647180459281487759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3647180459281487759'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/08/description-object-in-qtp-description.html' title='Description Object in QTP (Description. Create)'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-5492584334371391053</id><published>2010-07-30T11:46:00.002+05:30</published><updated>2010-07-30T12:05:42.918+05:30</updated><title type='text'>Write a script to delete the mails in the Trash Folder in Gmail Account?</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We can write a script to delete all the trash mails in the Gmail Account. First we need to Click the Trash link then click the all link in the trash mail page so that all the available mails in the table are checked and then we need to click the Delete Forever button. I have faced a problem when clicking on the All Link because when the All link is clicked it is actually selecting all the mails in the Inbox because the objects used like Select: All, None, Read, Unread, Starred, Unstarred are being used the same. So I faced a little problem but we can solve that by using object repository for that particular line of code.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If the below script is unable to run then use the other script given below and also learn the objects into the repository specially the &lt;span style="font-weight: bold;"&gt;Trash Link and the All Link in Gmail&lt;/span&gt;.  Please look at the Object Repository Image below.&lt;br /&gt;&lt;br /&gt;Please note that you need to be logged in to the Gmail Account to successfully run the below scripts.&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;First Method to delete the trash mails from Gmail Account:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Link(&lt;span style="color: rgb(102, 0, 0);"&gt;"text:=Trash"&lt;/span&gt;, &lt;span style="color: rgb(102, 0, 0);"&gt;"class:=n.*"&lt;/span&gt;).Click&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail - Trash.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail - Trash.*"&lt;/span&gt;).Sync&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;If&lt;/span&gt;  Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail - Trash.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail - Trash.*"&lt;/span&gt;).WebElement(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Empty Trash.*"&lt;/span&gt;, &lt;span style="color: rgb(102, 0, 0);"&gt;"html id:=:.*"&lt;/span&gt;).Exist(&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;) &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Then&lt;/span&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail - Trash.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail - Trash.*"&lt;/span&gt;).WebElement(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=All"&lt;/span&gt;, &lt;span style="color: rgb(102, 0, 0);"&gt;"Index:=*.*"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Wait&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;2&lt;/span&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail - Trash.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail - Trash.*"&lt;/span&gt;).WebElement(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Delete forever"&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;"index:=*.*"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Else&lt;/span&gt;&lt;br /&gt;Print&lt;span style="color: rgb(102, 0, 0);"&gt; "You are not in proper page"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End If&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; wsh = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;CreateObject&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;"WScript.Shell"&lt;/span&gt;)&lt;br /&gt;wsh.SendKeys (&lt;span style="color: rgb(102, 0, 0);"&gt;"{ENTER}"&lt;/span&gt;)&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If the above script does not work then you need to add objects to the repository and then use this script. We use Windows Script Host because we need to explicitly tell QTP to Click the Delete Forever Button which otherwise some times does not work so in order to resolve this issue we need to create a variable to interact with the Windows Script Host Library. We are also using the Reporter.ReportEvent method to return a pass or fail to the test result whether  the messages are deleted or not.&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Second Method to delete the trash mails from Gmail Account:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"Gmail"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"Gmail"&lt;/span&gt;).Frame(&lt;span style="color: rgb(102, 0, 0);"&gt;"frame"&lt;/span&gt;).Link(&lt;span style="color: rgb(102, 0, 0);"&gt;"Trash"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;If &lt;/span&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"Gmail"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"Gmail"&lt;/span&gt;).Frame(&lt;span style="color: rgb(102, 0, 0);"&gt;"frame"&lt;/span&gt;).Webtable(&lt;span style="color: rgb(102, 0, 0);"&gt;"No conversations in the"&lt;/span&gt;).Exist (&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;) &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Then&lt;/span&gt;&lt;br /&gt;Reporter.ReportEvent micPass, &lt;span style="color: rgb(102, 0, 0);"&gt;"No messages"&lt;/span&gt;, &lt;span style="color: rgb(102, 0, 0);"&gt;"There are no messages to be deleted"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Else&lt;/span&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"Gmail"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"Gmail"&lt;/span&gt;).Frame(&lt;span style="color: rgb(102, 0, 0);"&gt;"frame"&lt;/span&gt;).WebElement(&lt;span style="color: rgb(102, 0, 0);"&gt;"All"&lt;/span&gt;).Click&lt;br /&gt;Browser("Gmail").Page("Gmail").Frame("frame").WebElement("Delete forever").Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set &lt;/span&gt;wsh = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;CreateObject&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;"wscript.shell"&lt;/span&gt;)&lt;br /&gt;wsh.sendkeys (&lt;span style="color: rgb(102, 0, 0);"&gt;"{Enter}"&lt;/span&gt;)&lt;br /&gt;Reporter.ReportEvent micPass, &lt;span style="color: rgb(102, 0, 0);"&gt;"Deleted"&lt;/span&gt;, &lt;span style="color: rgb(102, 0, 0);"&gt;"All the selected messages are deleted"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div style="text-align: justify;"&gt;The Object repository should learn these objects from the Application in order to run the above script.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/TFJyooFHYOI/AAAAAAAAANo/xWperv9ul1U/s1600/OR+for+gmail+delete+trash.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 241px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/TFJyooFHYOI/AAAAAAAAANo/xWperv9ul1U/s400/OR+for+gmail+delete+trash.JPG" alt="" id="BLOGGER_PHOTO_ID_5499584137252004066" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-5492584334371391053?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/5492584334371391053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/write-script-to-delete-mails-in-trash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5492584334371391053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5492584334371391053'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/write-script-to-delete-mails-in-trash.html' title='Write a script to delete the mails in the Trash Folder in Gmail Account?'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_iigq5ggPtFw/TFJyooFHYOI/AAAAAAAAANo/xWperv9ul1U/s72-c/OR+for+gmail+delete+trash.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-1848522631973107926</id><published>2010-07-29T17:17:00.002+05:30</published><updated>2010-07-29T17:47:52.693+05:30</updated><title type='text'>Write a Script in QTP to count the no of buzz messages in a Gmail Account.</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We will need to use the GetROProperty method to get the count of the buzz messages in the Gmail Account for a user and this number is dynamic so we use the GetRoProperty method and get the innertext value. We will use the GetROProperty (Get Run Time Object Property) to get the count of the Buzz Messages ex Buzz (25) and then replace Buzz, (,) with a null and then print only the number to the user.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'You need to be logged into the Gmail account&lt;/span&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Link(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Buzz.*"&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;"class:=n.*"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'To get the innertext of Buzz link&lt;/span&gt;&lt;br /&gt;buzzcount = Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Link(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Buzz.*"&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;"class:=n.*"&lt;/span&gt;).GetROProperty(&lt;span style="color: rgb(0, 102, 0);"&gt;"innertext"&lt;/span&gt;)&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;If&lt;/span&gt; buzzcount = &lt;span style="color: rgb(102, 0, 0);"&gt;"Buzz" &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Then&lt;/span&gt;&lt;br /&gt;Print &lt;span style="color: rgb(102, 0, 0);"&gt;"No Buzz Messages"&lt;/span&gt;&lt;br /&gt;ExitAction&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Else&lt;/span&gt;&lt;br /&gt;buzzct = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Replace&lt;/span&gt;(buzzcount, &lt;span style="color: rgb(102, 0, 0);"&gt;"Buzz"&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;""&lt;/span&gt;)&lt;br /&gt;buzzct = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Rtrim&lt;/span&gt;(&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;ltrim&lt;/span&gt;(buzzct))&lt;br /&gt;buzzct = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Replace&lt;/span&gt;(buzzct, &lt;span style="color: rgb(102, 0, 0);"&gt;"("&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;""&lt;/span&gt;)&lt;br /&gt;buzzct = Replace(buzzct,&lt;span style="color: rgb(102, 0, 0);"&gt;")"&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;""&lt;/span&gt;)&lt;br /&gt;Print &lt;span style="color: rgb(102, 0, 0);"&gt;"You have "&lt;/span&gt;&amp;amp;buzzct&amp;amp; &lt;span style="color: rgb(102, 0, 0);"&gt;" Buzz Messages."&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-1848522631973107926?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/1848522631973107926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/write-script-in-qtp-to-count-no-of-buzz.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1848522631973107926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1848522631973107926'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/write-script-in-qtp-to-count-no-of-buzz.html' title='Write a Script in QTP to count the no of buzz messages in a Gmail Account.'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-2229934708856081301</id><published>2010-07-29T16:57:00.002+05:30</published><updated>2010-07-29T17:05:40.892+05:30</updated><title type='text'>Write a Script in QTP to count the unread emails of a gmail account.</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;In order to count the unread emails of a gmail account you need to be logged into the Gmail account and then run this script which will count all the unread email and display the no of unread emails. We will use the GetROProperty (Get Run Time Object Property) to get the no of unread emails ex Inbox (25) and then replace Inbox, (, ) with a null and then print only the number.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The reason for us to use the &lt;span style="font-weight: bold;"&gt;GetROProperty on the Inbox&lt;/span&gt; Link is that the count of unread mails is dynamic and so we need to get the innertext and print the &lt;span style="font-weight: bold;"&gt;unread emails&lt;/span&gt;. So no matter you run any number of times you will get the exact number of &lt;span style="font-weight: bold;"&gt;unread emails in gmail account&lt;/span&gt;. If no unread emails are there then it will print a message saying &lt;span style="font-weight: bold;"&gt;" No Unread Emails"&lt;/span&gt; else it will print &lt;span style="font-weight: bold;"&gt;"You have xxx unread emails in your inbox"&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'You need to be logged into the Gmail account&lt;/span&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Link(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Inbox.*"&lt;/span&gt;).Click&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Sync&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'To get the innertext of inbox link&lt;/span&gt;&lt;br /&gt;inboxcount = Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Link(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Inbox.*"&lt;/span&gt;).getroproperty(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext"&lt;/span&gt;)&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;If&lt;/span&gt; inboxcount = &lt;span style="color: rgb(102, 0, 0);"&gt;"Inbox" &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Then&lt;/span&gt;&lt;br /&gt;Print  &lt;span style="color: rgb(102, 0, 0);"&gt;"No Unread Emails."&lt;/span&gt;&lt;br /&gt;ExitAction&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Else&lt;/span&gt;&lt;br /&gt;emailcount = replace(inboxcount, &lt;span style="color: rgb(102, 0, 0);"&gt;"Inbox"&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;""&lt;/span&gt;) &lt;span style="color: rgb(0, 102, 0);"&gt;'replaces inbox with space&lt;/span&gt;&lt;br /&gt;emailcount = Rtrim(ltrim(emailcount)) &lt;span style="color: rgb(0, 102, 0);"&gt;'removes all the spaces&lt;/span&gt;&lt;br /&gt;emailcount = replace(emailcount, &lt;span style="color: rgb(102, 0, 0);"&gt;"("&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;""&lt;/span&gt;)&lt;br /&gt;emailcount = replace(emailcount, &lt;span style="color: rgb(102, 0, 0);"&gt;")"&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;""&lt;/span&gt;)&lt;br /&gt;Print &lt;span style="color: rgb(102, 0, 0);"&gt;"You have "&lt;/span&gt;&amp;amp;emailcount&amp;amp; &lt;span style="color: rgb(102, 0, 0);"&gt;" unread emails in your inbox."&lt;/span&gt;&lt;br /&gt;End If&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-2229934708856081301?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/2229934708856081301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/write-script-in-qtp-to-count-unread.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/2229934708856081301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/2229934708856081301'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/write-script-in-qtp-to-count-unread.html' title='Write a Script in QTP to count the unread emails of a gmail account.'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-8604182510096053987</id><published>2010-07-29T16:07:00.006+05:30</published><updated>2010-07-29T19:23:19.017+05:30</updated><title type='text'>Write a Script to Login in to Gmail Account using QTP?</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div align="justify"&gt;We will write a script to login to a Gmail Account. This QTP Script to log into Gmail Account is a Generic one. There is no need for us to have Object Repository since I am using Descriptive Programming. Where we use the properties and the values to identify the run time object in the Application under test.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;We will write a &lt;strong&gt;descriptive program to login to Gmail Account&lt;/strong&gt;. What I am doing is that each of the script contains a line of code to launch &lt;strong&gt;Gmail Application&lt;/strong&gt; and then log into the application&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To launch the &lt;strong&gt;Gmail application &lt;/strong&gt;we need to use &lt;strong&gt;QTP reserved object like Systemutil&lt;/strong&gt; or can interact with the Internet Explorer library and launch gmail. After launching the Gmail Application we have the script to login to the account by passing username and password. We will be printing the result at each step to see how the application is behaving&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Systemutil.Run "http://www.gmail.com"&lt;br /&gt;&lt;br /&gt;Or&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Launching Internet Explorer and Opening Gmail Application&lt;/span&gt;&lt;br /&gt;Set IE = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;CreateObject&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;"InternetExplorer.Application"&lt;/span&gt;)&lt;br /&gt;IE.Visible = True&lt;br /&gt;IE.Navigate &lt;span style="color: rgb(102, 0, 0);"&gt;"http://www.gmail.com"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'We will use the sync method to wait till Gmail opens&lt;/span&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"Title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Sync&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to set username and password to login&lt;/span&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"Title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).WebEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"name:=Email"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"xxxxxx"&lt;/span&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"Title:=Gmail.*"&lt;/span&gt;).Page("title:=Gmail.*").WebEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"name:=Passwd"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);"&gt; "yyyyyy"&lt;/span&gt;&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"Title:=Gmail.*"&lt;/span&gt;).Page("title:=Gmail.*").WebButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"name:=Sign in"&lt;/span&gt;).click&lt;br /&gt;Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"Title:=Gmail.*"&lt;/span&gt;).Page("title:=Gmail.*").Sync&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;If&lt;/span&gt; Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"Title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Link(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Sign out"&lt;/span&gt;, &lt;span style="color: rgb(102, 0, 0);"&gt;"html id:=:.*"&lt;/span&gt;).Exist(1)&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt; Then&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Print a Pass message for the user if logged in&lt;/span&gt;&lt;br /&gt;Print &lt;span style="color: rgb(102, 0, 0);"&gt;"User "&lt;/span&gt; &amp;amp;Username&amp;amp; &lt;span style="color: rgb(102, 0, 0);"&gt;" is successfully Logged in"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Else If &lt;/span&gt;not Browser(&lt;span style="color: rgb(102, 0, 0);"&gt;"Title:=Gmail.*"&lt;/span&gt;).Page(&lt;span style="color: rgb(102, 0, 0);"&gt;"title:=Gmail.*"&lt;/span&gt;).Link(&lt;span style="color: rgb(102, 0, 0);"&gt;"innertext:=Sign out"&lt;/span&gt;, &lt;span style="color: rgb(102, 0, 0);"&gt;"html id:=:.*"&lt;/span&gt;).Exist(1) &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Then&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Print a Fail message for the user if not able to log in and terminate the action&lt;/span&gt;&lt;br /&gt;Print &lt;span style="color: rgb(102, 0, 0);"&gt;"User "&lt;/span&gt; &amp;amp;Username&amp;amp; &lt;span style="color: rgb(102, 0, 0);"&gt;" is not able to Login in"&lt;/span&gt;&lt;br /&gt;Print &lt;span style="color: rgb(102, 0, 0);"&gt;"The Test has been terminated"&lt;/span&gt;&lt;br /&gt;ExitAction&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;End If&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-8604182510096053987?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/8604182510096053987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/write-script-to-login-in-to-gmail.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8604182510096053987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8604182510096053987'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/write-script-to-login-in-to-gmail.html' title='Write a Script to Login in to Gmail Account using QTP?'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-4017216142617022233</id><published>2010-07-28T13:58:00.001+05:30</published><updated>2010-07-30T18:33:42.547+05:30</updated><title type='text'>What is a Virtual Object and it helps in solving Object Recognition Problem in QTP ?</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div align="justify"&gt;Virtual Objects comes into picture if QTP is unable to recognize an object and we often see errors as Object not found. This is because even thought you have recorded the actions during playback time QTP is unable to recognize an object and because of which the script fails.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;strong&gt;Virtual Objects&lt;/strong&gt; &lt;span style="font-weight: bold;"&gt;in QTP&lt;/span&gt; are created to resolve the object recognition problems in QTP. When an area of an application is not recognized by QTP we use the &lt;strong&gt;Virtual Object Wizard&lt;/strong&gt; to map the area to a standard Class. These virtual objects are generally used to resolve the object recognition problems. All the Virtual Objects created are stored in the &lt;strong&gt;Virtual Object Manager&lt;/strong&gt;. After we have learned an object as a Virtual Object we can record on that object successfully. You can create a &lt;span style="font-weight: bold;"&gt;Virtual Object by navigating to Tools, Virtual Objects, New Virtual Object.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Points to Note:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. We cannot use object spy on a Virtual Object.&lt;br /&gt;2. We can only record on Virtual Objects.&lt;br /&gt;3. Scroll Bars and Labels cannot be treated as Virtual Objects.&lt;br /&gt;&lt;br /&gt;In order to disable the Virtual Objects Navigate to Tools, Options, General, Check the check box for "Disable Recognition of Virtual Objects While Recording"&lt;br /&gt;&lt;br /&gt;When Object recognition Problem occurs in QTP during playback on the Application Under test there are ways to handle this Object Recognition Problem. It depends solely on the user as to what they want to use.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The different ways to handle Object Recognition Problem are:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. By Creating Virtual Objects.&lt;br /&gt;2. Using Low Level Recording.&lt;br /&gt;3. Using Analog Recording. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-4017216142617022233?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/4017216142617022233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/what-is-virtual-object-and-it-helps-in.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/4017216142617022233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/4017216142617022233'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/what-is-virtual-object-and-it-helps-in.html' title='What is a Virtual Object and it helps in solving Object Recognition Problem in QTP ?'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-8132921084948668607</id><published>2010-07-27T12:53:00.001+05:30</published><updated>2010-07-30T18:42:33.337+05:30</updated><title type='text'>Creating a MS Word Document using QTP 9.2</title><content type='html'>&lt;div style="text-align: justify;"&gt;Creating a &lt;strong&gt;MS Word Document &lt;/strong&gt;&lt;span style="font-weight: bold;"&gt;in QTP&lt;/span&gt; is not difficult but is very easy and one needs to know how to use the &lt;strong&gt;Word Application in QTP&lt;/strong&gt;.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h1 class="myclass" align="justify"&gt;It is very easy to create a MS Word Document using QTP. There is no need to invoke the MS Word application in QTP but we require to use the Word Library by using the CreateObject method. If you have word on Excel Application in QTP then it is more or less similar working with Word Library. I will show a sample script to create a word document and also add some text to the word Document.&lt;/h1&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;strong&gt;Script to create a Word Document in QTP&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; wordapp = &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;CreateObject&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;"Word.Application"&lt;/span&gt;)&lt;br /&gt;wordapp.visible = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;True&lt;/span&gt;&lt;br /&gt;wordapp.documents.&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Add&lt;/span&gt;&lt;br /&gt;wordapp.Selection.TypeText  &lt;span style="color: rgb(102, 0, 0);"&gt;"This is a sample document"&lt;/span&gt;&lt;br /&gt;wordapp.ActiveDocument.SaveAs "E:\testdoc.doc"&lt;br /&gt;wordapp.Quit&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; wordapp = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Nothing&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;We are using Wordapp.Visible = true because we want the application to be visible for the user while the text is being written to the Word Document. TypeText property is used to write the text in the word document. In order to save the document we use ActiveDocument menthod because in case if there are other word document already opened then the active document will be saved. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-8132921084948668607?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/8132921084948668607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/creating-ms-word-document-using-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8132921084948668607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8132921084948668607'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/creating-ms-word-document-using-qtp-92.html' title='Creating a MS Word Document using QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3493568474308785045</id><published>2010-07-05T17:47:00.002+05:30</published><updated>2010-07-30T18:47:05.774+05:30</updated><title type='text'>Recovery Settings in QTP</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Recovery scenario comes into picture when you want to handle some exception in the test by creating a Recovery scenario. Now to add this recovery scenario to a test we need to associate it in the test Settings.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You need to navigate to File &gt; Setting &gt; Test Settings &gt;Resources.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TDHNtzYsADI/AAAAAAAAAM4/L92rP55NYr8/s1600/File_Setting_Recovery.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 390px; height: 400px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TDHNtzYsADI/AAAAAAAAAM4/L92rP55NYr8/s400/File_Setting_Recovery.JPG" alt="" id="BLOGGER_PHOTO_ID_5490395607512907826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You can add the &lt;span style="font-weight: bold;"&gt;recovery scenario&lt;/span&gt; file .qrs by clicking the + button and checking the check button in the list pane for a particular recovery file and also can activate the recovery scenario for which you want like Never, On every Step or On error.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You can also edit the &lt;span style="font-weight: bold;"&gt;recovery scenario &lt;/span&gt;by clicking the edit button.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3493568474308785045?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3493568474308785045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/qtp-features-file-settings-test_7217.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3493568474308785045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3493568474308785045'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/qtp-features-file-settings-test_7217.html' title='Recovery Settings in QTP'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_iigq5ggPtFw/TDHNtzYsADI/AAAAAAAAAM4/L92rP55NYr8/s72-c/File_Setting_Recovery.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-7421358726087176241</id><published>2010-07-05T17:44:00.002+05:30</published><updated>2010-07-30T18:46:27.818+05:30</updated><title type='text'>Environment Settings in QTP</title><content type='html'>&lt;h2 class="myclass"&gt;User Defined Environment Variables in QTP&lt;/h2&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Environment Variables in QTP are the utility objects of QTP which enables us to work with Environment Variables. In the Test Settings we can add user defined Environment Variables for a particular test or can also load an environment XML file to a test.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You need to Navigate to File &gt; Settings &gt; Test Settings &gt; Environment&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;User defined variables are of two types Internal and External. Internal Environment variables can be modified or deleted while External Environment variables are Read only.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iigq5ggPtFw/TDHNQFgYuMI/AAAAAAAAAMw/Dd0pe_87eow/s1600/File_Setting_Environment_UserDefined.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 391px; height: 400px;" src="http://4.bp.blogspot.com/_iigq5ggPtFw/TDHNQFgYuMI/AAAAAAAAAMw/Dd0pe_87eow/s400/File_Setting_Environment_UserDefined.JPG" alt="" id="BLOGGER_PHOTO_ID_5490395096980961474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In this setting we can add &lt;span style="font-weight: bold;"&gt;environment variables &lt;/span&gt;by clicking the + button which pops up a dialog box where in you can enter the name of the variable and the value of the variable and will be displayed in Black color and the type would be displayed as Internal and you have full control over these kinds of variables. You can modify or delete these variables.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You can create an external XML file of all the &lt;span style="font-weight: bold;"&gt;user defined environment variables &lt;/span&gt;to an XML file listed in the pane by clicking the export button.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In order to load environment variables from an external XML file you need to check the check button of Load variables and values from external file and click the browse button of the File Text Box and select the XML file from the desired location. All the environment variable will be listed and will be in Blue color and are read only.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-7421358726087176241?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/7421358726087176241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/qtp-features-file-settings-test_5216.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7421358726087176241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7421358726087176241'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/qtp-features-file-settings-test_5216.html' title='Environment Settings in QTP'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_iigq5ggPtFw/TDHNQFgYuMI/AAAAAAAAAMw/Dd0pe_87eow/s72-c/File_Setting_Environment_UserDefined.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-1279980558531594335</id><published>2010-07-05T17:41:00.002+05:30</published><updated>2010-07-30T18:48:15.398+05:30</updated><title type='text'>Built in EnvironmentVariables Settings in QTP</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Environment Variables in QTP are the utility objects of QTP which enables us to work with Environment Variables. Here in this tab you have two settings one is Built in and user Defined.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;You need to Navigate to File &gt; Settings &gt; Test Settings &gt; Environment&lt;br /&gt;&lt;h2 class="myclass"&gt;Built in Environment Variables:&lt;/h2&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Built in environment settings in QTP&lt;/span&gt; is where you will be shown a list of all built in environment variables of QTP and their description. These are read only.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TDHMktdxX7I/AAAAAAAAAMo/5L3l-i6-Atw/s1600/File_Setting_Environment_Builtin.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 395px; height: 400px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TDHMktdxX7I/AAAAAAAAAMo/5L3l-i6-Atw/s400/File_Setting_Environment_Builtin.JPG" alt="" id="BLOGGER_PHOTO_ID_5490394351793168306" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-1279980558531594335?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/1279980558531594335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/qtp-features-file-settings-test_1382.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1279980558531594335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1279980558531594335'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/qtp-features-file-settings-test_1382.html' title='Built in EnvironmentVariables Settings in QTP'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_iigq5ggPtFw/TDHMktdxX7I/AAAAAAAAAMo/5L3l-i6-Atw/s72-c/File_Setting_Environment_Builtin.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3262193495753791171</id><published>2010-07-05T17:38:00.001+05:30</published><updated>2010-07-30T18:49:20.210+05:30</updated><title type='text'>Resources Settings in QTP</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Associating Function Libraries to a QTP Test is very important as it is associated from an external location and since we use frame work each of the test script is broken down into different functions and there should be a way to associate them to a test. The Resource Tab in Test Settings helps you to do this.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;You need to navigate to File &gt; Settings &gt; Test Settings &gt; Resources.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Here we will look at the various options available for user to set under &lt;span style="font-weight: bold;"&gt;resources in QTP&lt;/span&gt; while running a test.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TDHLvJPrrJI/AAAAAAAAAMg/1ICG8TKdDOY/s1600/File_Setting_Resources.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 390px; height: 400px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TDHLvJPrrJI/AAAAAAAAAMg/1ICG8TKdDOY/s400/File_Setting_Resources.JPG" alt="" id="BLOGGER_PHOTO_ID_5490393431537331346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Here you can &lt;span style="font-weight: bold;"&gt;associate function libraries to QTP&lt;/span&gt; test by clicking the + sign and select the location from where you want to add. In order to delete a library file select that file from the list and click the Delete button i.e X button. You can arrange the function library files by using the up and Down key.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It also provides a means to check the syntax of the files associated by clicking the Check syntax Button.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There is a means to associate a data table from other location i.e Excel sheet for passing values as parameters to the test from default location or from any other location.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3262193495753791171?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3262193495753791171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/qtp-features-file-settings-test_05.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3262193495753791171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3262193495753791171'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/qtp-features-file-settings-test_05.html' title='Resources Settings in QTP'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_iigq5ggPtFw/TDHLvJPrrJI/AAAAAAAAAMg/1ICG8TKdDOY/s72-c/File_Setting_Resources.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-6724216204861079076</id><published>2010-07-05T17:33:00.002+05:30</published><updated>2010-07-30T18:51:08.756+05:30</updated><title type='text'>Run Settings in QTP</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Test Settings in QTP is very vital as it provides a lot of settings for a test and allows you to control the way QTP should run.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You can customize the settings of QTP for each test by navigating to File &gt; Settings &gt; Test Settings &gt; Run.&lt;br /&gt;&lt;br /&gt;Here we will look at the various options available for user customize &lt;span style="font-weight: bold;"&gt;Run Settings in QTP&lt;/span&gt; while running a test.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/TDHK4dQp2uI/AAAAAAAAAMY/TZCS0qQWjp8/s1600/File_Setting_Run.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 394px; height: 400px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/TDHK4dQp2uI/AAAAAAAAAMY/TZCS0qQWjp8/s400/File_Setting_Run.JPG" alt="" id="BLOGGER_PHOTO_ID_5490392492017310434" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Run one iteration only:&lt;/span&gt; The test will run only for one time.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Run on all rows:&lt;/span&gt; The test will run on all rows&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When error occurs during run session combo has these options&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;1. Pop up message box&lt;br /&gt;2. Proceed to next action iteration&lt;br /&gt;3. Stop Run&lt;br /&gt;4. Proceed to next step&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Check box items are: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Object synchronization time out text box with 20 sec as default.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Disable smart identification during run session&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-6724216204861079076?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/6724216204861079076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/07/qtp-features-file-settings-test.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6724216204861079076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6724216204861079076'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/07/qtp-features-file-settings-test.html' title='Run Settings in QTP'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_iigq5ggPtFw/TDHK4dQp2uI/AAAAAAAAAMY/TZCS0qQWjp8/s72-c/File_Setting_Run.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-8386221276196630646</id><published>2010-06-23T10:17:00.001+05:30</published><updated>2010-07-30T18:52:04.718+05:30</updated><title type='text'>How to compare two xml files using CreateXMLfromFile Method</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;In order to compare two xml files in QTP we use the "XMLUtil Object" which is used to access and return XML objects.The Associated Methods for this object is CreateXML Method &amp;amp; CreateXMLfromFile Method.&lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;1. CreateXML Method: &lt;/span&gt;This method is used to create and return an object of the type XMLData. If a root name is specified i.e path of the xml file, a new document is created containing the specified root tag.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. CreateXMLFromFile Method: &lt;/span&gt;This method is used to create and return an object of type XMLData&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Example: Below is an example which creates an XML object and uses it to load an XML file.&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CreateXML Method&lt;/span&gt;&lt;br /&gt;&lt;h5 style="color: rgb(153, 0, 0); font-weight: normal;" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Set XMLObj = XMLUtil.CreateXML()&lt;br /&gt;XMLObj.LoadFile("E:\Environment.xml") &lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Using this method we will write a script to compare two xml files and return the result in a result.xml file.&lt;br /&gt;&lt;/div&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'assigining the path of the xml file to a variable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;xmlFile1 = "E:\Perspectives_FrameWork\Environment.xml"&lt;br /&gt;xmlFile2 = "E:\Perspectives_FrameWork\Environment 1.xml"&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Creates and returns an object of type XMLData&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set objxml1 = XMLUtil.CreateXML()&lt;br /&gt;Set objxml2 = XMLUtil.CreateXML()&lt;br /&gt;&lt;br /&gt;'Loading the c=xml file&lt;br /&gt;&lt;br /&gt;objxml1.LoadFile (xmlFile1)&lt;br /&gt;objxml2.LoadFile (xmlFile2)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;' Comparing the two xml files and setting the value either 1 or 0 to the variable&lt;/span&gt;&lt;br /&gt;Result = objXML1.compare(objXML2, objResultsXML)&lt;br /&gt;&lt;br /&gt;If Result = 1 Then&lt;br /&gt;MsgBox "XML Files Match"&lt;br /&gt;Else&lt;br /&gt;MsgBox "XML Files do not match"&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'saving the result xml file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;objResultsXML.savefile ("E:\results.xml")&lt;br /&gt;&lt;br /&gt;End If&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CreateXMLfromFile Method&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This method is used to create and return an object of type XMLData&lt;br /&gt;&lt;br /&gt;Example: Below is the example given which creates an XML object and loads the XML file Environment.xml into it.&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Set XMLObj = XMLUtil.CreateXMLFromFile("E:\Environment.xml") &lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Below is the script to compare two xml files named Environment and Environment 1.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;' using a CreateXMLfromFile Method  creates an XML object and loads the XML file specified into it&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set objxml1 = XMLUtil.CreateXMLFromFile("E:\Perspectives_FrameWork\Environment.xml")&lt;br /&gt;Set objxml2 = XMLUtil.CreateXMLFromFile("E:\Perspectives_FrameWork\Environment 1.xml")&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;' Comparing the two xml files and setting the value either 1 or 0 to the variable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Result = objXML1.compare(objXML2, objResultsXML)&lt;br /&gt;&lt;br /&gt;If Result = 1 Then&lt;br /&gt;Msgbox "XML Files Match"&lt;br /&gt;Else&lt;br /&gt;Msgbox "XML Files do not match"&lt;br /&gt;objResultsXML.savefile ("E:\results.xml")&lt;br /&gt;End If &lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-8386221276196630646?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/8386221276196630646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-compare-two-xml-files-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8386221276196630646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8386221276196630646'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-compare-two-xml-files-using.html' title='How to compare two xml files using CreateXMLfromFile Method'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-834513404716482604</id><published>2010-06-21T13:07:00.001+05:30</published><updated>2010-07-30T18:53:03.407+05:30</updated><title type='text'>How to associate Function Libraries to a Test in QTP using Script?</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Associating function libraries to a test in QTP is with respect to user defined functions which means either you or some one else are the owners of the functions and have rights to manage those functions. When it comes to writing scripts and running the test and that too in a frame work architecture every script is converted in to a function and relevant functions are called into the test script.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Functions in this context is the user defined and &lt;span style="font-weight: bold;"&gt;associating the function libraries to a test in QTP &lt;/span&gt;is by the two mentioned methods.&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;1. Using the feature of QTP&lt;br /&gt;2. Using a Script.&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Associating a Function Library using a Script&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 1:&lt;/span&gt; Convert a script into a function, pass the necessary arguments, prepare the appropriate documentation for the function.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 2:&lt;/span&gt; Cut the function from the main script and open a note pad and paste the function in to the note pad and save it as a .vbs file in the appropriate folder.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Let us take the previous example of invoking/Login into the Flight Reservation application. We will create a library function called Login_FR and associate the function into QTP and it can be viewed by navigating to Resources and Associated Library Functions. When this is done you can just simply put the function call into the main script and run the test and you can see that QTP passes the username and password into the Flight Reservation application and you main script will have only one line of code and creating functions is useful for maintenance of the scripts.&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Public Function LoginFR(byval username, byval password)&lt;br /&gt;&lt;br /&gt;Dialog("Login").Activate&lt;br /&gt;Dialog("Login").WinEdit("Agent Name:").Set username&lt;br /&gt;Dialog("Login").WinEdit("Password:").Set password&lt;br /&gt;Dialog("Login").WinButton("OK").Click&lt;br /&gt;&lt;br /&gt;End Function&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;What you will do is cut this function from the main script and paste it in a note pad and save it as Login_FR.vbs&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-834513404716482604?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/834513404716482604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-associate-function-libraries-to.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/834513404716482604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/834513404716482604'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-associate-function-libraries-to.html' title='How to associate Function Libraries to a Test in QTP using Script?'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-189924558193353316</id><published>2010-06-21T12:53:00.000+05:30</published><updated>2010-06-21T12:57:55.479+05:30</updated><title type='text'>Associate Function Libraries to a Test in QTP 9.2</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Associating function libraries to a test in QTP is with respect to user defined functions which means either you or some one else are the owners of the functions and have rights to manage those functions. When it comes to writing scripts and running the test and that too in a frame work architecture every script is converted in to a function and relevant functions are called into the test script.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Functions in this context is the user defined and associating the function libraries to a test in QTP is by the two mentioned methods.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;1. Using the feature of QTP&lt;br /&gt;2. Using a Script.&lt;/span&gt;&lt;/h5&gt;&lt;span style="font-weight: bold;"&gt;Using the feature of QTP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In order to associate a function library using the feature of QTP we need to navigate to the desired feature of the QTP&lt;br /&gt;&lt;/div&gt;&lt;h5 style="color: rgb(153, 0, 0); font-weight: normal;" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;File -&gt; Settings -&gt; Resources&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TB8UOKuRzcI/AAAAAAAAAMI/m89BhD2q3Xs/s1600/associate+functionlibnraries.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 342px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TB8UOKuRzcI/AAAAAAAAAMI/m89BhD2q3Xs/s400/associate+functionlibnraries.JPG" alt="" id="BLOGGER_PHOTO_ID_5485125104789736898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;To associate a function library you need to click the + sign which is for adding function library files from external location.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Viewing the Associate Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In order to view the associated function library for the test you need to navigate in this manner&lt;/div&gt;&lt;br /&gt;&lt;h5 style="color: rgb(153, 0, 0); font-weight: normal;" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Resources -&gt; Associated Library Functions&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/TB8UXlNWnhI/AAAAAAAAAMQ/tYUtHqi1x-M/s1600/associate+functionlibnraries1.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 184px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/TB8UXlNWnhI/AAAAAAAAAMQ/tYUtHqi1x-M/s400/associate+functionlibnraries1.JPG" alt="" id="BLOGGER_PHOTO_ID_5485125266518220306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You can see the associated function which you have just now added to the test.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-189924558193353316?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/189924558193353316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/associate-function-libraries-to-test-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/189924558193353316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/189924558193353316'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/associate-function-libraries-to-test-in.html' title='Associate Function Libraries to a Test in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_iigq5ggPtFw/TB8UOKuRzcI/AAAAAAAAAMI/m89BhD2q3Xs/s72-c/associate+functionlibnraries.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-4438440903480403437</id><published>2010-06-18T15:59:00.000+05:30</published><updated>2010-06-18T16:00:49.994+05:30</updated><title type='text'>What is Update Run Mode in QTP</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;Update Run Mode updates the test object description, Checkpoints properties, active screen images and values.&lt;/h1&gt;&lt;br /&gt;&lt;h2 class=" myclass="&gt;How to navigate to update run mode?&lt;/h2&gt;&lt;br /&gt;1. Automation -&gt; Update Run Mode&lt;br /&gt;&lt;div style="text-align: justify;"&gt;2. Object Repository -&gt;Update from Application. This updates the properties of objects of the application which are recorded.&lt;br /&gt;&lt;/div&gt;2. Click update run mode button next Stop button in the tool bar.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When the Smart Identification properties are configured then click update run mode and then click run the properties and values will be updated in the object repository.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you have not installed Microsoft debugger then update run mode feature will be disabled in QTP and for this you need to make changes in the Object Identification Dialog Box as mentioned in the previous post.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-4438440903480403437?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/4438440903480403437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/what-is-update-run-mode-in-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/4438440903480403437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/4438440903480403437'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/what-is-update-run-mode-in-qtp.html' title='What is Update Run Mode in QTP'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-689402316930556354</id><published>2010-06-18T15:29:00.000+05:30</published><updated>2010-06-18T15:31:47.024+05:30</updated><title type='text'>What is Smart Identification in QTP and explain it</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Smart Identification is a unique feature of QTP that comes into picture if the following conditions are satisfied.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;1. When Normal Object Identification Fails&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;2. When the Enable Smart Identification check box is checked in the Object Identification Dialog Box.&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Smart Identification (SI) works on the principle of filtration.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When the check box is selected and the configure button is clicked another dialog box is opened where you can set the Base Filter properties which are mandatory and Optional Filter Properties based on which the object is identified. When the properties are configured in the Smart Identification mode then the properties are not changed in the object repository for that object for this we need to run the script/test in Update Run Mode.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you feel that this also failed then you can use one more property of Smart Identification known as &lt;span style="font-weight: bold;"&gt;"Ordinal Identifier" &lt;/span&gt;which makes use of the two types of properties for object identification. They are&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;1. Index&lt;br /&gt;2. Location.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;QTP traces the location of the object and assigns a unique Id which can be used for object Identification.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If all these fails for Object Identification then the only solution is to do descriptive programming.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-689402316930556354?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/689402316930556354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/what-is-smart-identification-in-qtp-and.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/689402316930556354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/689402316930556354'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/what-is-smart-identification-in-qtp-and.html' title='What is Smart Identification in QTP and explain it'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3648670611590889214</id><published>2010-06-17T14:39:00.000+05:30</published><updated>2010-06-17T14:42:29.319+05:30</updated><title type='text'>Explain the what does "createobject" mean with an example</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;CreateObject creates an object to interact with the specified library.&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;For Example If we want to interact with internet explorer to launch IE then we use create object and the library name.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Set IE CreateObject("InternetExplorer.Application")&lt;br /&gt;IE.visible True&lt;br /&gt;IE.Navigate http://www.google.com&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Here IE is an object which is created to interact with the Internet Explorer Library.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Like wise for any library&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Set xlapp CreateObject("Excel.Application")&lt;br /&gt;Set QTapp CreateObject("QuickTest.Application")&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What is the difference between a check point and output value?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Checkpoint compare the expected result of the Test object with the Actual result from the run time object and returns a pass or fail to the test result.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Output value retrieves the value of an Run Time object and returns to the test result.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3648670611590889214?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3648670611590889214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/explain-what-does-createobject-mean.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3648670611590889214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3648670611590889214'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/explain-what-does-createobject-mean.html' title='Explain the what does &quot;createobject&quot; mean with an example'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-7879281465877743071</id><published>2010-06-17T14:37:00.000+05:30</published><updated>2010-06-17T14:39:25.631+05:30</updated><title type='text'>Differentiate the Local Object Repository and Shared Object repository types of QTP</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;There are two types of Object Repositories in QTP namely&lt;/div&gt;&lt;br /&gt;1. Local Object Repository (.mtr)&lt;br /&gt;2. Shared object Repository (.tsr)&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;1. Local Object Repository &lt;/span&gt;: Local Object Repository is for that particular action i.e you have learned objects into the repository for that test or action and you have the privilege to edit the object properties and values and this is stored in that test file. you cannot use this repository with other tests.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;2. Local Object Repository &lt;/span&gt;: Shared Object Repository is a global repository which can be used by any test. Its like a centralized placed where all information about the objects are stored and can be associated to any test. The advantage of Shared Object Repository is that for multiple actions or test you can use the same Object Repository and this has to be associated to the current test or action so that the object identification takes place.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When you associate a shared object into your current test then all the objects will be read only and you cannot make any changes to the object properties and by enabling editing you can make changes to the repository but if you want to save the repository then you have to save as a new copy.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-7879281465877743071?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/7879281465877743071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/differentiate-local-object-repository.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7879281465877743071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7879281465877743071'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/differentiate-local-object-repository.html' title='Differentiate the Local Object Repository and Shared Object repository types of QTP'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3828389876715171965</id><published>2010-06-17T14:32:00.002+05:30</published><updated>2010-07-30T18:40:47.048+05:30</updated><title type='text'>What is the command in QTP to invoke IE Browser?</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;To Invoke Browser in QTP there are three ways to invoke IE browser and launch a website from QTP. To be very specific to your question to invoke only IE browser in QTP you can do it but it will only open a blank IE browser. In order to do this you need to use the method called as "InvokeApplication"&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="color: rgb(153, 0, 0); font-weight: normal;" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;InvokeApplication "Path"&lt;/span&gt;&lt;/h5&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Example&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Invokeapplication "C:Program Files\Internet Explorer\iexplore.exe"&lt;br /&gt;&lt;br /&gt;Invokeapplication "C:Program Files\Mercury Interactive\QuickTest Professional\bin\QTPro.exe" 'This will invoke QTP.&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;There are other ways to &lt;span style="font-weight: bold;"&gt;Invoke browser in QTP &lt;/span&gt;and also a particular web site like google.com&lt;br /&gt;&lt;br /&gt;1. We will use the "SystemUtil" object associated with a "Run" method&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;SystemUtil.Run "url"&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;SystemUtil.Run http://www.google.com&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Here when you run this line of code systemutil.run executes a method called run by which the IE browser is opened and also the url mentioned is launched. This is useful when you want QTP to directly launch the website you want in a single step.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;2. When you want to invoke IE and then launch a url through script you can use the object function library.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Set IE CreateObject("InternetExplorer.Application")&lt;br /&gt;IE.Visible True&lt;br /&gt;IE.Navigate http://www.google.com&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3828389876715171965?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3828389876715171965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/what-is-command-in-qtp-to-invoke-ie.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3828389876715171965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3828389876715171965'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/what-is-command-in-qtp-to-invoke-ie.html' title='What is the command in QTP to invoke IE Browser?'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-5070624978153851378</id><published>2010-06-17T14:23:00.000+05:30</published><updated>2010-06-17T14:32:11.964+05:30</updated><title type='text'>How to execute a qtp script from command prompt?</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;It is very much possible to launch a QTP test from Command prompt and then run it. The script to open QTP and then load the test into QTP and run the test is given in the "Quick Test Automation reference" file which is given in the Documentation Folder.&lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The path to get the file and the code is "C:Program FilesMercury InteractiveQuickTest ProfessionalhelpAutomationObjectModel.chm"&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I have taken this script from this file and changed the path of my test to be loaded and saved the file as a .vbs and executed it from the command prompt.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The script is given below for quick reference&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style=";font-family:arial;font-size:100%;"  &gt;Dim qtApp 'As QuickTest.Application ' Declare the Application object variable&lt;br /&gt;Dim qtTest 'As QuickTest.Test ' Declare a Test object variable&lt;br /&gt;Dim qtResultsOpt 'As QuickTest.RunResultsOptions ' Declare a Run Results Options object variable&lt;br /&gt;&lt;br /&gt;Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object &lt;/span&gt; &lt;span style=";font-family:arial;font-size:100%;"  &gt;&lt;br /&gt;&lt;br /&gt;qtApp.Launch ' Start QuickTest&lt;br /&gt;qtApp.Visible = True ' Make the QuickTest application visible&lt;br /&gt;&lt;br /&gt;' Set QuickTest run options &lt;/span&gt; &lt;span style=";font-family:arial;font-size:100%;"  &gt;&lt;br /&gt;&lt;br /&gt;qtApp.Options.Run.ImageCaptureForTestResults = "OnError"&lt;br /&gt;qtApp.Options.Run.RunMode = "Fast" &lt;/span&gt; &lt;span style=";font-family:arial;font-size:100%;"  &gt;&lt;br /&gt;qtApp.Options.Run.ViewResults = False&lt;br /&gt;qtApp.Open "E:\Test Scripts\actiTIME FunctionCalls Script", True ' Open the test in read-only mode &lt;/span&gt; &lt;span style=";font-family:arial;font-size:100%;"  &gt;&lt;br /&gt;&lt;br /&gt;' set run settings for the test &lt;/span&gt; &lt;span style=";font-family:arial;font-size:100%;"  &gt;&lt;br /&gt;&lt;br /&gt;Set qtTest = qtApp.Test&lt;br /&gt;&lt;br /&gt;qtTest.Settings.Run.IterationMode = "rngIterations" ' Run only iterations 2 to 4&lt;br /&gt;qtTest.Settings.Run.StartIteration = 2&lt;br /&gt;qtTest.Settings.Run.EndIteration = 4&lt;br /&gt;qtTest.Settings.Run.OnError = "NextStep" ' Instruct QuickTest to perform next step when error occurs&lt;br /&gt;&lt;br /&gt;Set qtResultsOpt = CreateObject("QuickTest.RunResultsOptions") ' Create the Run Results Options object &lt;/span&gt; &lt;span style=";font-family:arial;font-size:100%;"  &gt;&lt;br /&gt;&lt;br /&gt;qtResultsOpt.ResultsLocation = "E:\Test Scripts\actiTIME FunctionCalls Script\Res1" ' Set the results location&lt;br /&gt;qtTest.Run qtResultsOpt ' Run the test &lt;/span&gt; &lt;span style=";font-family:arial;font-size:100%;"  &gt;&lt;br /&gt;MsgBox qtTest.LastRunResults.Status ' Check the results of the test run &lt;/span&gt; &lt;span style=";font-family:arial;font-size:100%;"  &gt;&lt;br /&gt;qtTest.Close ' Close the test&lt;br /&gt;&lt;br /&gt;Set qtResultsOpt = Nothing ' Release the Run Results Options object &lt;/span&gt; &lt;span style=";font-family:arial;font-size:100%;"  &gt;&lt;br /&gt;Set qtTest = Nothing ' Release the Test object&lt;br /&gt;Set qtApp = Nothing ' Release the Application object &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/h5&gt;&lt;div style="text-align: justify;"&gt;For this you should have created a test with some actions in QTP and saved it then you need to specify the path of the test correctly at qtapp.Open&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Save this file in a desired location with a .vbs extension.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Launch command prompt by going to run and type cmd and click enter.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The command prompt is visible. Since i store this .vbs file in E drive i have changed the directory in command prompt to E drive&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;C:\&gt;E: and press enter&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;E:\&gt; "This will be displayed" now enter the vbs file and click enter&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;E:\&gt;testrun.vbs and clicked enter&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now the QTP will automatically launch load the specified test and runs it and gives you a message box prompt saying passed after the test is completed.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-5070624978153851378?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/5070624978153851378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-execute-qtp-script-from-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5070624978153851378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5070624978153851378'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-execute-qtp-script-from-command.html' title='How to execute a qtp script from command prompt?'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-5872392374725206245</id><published>2010-06-17T14:20:00.000+05:30</published><updated>2010-06-17T14:22:28.121+05:30</updated><title type='text'>When QTP throws "verify that parent properties match an object currently displayed in your application." How to resolve issue</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;The reason for QTP throwing this error "verify that parent properties match an object currently displayed in your application." is that when the test is running the object identification could not happen i.e the object property and values of the test object while recording and the runtime object properties and Values did not match and hence the error was thrown.&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When ever there is an object identification problem QTP throws these kinds of errors.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To resolve this you need to open the Object repository and locate the object which throws the error and click the &lt;span style="font-weight: bold;"&gt;"Highlight in Application"&lt;/span&gt; icon and see whether that object is identified in the application under test. If identified then there is a problem in the script. You have to correct the script to see whether the methods associated with the object is correct or not.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If the object is not highlighted in the AUT then try adding that object from the application to the repository and run the test. If the objects are dynamic then you need to use regular expressions for that property.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you are using Descriptive programming then see that the properties given for that object are correct or not.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To sum it up QTP throws these kind of errors when the Object is not identified during run time. Its an Object Identification Problem. There are ways to handle this if normal identification does not resolve the problem. Use Smart identification where you can set the Base filter values and optional Filter values and also Ordinal Identifiers where in you can set the Index or location of the object.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-5872392374725206245?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/5872392374725206245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/when-qtp-throws-verify-that-parent.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5872392374725206245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5872392374725206245'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/when-qtp-throws-verify-that-parent.html' title='When QTP throws &quot;verify that parent properties match an object currently displayed in your application.&quot; How to resolve issue'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-5618154607867089609</id><published>2010-06-17T14:11:00.000+05:30</published><updated>2010-06-17T14:18:21.093+05:30</updated><title type='text'>How to capture dynamically changing data in web page through scripting in QTP along with any sample working code</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;To capture the value of a dynamic object in a web application GetROProperty method is executed. In order to capture the value of an object and that too of a dynamic object then we will use the GetROProperty which means Get Run Time Object Property and we need to decide which property we want to capture. This can be text innertext etc.&lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I would list down a sample code for gmail to count unread emails from any account.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Since the inbox count is dynamic and ever changing from account to account i have used descriptive programming so that this piece of code can be run for any gmail account.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The prerequisite is that you log in to your gmail account and then run this script&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This script prints the number of unread emails in the inbox.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;inboxcount = Browser("title: Gmail.*").Page("title: Gmail.*").Link("innertext: Inbox.*").getroproperty("innertext")&lt;br /&gt;If inboxcount = "Inbox" Then&lt;br /&gt;Print "No Unread Emails"&lt;br /&gt;ExitAction&lt;br /&gt;&lt;br /&gt;Else&lt;br /&gt;&lt;br /&gt;emailcount = replace(inboxcount, "Inbox","") 'replaces inbox with space&lt;br /&gt;emailcount = trim(emailcount) 'removes all the spaces&lt;br /&gt;emailcount = replace(emailcount, "(","")  &lt;br /&gt;emailcount = replace(emailcount, ")","")&lt;br /&gt;&lt;br /&gt;Print "You have "&amp;amp;emailcount&amp;amp; " unread emails in your inbox"&lt;br /&gt;&lt;br /&gt;End If&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-5618154607867089609?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/5618154607867089609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-capture-dynamically-changing.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5618154607867089609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5618154607867089609'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-capture-dynamically-changing.html' title='How to capture dynamically changing data in web page through scripting in QTP along with any sample working code'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-8285046775642254925</id><published>2010-06-04T12:59:00.000+05:30</published><updated>2010-06-04T13:02:13.085+05:30</updated><title type='text'>How to convert a local object repository into a shared object repository?</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;If we are working in a frame work environment then creation of Local Object Repository will create object identification issues when different people want to use the same script on a different machine you recorded or wrote and if the objects in your script are from the local object repository then identification problem persist. The solution to this is to create the learn the objects to the repository using the shared object repository. If you already created the local object repository and you want to convert it into a shared object repository then QTP provides way to convert it thus making it a shared object repository and different users can use the object repository.&lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 1:&lt;/span&gt; Open Object Repository either by navigating to Resources &gt; Object Repository or by clicking Ctrl+R. The "Object Repository &gt; All Object Repositories" window will be open with the object’s loaded.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 2:&lt;/span&gt; From the "Object Repository – All Object Repositories" Navigate to File &gt; Export Local Object… or you can use Alt+F shortcut key and select "Export Local Object…"&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/TAirxD1m40I/AAAAAAAAAL4/RmWZMA2YlVQ/s1600/convert+object+repository.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 288px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/TAirxD1m40I/AAAAAAAAAL4/RmWZMA2YlVQ/s400/convert+object+repository.JPG" alt="" id="BLOGGER_PHOTO_ID_5478817806028301122" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 3:&lt;/span&gt; In the "Export Object Repository" window select the location where you want to save the .tsr file and give the file name and click save button.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TAir5pRSiyI/AAAAAAAAAMA/KN17Op_3EJQ/s1600/convert+object+repository+1.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 297px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TAir5pRSiyI/AAAAAAAAAMA/KN17Op_3EJQ/s400/convert+object+repository+1.JPG" alt="" id="BLOGGER_PHOTO_ID_5478817953515473698" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 4:&lt;/span&gt; A copy of the Local Object Repository is now created as a shared object repository.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-8285046775642254925?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/8285046775642254925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-convert-local-object-repository.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8285046775642254925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8285046775642254925'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-convert-local-object-repository.html' title='How to convert a local object repository into a shared object repository?'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_iigq5ggPtFw/TAirxD1m40I/AAAAAAAAAL4/RmWZMA2YlVQ/s72-c/convert+object+repository.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-2269618817014514401</id><published>2010-06-02T15:36:00.000+05:30</published><updated>2010-06-02T15:43:05.670+05:30</updated><title type='text'>Associating a Shared Object Repository to the Current Test in QTP 9.2</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;Once a shared object repository is created i.e the .tsr file it has to be associated to the current test other wise the objects cannot be identified and hence your script do not work because for your current script there won’t be any object repository associated. Shared Object repository is where you store your information in a central place and different users can access the repository. It is to be noted that by default the shared object repository will be in read only mode.&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In order to associate the shared object repository we need to perform the following steps.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 1:&lt;/span&gt; Navigate to Resources &gt; Associate Repositories. The "Associate Repositories" window will be opened.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/TAYty9pZcyI/AAAAAAAAALI/_WAXzMyXqYo/s1600/associate+repository.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 229px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/TAYty9pZcyI/AAAAAAAAALI/_WAXzMyXqYo/s400/associate+repository.JPG" alt="" id="BLOGGER_PHOTO_ID_5478116350307693346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2:&lt;/span&gt; In the "Associate Repositories" window Click the "+" button which is in green color. The Add Shared Object Repository Widow Opens. Here you can select the path of the .tsr file and click  Open Button.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TAYt_iLgZCI/AAAAAAAAALQ/_-ItvOBTBOk/s1600/associate+repository+1.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 264px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TAYt_iLgZCI/AAAAAAAAALQ/_-ItvOBTBOk/s400/associate+repository+1.JPG" alt="" id="BLOGGER_PHOTO_ID_5478116566272861218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 3:&lt;/span&gt; In the "Associate Repositories" window under the "Repositories" frame you will be seeing the path of the .tsr file highlighted and also in the "Available Actions" frame you will see "Action 1" displayed.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TAYuJWRRktI/AAAAAAAAALY/3_AU8y5JRoU/s1600/associate+repository+2.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 356px; height: 400px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TAYuJWRRktI/AAAAAAAAALY/3_AU8y5JRoU/s400/associate+repository+2.JPG" alt="" id="BLOGGER_PHOTO_ID_5478116734874522322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4:&lt;/span&gt; Now select the "Action 1" and click the right arrow button. The "Action 1" will be shifted to "Associated Actions" frame and click "OK" button. This means that the shared object repository is now associated to the current test.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iigq5ggPtFw/TAYuTTHmZeI/AAAAAAAAALg/er10NyOfkz4/s1600/associate+repository+3.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 356px; height: 400px;" src="http://4.bp.blogspot.com/_iigq5ggPtFw/TAYuTTHmZeI/AAAAAAAAALg/er10NyOfkz4/s400/associate+repository+3.JPG" alt="" id="BLOGGER_PHOTO_ID_5478116905827329506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 5:&lt;/span&gt;  Now open the Object repository by navigating to Resources &gt; Object repository or Press "Ctrl + R". The "Object repository &gt; All Object repositories" window will be opened and you can see the objects listed in the window under Action 1.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Note: When you use a shared object repository in your current test as associated repository the objects and the properties are read only which means you cannot change the object &amp;amp; properties names, values.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iigq5ggPtFw/TAYueJlXuWI/AAAAAAAAALo/8HDsvfQwe7A/s1600/associate+repository+4.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 287px;" src="http://4.bp.blogspot.com/_iigq5ggPtFw/TAYueJlXuWI/AAAAAAAAALo/8HDsvfQwe7A/s400/associate+repository+4.JPG" alt="" id="BLOGGER_PHOTO_ID_5478117092246403426" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you add any objects from the application under test to this repository then they will not be added into the shared object repository but will be added in the local object repository and you can manage them but if you try to export the objects it will create a new shared object repository and only the object added locally will be stored in the new .tsr file.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TAYulsIkNXI/AAAAAAAAALw/Q320N5Add-s/s1600/associate+repository+5.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 288px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TAYulsIkNXI/AAAAAAAAALw/Q320N5Add-s/s400/associate+repository+5.JPG" alt="" id="BLOGGER_PHOTO_ID_5478117221779912050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Look in the image and the highlighted object and properties. The object identification for this object during run time happens for this current test and you cannot save this object into the shared repository you have associated. Even if you export it will create a new .tsr file and only the object added currently will be saved.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Assignment:&lt;/span&gt; Create a shared object repository and associate it to the current test. Now learn an object from the Application and try to export the object repository and see what happens.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-2269618817014514401?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/2269618817014514401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/associating-shared-object-repository-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/2269618817014514401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/2269618817014514401'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/associating-shared-object-repository-to.html' title='Associating a Shared Object Repository to the Current Test in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_iigq5ggPtFw/TAYty9pZcyI/AAAAAAAAALI/_WAXzMyXqYo/s72-c/associate+repository.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-275588659363226913</id><published>2010-06-01T17:43:00.000+05:30</published><updated>2010-06-01T17:48:47.459+05:30</updated><title type='text'>How to use a Shared Object repository in QTP 9.2</title><content type='html'>Object Repository manager in QTP is used to manage a Shared Object repository.&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Resources – Object Repository Manager – Add Objects&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h2&gt;What is a Shared Object Repository?&lt;/h2&gt;&lt;br /&gt;&lt;h1 style="text-align: justify;" class="myclass"&gt;Shared Object Repository in QTP is a centralized place where all the object information is stored and will be stored as a .tsr file (Test Shared Repository). The extension of a shared object repository is a .tsr while working in a shared environment with multiple quick test licenses it is always a better practice to use a shared object repository.&lt;/h1&gt;&lt;br /&gt;&lt;h2&gt;How to create a shared object repository?&lt;/h2&gt;&lt;br /&gt;Open a new test in QTP.&lt;br /&gt;&lt;br /&gt;Navigate to Resources, Object Repository Manager. Object Repository Manager Window opens up.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TAT59I54zbI/AAAAAAAAAK4/vwk6YOuCRGA/s1600/object+repository+manager.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 218px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TAT59I54zbI/AAAAAAAAAK4/vwk6YOuCRGA/s400/object+repository+manager.JPG" alt="" id="BLOGGER_PHOTO_ID_5477777875546983858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now start learning objects from the application under test into the repository by clicking the Add Objects Button.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/TAT6JmoFK4I/AAAAAAAAALA/9GATD3fDUkU/s1600/object+repository+manager+1.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 302px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/TAT6JmoFK4I/AAAAAAAAALA/9GATD3fDUkU/s400/object+repository+manager+1.JPG" alt="" id="BLOGGER_PHOTO_ID_5477778089683790722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now save the repository as a .tsr file in to the desired location and folder from where you can access.&lt;/div&gt;&lt;br /&gt;Now your shared object repository is ready to be used for your test.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Some quick tips:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Add Objects using shared object repository manager to create a .tsr file.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;2. Associate the .tsr file to the current test. Note: we can start using a shared object repository only after we associate the object repository to the test.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;3. Object Repository manager is used to create/edit a .tsr file.&lt;br /&gt;&lt;br /&gt;4. Associate repository is used to associate a .tsr file with the current test.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-275588659363226913?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/275588659363226913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-use-shared-object-repository-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/275588659363226913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/275588659363226913'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/how-to-use-shared-object-repository-in.html' title='How to use a Shared Object repository in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_iigq5ggPtFw/TAT59I54zbI/AAAAAAAAAK4/vwk6YOuCRGA/s72-c/object+repository+manager.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-808528814140209330</id><published>2010-06-01T17:40:00.000+05:30</published><updated>2010-06-01T17:42:43.422+05:30</updated><title type='text'>Frame Work in QTP 9.2</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;Framework in QTP is a complex internal architecture made easy for the end user. A Frame work follows the set of best practices towards test automation.&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Generations in Automation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Generation One: Record and Playback&lt;br /&gt;Generation Two: Linear Scripting&lt;br /&gt;Generation Three: Data Driven Testing&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now from Generation Three we have moved to Hybrid Architecture which contains fileSystemObjects, Excel Application, database, functions &amp;amp; Procedures, Environment variables, Shared Object Repository, VB Script. Generally a Framework will be built on a web application.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;More on Frameworks will be posted shortly........&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-808528814140209330?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/808528814140209330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/frame-work-in-qtp-92.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/808528814140209330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/808528814140209330'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/frame-work-in-qtp-92.html' title='Frame Work in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-7872735110898041290</id><published>2010-06-01T17:33:00.000+05:30</published><updated>2010-06-01T17:41:28.441+05:30</updated><title type='text'>Debugging in Quick Test Professional 9.2</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;h1 class="myclass"&gt;Debugging in QTP 9.2 plays a vital role in analyzing the script when an issue is faced and to correct a script we debug the script to understand where the error is there in the script. Debugging is the process of identifying the errors in the script. With respect to QTP 9.2 debugging should be used in context of functions.&lt;/h1&gt;&lt;/div&gt;&lt;br /&gt;QTP has a debug tool bar and you can set debug tool bar in QTP by navigating to View – Toolbar – Debug.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TAT3VgiO0yI/AAAAAAAAAKg/yRq4bHIpg78/s1600/debug+tool+bar.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 168px; height: 27px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TAT3VgiO0yI/AAAAAAAAAKg/yRq4bHIpg78/s400/debug+tool+bar.jpg" alt="" id="BLOGGER_PHOTO_ID_5477774995672191778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Debug tool bar contains 6 features. There are 6 buttons in the tool bar and they are given below&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;1. Pause&lt;br /&gt;2. Step Into&lt;br /&gt;3. Step Out&lt;br /&gt;4. Step Over&lt;br /&gt;5. Insert/Remove Breakpoints (F9)&lt;br /&gt;6. Clear all Breakpoints (Ctrl+Shift+F9)&lt;br /&gt;7. Enable/Disable all Breakpoints.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What is a Breakpoint ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A breakpoint pauses test execution at a specified line of code. Ideally we need to insert a breakpoint at a function call.&lt;/div&gt;&lt;br /&gt;To set a breakpoint in the script you need to do any of the following&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;1. Click in the left margin of a step in the test or function library where you want the run to stop.&lt;/div&gt;&lt;br /&gt;2. Click a step and then perform any of the mentioned step&lt;br /&gt;&lt;br /&gt;a. Click the Insert/Remove Breakpoint button.   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/TAT32qw8bUI/AAAAAAAAAKo/AXADLb7MiR4/s1600/insertbreakpoint.jpg"&gt;&lt;img style="cursor: pointer; width: 22px; height: 21px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/TAT32qw8bUI/AAAAAAAAAKo/AXADLb7MiR4/s400/insertbreakpoint.jpg" alt="" id="BLOGGER_PHOTO_ID_5477775565353938242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;b. Choose Debug &gt; Insert/Remove Breakpoint.   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/TAT4HuP1RYI/AAAAAAAAAKw/d8aJICHfYBs/s1600/breakpoint.jpg"&gt;&lt;img style="cursor: pointer; width: 13px; height: 8px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/TAT4HuP1RYI/AAAAAAAAAKw/d8aJICHfYBs/s400/breakpoint.jpg" alt="" id="BLOGGER_PHOTO_ID_5477775858346575234" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The breakpoint symbol &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/TAT4HuP1RYI/AAAAAAAAAKw/d8aJICHfYBs/s1600/breakpoint.jpg"&gt;&lt;img style="cursor: pointer; width: 13px; height: 8px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/TAT4HuP1RYI/AAAAAAAAAKw/d8aJICHfYBs/s400/breakpoint.jpg" alt="" id="BLOGGER_PHOTO_ID_5477775858346575234" border="0" /&gt;&lt;/a&gt;  is displayed in the left margin of the test or function library.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step Into&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When Step Into is clicked the execution control pauses at the first executable line within the function. After creating a breakpoint you need to use a step into to enter a function. After this you can either select step over or step out to execute the rest of the function.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step Out&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Step Out would execute all the lines within a function at once and the execution halts at the next function call.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step Over&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;After we step into the function body Step over would execute one line at a time and pauses. The test would pause even at the end of the function. We can add variables to watch using the Step Over feature.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If a variable is added to watch we can observe the trend of the variable during execution. We need to use step over to do so.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-7872735110898041290?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/7872735110898041290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/06/debugging-in-quick-test-professional-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7872735110898041290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7872735110898041290'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/06/debugging-in-quick-test-professional-92.html' title='Debugging in Quick Test Professional 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_iigq5ggPtFw/TAT3VgiO0yI/AAAAAAAAAKg/yRq4bHIpg78/s72-c/debug+tool+bar.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-2229071964626338481</id><published>2010-05-28T18:52:00.000+05:30</published><updated>2010-06-01T16:55:35.928+05:30</updated><title type='text'>How will you connect the Database from QTP without creating a DNS</title><content type='html'>&lt;h1 style="text-align: justify;" class="myclass"&gt;In QTP you can connect to the database by creating a DSN and then selecting the database server and the database. The other alternative to connect to the database in QTP is through a connection string. there is no need for you to create a DSN (Data Source name) but you need to know the details of the server and the userid, password and the database name.&lt;/h1&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;For our reference and to understand how to create a data base connection without creating a DSN Name we will navigate to the Database Query Wizard from Insert - checkpoint - database Checkpoint.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 1:&lt;/span&gt; Open the Database Query Wizard&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/TATsrwMwCMI/AAAAAAAAAKI/sBlYpcnFYnc/s1600/db1.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 311px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/TATsrwMwCMI/AAAAAAAAAKI/sBlYpcnFYnc/s400/db1.JPG" alt="" id="BLOGGER_PHOTO_ID_5477763283206277314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2:&lt;/span&gt; Select the 'Specify SQL statement manually" radio button and click Next&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 3:&lt;/span&gt; It will redirect to the next screen where you have a Create button to create a new Connection String. We will not create a new one because we need to create a DSN.Instead of that in the Connection String Text box which is below the create button enter the connection string as follows.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TATs0egHoGI/AAAAAAAAAKQ/l4ie1utC05w/s1600/db2.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 311px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TATs0egHoGI/AAAAAAAAAKQ/l4ie1utC05w/s400/db2.JPG" alt="" id="BLOGGER_PHOTO_ID_5477763433074499682" border="0" /&gt;&lt;/a&gt; &lt;span style="font-weight: bold;"&gt;If you are using mysql database then use the mentioned connection string:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Driver={Mysql};server=testserver;uid=sa,password=sa;app=quicktestprofessional;database=Testdb&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;If you are using MS Sql database then use the mentioned connection string:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Driver={SQL Server};server=testserver;uid=sa;password=sa;app=quicktestprofessional;database=Testdb&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;If you are using MS Sql 2008 database then  use the mentioned connection string:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;Driver={SQL Server Native Client 10.0};server=testserver;uid=sa,password=sa;app=quicktestprofessional;database=Testdb&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4:&lt;/span&gt; In the SQL statement Text Box write the query you want to execute like&lt;br /&gt;&lt;br /&gt;Select Top 10 * from employee.&lt;br /&gt;&lt;br /&gt;Then click Finish Button.&lt;br /&gt;&lt;br /&gt;You can see the 10 rows displayed.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you perform the above steps for inserting a database checkpoint then you can see the result in the "database Checkpoint Properties" window displayed after clicking Finish button.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/TATth5o95MI/AAAAAAAAAKY/P9tPxK_aWFo/s1600/db3.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 285px; height: 400px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/TATth5o95MI/AAAAAAAAAKY/P9tPxK_aWFo/s400/db3.JPG" alt="" id="BLOGGER_PHOTO_ID_5477764213453481154" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-2229071964626338481?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/2229071964626338481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/how-will-you-connect-database-from-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/2229071964626338481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/2229071964626338481'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/how-will-you-connect-database-from-qtp.html' title='How will you connect the Database from QTP without creating a DNS'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_iigq5ggPtFw/TATsrwMwCMI/AAAAAAAAAKI/sBlYpcnFYnc/s72-c/db1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3006267459303094547</id><published>2010-05-14T19:45:00.001+05:30</published><updated>2010-05-14T19:50:51.939+05:30</updated><title type='text'>Write a script to store all the environment variables in a text file?</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;In order to write the script we will use the File System Object Library and also use the Create Text File method and WriteLine Method to write our script.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The script to store all the Environment Variables in a text files is given below:&lt;br /&gt;&lt;/h1&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/S-1cIgQhhYI/AAAAAAAAAJ4/sZm9Gbun28E/s1600/script.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 626px; height: 298px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/S-1cIgQhhYI/AAAAAAAAAJ4/sZm9Gbun28E/s400/script.JPG" alt="" id="BLOGGER_PHOTO_ID_5471130423492969858" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3006267459303094547?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3006267459303094547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-to-store-all-environment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3006267459303094547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3006267459303094547'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-to-store-all-environment.html' title='Write a script to store all the environment variables in a text file?'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_iigq5ggPtFw/S-1cIgQhhYI/AAAAAAAAAJ4/sZm9Gbun28E/s72-c/script.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-4050113631265133750</id><published>2010-05-14T19:40:00.000+05:30</published><updated>2010-05-14T19:43:46.113+05:30</updated><title type='text'>Built in Environment Variables in QTP 9.2</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Below are the list of built in Environment variables available in QTP 9.2. Built in Environment variables are read only. You can retrieve the values of the built in variables but you cannot set values for these environment variables unlike the user defined environment variables. These variables can be used like global variables through out your test in different actions and there is no need for you to create them or declare them. Since they are built in they are readily available for us to use them to retrieve useful and important information.&lt;br /&gt;&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;Environment.value(variablename)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;Msgbox Environment.value("OS"&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;This will print the Operating System of the machine on which QTP is installed.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;1. Action Iteration:&lt;/span&gt; Indicates which action iteration is currently running. The value will be displayed or valid only during the test run.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;2. Action Name:&lt;/span&gt; Displays or indicates which action is currently running. The current value is valid only during test run.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;3. ControllerHostName:&lt;/span&gt; The name of the computer that serves as the controller. Used when Load runner is running. The current value is valid only during test run under Load.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;4. GroupName:&lt;/span&gt; This is w.r.t. Load Runner. It is the scenario identification number. The current value is valid only during test run under Load.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;5. LocalHostname:&lt;/span&gt; Gives the Local Host Name on which QTP is Installed. The current value displayed is WINDOWS XP.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;6. OS:&lt;/span&gt; Displays the operating system on which QTP is installed. The current value os Microsoft Windows XP Work Station.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7. OS Version:&lt;/span&gt; Displays the version of the Operating System.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8. ProductDir:&lt;/span&gt; Displays the folder path where the product (QTP) is installed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;9. ProductName:&lt;/span&gt; Gives the name of the Product.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;10. ProductVersion:&lt;/span&gt; Gives the product version.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;11. ResultDir:&lt;/span&gt; Displays the folder path where the current test results are saved.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;12. SceanrioId:&lt;/span&gt; This is w.r.t. LoadRunner. Displays the scenario identification number.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;13. SystemTempDir:&lt;/span&gt; Displays the system temporary directory.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;14. TestDir:&lt;/span&gt; This is the path of the folder in which the test is located.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;15. TestIteration:&lt;/span&gt; Indicates which test iteration is currently running.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;16. TestName&lt;/span&gt;: Displays the name of the test.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;17. UpdatingActiveScreen:&lt;/span&gt; Indicates whether the active screen images and values are being updated.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;18. UpdatingCheckPoints:&lt;/span&gt; Indicates whether the checkpoint properties are being updated.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;19. UpdatingToDescriptions:&lt;/span&gt; Indicates whether test object descriptions are being updated.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;20. UserName:&lt;/span&gt; Displays the windows login user name.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;21. VUserId:&lt;/span&gt; This is w.r.t. Load Runner. Indicates the virtual user identification number.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-4050113631265133750?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/4050113631265133750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/built-in-environment-variables-in-qtp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/4050113631265133750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/4050113631265133750'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/built-in-environment-variables-in-qtp.html' title='Built in Environment Variables in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-8191604945864686355</id><published>2010-05-14T19:10:00.000+05:30</published><updated>2010-05-14T19:20:52.604+05:30</updated><title type='text'>Environment Objects Methods and Properties in QTP 9.2</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Environment objects enables you to work with Environment variables. You can retrieve values of In bulit environment variables but you can set and retrieve values of user defined variables.&lt;br /&gt;&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To retrieve a value of an environment variable.&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;Environment.value(VariableName)&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;To set a value to a User defined environment variable.&lt;br /&gt;&lt;br /&gt;Environment.value(VariableName) = NewValue&lt;br /&gt;&lt;br /&gt;The Associated Methods and Properties of Environment Objects are&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;1. ExternalFileName Property&lt;br /&gt;2. LoadFromFile Method&lt;br /&gt;3. Value Property&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ExternalFileNameProperty&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This returns the name of the loaded external environment variable file specified in the environment tab of the Test settings dialog box. If no external environment variable file is loaded it returns an empty string.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;Environment.ExternalFileName&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The following example uses the ExternalFileName property to check whether an environment variable file is loaded, and if not, loads a specific file and then displays one of the values from the file.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5 style="color: rgb(102, 0, 0); font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;'Check if an External Environment file is loaded and if not, load it.&lt;br /&gt;&lt;br /&gt;fileName = Environment.ExternalFileName&lt;br /&gt;If (fileName = "") Then&lt;br /&gt;Environment.LoadFromFile("C:\Environment.xml")&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;'display value of one of the Environment variables from the External file&lt;br /&gt;msgbox Environment("VariableName")&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;LoadFromFileMethod&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This method loads the specified environment variable file. The environment variable file must be an xml file. Your xml file should contain the variables in this convention.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/S-1VFdPtzqI/AAAAAAAAAJw/FS9N_ooncKY/s1600/loadfromfile.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 256px; height: 117px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/S-1VFdPtzqI/AAAAAAAAAJw/FS9N_ooncKY/s400/loadfromfile.jpg" alt="" id="BLOGGER_PHOTO_ID_5471122674563272354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;Environment.LoadFromFile(Path of xml File)&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The following example loads an xml file and also prints the value of a environment variable.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;Environment.LoadFromFile("E:\Hybrid_FrameWork\Environment.xml")&lt;br /&gt;msgbox Environment("Result")&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Value Property&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It sets or retrieves the value of an environment variable. You can retrieve the value of any environment variable but you can only set the values of an user defined environment variables.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;Environment.value(VariableName)&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;Even though you do not specify value QTP takes by default the value property.&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;Environment(VariableName)&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-8191604945864686355?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/8191604945864686355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/environment-objects-methods-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8191604945864686355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8191604945864686355'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/environment-objects-methods-and.html' title='Environment Objects Methods and Properties in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_iigq5ggPtFw/S-1VFdPtzqI/AAAAAAAAAJw/FS9N_ooncKY/s72-c/loadfromfile.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-4997523042869304442</id><published>2010-05-14T18:18:00.000+05:30</published><updated>2010-05-14T18:22:06.942+05:30</updated><title type='text'>Environment Parameters in QTP 9.2</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Environment parameters deal with the environment where quick test is installed.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Environment variables are of two types:&lt;br /&gt;&lt;br /&gt;1. Built In Environment Variables&lt;br /&gt;2. User Defined Environment Variables.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Built in Environment variables are created when QTP is installed and they are read only.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;User Defined Environment variables are of two types:&lt;br /&gt;&lt;br /&gt;1. Internal Variables.&lt;br /&gt;2. External Variables.&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Internal variables are defined in QTP by navigating to File, Settings, Test Settings, Environment, Select User Defined from the Variable Type Combo Box. Click the + sign and you will be displayed a dialog box “Add New Environment Parameter”. Enter the name and Value and click OK. You will see that the newly created variable is listed and it is an internal type. Look at the image below.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S-1HKqQXw_I/AAAAAAAAAJY/1A1mdhnmBp8/s1600/Environment+variable+internal.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 294px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S-1HKqQXw_I/AAAAAAAAAJY/1A1mdhnmBp8/s400/Environment+variable+internal.jpg" alt="" id="BLOGGER_PHOTO_ID_5471107370792240114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;External Variables are those which are defined in an external xml file and then loaded into the current Test by selecting the check box of “Load variables and values from external file” and brows the path of the xml file and click ok. The variables are loaded and you can see the type as External. Look at the image below&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S-1HU9u-vFI/AAAAAAAAAJg/R8kCk5J9K0U/s1600/external+variables.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 392px; height: 400px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S-1HU9u-vFI/AAAAAAAAAJg/R8kCk5J9K0U/s400/external+variables.JPG" alt="" id="BLOGGER_PHOTO_ID_5471107547819588690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If there is a need to create a environment variable we define it in a xml file and load it as user defined environment variable. All the environment variables are listed in Test Settings.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Environment Object is an utility object in QTP that deals with the Quick Test Environment.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Value Property is used to set or retrieve values of environment parameters.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Environment object enables you to work with environment variables. You can retrieve the value of any environment variable. You can set the value of only user defined environment variables.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Environment.Value(VariableName)&lt;br /&gt;&lt;br /&gt;Print Environment.Value(“OS”)&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This will fetch the value of the Operating system on which QTP is installed and print it for the user as “Microsoft Windows XP Workstation”&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-4997523042869304442?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/4997523042869304442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/environment-parameters-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/4997523042869304442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/4997523042869304442'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/environment-parameters-in-qtp-92.html' title='Environment Parameters in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_iigq5ggPtFw/S-1HKqQXw_I/AAAAAAAAAJY/1A1mdhnmBp8/s72-c/Environment+variable+internal.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3443976022880593283</id><published>2010-05-11T19:28:00.000+05:30</published><updated>2010-05-11T19:38:23.451+05:30</updated><title type='text'>Write a script in QTP to import data from an external data sheet using Excel application File system object?</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We will write a script and import the run time data from the external excel sheet and also fetch the order number to the run time data table and store it under the orderno column. Also we would print a pass or a fail based on the order no. If the order number is generated then it will print pass and in green color and if the order number is not generated then it will print fail in green color under the result column. For this apart from the four columns you need to add a column for Orderno and a column for Results and leave them blank because the values will be inserted during run time.&lt;br /&gt;&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to insert an order and print the Order Number&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Create an object to interact with Excel Library&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; xlapp = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;CreateObject&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;"Excel.Application"&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Open the excel workbook&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; wbook = xlapp.workbooks.Open(&lt;span style="color: rgb(102, 0, 0);"&gt;"E:\InsertOrder.xls"&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Set the pointer to the worksheet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; wsheet = xlapp.worksheets(1)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Get rowcount&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;rowcount = wsheet.usedrange.rows.&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;count&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;For&lt;/span&gt; i = &lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt; &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;to&lt;/span&gt; rowcount-&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"New"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Type&lt;/span&gt; wsheet.cells(i+&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Value&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; wsheet.cells(i+&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;2&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Value&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; wsheet.cells(i+&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;3&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Value&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; wsheet.cells(i+&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;4&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Value&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Insert Order"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Wait&lt;/span&gt; 8&lt;br /&gt;Orderno = Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Order No:"&lt;/span&gt;).GetRoProperty(&lt;span style="color: rgb(102, 0, 0);"&gt;"text"&lt;/span&gt;)&lt;br /&gt;wsheet.cells(i+&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;5&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Value&lt;/span&gt; = Orderno&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;If&lt;/span&gt; Orderno = null &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Then&lt;/span&gt;&lt;br /&gt;wsheet.cells(i+&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;6&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Value&lt;/span&gt; = &lt;span style="color: rgb(102, 0, 0);"&gt;"Fail"&lt;/span&gt;&lt;br /&gt;wsheet.cells(i+&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;6&lt;/span&gt;).Font.Colorindex = &lt;span style="color: rgb(102, 0, 0);"&gt;3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 153);"&gt;Else&lt;/span&gt;&lt;br /&gt;wsheet.cells(i+&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;6&lt;/span&gt;).Value = &lt;span style="color: rgb(102, 0, 0);"&gt;"Pass"&lt;/span&gt;&lt;br /&gt;wsheet.cells(i+&lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt;,&lt;span style="color: rgb(102, 0, 0);"&gt;6&lt;/span&gt;).font.colorindex = &lt;span style="color: rgb(102, 0, 0);"&gt;10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End If&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Next&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;wbook.save&lt;br /&gt;wbook.&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;close&lt;/span&gt;&lt;br /&gt;xlapp.quit&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; wsheet = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;nothing&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; wbook = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;nothing&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; xlapp = &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;nothing&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3443976022880593283?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3443976022880593283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-to-import-data-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3443976022880593283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3443976022880593283'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-to-import-data-from.html' title='Write a script in QTP to import data from an external data sheet using Excel application File system object?'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-854854744053247715</id><published>2010-05-11T19:25:00.000+05:30</published><updated>2010-05-11T19:27:44.410+05:30</updated><title type='text'>Parameterization using Excel Application in QTP 9.2</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We should have a clear understanding of How to import an external data sheet in to QTP and parametrize the script with Excel Application? Because there is a problem using the local data sheet because if we want to make any changes in the data or use a different set of data then for each time we need to open Quick Test Application, open the script and make the changes in the script local data sheet or the global data sheet and this is time consuming and also not the best practice.&lt;br /&gt;&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Instead of opening the script every time the data is changed we can actually create a excel sheet and store it externally and then call it into the run time data sheet. This is easy to maintain and no confusion at all. You need to create the excel sheet with all the values and then use the excel library commands in the script to invoke the excel worksheet and then point the columns to the corresponding variables.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When you work with excel worksheet always keep in mind that the first row is set for the parameter names i.e the first row columns should have the variable names which we call in the script.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S-liO80iVvI/AAAAAAAAAJQ/dSmM5v3RtM4/s1600/Excel+sheet.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 125px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S-liO80iVvI/AAAAAAAAAJQ/dSmM5v3RtM4/s400/Excel+sheet.jpg" alt="" id="BLOGGER_PHOTO_ID_5470011231402350322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you want the data to be imported to the global sheet then the data in the excel file should be stored in the Sheet 1 of the file. If you want the data to be imported to the Local sheet then the data in the excel file should be stored in Sheet 2 of the file. We will parametrize the variables with the excel application and directly pull in the data from the columns in the excel sheet.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-854854744053247715?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/854854744053247715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/parameterization-using-excel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/854854744053247715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/854854744053247715'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/parameterization-using-excel.html' title='Parameterization using Excel Application in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_iigq5ggPtFw/S-liO80iVvI/AAAAAAAAAJQ/dSmM5v3RtM4/s72-c/Excel+sheet.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-6247692956698913958</id><published>2010-05-11T19:17:00.000+05:30</published><updated>2010-05-11T19:24:44.449+05:30</updated><title type='text'>How to import an external datasheet and populate the data into Global Data sheet in QTP?</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We will generate a script in QTP which imports and external data sheet and populate the data into the global datasheet and also exports the run time data sheet with the order number into an external location.&lt;br /&gt;&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to insert an order from external spreadsheet&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Populate the data into the globalsheet, define the datatable&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'iterations using script and execute the insertorder&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Set the datatable iterations under test settings to&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Run one iteration only&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Step1: Import the data into the Runtime datatable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;DataTable.Import(&lt;span style="color: rgb(102, 0, 0);"&gt;"E:\Insert Order1.xls"&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Step 2: Get the rowcount and store it in a variable called rowcount&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;rowcount = DataTable.GetRowCount()&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Step 3: Set the datatable iterations, iterate from the first row till row count&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;For&lt;/span&gt; i = &lt;span style="color: rgb(102, 0, 0);"&gt;1&lt;/span&gt; &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;to&lt;/span&gt; rowcount&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Step 4: Set the current row as the active row&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;DataTable.SetCurrentRow(i)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Step 5: Insert order script with appropriate parameters&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"New"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Type&lt;/span&gt; DataTable.&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Value&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;1,1&lt;/span&gt;)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; DataTable.&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Value&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;2,1&lt;/span&gt;)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; DataTable.&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Value&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;3,1&lt;/span&gt;)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).Set DataTable.&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Value&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;4,1&lt;/span&gt;)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Insert Order"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Wait&lt;/span&gt; 8&lt;br /&gt;OrderNo = Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Order No:"&lt;/span&gt;).GetRoProperty(&lt;span style="color: rgb(102, 0, 0);"&gt;"text"&lt;/span&gt;)&lt;br /&gt;DataTable.&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Value&lt;/span&gt;(&lt;span style="color: rgb(102, 0, 0);"&gt;5,1&lt;/span&gt;) = OrderNo&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Next&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;DataTable.Export(&lt;span style="color: rgb(102, 0, 0);"&gt;"E:\InsertOrderResult.xls"&lt;/span&gt;)&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-6247692956698913958?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/6247692956698913958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/how-to-import-external-datasheet-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6247692956698913958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6247692956698913958'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/how-to-import-external-datasheet-and.html' title='How to import an external datasheet and populate the data into Global Data sheet in QTP?'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-549824865726538344</id><published>2010-05-11T19:05:00.000+05:30</published><updated>2010-05-11T19:16:38.753+05:30</updated><title type='text'>Write a script in QTP 9.2 using Local data sheet</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Write a script in QTP 9.2 using Local data sheet to invoke the application, login, Insert order using Local data sheet and closing the application.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;Look at the four actions in our test we create in QTP&lt;br /&gt;&lt;br /&gt;Action 1 – Invoke Flight Reservation Application.&lt;br /&gt;Action 2 – Login to the Application.&lt;br /&gt;Action 3 – Insert Order.&lt;br /&gt;Action 4 – Close the Flight reservation Application.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Action 1 renamed as Invoke Application&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;If Not&lt;/span&gt; Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).Exist(0) &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Then&lt;/span&gt;&lt;br /&gt;App_Path = &lt;span style="color: rgb(102, 0, 0);"&gt;"C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;InvokeApplication&lt;/span&gt; App_Path&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Action 2 renamed as Login&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).Activate&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).WinEdit("Agent Name:").&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);"&gt; "Testuser"&lt;/span&gt;&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).WinEdit("Password:").&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"mercury"&lt;/span&gt;&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Action 3 renamed as Insert Order&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Here we use the local data sheet with values to be inserted. We will have DateofFlight, FlyFrom, FlyTo, OrderNo (which we will fetch to the datatable from application using GetROProperty, Result based on the orderNo generated we will print pass or fail.&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"New"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Type&lt;/span&gt; DataTable(&lt;span style="color: rgb(102, 0, 0);"&gt;"DateofFlight"&lt;/span&gt;, dtLocalSheet)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; DataTable(&lt;span style="color: rgb(102, 0, 0);"&gt;"FlyFrom"&lt;/span&gt;, dtLocalSheet)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Select&lt;/span&gt; DataTable(&lt;span style="color: rgb(102, 0, 0);"&gt;"FlyTo"&lt;/span&gt;, dtLocalSheet)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; DataTable(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name"&lt;/span&gt;, dtLocalSheet)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Insert Order"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Wait&lt;/span&gt; 8&lt;br /&gt;Orderno = Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Order No:"&lt;/span&gt;).GetRoProperty(&lt;span style="color: rgb(102, 0, 0);"&gt;"text"&lt;/span&gt;)&lt;br /&gt;DataTable(&lt;span style="color: rgb(102, 0, 0);"&gt;"Orderno"&lt;/span&gt;,dtLocalSheet) = Orderno&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;If &lt;/span&gt;Orderno = &lt;span style="color: rgb(102, 0, 0);"&gt;" "&lt;/span&gt; &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Then&lt;/span&gt;&lt;br /&gt;DataTable(&lt;span style="color: rgb(102, 0, 0);"&gt;"Result"&lt;/span&gt;,dtLocalSheet) = &lt;span style="color: rgb(102, 0, 0);"&gt;"Fail"&lt;/span&gt;&lt;br /&gt;Else&lt;br /&gt;DataTable(&lt;span style="color: rgb(102, 0, 0);"&gt;"Result"&lt;/span&gt;,dtLocalSheet) = &lt;span style="color: rgb(102, 0, 0);"&gt;"Pass"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End If&lt;/span&gt;&lt;/span&gt; &lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Action 4 renamed as Close&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Close&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-549824865726538344?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/549824865726538344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using-local-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/549824865726538344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/549824865726538344'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using-local-data.html' title='Write a script in QTP 9.2 using Local data sheet'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-6739223411405947949</id><published>2010-05-11T19:00:00.000+05:30</published><updated>2010-05-11T19:04:39.224+05:30</updated><title type='text'>DataTable Iterations in QTP 9.2</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;The datatable iterations for a global datasheet are defined under Table Settings (File &gt; Settings &gt; Run) and the default value is “Run on all Rows”. Quick Test gets the count of the number of rows within the global sheet and sets the iterations from 1 to Rowcount which is similar like a For Loop. For every iteration, it sets the value of ‘I’ as the active row.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S-lc2tcz4eI/AAAAAAAAAJI/iEE7DJuDIuA/s1600/Test+Run+Settings.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 294px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S-lc2tcz4eI/AAAAAAAAAJI/iEE7DJuDIuA/s400/Test+Run+Settings.jpg" alt="" id="BLOGGER_PHOTO_ID_5470005317401305570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The data table iterations for a local sheet are defined under Action call properties and the default value is “Run one Iteration only”.&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Quick Reference:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;Data Table Iteration for Global Sheet – File &gt; Settings &gt;Run Tab&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Data Table iteration for Local Sheet – Action Call Properties (Keyword View &gt; Actions &gt; Action Call Properties &gt; Run &gt; Run on all rows.&lt;/span&gt;&lt;/div&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h2 class="myclass"&gt;When to use Local datasheet in QTP 9.2?&lt;/h2&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you want only a particular action for n number of times then put that data in the local data sheet and set the test iteration to “Run for all Rows”. Set the Test Iteration for Global Sheet as “Run only one time”.  Look at this scenario to under stand better. We will use the Flight Reservation Application as reference.&lt;/div&gt;&lt;br /&gt;Action 1 – Invoke Flight Reservation Application.&lt;br /&gt;Action 2 – Login to the Application.&lt;br /&gt;Action 3 – Insert Order.&lt;br /&gt;Action 4 – Close the Flight reservation Application.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now set the Global Data sheet iterations to Run only one time (File – Settings – Run Tab – Run only one time). Put down all the data for insert order in the Action 3 local data sheet and you want to insert orders for many users. To do so set the local data sheet test iteration as “Run on all rows”. The reason for doing this is that by default the global data sheet test iteration is set as “Run on all Rows” and the local data sheet Test Iteration by default is set to “Run only one iteration”.&lt;br /&gt;&lt;br /&gt;If these Test iteration values are not manually set for both Global and local data sheet then the test runs for 10 * 10 = 100 times. Let me explain this. If you want 10 insert orders to be done and because the test iterations are set by default what happens is that all the actions run for the first time and the insert order runs for 10 times taking values from the local sheet and since the run time data sheet is having 10 rows all the actions from 1 to 4 run 10 times and the action 3 runs 10 times each time making the script to run a total of 100 times.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;We do not want to this way what we wanted is all the actions 1,2 and 4 should run one time and only action 3 should run 10 times and that is why we change the Test Iteration values from default to what we want.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Since there are default values set for global and local data sheet it always create a problem like what we have seen above. So when we want that different sets of data to be used we will set the global data sheet to “Run on one row” and local datatable to “Run on all Rows”.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-6739223411405947949?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/6739223411405947949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/datatable-iterations-in-qtp-92.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6739223411405947949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6739223411405947949'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/datatable-iterations-in-qtp-92.html' title='DataTable Iterations in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_iigq5ggPtFw/S-lc2tcz4eI/AAAAAAAAAJI/iEE7DJuDIuA/s72-c/Test+Run+Settings.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-6840368820133729063</id><published>2010-05-10T16:59:00.000+05:30</published><updated>2010-06-21T12:47:31.012+05:30</updated><title type='text'>Write a script to insert an Order in flight Reservation Application importing values from an external excel sheet and also display the result as pass</title><content type='html'>&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Script to insert an order and print the Order Number&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Create an object to interact with Excel Library&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set xlapp = CreateObject("Excel.Application")&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Open the excel workbook&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set wbook = xlapp.workbooks.Open("E:\InsertOrder.xls")&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Set the pointer to the worksheet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set wsheet = xlapp.worksheets(1)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Get rowcount&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;rowcount = wsheet.usedrange.rows.count&lt;br /&gt;&lt;br /&gt;For i = 1 to rowcount-1&lt;br /&gt;&lt;br /&gt;Window("Flight Reservation").Activate&lt;br /&gt;Window("Flight Reservation").WinButton("New").Click&lt;br /&gt;Window("Flight Reservation").WinObject("Date of Flight:").Type wsheet.cells(i+1,1).Value&lt;br /&gt;Window("Flight Reservation").WinComboBox("Fly From:").Select wsheet.cells(i+1,2).Value&lt;br /&gt;Window("Flight Reservation").WinComboBox("Fly To:").Select wsheet.cells(i+1,3).Value&lt;br /&gt;Window("Flight Reservation").WinButton("FLIGHT").Click&lt;br /&gt;Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click&lt;br /&gt;Window("Flight Reservation").WinEdit("Name:").Set wsheet.cells(i+1,4).Value&lt;br /&gt;Window("Flight Reservation").WinButton("Insert Order").Click&lt;br /&gt;Wait 8&lt;br /&gt;Orderno = Window("Flight Reservation").WinEdit("Order No:").GetRoProperty("text")&lt;br /&gt;wsheet.cells(i+1,5).value = Orderno&lt;br /&gt;&lt;br /&gt;If Window("Flight Reservation").Exist(8) Then&lt;br /&gt;wsheet.cells(i+1,6).Value = "Pass"&lt;br /&gt;wsheet.cells(i+1,6).Font.Colorindex = 10&lt;br /&gt;Else&lt;br /&gt;wsheet.cells(i+1,6).Value = "Fail"&lt;br /&gt;wsheet.cells(i+1,6).font.colorindex = 3&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;wbook.save&lt;br /&gt;wbook.close&lt;br /&gt;xlapp.quit&lt;br /&gt;&lt;br /&gt;Set wsheet = nothing&lt;br /&gt;Set wbook = nothing&lt;br /&gt;Set xlapp = nothing&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-6840368820133729063?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/6840368820133729063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-to-insert-order-in-flight.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6840368820133729063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6840368820133729063'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-to-insert-order-in-flight.html' title='Write a script to insert an Order in flight Reservation Application importing values from an external excel sheet and also display the result as pass'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-689486956815091639</id><published>2010-05-10T16:45:00.000+05:30</published><updated>2010-06-21T12:46:16.656+05:30</updated><title type='text'>Write a script to invole and login to the Flight Application using data from an external Excel Sheet</title><content type='html'>&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Create an Object Variable to interact with Excel Library&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set xlapp = CreateObject("Excel.Application")&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Open the existing workbook&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set wbook = xlapp.Workbooks.Open("E:\Practise sets\Test Data\LoginFR.xls")&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Create a pointer to the first sheet in the workbook&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set wsheet = xlapp.WorkSheets(1)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Get the row count&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;rowcount =  wsheet.usedrange.rows.count&lt;br /&gt;&lt;br /&gt;For i = 1 to rowcount-1&lt;br /&gt;If not Dialog("Login").Exist(0) Then&lt;br /&gt;InvokeApplication "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"&lt;br /&gt; End If&lt;br /&gt;&lt;br /&gt;Dialog("Login").Activate&lt;br /&gt;Dialog("Login").WinEdit("Agent Name:").Set wsheet.cells(i+1,1).Value&lt;br /&gt;Dialog("Login").WinEdit("Password:").Set wsheet.cells(i+1,2).Value&lt;br /&gt;Dialog("Login").WinButton("OK").Click&lt;br /&gt;Wait 8&lt;br /&gt;If Window("Flight Reservation").Exist(8)  Then&lt;br /&gt;wsheet.cells(i+1,3).Value = "Pass"&lt;br /&gt;wsheet.cells(i+1,3).Font.Colorindex = 10&lt;br /&gt;Else&lt;br /&gt;wsheet.cells(i+1,3).Value = "Fail"&lt;br /&gt;wsheet.cells(i+1,3).font.colorindex = 3&lt;br /&gt; End If&lt;br /&gt;&lt;br /&gt;Window("Flight Reservation").Close&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;wbook.save&lt;br /&gt;wbook.close&lt;br /&gt;xlapp.quit&lt;br /&gt;&lt;br /&gt;Set wsheet = nothing&lt;br /&gt;Set wbook = nothing&lt;br /&gt;Set xlapp = nothing&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-689486956815091639?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/689486956815091639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-to-invole-and-login-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/689486956815091639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/689486956815091639'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-to-invole-and-login-to.html' title='Write a script to invole and login to the Flight Application using data from an external Excel Sheet'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-8757561034446888770</id><published>2010-05-10T16:26:00.001+05:30</published><updated>2010-06-21T12:45:01.763+05:30</updated><title type='text'>Write a script using Functions to invoke the Flight Reservation Application and pass the Login values from external Excel Sheet</title><content type='html'>&lt;h5 style="font-weight: normal; color: rgb(153, 0, 0);" class="myclass"&gt;&lt;span style="font-size:100%;"&gt;LoginFR username, password&lt;br /&gt;&lt;br /&gt;Public Function LoginFR(byval username, byval password)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Create an Object Variable to interact with Excel Library&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set xlapp = CreateObject("Excel.Application")&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Open the exisiting workbook&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set wbook = xlapp.workbooks.Open("E:\LoginFlightR.xls")&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Create a pointer to the first sheet in the workbook&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set wsheet = xlapp.worksheets(1)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'Get the row count&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;rowcount =  wsheet.usedrange.rows.count&lt;br /&gt;&lt;br /&gt;For i = 1 to rowcount-1&lt;br /&gt;If not Dialog("Login").Exist(0) Then&lt;br /&gt;InvokeApplication "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"&lt;br /&gt; End If&lt;br /&gt;&lt;br /&gt;username = wsheet.cells(i+1,1).Value&lt;br /&gt;password = wsheet.cells(i+1,2).Value&lt;br /&gt;Dialog("Login").Activate&lt;br /&gt;Dialog("Login").WinEdit("Agent Name:").Set username&lt;br /&gt;Dialog("Login").WinEdit("Password:").Set password&lt;br /&gt;Dialog("Login").WinButton("OK").Click&lt;br /&gt;Wait 10&lt;br /&gt;If Window("Flight Reservation").Exist(10)  Then&lt;br /&gt;wsheet.cells(i+1,3).Value = "Pass"&lt;br /&gt;wsheet.cells(i+1,3).Font.Colorindex = 10&lt;br /&gt;Else&lt;br /&gt;wsheet.cells(i+1,3).Value = "Fail"&lt;br /&gt;wsheet.cells(i+1,3).font.colorindex = 3&lt;br /&gt; End If&lt;br /&gt;&lt;br /&gt;Window("Flight Reservation").Close&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;wbook.save&lt;br /&gt;wbook.close&lt;br /&gt;xlapp.quit&lt;br /&gt;&lt;br /&gt;Set wsheet = nothing&lt;br /&gt;Set wbook = nothing&lt;br /&gt;Set xlapp = nothing&lt;br /&gt;&lt;br /&gt;End Function&lt;/span&gt;&lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-8757561034446888770?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/8757561034446888770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-to-invoke-flight.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8757561034446888770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8757561034446888770'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-to-invoke-flight.html' title='Write a script using Functions to invoke the Flight Reservation Application and pass the Login values from external Excel Sheet'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-6743987837415442402</id><published>2010-05-07T19:28:00.000+05:30</published><updated>2010-05-07T19:33:39.483+05:30</updated><title type='text'>Parameterization in QTP 9.2</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Parametrization in QTP is a process of replacing all the constants within the test script into variables (parameters) so that we can reuse the same script with different sets of data. &lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h2 class="myclass1"&gt;Parametrization in QTP happens in 4 ways.&lt;br /&gt;&lt;/h2&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;1. Database Parameters.&lt;br /&gt;2. Action parameters.&lt;br /&gt;3. Environment Parameters.&lt;br /&gt;4. Random Parameters.&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Database parameters can be set by Internal data sheet, External data sheet and Excel parameters.&lt;/div&gt;&lt;br /&gt;&lt;h2 class="myclass1"&gt;What is Data Driven Testing in QTP 9.2?&lt;/h2&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Data driven testing is the process of passing huge sets of data into Application under test using a data sheet. The data sheet closely resembles to the excel spread sheet. The concept of data driven testing can be achieved using data table parametrization.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Let us look at how a Test in QTP is organized. A test has one or many actions and each action can have one or more functions. Now each action has one local object repository and a local data sheet, like wise all the actions have one local data sheet and local object repository but the entire test has one Global data sheet which all of these actions can have access. Look at the figure below.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S-QdpHeypHI/AAAAAAAAAJA/PYk118xcAQA/s1600/test+flow+chart.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 200px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S-QdpHeypHI/AAAAAAAAAJA/PYk118xcAQA/s400/test+flow+chart.jpg" alt="" id="BLOGGER_PHOTO_ID_5468528439754663026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2 class="myclass1"&gt;What is a Data Table in QTP?&lt;/h2&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A data table is a combination of local data sheet and global data sheet. Every action has one local data sheet and local object repository but only one global data sheet for the entire test. There may be any number of actions for which that many number of local data sheets are created but for all these actions together has one global data sheet. All actions can access the global data sheet.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Every QTP test will have one global sheet. There is no action associated with a global sheet and global sheet can be accessed by all the actions within the test.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To work with the data table in QTP we make use of data table object. Data table is a utility object in QTP.&lt;/div&gt;&lt;br /&gt;&lt;h2 class="myclass1"&gt;What is a Utility  object in QTP?&lt;/h2&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Utility objects are the objects provided by the quick test library used to enhance our test scripts. Data table objects have design time data table and Run time data table.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The data table that exists during script design is the design time data table. The moment you click the run button we enter the run session then the design data table gets converted into run time data table and all the data table objects, properties and methods will be applicable only to the run time data table and the design time data table s not affected. Any manipulations during run time done are written in the run time data table.&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note:&lt;/span&gt; data table object is nothing but the run time data table.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Data Table.value (parameterid, sheetid)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Example:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;DataTable.Value(1,1)&lt;br /&gt;DataTable.Value(2,1)&lt;br /&gt;&lt;br /&gt;Window(“Flight Reservation”).WinCombo(“Fly From”).Select Data Table.Value(2,1)&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To insert a value in the data table like the order number generated  during inserting a order we write the script like this.&lt;/div&gt;&lt;br /&gt;Ord_Num = Window(“Flight Reservation”).WinEdit(“Order No:”).GetROProperty(“text”)&lt;br /&gt;&lt;br /&gt;Data Table.Value(5,1) = Ord_Num&lt;br /&gt;&lt;br /&gt;&lt;h2 class="myclass1"&gt;What is Data Table Object in QTP?&lt;/h2&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Data table object is a utility object in QTP that points to the run time data table.&lt;/div&gt;&lt;br /&gt;&lt;h2 class="myclass1"&gt;What is Value Property in QTP?&lt;/h2&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Value Property is the data table default property used to set or retrieve values from a specified parameter within the data table. Value property takes the parameter id and the sheet id as part of its syntax.&lt;/div&gt;&lt;br /&gt;Data Table.value (parameterid, sheetid)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-6743987837415442402?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/6743987837415442402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/parameterization-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6743987837415442402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6743987837415442402'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/parameterization-in-qtp-92.html' title='Parameterization in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_iigq5ggPtFw/S-QdpHeypHI/AAAAAAAAAJA/PYk118xcAQA/s72-c/test+flow+chart.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-145945214439884852</id><published>2010-05-06T15:31:00.000+05:30</published><updated>2010-05-06T15:38:21.422+05:30</updated><title type='text'>Bitmap Checkpoint in QTP 9.2</title><content type='html'>&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Bitmap checkpoint captures the expected bitmap of an object while recording. During a run session if the actual bitmap matches the expected bitmap returns a pass to the test result or a fail otherwise. It is always better to insert a bitmap checkpoint while recording and not on the active screen because the active screen might not have updated the latest bitmap and any change in the screen might throw a fail.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h2 class="myclass1"&gt;How to insert a bitmap checkpoint in QTP 9.2&lt;/h2&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;We will insert a bitmap checkpoint for a disabled FLIGHT button and run the script and then we will enable the FLIGHT button and run the script and see the difference.&lt;/div&gt;&lt;br /&gt;1. Open a Blank Test in QTP.&lt;br /&gt;&lt;br /&gt;2. Open the Flight Reservation application and stay in Insert Order window.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;3. Click Record button. In the record and Run settings Window, select the Windows Application Tab select the Radio Button for “Record and Run test on any windows based application. Click OK.&lt;/div&gt;&lt;br /&gt;4. Now go to Insert &gt; Checkpoint Select Bitmap Checkpoint.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S-KUHLss7HI/AAAAAAAAAIY/qMuBs9qOPjU/s1600/bitmap+.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 212px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S-KUHLss7HI/AAAAAAAAAIY/qMuBs9qOPjU/s400/bitmap+.jpg" alt="" id="BLOGGER_PHOTO_ID_5468095748701482098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;5. Now the cursor will change to hand sign. Also the Quick Test will minimize and only the Flight Reservation Application will be active on the screen.&lt;/div&gt;&lt;br /&gt;6. Select the FLIGHT Button which in Disabled State.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S-KUZ1HZBZI/AAAAAAAAAIg/p32bSGWFxTM/s1600/Bitmap+1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 237px; height: 156px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S-KUZ1HZBZI/AAAAAAAAAIg/p32bSGWFxTM/s400/Bitmap+1.JPG" alt="" id="BLOGGER_PHOTO_ID_5468096069056923026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;7. Click OK on the Object Selection – Bitmap Checkpoint Properties.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;8. Now the Bitmap Checkpoint Properties window will be opened where in you can check which are of the bitmap image you want to display and also can  change the checkpoint timeout and click OK button.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iigq5ggPtFw/S-KUkF53o-I/AAAAAAAAAIo/Ufu4qSFJRvs/s1600/bitmap+2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 260px; height: 289px;" src="http://4.bp.blogspot.com/_iigq5ggPtFw/S-KUkF53o-I/AAAAAAAAAIo/Ufu4qSFJRvs/s400/bitmap+2.JPG" alt="" id="BLOGGER_PHOTO_ID_5468096245362303970" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This line of code is displayed.&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Check CheckPoint(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;)&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;Now run the script and you will see that QTP will record a pass in the Test Result.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/S-KUwn-D5jI/AAAAAAAAAIw/L1vk3awKs2Y/s1600/bitmap+result.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 170px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/S-KUwn-D5jI/AAAAAAAAAIw/L1vk3awKs2Y/s400/bitmap+result.JPG" alt="" id="BLOGGER_PHOTO_ID_5468096460665120306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Lets try to run the script with a small change in the Flight Reservation Application.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now in the Flight Reservation enter the Date of Flight, Fly From and Fly to. Now the FLIGHT button is Enabled. Now go back to the script and run the script and see that the test result will throw fail status because while recording the expected result is disabled and the actual result while play back is enabled.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iigq5ggPtFw/S-KVAJBD-II/AAAAAAAAAI4/EE9iVKa0OmE/s1600/bitmap+result+1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 172px;" src="http://4.bp.blogspot.com/_iigq5ggPtFw/S-KVAJBD-II/AAAAAAAAAI4/EE9iVKa0OmE/s400/bitmap+result+1.JPG" alt="" id="BLOGGER_PHOTO_ID_5468096727234115714" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Generally Bitmap check point is used specially to check the images on your application or sites to find out any variation in the pixel or color etc.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-145945214439884852?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/145945214439884852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/bitmap-checkpoint-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/145945214439884852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/145945214439884852'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/bitmap-checkpoint-in-qtp-92.html' title='Bitmap Checkpoint in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_iigq5ggPtFw/S-KUHLss7HI/AAAAAAAAAIY/qMuBs9qOPjU/s72-c/bitmap+.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3871400771285672633</id><published>2010-05-04T14:10:00.000+05:30</published><updated>2010-05-04T17:02:31.580+05:30</updated><title type='text'>Inserting more than one Standard Checkpoint in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/shortcuts-for-standard-checkpoint-in.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/shortcuts-for-standard-checkpoint-in.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;31&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;32&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;33&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;34&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;35&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;36&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;37&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;38&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;39&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;40&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;The question often arises is that can we have more than one checkpoint in the script or can we insert multiple standard checkpoints in the script. Yes QTP allows you to insert any number of checkpoints on objects as desired. You need to remember that you are aware of the expected result.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Let us take the Flight Reservation Application and try to insert multiple check points to see whether the checkpoints work or not. For this what we will do is we will insert a checkpoint for FLIGHT button after “Fly From” combo box selection to see that the FLIGHT button is disabled and also after “Fly To” combo box selection to see that the Button is enabled. Also we will insert a check point on Itemcount of Fly From combo to see that the item count is 10 and before the Fly To see that the item count is 9.&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The script looks like this&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"New Order"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Type&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"121212"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).Check CheckPoint(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From Item Count"&lt;/span&gt;)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Frankfurt"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Check CheckPoint(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT_Disabled"&lt;/span&gt;)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).Check CheckPoint(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To Item Count"&lt;/span&gt;)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"London"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Check CheckPoint(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT_Enabled"&lt;/span&gt;)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;"test user"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Insert Order"&lt;/span&gt;).Click&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;For ease of understanding the logical names have been changed like FLIGHT_Disabled, FLIGHT_Enabled, Fly From Item Count, Fly To Item Count so that others looking at the script will understand.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When the script is run in the test result summary we will see Passed as 4 times which is nothing but the four checkpoints are passed. Have a look at the test result image below for different check points.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/S9_fGsLvmaI/AAAAAAAAAIA/8FVi-FTAjrc/s1600/TEST+FINAL.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 390px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/S9_fGsLvmaI/AAAAAAAAAIA/8FVi-FTAjrc/s400/TEST+FINAL.jpg" alt="" id="BLOGGER_PHOTO_ID_5467333778683697570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/shortcuts-for-standard-checkpoint-in.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/shortcuts-for-standard-checkpoint-in.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;31&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;32&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;33&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;34&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;35&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;36&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;37&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;38&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;39&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;40&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3871400771285672633?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3871400771285672633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/inserting-more-than-one-standard.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3871400771285672633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3871400771285672633'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/inserting-more-than-one-standard.html' title='Inserting more than one Standard Checkpoint in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_iigq5ggPtFw/S9_fGsLvmaI/AAAAAAAAAIA/8FVi-FTAjrc/s72-c/TEST+FINAL.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3389172827718229601</id><published>2010-05-04T14:05:00.000+05:30</published><updated>2010-05-04T17:32:55.809+05:30</updated><title type='text'>Shortcuts for Standard Checkpoint in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;31&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/inserting-more-than-one-standard.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;32&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;33&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;34&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;35&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;36&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;37&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;38&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;39&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;40&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/inserting-more-than-one-standard.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;QTP provides shortcut keys for the user to perform actions and like wise for Standard Checkpoint there are shortcut keys by which the user can easily perform actions and also these are useful for those who want to undergo certification in QTP 9.2&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;1. Press F3 and then Press F12. F12 is the keyboard shortcut key for Standard Checkpoint.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;2. By default the Checkpoint time out for Windows Environment is 10 seconds. You can change this based on the scenario you want to run.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;3. To change the Checkpoint time out Position the cursor in the script on 'Checkpoint' text and right click and select Checkpoint properties and in the Checkpoint properties window in the bottom is the "Checkpoint time out text box"&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iigq5ggPtFw/S9_dHpEkz7I/AAAAAAAAAH4/sX_mW1N1OLM/s1600/checkpoint+time+out.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 348px; height: 400px;" src="http://4.bp.blogspot.com/_iigq5ggPtFw/S9_dHpEkz7I/AAAAAAAAAH4/sX_mW1N1OLM/s400/checkpoint+time+out.JPG" alt="" id="BLOGGER_PHOTO_ID_5467331596004937650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2 class="myclass"&gt;Points to ponder on Standard Check point in QTP9.2&lt;/h2&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Can you insert a checkpoint after recording Standard Checkpoint?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Yes, you can insert a check point after recording the Script for Standard Checkpoint.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;There are ways to insert the checkpoint.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It is to be remembered that you need to press the record button to insert a check point for a written script which means that there won’t be any thing in the Active Screen.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;For this you need to put the cursor where you want to insert the checkpoint. Press Record and select Insert Standard Checkpoint option from the menu or use shortcut keys and select the object you want to create check point.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you recorded the script then just go to the active screen and select the object and right click, select the Insert Standard Checkpoint option and in the checkpoint properties window select the Radio button option to insert before the current step or after the current step.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iigq5ggPtFw/S-AM1FwpvXI/AAAAAAAAAIQ/cKrWVjYHS8M/s1600/active+screen.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 179px;" src="http://4.bp.blogspot.com/_iigq5ggPtFw/S-AM1FwpvXI/AAAAAAAAAIQ/cKrWVjYHS8M/s400/active+screen.jpg" alt="" id="BLOGGER_PHOTO_ID_5467384053846621554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;31&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/inserting-more-than-one-standard.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;32&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;33&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;34&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;35&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;36&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;37&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;38&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;39&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;40&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/inserting-more-than-one-standard.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3389172827718229601?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3389172827718229601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/shortcuts-for-standard-checkpoint-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3389172827718229601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3389172827718229601'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/shortcuts-for-standard-checkpoint-in.html' title='Shortcuts for Standard Checkpoint in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_iigq5ggPtFw/S9_dHpEkz7I/AAAAAAAAAH4/sX_mW1N1OLM/s72-c/checkpoint+time+out.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-8405819258507571670</id><published>2010-05-04T13:54:00.000+05:30</published><updated>2010-05-04T16:57:25.206+05:30</updated><title type='text'>Standard Checkpoint in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/shortcuts-for-standard-checkpoint-in.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Standard Checkpoint captures the expected properties and Property values of an Object while recording. During run session if the actual property value matches with the expected property value then it returns a pass to the test result or fail to the test result.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h2 class="myclass"&gt;How to insert a Standard Checkpoint in QTP 9.2&lt;/h2&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To insert a Standard Checkpoint within the script then Press Record button, Navigate to Insert in the file Menu and select Checkpoint and Standard Checkpoint.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/S9_aox8FMiI/AAAAAAAAAHY/pLYwB6hS4aw/s1600/select+check+point.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 363px; height: 360px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/S9_aox8FMiI/AAAAAAAAAHY/pLYwB6hS4aw/s400/select+check+point.JPG" alt="" id="BLOGGER_PHOTO_ID_5467328866786030114" border="0" /&gt;&lt;/a&gt;Once you select the standard Checkpoint by navigating or by using F12 key there will be a hand sign and you need to point it on the object on which you want to create a checkpoint. For us to understand we will use the Flight Application and click the FLIGHT Button. Once you click on the FLIGHT Button you will be displayed with the “Object Selection-checkpoint properties’ dialog box. Click OK on it.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/S9_a2jompxI/AAAAAAAAAHg/cN_-ATDEAHw/s1600/inserting+check+point.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 198px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/S9_a2jompxI/AAAAAAAAAHg/cN_-ATDEAHw/s400/inserting+check+point.JPG" alt="" id="BLOGGER_PHOTO_ID_5467329103464408850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now you will be displayed the ‘checkpoint Properties” window where in you can Select the Properties and values on which you want to create the check point and the checkpoint timeout. We will only select the Property as Enabled and Value as False.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S9_bKEtTQ6I/AAAAAAAAAHo/VZpxWMIcJY8/s1600/checkpoint+properties.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 348px; height: 400px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S9_bKEtTQ6I/AAAAAAAAAHo/VZpxWMIcJY8/s400/checkpoint+properties.jpg" alt="" id="BLOGGER_PHOTO_ID_5467329438759994274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now in the Expert View the script recorded is as follows.&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Check CheckPoint(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;)&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;Now run the script and see how the test result is displayed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S9_bjrhZtHI/AAAAAAAAAHw/eWVbJNcD2es/s1600/TESTRESULT+CHECK+POINT.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 310px; height: 400px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S9_bjrhZtHI/AAAAAAAAAHw/eWVbJNcD2es/s400/TESTRESULT+CHECK+POINT.jpg" alt="" id="BLOGGER_PHOTO_ID_5467329878675797106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now just see how the Checkpoint will pass the result as fail when you just enter date of flight, select Fly from and Fly to Combo box values then the FLIGHT Button will be enabled. Now re run the same script the test result will show as fail because the property value while recording is false and while playback is True.&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/shortcuts-for-standard-checkpoint-in.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-8405819258507571670?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/8405819258507571670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8405819258507571670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8405819258507571670'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html' title='Standard Checkpoint in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_iigq5ggPtFw/S9_aox8FMiI/AAAAAAAAAHY/pLYwB6hS4aw/s72-c/select+check+point.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-7914969583385084635</id><published>2010-05-04T13:50:00.000+05:30</published><updated>2010-05-04T16:55:48.891+05:30</updated><title type='text'>Checkpoints in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;A checkpoint in QTP captures the expected result of an Object while recording. During run session if the actual result matches with the expected results the Checkpoint returns a pass to the test result and returns a fail otherwise. QTP will no stop the test if the Checkpoint fails but just returns the result and continues the test. In order to use a Checkpoint you need to know the expected result which should be captured.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;There are different types of Checkpoints, they are&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;&lt;span style="color: rgb(102, 0, 0);font-size:100%;" &gt;&lt;span style="font-weight: normal;"&gt;1. Standard Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;2. Bitmap Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;3. Text Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;4. Text Area Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;5. Database Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;6. Accessibility Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;7. XML Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;8. Custom Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;9. Image Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;10.  Page Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;11. Table Checkpoint&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;12. Customized Checkpoint&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;To insert a Checkpoint Navigate to File Menu, Insert and Select the required Checkpoint.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-7914969583385084635?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/7914969583385084635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7914969583385084635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7914969583385084635'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html' title='Checkpoints in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-7428331317491818597</id><published>2010-05-03T18:14:00.000+05:30</published><updated>2010-05-04T16:54:00.386+05:30</updated><title type='text'>Write a Script in QTP 9.2 to perform different actions on Flight Reservation Application using Functions</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We will generate a script in QTP 9.2 using Functions to invoke the Flight Reservation Application, Login into the application, Insert an order into the application and print the order number to the user, Open an Order, Update an Order, Fax an Order.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Variable Declaration&lt;/span&gt;&lt;br /&gt;App_Path = &lt;span style="color: rgb(102, 0, 0);"&gt;"C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Username=&lt;span style="color: rgb(102, 0, 0);"&gt;"test"&lt;/span&gt;&lt;br /&gt;Password=&lt;span style="color: rgb(102, 0, 0);"&gt;"mercury"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Date_of_Flight = &lt;span style="color: rgb(102, 0, 0);"&gt;"121212"&lt;/span&gt;&lt;br /&gt;Fly_From = &lt;span style="color: rgb(102, 0, 0);"&gt;"Frankfurt"&lt;/span&gt;&lt;br /&gt;Fly_To = &lt;span style="color: rgb(102, 0, 0);"&gt;"Los Angeles"&lt;/span&gt;&lt;br /&gt;Cust_Name = &lt;span style="color: rgb(102, 0, 0);"&gt;"Test user"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Function Calls Section&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Invoke_FR App_Path&lt;br /&gt;Login_FR Username, Password&lt;br /&gt;InsertOrder_FR Date_of_Flight, Fly_From, Fly_To, Cust_Name, Order_Number&lt;br /&gt;OpenOrder_FR Order_Number&lt;br /&gt;UpdateOrder_FR Date_of_Flight, Fly_From,Fly_To, Cust_Name&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to invoke the Flight Reservation Application&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Checking whether a login screen is opened&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Public Function&lt;/span&gt; Invoke_FR(&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; App_Path)&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;If Not &lt;/span&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).Exist(&lt;span style="color: rgb(102, 0, 0);"&gt;0&lt;/span&gt;)&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt; Then&lt;/span&gt;&lt;br /&gt;App_Path = &lt;span style="color: rgb(102, 0, 0);"&gt;"C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;InvokeApplication&lt;/span&gt; App_Path&lt;br /&gt;End If&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to login in to the Application&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Public Function&lt;/span&gt; Login_FR(&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;byval&lt;/span&gt; Username, &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; Password)&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).Activate&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Agent Name:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;Username&lt;/span&gt;&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Password:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;Password&lt;/span&gt;&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to insert an order and print the Order Number&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Public Function&lt;/span&gt; InsertOrder_FR(&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; Date_of_Flight, &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; Fly_From, &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; Fly_To, &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; Cust_Name, &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byref&lt;/span&gt; Order_Number)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"New"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Type&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"121212"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Select&lt;/span&gt; "Frankfurt"&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; "Los Angeles"&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Test user"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Insert Order"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Wait&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;8&lt;/span&gt;&lt;br /&gt;Ord_Num = Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Order No:"&lt;/span&gt;).GetRoProperty(&lt;span style="color: rgb(102, 0, 0);"&gt;"text"&lt;/span&gt;)&lt;br /&gt;Msgbox &lt;span style="color: rgb(102, 0, 0);"&gt;"The Order Number is: "&lt;/span&gt;&amp;amp;Ord_Num&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to Open an Existing Order&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Here we will assume that the order is already inserted&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Public Function&lt;/span&gt; OpenOrder_FR(&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; Order_Number)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Open Button"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog( &lt;span style="color: rgb(102, 0, 0);"&gt;"Open Order"&lt;/span&gt;).WinCheckBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Check order"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"ON"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Open Order"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Order Number"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; Ord_Num&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Open Order"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to update an existing order&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Public Function&lt;/span&gt; UpdateOrder_FR(&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; Date_of_Flight, &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; Fly_From, &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; Fly_To, &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;byval&lt;/span&gt; Cust_Name)&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Type&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"111111"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Los Angeles"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Frankfurt"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Test User 1"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Update Order"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to close the Application&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Close&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-7428331317491818597?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/7428331317491818597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7428331317491818597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7428331317491818597'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html' title='Write a Script in QTP 9.2 to perform different actions on Flight Reservation Application using Functions'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-6665434095779845921</id><published>2010-05-03T18:03:00.000+05:30</published><updated>2010-05-04T16:52:24.270+05:30</updated><title type='text'>Write a Script in QTP 9.2 to perform different actions on Flight Reservation Application</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We will generate a script in QTP 9.2 to invoke the Flight Reservation Application, Login into the application, Insert an order into the application and print the order number to the user, Open an Order, Update an Order, Fax an Order.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to invoke the Flight Reservation Application&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Checking whether a login screen is opened&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;If Not &lt;/span&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).Exist(&lt;span style="color: rgb(102, 0, 0);"&gt;0&lt;/span&gt;)&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt; Then&lt;/span&gt;&lt;br /&gt;App_Path = &lt;span style="color: rgb(102, 0, 0);"&gt;"C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;InvokeApplication&lt;/span&gt; App_Path&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to login in to the Application&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).Activate&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Agent Name:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Testuser"&lt;/span&gt;&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Password:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"mercury"&lt;/span&gt;&lt;br /&gt;Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to insert an order and print the Order Number&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"New"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Type&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"121212"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Select&lt;/span&gt; "Frankfurt"&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; "Los Angeles"&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Test user"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Insert Order"&lt;/span&gt;).Click&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Wait&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;8&lt;/span&gt;&lt;br /&gt;Ord_Num = Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Order No:"&lt;/span&gt;).GetRoProperty(&lt;span style="color: rgb(102, 0, 0);"&gt;"text"&lt;/span&gt;)&lt;br /&gt;Msgbox &lt;span style="color: rgb(102, 0, 0);"&gt;"The Order Number is: "&lt;/span&gt;&amp;amp;Ord_Num&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to Open an Existing Order&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Here we will assume that the order is already inserted&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Open Button"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog( &lt;span style="color: rgb(102, 0, 0);"&gt;"Open Order"&lt;/span&gt;).WinCheckBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Check order"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"ON"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Open Order"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Order Number"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; Ord_Num&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Open Order"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to update an existing order&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Type&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"111111"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Los Angeles"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Frankfurt"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Test User 1"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Update Order"&lt;/span&gt;).Click&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;'Script to close the Application&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Close&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-6665434095779845921?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/6665434095779845921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6665434095779845921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6665434095779845921'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html' title='Write a Script in QTP 9.2 to perform different actions on Flight Reservation Application'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-1032411777738354228</id><published>2010-05-03T15:37:00.000+05:30</published><updated>2010-05-04T16:50:40.700+05:30</updated><title type='text'>How to invoke an application in QTP 9.2 using Scripting</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;It is always easy in QTP 9.2 by just recording an playing back. Imagine to Invoke an application under test by writing some lines of code. Is isn’t interesting to run a script and launch the application.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;For our case we will take the Flight Reservation Application and try to Invoke the application through the script so that the login screen of the Application is visible. We need to write these lines of code. We need to know the path of the Flight Application Executable file.&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;App_Path = &lt;span style="color: rgb(102, 0, 0);"&gt;"C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;InvokeApplication&lt;/span&gt; App_Path&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If we run the script the login screen is displayed and if you run it n number of times that many no of login screens are displayed and you will be in a confusion state as to what screen should be used.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/S96g36FmeTI/AAAAAAAAAHQ/umLTBe5J818/s1600/invoke+login.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 182px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/S96g36FmeTI/AAAAAAAAAHQ/umLTBe5J818/s320/invoke+login.JPG" alt="" id="BLOGGER_PHOTO_ID_5466983880020359474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In order to make sure that even though the script is run any number of times it should only display one login screen. To do this we need to use IF Then conditional Statement. Amend the above script with these lines and now when you run the script any number of times only one Login screen is displayed.&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;If Not&lt;/span&gt; Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Login"&lt;/span&gt;).Exist(0&lt;span style="color: rgb(102, 0, 0);"&gt;&lt;/span&gt;) &lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Then&lt;/span&gt;&lt;br /&gt;App_Path = &lt;span style="color: rgb(102, 0, 0);"&gt;"C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;InvokeApplication&lt;/span&gt; App_Path&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-1032411777738354228?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/1032411777738354228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1032411777738354228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1032411777738354228'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html' title='How to invoke an application in QTP 9.2 using Scripting'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_iigq5ggPtFw/S96g36FmeTI/AAAAAAAAAHQ/umLTBe5J818/s72-c/invoke+login.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-8863402661995033846</id><published>2010-05-03T15:22:00.000+05:30</published><updated>2010-05-04T16:49:00.747+05:30</updated><title type='text'>Low Level Recording in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Low Level Recording is a combination of Context Sensitive and Analog recording. Low Level Recording is said to be context sensitive because all the objects are being learnt into object repository however low level recording fails to map these objects to standard class. All these objects are categorized into one common class called winobject. It is also a combination of Analog recording because the coordinates are also captured. These coordinates are w.r.t. Object.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to navigate to Low Level Recording?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You need to be in the record mode in QTP and then from Automation Select Low Level Recording or use the keyboard shortcut combination of Ctrl+Shift+F3&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-8863402661995033846?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/8863402661995033846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8863402661995033846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8863402661995033846'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html' title='Low Level Recording in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-7472911666587734878</id><published>2010-05-03T15:19:00.000+05:30</published><updated>2010-05-04T16:47:28.819+05:30</updated><title type='text'>Interview Questions in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Below are some of the interview and Certification Questions and Answers for QTP 9.2&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What is the difference between Text and attached text property in QTP 9.2?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Text Property is on the Object.&lt;br /&gt;&lt;br /&gt;Attached Text is a name attached to the object.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;What is the difference between Object Class and Native Class in QTP 9.2?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Object Class is a QTP defined Object Class used to identify an object in the Application Under Test.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Native Class is the class which the object belongs to.&lt;br /&gt;&lt;br /&gt;We expect that the Native class and Object Class are the same except some exceptions.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What is the difference between Enabled and Focused in QTP 9.2?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If Enabled property is true we can execute a method on that object and if it is false we cannot.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Focus is always set to the first object in the AUT. Focus can be set to only one Object. Focus is set on the enabled object only.&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What is the difference between Dialog Box and a window?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Dialog Box does not to have Minimize and Close buttons where as a window has minimize and close buttons.&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-7472911666587734878?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/7472911666587734878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7472911666587734878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7472911666587734878'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html' title='Interview Questions in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3409995520638236608</id><published>2010-05-03T15:16:00.000+05:30</published><updated>2010-05-04T16:45:32.889+05:30</updated><title type='text'>Object Spy in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Object Spy is an inbuilt feature of Quick Test used to interrogate properties and methods associated with an Object.&lt;/div&gt;&lt;/h1&gt;Object Spy lists down all the Properties and Methods associated with a Test Object.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to Locate Object Spy in QTP 9.2?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. You can either navigate to ToolBar and Click Object Spy.&lt;br /&gt;&lt;br /&gt;2. Open Object repository then Navigate to Tools and Click Object Spy.&lt;br /&gt;&lt;br /&gt;3. In the Object Repository Window Click the Object Spy Icon.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Once you select the Object Spy You will see a blank object Spy window with a hand button on the right of the screen. Clicking on the hand Button you can then point it to the Object in the Application and click on the application. Look at the Image below&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iigq5ggPtFw/S96b3we0rfI/AAAAAAAAAHA/PcgkEDESLcM/s1600/object+spy+1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 444px; height: 241px;" src="http://4.bp.blogspot.com/_iigq5ggPtFw/S96b3we0rfI/AAAAAAAAAHA/PcgkEDESLcM/s400/object+spy+1.jpg" alt="" id="BLOGGER_PHOTO_ID_5466978379883654642" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Once you click on an object all the properties of the object is listed in the Object Spy Window.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/S96cBuH0gLI/AAAAAAAAAHI/ul1gZqZyMKU/s1600/Object+spy+2+.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 187px; height: 320px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/S96cBuH0gLI/AAAAAAAAAHI/ul1gZqZyMKU/s320/Object+spy+2+.JPG" alt="" id="BLOGGER_PHOTO_ID_5466978551048994994" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3409995520638236608?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3409995520638236608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3409995520638236608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3409995520638236608'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html' title='Object Spy in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_iigq5ggPtFw/S96b3we0rfI/AAAAAAAAAHA/PcgkEDESLcM/s72-c/object+spy+1.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-5044077263543165245</id><published>2010-05-03T15:13:00.000+05:30</published><updated>2010-05-04T16:43:40.725+05:30</updated><title type='text'>Write a script in QTP 9.2 using GetROProperty</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We will write a script using the GetROProperty to fetch the Order Number in the Flight Reservation Application and print it to the user.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"New"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Type&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"121212"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Frankfurt"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Los Angeles"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"TestUser"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Insert Order"&lt;/span&gt;).Click&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Wait&lt;/span&gt; 8&lt;br /&gt;Ord_Num = Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Order No"&lt;/span&gt;).GetRoProperty(&lt;span style="color: rgb(102, 0, 0);"&gt;"text"&lt;/span&gt;)&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Msgbox&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"The Order Number is: "&lt;/span&gt; &amp;amp;Ord_Num&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-5044077263543165245?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/5044077263543165245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5044077263543165245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5044077263543165245'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html' title='Write a script in QTP 9.2 using GetROProperty'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-9171028965888103038</id><published>2010-05-03T15:07:00.000+05:30</published><updated>2010-05-04T16:41:41.995+05:30</updated><title type='text'>GetROProperty in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Let us assume that we want to return the Order Number of the order placed by using the first script we generated.&lt;br /&gt;&lt;br /&gt;To view the script click &lt;a style="color: rgb(51, 51, 255);" href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html" target="_blank"&gt;&lt;b&gt;First Script Insert Order in QTP 9.2&lt;/b&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;What should we do then. QTP supplies an inbuilt method called GetROProperty and by using this method we can return the value.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;GetROProperty (Get Run Time Object Property) in QTP 9.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;During Run Time a property of an object in the application is generating a value. We use GetROProperty method to fetch this property value and print it to the user.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To put it as a definition "GetROProperty is a method which returns the specified property value of an object during run time"&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;We want to print the order number to the user we will fetch the text value of the order number field. Look at the image below:&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/S96aDHHWDsI/AAAAAAAAAG4/oVmJJuEDMiY/s1600/Get+ro+property.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 372px; height: 101px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/S96aDHHWDsI/AAAAAAAAAG4/oVmJJuEDMiY/s320/Get+ro+property.jpg" alt="" id="BLOGGER_PHOTO_ID_5466976375914499778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;We use the Text property for the Order No Field. We will use the GetRoProperty method to get the text value and assign it to a variable which is an implicit declaration.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To the above script we will add a wait time of 8 second since the order has to be placed and the order number has to be generated. For this we will use the Wait function which waits for the seconds we mention.&lt;/div&gt;&lt;br /&gt;The lines to be added are&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Wait&lt;/span&gt; 8&lt;br /&gt;Ord_Num = Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Order No"&lt;/span&gt;).GetRoProperty(&lt;span style="color: rgb(102, 0, 0);"&gt;"text"&lt;/span&gt;)&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Msgbox&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"The Order Number is: "&lt;/span&gt; &amp;amp;Ord_Num&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;Run the script and see how the order number is printed.&lt;br /&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;21&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;22&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-spy-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;23&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/interview-questions-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;24&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/low-level-recording-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;25&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/how-to-invoke-application-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;26&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;27&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-to-perform_03.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;28&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/checkpoints-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;29&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/standard-checkpoint-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;30&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/write-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-9171028965888103038?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/9171028965888103038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/9171028965888103038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/9171028965888103038'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html' title='GetROProperty in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_iigq5ggPtFw/S96aDHHWDsI/AAAAAAAAAG4/oVmJJuEDMiY/s72-c/Get+ro+property.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-5377248461684648799</id><published>2010-05-03T14:54:00.000+05:30</published><updated>2010-05-04T17:21:37.689+05:30</updated><title type='text'>Test Result Details in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;When you play a script after recording you will be displayed a Test Result. From the Test Result we can know different parameters and also based on some settings for Run you can enhance your test result which can be handy for easy debugging. In order to enhance the test results please change the run settings as follows.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Run Settings in QTP 9.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You can open the Run settings window by Going to Tools, Options and Clicking Run in the Options Window.&lt;/div&gt;&lt;br /&gt;You will see the window like this.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/S9_qx6GZdBI/AAAAAAAAAII/8vQ0orusj54/s1600/run+settings.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 289px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/S9_qx6GZdBI/AAAAAAAAAII/8vQ0orusj54/s320/run+settings.JPG" alt="" id="BLOGGER_PHOTO_ID_5467346615781651474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In the Run Mode frame you have two run modes Normal and Fast. To use the Normal  Mode you need to install Microsoft Debugger to record movie in Normal Mode&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;We will find four Check boxes. They are&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. View results when run session ends.&lt;br /&gt;&lt;br /&gt;2. Allow other mercury products to run tests and components.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;3. Save Still images capture to Result. This has a combo list box with options Always, For Errors and For Errors and Warnings.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;4. Save Movie to results. This is a Combo Box with options Always,  For Errors and For Errors and Warnings.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/getroproperty-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-5377248461684648799?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/5377248461684648799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5377248461684648799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5377248461684648799'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html' title='Test Result Details in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_iigq5ggPtFw/S9_qx6GZdBI/AAAAAAAAAII/8vQ0orusj54/s72-c/run+settings.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-2759797486384574289</id><published>2010-05-03T14:39:00.000+05:30</published><updated>2010-05-04T15:03:42.018+05:30</updated><title type='text'>Writing the first script in QTP 9.2 using Flight Reservation Application</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Now as we are familiar with adding objects to the Local in Object Repository and also &lt;b&gt;Object Identification&lt;/b&gt; Let use write a script in QTP 9.2 for inserting an order in &lt;b&gt;Flight Reservation Application in QTP&lt;/b&gt;&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 1:&lt;/span&gt; Understand the functionality of the Flight Reservation Application for inserting an Order. What objects are needed to be learnt?&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2:&lt;/span&gt; Open Object Repository.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 3:&lt;/span&gt; Populate the Object Repository with the necessary Test Objects i.e to learn all the required Objects in to the Object Repository.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 4:&lt;/span&gt; The Test Objects to be learned are New button, Date of Flight, Fly From, Fly To, Flight Button, OK button in the Flight Table Dialog Box, Name Text Box and Insert Order Button.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Once all these objects are learned into the Object Repository Start writing the script. QTP supports loading of the parameters, just type the function name like Window and press Shift + 9 the object will be completed.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"New"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Type&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"121212"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Frankfurt"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Los Angeles"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"FLIGHT"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"TestUser"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Insert Order"&lt;/span&gt;).Click&lt;/span&gt;&lt;br /&gt;&lt;/h5&gt;&lt;br /&gt;We save the script as "Sen Insert Order"&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now run the script a new order is inserted and your test result will be displayed as passed.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When you run the script by clicking the Run icon or you can just press F5 Function Key then the Run Window will be opened where you can select the location of the result to be stored.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In the Test Results summary if you Right Click the Test Con Sen Insert Order Summary and select Expand all. The tree view of the objects is displayed and selecting each object you will see the result in detail.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iigq5ggPtFw/S96V1wxwAoI/AAAAAAAAAGo/XEkkIMvFV0M/s1600/test+result.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 455px; height: 276px;" src="http://4.bp.blogspot.com/_iigq5ggPtFw/S96V1wxwAoI/AAAAAAAAAGo/XEkkIMvFV0M/s400/test+result.JPG" alt="" id="BLOGGER_PHOTO_ID_5466971748533535362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-2759797486384574289?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/2759797486384574289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/2759797486384574289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/2759797486384574289'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html' title='Writing the first script in QTP 9.2 using Flight Reservation Application'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_iigq5ggPtFw/S96V1wxwAoI/AAAAAAAAAGo/XEkkIMvFV0M/s72-c/test+result.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-5781187837462998546</id><published>2010-05-03T14:33:00.000+05:30</published><updated>2010-05-04T15:27:08.942+05:30</updated><title type='text'>Object Identification in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;When a QTP Test is run, QTP checks for Logical name and the control checks in the object repository for Test Object and corresponding Properties of the test object and based on these details QTP checks for the run time object in the AUT and performs the actions associated with the run time object.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Note: The logical name in the script and the name of the test object in the Object Repository should be the same. These are steps performed to identify an Object.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S96SmyH185I/AAAAAAAAAGY/A4QzVm1NcOs/s1600/object+repository.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 508px; height: 316px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S96SmyH185I/AAAAAAAAAGY/A4QzVm1NcOs/s400/object+repository.jpg" alt="" id="BLOGGER_PHOTO_ID_5466968192661713810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 1:&lt;/span&gt; During a run session, QTP encounters a line of Code, picks the Logical name from the Script.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 2:&lt;/span&gt; The control goes to the Object Repository, Quick Test searched for a test object with the logical name.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 3:&lt;/span&gt; Once the Test Object is found, Quick Test picks the properties of the object listed in the Test Object Details section of the Object Repository (OR).&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Step 4:&lt;/span&gt; The control goes to the AUT, makes use of these properties to uniquely identify a Run Time Object.&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 5:&lt;/span&gt; Once the Object Identification is completed, Quick Test executes the specified method on the Object.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Repeats all the steps till all the lines of code is executed.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Note: It is always good to have User Friendly Logical names for Test Object in the Local Repository. For Example &lt;b&gt;WinButton("Button").Click&lt;/b&gt; to open a New Page can be written as &lt;b&gt;WinButton("New").Click&lt;/b&gt; which is user friendly.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To change the Name of the Object if you change in the Script it would not make the changes in the Object Repository but if you select the Test Object in the Object Repository and change the Object name in the properties window then it would be replicated in the Script.&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-5781187837462998546?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/5781187837462998546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5781187837462998546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5781187837462998546'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html' title='Object Identification in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_iigq5ggPtFw/S96SmyH185I/AAAAAAAAAGY/A4QzVm1NcOs/s72-c/object+repository.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-8897674285462621032</id><published>2010-05-03T14:23:00.000+05:30</published><updated>2010-05-04T15:26:09.674+05:30</updated><title type='text'>Object Repository in QTP 9.2 Shortcuts for HP QTP Certifications</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;1. To open Object repository in QTP 9.2 Go to Menu – Resources and Click Object Repository.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;2. You can use the keyboard shortcut key to open Object Repository is Ctrl + R.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;3. To &lt;b&gt;add an object to the Local&lt;/b&gt; go to Object and Click Add Object to the Local or click the icon in the Object Repository window.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;4. To &lt;b&gt;highlight a runtime object in the application&lt;/b&gt; select the test object in the Object repository and click View – Highlight in Application menu item or in the tool bar click the “High Light in Application” icon.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;5. To &lt;b&gt;Locate in repository&lt;/b&gt; Select the Run Time object in the application and click the “Locate in Repository” button or select Locate in repository from View Menu.&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-8897674285462621032?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/8897674285462621032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8897674285462621032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/8897674285462621032'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html' title='Object Repository in QTP 9.2 Shortcuts for HP QTP Certifications'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-7945774786773667490</id><published>2010-04-30T17:21:00.000+05:30</published><updated>2010-05-04T15:25:16.874+05:30</updated><title type='text'>Add Object to Local in Object Repository of QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Before starting your script it is better to under stand the test Objects and good to add then to the Local in the Object Repository of QTP 9.2 so that it will be easy for Quick test to identify the actual run time Objects.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Follow these steps to Add an Object to the Local&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;1. To add a Test Object to the Object Repository open the Object Repository either from Resource then Object repository or Click Ctrl + R. the object Repository window is open and it will be blank because we are creating a new script.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/S9rEiBPucKI/AAAAAAAAAF4/_SNYUJRzatY/s1600/Object+Repository+window.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 252px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/S9rEiBPucKI/AAAAAAAAAF4/_SNYUJRzatY/s320/Object+Repository+window.jpg" alt="" id="BLOGGER_PHOTO_ID_5465897186496508066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt; 2. Now Click the “Add objects to Local” icon in the tool bar or you can select from  Objects menu and click Add object to local menu item.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/S9rErG9qxqI/AAAAAAAAAGA/OJDjKWCOx88/s1600/Object+Repository+window1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 253px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/S9rErG9qxqI/AAAAAAAAAGA/OJDjKWCOx88/s320/Object+Repository+window1.jpg" alt="" id="BLOGGER_PHOTO_ID_5465897342650205858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;3. When you click the icon a finger point is displayed and select the object you want from the application by clicking on it.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;4. Now Object Selection – Add to the repository window will open and the Object Selected will be highlighted. Click OK button.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iigq5ggPtFw/S9rE3KhzFmI/AAAAAAAAAGI/Df9fj7XR1Ds/s1600/Object+Repository+window2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 216px;" src="http://4.bp.blogspot.com/_iigq5ggPtFw/S9rE3KhzFmI/AAAAAAAAAGI/Df9fj7XR1Ds/s320/Object+Repository+window2.jpg" alt="" id="BLOGGER_PHOTO_ID_5465897549765482082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;5. This Test object will be added to the Object Repository Tree View and is highlighted with the properties displayed to the right.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/S9rFCGDWqrI/AAAAAAAAAGQ/1upqkrGvrUo/s1600/Object+Repository+window3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 250px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/S9rFCGDWqrI/AAAAAAAAAGQ/1upqkrGvrUo/s320/Object+Repository+window3.jpg" alt="" id="BLOGGER_PHOTO_ID_5465897737542609586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-7945774786773667490?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/7945774786773667490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7945774786773667490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7945774786773667490'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html' title='Add Object to Local in Object Repository of QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_iigq5ggPtFw/S9rEiBPucKI/AAAAAAAAAF4/_SNYUJRzatY/s72-c/Object+Repository+window.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-5178490399768986135</id><published>2010-04-30T17:14:00.000+05:30</published><updated>2010-05-04T15:24:21.811+05:30</updated><title type='text'>Object Repository in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Before looking at Object Repository we need to understand some thing about objects in QTP 9.2. Objects in QTP are of two types and when we speak in terms of QTP we will not make the term objects generic instead we will speak in terms of Test Objects and Run Time Objects in Quick test Professional.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h2&gt;Objects in QTP are divided into Two Types they are&lt;/h2&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;1. Test Objects.&lt;br /&gt;2. Run time Objects.&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Test Objects are the QTP defined objects that are used to interact with Run Time Objects. Test Objects information is stored in the Object Repository.&lt;/div&gt;&lt;br /&gt;Run Time Object is the actual object in the Application Under Test.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;What is Object Repository in QTP 9.2?&lt;/h2&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Object repository is the storage space for Objects. In Object repository Test Object information is stored. In order to open Object Repository Select resources from File Menu and select Object Repository. Shortcut is Press Ctrl + R&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Note: Every time a new test is opened Object repository is blank by default and Application Under Test needs to learn Objects in Local i.e. We need to add Test Objects to the Object Repository. Also we cannot use Object repository of a different test.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In order to understand how Test Objects are stored in Object Repository let us generate a test script without recording. The Pre Requisites for generating the script are&lt;/div&gt;&lt;br /&gt;&lt;h5&gt;&lt;span style="font-weight: normal; color: rgb(102, 0, 0);font-size:100%;" &gt;1. Understand the functionality of the AUT.&lt;br /&gt;2. Populate the object repository with necessary test objects.&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: normal; color: rgb(102, 0, 0);font-size:100%;" &gt;3. Learn all the Objects into Object repository i.e. create Objects in the repository and use these objects to create the scr&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0); font-weight: normal;font-size:100%;" &gt;ipt&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);font-size:100%;" &gt;&lt;span style="font-weight: normal;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Before looking at adding the objects in the repository let use look at the terms Logical Name and Test Object Details or Properties.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iigq5ggPtFw/S9rDTunqgSI/AAAAAAAAAFw/Q2b7ia_pAvw/s1600/object+repository.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 536px; height: 331px;" src="http://1.bp.blogspot.com/_iigq5ggPtFw/S9rDTunqgSI/AAAAAAAAAFw/Q2b7ia_pAvw/s400/object+repository.jpg" alt="" id="BLOGGER_PHOTO_ID_5465895841466843426" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The Object repository mainly consists of two sections 1. Logical Name, 2. Test Object Details (Physical Description).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Logical Name:&lt;/span&gt; A name given to the test Objects.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Test Object Details: &lt;/span&gt;Some properties of the test object are loaded in the physical description part of the object repository. These properties will be used to identify a run time object during test execution.&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-5178490399768986135?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/5178490399768986135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5178490399768986135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/5178490399768986135'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html' title='Object Repository in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_iigq5ggPtFw/S9rDTunqgSI/AAAAAAAAAFw/Q2b7ia_pAvw/s72-c/object+repository.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-6352238641331137013</id><published>2010-04-30T16:44:00.000+05:30</published><updated>2010-05-04T15:23:17.365+05:30</updated><title type='text'>Objects in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We know that Object is an instance of a class and each object has properties and methods. Like wise in QTP 9.2 when we talk of Objects we need to know about something called Object Repository in QTP.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Each object in QTP is identified with its properties and all the objects are stored in a place called Object Repository. Object Repository is the storage space for Objects. Objects information is stored in the Object Repository.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Standard Windows Environment Classes or Objects are&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;1. WinButton&lt;br /&gt;2. WinComboBox&lt;br /&gt;3. WinEdit&lt;br /&gt;4. WinRadioButton&lt;br /&gt;5. WinCheckButton&lt;br /&gt;6. Window&lt;br /&gt;7. Dialog&lt;br /&gt;8. WinMenu&lt;br /&gt;9. WinList&lt;br /&gt;10. WinObject&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Apart from WinObject all other objects are standard objects which are predefined by Microsoft. We cannot change the properties of these objects. These are defined in QTP library. WinObject is a user defined Object and you can have control over it.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Like wise we have different Objects for the different environments that QTP supports. If we want to run any of the application we need to first create those objects in the Object Repository so that QTP 9.2 can identify.&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-6352238641331137013?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/6352238641331137013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6352238641331137013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/6352238641331137013'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html' title='Objects in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-7014348776184755317</id><published>2010-04-30T15:34:00.000+05:30</published><updated>2010-05-04T15:22:23.279+05:30</updated><title type='text'>Add in Manager in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h2&gt;Default Add in Environments for QTP 9.2&lt;/h2&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;When ever you purchase a License for QTP 9.2 there are three default license are given for these three Add ins which you can see by default in the add in manager. They are&lt;/h1&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;1. Active X Environment.&lt;br /&gt;2. Visual Basic Environment.&lt;br /&gt;3. Web Environment.&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you select any of the add in environment then in the Object repository (will discuss later about this) all the objects of this environment will be loaded so that while recording a script and running it the Test Objects will recognize the Run Time objects (will discuss later about Objects).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There are other types of Add in Environments or platforms which QTP supports but these add ins Licenses have to be purchased in addition to the QTP 9.2 License. The cost depends on the type of License you purchase.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h2&gt;List of Paid Add ins for QTP 9.2&lt;/h2&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;1. Java/J2EE Environment.&lt;br /&gt;2. .NET Web Forms Environment&lt;br /&gt;3.  Delphi Environment&lt;br /&gt;4. .NET Windows Forms Environment.&lt;br /&gt;5. SAP Environment.&lt;br /&gt;6. Siebel Environment.&lt;br /&gt;7. People Soft Environment.&lt;br /&gt;8. Oracle Forms Environment.&lt;br /&gt;9. Web Servers Environment.&lt;br /&gt;10. TE (Terminal Emulator) Environment.&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;Out of the above Add ins Oracle Forms and Web Servers Environments are very costly.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;IF none of the add ins are checked in the Add in Manager of QTP then Standard Windows Environment will be loaded by default.&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-7014348776184755317?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/7014348776184755317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7014348776184755317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/7014348776184755317'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html' title='Add in Manager in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-1784074750916484686</id><published>2010-04-30T15:33:00.000+05:30</published><updated>2010-05-04T15:20:51.446+05:30</updated><title type='text'>Licenses for QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;QTP 9.2 comes with two types of Licenses. Licenses for QTP 9.2 gives the user different privileges and has different control over the Tool. The cost of QTP 9.2 varies based on the types of Licenses. HP gives Licenses in the form of Keys or serial numbers to QTP 9.2. Once you buy the tool along with QTP 9.2 the key is delivered.&lt;/div&gt;&lt;/h1&gt;&lt;h2.types of="" licenses="" for="" qtp="" 2=""&gt;&lt;br /&gt;1. &lt;span style="font-weight: bold;"&gt;Trail Version&lt;/span&gt; which can be run for 14 days from the date of Installation.&lt;br /&gt;&lt;br /&gt;2. &lt;span style="font-weight: bold;"&gt;Seat License&lt;/span&gt; which is a stand alone type for a single machine.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;3. &lt;span style="font-weight: bold;"&gt;Concurrent License&lt;/span&gt; – This license is a bulk license for bigger organizations where they can buy licenses say for 100 machines which means that QTP is installed in the server and 100 client machines can be hooked up to the server and can use QTP. If 101 client machine tries to run QTP then it will throw a message that “All Licenses are in Use” so you need to close the QTP in any other client machine and you can work in QTP in your machine. In general it can be said that at a time only 100 machines can run QTP because the License is for 100 Machines in this example.&lt;br /&gt;&lt;/div&gt;&lt;/h2.types&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-1784074750916484686?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/1784074750916484686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1784074750916484686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1784074750916484686'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html' title='Licenses for QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-1636136644626795074</id><published>2010-04-30T15:30:00.000+05:30</published><updated>2010-05-04T15:18:43.610+05:30</updated><title type='text'>Recording in QTP 9.2 using Analog Recording Mode</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;Now we will look at another type of recording which is called Analog Recording Mode which we generally not use but we need to know what Analog Recording in QTP does. Generally this type of recording mode is used to capture screen or window coordinates and this can be useful for graphic applications or gaming applications where click, drag and drop actions are performed.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Though we are concerned of doing testing on Web Application it is good to understand Analog Recording Mode. We will look at how to change the recording modes.&lt;/div&gt;&lt;br /&gt;&lt;h2&gt;How to Change Recording Mode in QTP 9.2&lt;/h2&gt;&lt;br /&gt;1. By default the Recording Mode is set to Context Sensitive Recording Mode.&lt;br /&gt;2. Now click Record Button.&lt;br /&gt;3. From the Menu Click Automation and Select Analog Recording.&lt;br /&gt;4. Now Analog Recording Setting Window is opened. Select any one of the option&lt;br /&gt;a. Recording w.r.t. Screen.&lt;br /&gt;b. Recording w.r.t. Window.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;How to Record in Analog Recording Mode in QTP 9.2&lt;/h2&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Analog Recording Mode captures the Keyboard and Mouse Coordinates while recording. There is no concept of Object Properties and Methods in Analog Recording.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Analog recording is of Two Types&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Recording w.r.t. Screen&lt;br /&gt;2. Recording w.r.t. Specified Window.&lt;br /&gt;&lt;br /&gt;To record anything on the Desktop the recoding being done is w.r.t. Screen.&lt;br /&gt;To record anything on the Application Under Test is w.r.t Specified Window.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;We will record some actions in the Paint Application.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;1. Click Record Button&lt;br /&gt;2. Change the recording Mode as mentioned above.&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;3. You need to open the Paint window. Adjust the window size of the QTP so that Paint window is visible. Better to keep them side by side.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;4. Select the Option to record with window then a hand sign button.&lt;br /&gt;5. Use the hand sign and point it on the Paint Window by clicking in the window.&lt;br /&gt;6. Start the record action by clicking “Start Analog Recording” in the QTP window.&lt;br /&gt;7. Draw some lines in the paint window and click stop button in QTP.&lt;br /&gt;8. Now play back the recorded actions. QTP will replicate the same for you.&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Important Points to Note:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;1. Suppose during play back if you close the paint Window then while play back QTP will throw an error.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;2.    If the Analog recording is set to record w.r.t desktop then QTP does not bother about the specific window to perform the actions.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;3. Let us look at this way. Draw something on the paint and during play back change the paint window location still QTP will play back but will draw it in a different place.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;4. Now close the paint window and run the recorded script. QTP will not throw any error because it is in Desktop mode.&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;11&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;12&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-in-manager-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;13&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/objects-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;14&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/object-repository-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;15&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/add-object-to-local-in-object.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;16&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-repository-in-qtp-92-shortcuts.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;17&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/object-identification-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;18&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/writing-first-script-in-qtp-92-using.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;19&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/05/test-result-details-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;20&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/licenses-for-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-1636136644626795074?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/1636136644626795074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1636136644626795074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1636136644626795074'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html' title='Recording in QTP 9.2 using Analog Recording Mode'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3324098867628759083</id><published>2010-04-30T15:14:00.000+05:30</published><updated>2010-05-03T19:12:47.515+05:30</updated><title type='text'>Recording in QTP 9.2 using Context Sensitive Recording Mode</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/welcome-to-qtp.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;1&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/why-is-automation-testing-needed-what.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-are-goals-of-automation-testing.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-is-puropose-of-automation-tools.html"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;4&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/quick-test-professional-or-qtp-92-basic.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;5&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/first-look-of-quick-test-professional.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;6&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;7&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;8&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;9&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;10&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;We will learn to record in Context Sensitive Recording mode in QTP 9.2 and will use the built in Flight reservation Application which comes along with QTP 9.2 for learning. If we do not select any recording mode then QTP will take Context Sensitive Recording Mode by default.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You should also launch the Flight Reservation Application and enter the User name and Password. The user name for the Flight Reservation Application should be a string having a length more than 4 and the password is mercury. The Flight Reservation window is opened and you are ready to insert an order.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Before doing it let us look at how to record the actions using QTP 9.2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Launch QTP 9.2&lt;br /&gt;&lt;br /&gt;2. Uncheck all the add ins in the Add in Manager window and click OK&lt;br /&gt;&lt;br /&gt;3. Select the blank Recording option in the Next Screen.&lt;br /&gt;&lt;br /&gt;4. The main window to record the script is open.&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;5. Click Record button on the tool bar or you can select Automation in the Menu Bar and click Record Option or you can press F5 key from your keyboard function keys.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;6. Now Record and Run settings window will be opened.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iigq5ggPtFw/S9qnJ3A20BI/AAAAAAAAAFY/8OJ7HFyujYw/s1600/Record+and+run+settings.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 274px; height: 274px;" src="http://2.bp.blogspot.com/_iigq5ggPtFw/S9qnJ3A20BI/AAAAAAAAAFY/8OJ7HFyujYw/s400/Record+and+run+settings.jpg" alt="" id="BLOGGER_PHOTO_ID_5465864885595721746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In this window select the “Record and Run Test on any Windows based Application” Radio Button and click OK button.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;7. In the main screen if you see the recording starts and in the status bar in the bottom of the window you will see the “Recording” message in red Color.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;8. Make the “Flight Application Window” Active.&lt;br /&gt;&lt;br /&gt;9. We will record only valid steps to insert an order in the “Flight Reservation Application”&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/S9qnX_LXseI/AAAAAAAAAFg/R6sEdVdx9mg/s1600/flight-1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 300px; height: 274px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/S9qnX_LXseI/AAAAAAAAAFg/R6sEdVdx9mg/s400/flight-1.jpg" alt="" id="BLOGGER_PHOTO_ID_5465865128305471970" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;10. Click the New Button which is under the File menu and is the extreme left Button. A dialog box opens asking whether to save or not. Click No. Now you can insert a fresh order.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;11. Use only mouse to select different fields. Enter the Date, then Fly From, Fly to. Now the Flight button will get enabled. Click the FLIGHT button and a dialog box will open select the flight and click OK.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;12. Then enter your name and click Insert button. The order is inserted.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;13. Click Stop button or Go to Menu, then Automation and Click Stop Recording or Press F4 Function Key in the keyboard.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;14. In the QTP main window you will look a script like this.&lt;br /&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Activate&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"New"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinObject(&lt;span style="color: rgb(102, 0, 0);"&gt;"Date of Flight:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Type&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);"&gt;"121212"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly From:"&lt;/span&gt;).&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Select&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"London"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinComboBox(&lt;span style="color: rgb(102, 0, 0);"&gt;"Fly To:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Select&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);"&gt; "Paris"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).Dialog(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flights Table"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"OK"&lt;/span&gt;).Click&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinEdit(&lt;span style="color: rgb(102, 0, 0);"&gt;"Name:"&lt;/span&gt;).&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Set&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;"Test User"&lt;/span&gt;&lt;br /&gt;Window(&lt;span style="color: rgb(102, 0, 0);"&gt;"Flight Reservation"&lt;/span&gt;).WinButton(&lt;span style="color: rgb(102, 0, 0);"&gt;"Insert Order"&lt;/span&gt;).Click&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;15. Now Play back the recording by clicking the play button or Go to Menu, then Automation and Click Play or Press F5 Function Key in the keyboard.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;16. QTP will replicate all the actions performed by you and will insert an order.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Note: Each time an order is inserted it makes an entry in the Data base and so the Order Number is incremented by one.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;17. Look at the Key Word View and you can actually see all the steps you performed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iigq5ggPtFw/S9qoqwpPXyI/AAAAAAAAAFo/lsphaPTulag/s1600/keyword+view.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 253px;" src="http://3.bp.blogspot.com/_iigq5ggPtFw/S9qoqwpPXyI/AAAAAAAAAFo/lsphaPTulag/s400/keyword+view.jpg" alt="" id="BLOGGER_PHOTO_ID_5465866550333366050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/welcome-to-qtp.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;1&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/why-is-automation-testing-needed-what.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-are-goals-of-automation-testing.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-is-puropose-of-automation-tools.html"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;4&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/quick-test-professional-or-qtp-92-basic.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;5&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/first-look-of-quick-test-professional.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;6&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;7&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;8&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;9&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;10&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-analog.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3324098867628759083?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3324098867628759083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3324098867628759083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3324098867628759083'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html' title='Recording in QTP 9.2 using Context Sensitive Recording Mode'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_iigq5ggPtFw/S9qnJ3A20BI/AAAAAAAAAFY/8OJ7HFyujYw/s72-c/Record+and+run+settings.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-1552128648647294928</id><published>2010-04-30T15:12:00.000+05:30</published><updated>2010-05-03T19:09:58.374+05:30</updated><title type='text'>Recording Mode in QTP 9.2 – Context Sensitive Recording</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/welcome-to-qtp.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;1&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/why-is-automation-testing-needed-what.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-are-goals-of-automation-testing.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-is-puropose-of-automation-tools.html"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;4&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/quick-test-professional-or-qtp-92-basic.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;5&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/first-look-of-quick-test-professional.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;6&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;7&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;8&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;9&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;10&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;The recording mode by default in QTP 9.2 is set to Context Sensitive Recording Mode. As and when the record button is clicked without selecting any record mode it will go to this mode.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Context Sensitive Recording mode treats everything in the Application under Test (AUT) as an object. The properties will be used to identify the Object and the Methods will be used to perform an action on that Object.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;For every action we perform on the Application Under Test Quick Test (QTP) generates a line of Code. The location of the object in the AUT is not traced which means that since Context Sensitive Recording treats every thing in the AUT as objects it does not matter if the objects are moved to a different location on the screen while playback since in this recording mode it identifies the object based on the properties if they are same while play back. If the properties of the objects are changed during play back then QTP will not identify the object and throws an error “Object not found”.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Note: Till we are familiar with the QTP tool while recording it is better to use the mouse than Tab and also avoid unnecessary steps in the recording phase.&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/welcome-to-qtp.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;1&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/why-is-automation-testing-needed-what.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-are-goals-of-automation-testing.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-is-puropose-of-automation-tools.html"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;4&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/quick-test-professional-or-qtp-92-basic.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;5&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/first-look-of-quick-test-professional.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;6&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;7&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;8&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt; &lt;span style="color: rgb(0, 0, 102);"&gt;9&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;10&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-1552128648647294928?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/1552128648647294928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1552128648647294928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1552128648647294928'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html' title='Recording Mode in QTP 9.2 – Context Sensitive Recording'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-1868855731059420965</id><published>2010-04-28T18:52:00.000+05:30</published><updated>2010-05-04T15:38:33.292+05:30</updated><title type='text'>Recording Modes in QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/welcome-to-qtp.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;1&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/why-is-automation-testing-needed-what.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-are-goals-of-automation-testing.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-is-puropose-of-automation-tools.html"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;4&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/quick-test-professional-or-qtp-92-basic.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;5&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/first-look-of-quick-test-professional.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;6&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;7&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;8&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;9&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;10&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;QTP 9.2 allows its user to record and play back test scripts in three recording modes.&lt;br /&gt;&lt;br /&gt;The Three Recording Modes of QTP 9.2 are&lt;br /&gt;&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;1. Context Sensitive Recording&lt;br /&gt;2. Analog Recording&lt;br /&gt;3. Low Level Recording&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;By default when every you start recording a script it records in Context Sensitive Recording Mode. This is also called as Normal recording Mode. All the Scripts will be Context Sensitive Scripts. Most of the time Recording is done using  Context Sensitive Recording.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;Percentage of Recording Modes Used in QTP 9.2&lt;br /&gt;&lt;/h3&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;1. Context Sensitive Recording Mode is used over 95%&lt;br /&gt;2. Analog Recording is less than 4%&lt;br /&gt;3. Low Level recording is around 1%&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Analog Recording Mode captures the keyboard and mouse coordinates while recording which means in this recording mode QTP 9.2 recognizes Click, Drag and Drop actions.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Low Level recording is rarely used and there is no point in discussing it here.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Key Board Shortcut of QTP 9.2 at a Glance&lt;/h3&gt;&lt;br /&gt;&lt;h5 style="font-weight: normal; color: rgb(102, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;1. For Recording  - Press F3&lt;br /&gt;2. For Stopping a Recording Session – Press F4&lt;br /&gt;3. For Playing a Recorded Script – Press F5&lt;/span&gt;&lt;/h5&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/welcome-to-qtp.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;1&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/why-is-automation-testing-needed-what.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-are-goals-of-automation-testing.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-is-puropose-of-automation-tools.html"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;4&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/quick-test-professional-or-qtp-92-basic.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;5&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/first-look-of-quick-test-professional.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;6&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;7&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;8&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;9&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;10&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-1868855731059420965?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/1868855731059420965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1868855731059420965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/1868855731059420965'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html' title='Recording Modes in QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-3423450927705795744</id><published>2010-04-28T18:41:00.000+05:30</published><updated>2010-05-04T15:37:45.113+05:30</updated><title type='text'>Record and playback features of QTP 9.2</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/first-look-of-quick-test-professional.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/welcome-to-qtp.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;1&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/why-is-automation-testing-needed-what.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-are-goals-of-automation-testing.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-is-puropose-of-automation-tools.html"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;4&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/quick-test-professional-or-qtp-92-basic.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;5&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/first-look-of-quick-test-professional.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;6&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;7&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;8&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;9&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;10&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 class="myclass"&gt;&lt;div style="text-align: justify;"&gt;As a beginner of QTP 9.2 it is better to look at the Record and Play Back features of QTP 9.2. It is very simple in Quick Test Professional 9.2 where in as you launch the application and is ready with the test you need to launch the windows application which you want and  would recommend that you launch the “Flight Reservation Application” given as add on with QTP. Click the record button in QTP and perform your operations in the “Flight Reservation Application” and once you finish click the stop button and again click the play button. The application repeats all the actions performed by you and displayed the result.&lt;/div&gt;&lt;/h1&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Let us now look at what recording and Play back is all about. Recording in QTP 9.2 is the process of capturing the actions that are performed on the Application Under Test. We mostly capture expected result during recording and during a playback session we compare the actual results with the expected results. We can report a pass and a fail to the test results while we run the scripts.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;We will now look at the pre requisites for Automation using QTP 9.2 tool&lt;/h3&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;1. First of all understand the functionality of the Application Under Test at an object level. For ex if we take the “Flight Reservation Application” after logging in to the application we have the Reservation Screen in this before writing a script understand what all objects are needed to record and what each object behaves and its properties.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;2. Before recording the script it is better to execute the test case manually until we understand the test flow.&lt;/div&gt;&lt;br /&gt;&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/first-look-of-quick-test-professional.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/welcome-to-qtp.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;1&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/why-is-automation-testing-needed-what.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-are-goals-of-automation-testing.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-is-puropose-of-automation-tools.html"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;4&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/quick-test-professional-or-qtp-92-basic.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;5&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/first-look-of-quick-test-professional.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;6&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;7&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;8&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;9&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;10&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1796507667018600072-3423450927705795744?l=qtp4free.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qtp4free.blogspot.com/feeds/3423450927705795744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3423450927705795744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1796507667018600072/posts/default/3423450927705795744'/><link rel='alternate' type='text/html' href='http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html' title='Record and playback features of QTP 9.2'/><author><name>Kanikaram Kiranpaul</name><uri>http://www.blogger.com/profile/06778345340371108991</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1796507667018600072.post-4075565782594094719</id><published>2010-04-28T18:17:00.000+05:30</published><updated>2010-05-04T15:36:46.163+05:30</updated><title type='text'>First Look of Quick Test Professional 9.2 (QTP 9.2)</title><content type='html'>&lt;table color="black" align="center" border="0" cellpadding="6" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr bgcolor="#99ccff"&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/quick-test-professional-or-qtp-92-basic.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Previous&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/welcome-to-qtp.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;1&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/why-is-automation-testing-needed-what.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-are-goals-of-automation-testing.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/what-is-puropose-of-automation-tools.html"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;4&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/quick-test-professional-or-qtp-92-basic.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;5&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;6&lt;/span&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;7&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-modes-in-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;8&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-mode-in-qtp-92-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;9&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/recording-in-qtp-92-using-context.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;10&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;td style="color: rgb(0, 0, 102);"&gt;&lt;a href="http://qtp4free.blogspot.com/2010/04/record-and-playback-features-of-qtp-92.html"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Next&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;h1 style="text-align: justify;" class="myclass"&gt;If you install a trail version of QTP 9.2 then it will run for 14 days after which you need a license from HP to use the QTP 9.2 other wise it would not work. &lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;1. As soon as you install Quick Test Professional 9.2 you can run the application either from the desktop on which a shortcut of the application is created or you can launch QTP 9.2 by going to Start Menu &lt;span style="font-weight: bold;"&gt;-&gt;&lt;/span&gt; Programs &lt;span style="font-weight: bold;"&gt;-&gt;&lt;/span&gt; Quick Test Professional and click on the menu item.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;2. The window “Add in Manager” is opened. Since we are learning to use QTP 9.2 un check all the addins and click OK button.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="h
