<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9204171026602463054</id><updated>2026-07-24T11:34:29.557+05:30</updated><category term="QTP TUTORIALS"/><category term="QTP"/><category term="QTP TESTING PROCESS"/><category term="QTP Interview Questions"/><category term="What is QTPro? What is Quick Test Pro? What is Quick Test Professional?"/><category term="refference site"/><title type='text'>QTP WORLD</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>39</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-5818850234869841378</id><published>2009-07-29T12:42:00.000+05:30</published><updated>2009-07-29T12:53:51.508+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TESTING PROCESS"/><title type='text'>Introduction</title><content type='html'>&lt;center&gt;&lt;h2 class=&quot;sectionHeading&quot;&gt;Introduction&lt;/h2&gt;&lt;/center&gt; &lt;p class=&quot;text&quot;&gt;Quick Test Professional (QTP) is an automated functional Graphical User Interface (GUI) testing tool that allows the automation of user actions on a web or client based computer application.&lt;br /&gt;&lt;/p&gt;&lt;center&gt; &lt;script type=&quot;text/javascript&quot;&gt;   GA_googleFillSlot(&quot;OneStopTesting-MidBanner&quot;); &lt;/script&gt;&lt;script src=&quot;http://pubads.g.doubleclick.net/gampad/ads?correlator=1248849842839&amp;amp;output=json_html&amp;amp;callback=GA_googleSetAdContentsBySlotForSync&amp;amp;impl=s&amp;amp;prev_afc=3&amp;amp;a2ids=%2C&amp;amp;cids=%2C&amp;amp;client=ca-pub-4686307991865625&amp;amp;slotname=OneStopTesting-MidBanner&amp;amp;page_slots=OneStopTesting-TopBanner%2COneStopTesting-TopBanner-2%2COneStopTesting-MidBanner&amp;amp;cust_params=&amp;amp;cookie=ID%3Dc5ee4df6ea46b96f%3AT%3D1248849776%3AS%3DALNI_Ma6hECn7qHBPVlyoX8lDH7gOmbCZQ&amp;amp;ga_vid=1774009916.1248849779&amp;amp;ga_sid=1248849779&amp;amp;ga_hid=1986954902&amp;amp;ga_fc=true&amp;amp;url=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2F&amp;amp;ref=&amp;amp;lmt=1248849842&amp;amp;dt=1248849844943&amp;amp;cc=24&amp;amp;u_h=900&amp;amp;u_w=1440&amp;amp;u_ah=872&amp;amp;u_aw=1440&amp;amp;u_cd=32&amp;amp;u_tz=330&amp;amp;u_his=2&amp;amp;u_java=true&amp;amp;u_nplug=16&amp;amp;u_nmime=57&amp;amp;flash=9.0.115&quot;&gt;&lt;/script&gt; &lt;/center&gt; &lt;p class=&quot;text&quot;&gt; It is primarily used for functional regression test automation. QTP uses a scripting language built on top of VBScript to specify the test procedure, and to manipulate the objects and controls of the application under test.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contents:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul type=&quot;square&quot;&gt;&lt;li&gt;&lt;a href=&quot;http://ready4qtp.blogspot.com/2009/07/qtp-testing-process.html&quot;&gt;Testing Process&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://ready4qtp.blogspot.com/2009/07/explain-test-object-model-test-object.html&quot; title=&quot;Test Object Model&quot;&gt;Test Object Model&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://ready4qtp.blogspot.com/2009/07/object-repositories-in-qtp-9-quicktest.html&quot; title=&quot;Object Repositories&quot;&gt;Object Repositories&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;   &lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://ready4qtp.blogspot.com/2009/07/checkpoints-in-qtp.html&quot; title=&quot;Checkpoints&quot;&gt;Checkpoints&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://ready4qtp.blogspot.com/2009/07/qtp-quicktest-professional-recording.html&quot; title=&quot;QTP Recording&quot;&gt;QTP Recording&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://ready4qtp.blogspot.com/2009/07/parameterizing-tests-in-qtp-quicktest.html&quot; title=&quot;Parameterizing Tests&quot;&gt;Parameterizing Tests&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://ready4qtp.blogspot.com/2009/07/qtp-quicktest-professional-keyword-view.html&quot; title=&quot;Keyword View&quot;&gt;Keyword View&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://ready4qtp.blogspot.com/2009/07/actions-in-qtp-9-quicktest-professional.html&quot; title=&quot;Actions in QTP&quot;&gt;Actions in QTP&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://ready4qtp.blogspot.com/2009/07/vbscript-in-qtp.html&quot; title=&quot;VBScript in QTP&quot;&gt;VBScript in QTP&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/5818850234869841378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/5818850234869841378' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/5818850234869841378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/5818850234869841378'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2009/07/introduction.html' title='Introduction'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-8003930584489197870</id><published>2009-07-29T12:39:00.000+05:30</published><updated>2009-07-29T12:41:39.970+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TESTING PROCESS"/><title type='text'>QTP Testing Process</title><content type='html'>&lt;p class=&quot;text&quot;&gt;QTP (QuickTest Professional) lets you create tests and business components by recording operations as you perform them in your application.&lt;br /&gt;&lt;/p&gt;&lt;center&gt; &lt;script type=&quot;text/javascript&quot;&gt;   GA_googleFillSlot(&quot;OneStopTesting-MidBanner&quot;); &lt;/script&gt;&lt;script src=&quot;http://pubads.g.doubleclick.net/gampad/ads?correlator=1248849967408&amp;amp;output=json_html&amp;amp;callback=GA_googleSetAdContentsBySlotForSync&amp;amp;impl=s&amp;amp;prev_afc=3&amp;amp;a2ids=%2C&amp;amp;cids=%2C&amp;amp;client=ca-pub-4686307991865625&amp;amp;slotname=OneStopTesting-MidBanner&amp;amp;page_slots=OneStopTesting-TopBanner%2COneStopTesting-TopBanner-2%2COneStopTesting-MidBanner&amp;amp;cust_params=&amp;amp;cookie=ID%3Dc5ee4df6ea46b96f%3AT%3D1248849776%3AS%3DALNI_Ma6hECn7qHBPVlyoX8lDH7gOmbCZQ&amp;amp;ga_vid=1774009916.1248849779&amp;amp;ga_sid=1248849779&amp;amp;ga_hid=43762616&amp;amp;ga_fc=true&amp;amp;url=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2Ftesting-process.asp&amp;amp;ref=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2F&amp;amp;lmt=1248849967&amp;amp;dt=1248849969272&amp;amp;cc=24&amp;amp;u_h=900&amp;amp;u_w=1440&amp;amp;u_ah=872&amp;amp;u_aw=1440&amp;amp;u_cd=32&amp;amp;u_tz=330&amp;amp;u_his=2&amp;amp;u_java=true&amp;amp;u_nplug=16&amp;amp;u_nmime=57&amp;amp;flash=9.0.115&quot;&gt;&lt;/script&gt; &lt;/center&gt; &lt;p class=&quot;text&quot;&gt; Test - A compilation of steps organized into one or more actions, which we can use to verify that our application performs as expected. A test is composed of actions (3 kinds of actions are there in QTP Non-reusable action, Reusable action and External action).&lt;/p&gt;    &lt;p class=&quot;text&quot;&gt;1) &lt;b&gt;First&lt;/b&gt; step is &lt;b&gt;Planning&lt;/b&gt; Before starting to build a test, you should plan it and prepare the required infrastructure. For example, determine the functionality you want to test, short tests that check specific functions of the application or complete site.Decide how you want to organize your object repositories.&lt;/p&gt; &lt;p class=&quot;text&quot;&gt;2)&lt;b&gt;Second&lt;/b&gt; step in QTP is &lt;b&gt;Creating Tests or Components&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;We can create a test or component by&lt;br /&gt;&lt;br /&gt;a) Either recording a session on your application or Web site &lt;br /&gt;&lt;br /&gt;As we navigate through the application or site, QuickTest graphically displays each step we perform as a row in the Keyword   View. The &lt;b&gt;Documentation&lt;/b&gt; column of the Keyword View also displays a description of each step in easy-to-understand sentences. A step is something that causes or makes a change in your site or application, such as clicking a link or image, or submitting a data form.&lt;br /&gt;&lt;br /&gt;OR b) Build an object repository and use these objects to add steps manually in the Keyword View or Expert View. We can then modify your test or component with special testing options and/or with programming statements.&lt;/p&gt;  &lt;p class=&quot;text&quot;&gt;3)&lt;b&gt;Third&lt;/b&gt; step is Inserting checkpoints into your test or component. A checkpoint is a verification point that compares a recent value for a specified property with the expected value for that property. This enables you to identify whether the Web site or application is functioning correctly.&lt;/p&gt; &lt;p class=&quot;text&quot;&gt;4)&lt;b&gt;Fourth&lt;/b&gt; step is&lt;br /&gt;&lt;br /&gt;Broaden the scope of your test or component by replacing fixed values with parameters.&lt;br /&gt;&lt;br /&gt;To check how your application performs the same operations with different data you can parameterize your test or component.&lt;br /&gt;&lt;br /&gt;When you parameterize your test or component, QuickTest substitutes the fixed values in your test or component with parameters&lt;br /&gt;&lt;br /&gt;Each run session that uses a different set of parameterized data is called an iteration.&lt;br /&gt;&lt;br /&gt;We can also use output values to extract data from our test or component. An output value is a value retrieved during the run session and entered into the Data Table  or saved as a variable or a parameter. We can subsequently use this output value as input data in your test or component.&lt;br /&gt;&lt;br /&gt;We can use many functional testing features of QuickTest to improve your test or component and/or add programming statements to achieve more complex testing goals.&lt;/p&gt; &lt;p class=&quot;text&quot;&gt;5)&lt;b&gt;Fifth&lt;/b&gt; step is &lt;b&gt;running the test&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;After creating test or component, we run it.&lt;br /&gt;&lt;br /&gt;Run test or component to check the site or application.&lt;br /&gt;&lt;br /&gt;When we run the test or component, QuickTest connects to your Web site or application and performs each operation in a test or component, checking any text strings, objects, or tables you specified. If we parameterized the test with Data Table parameters, QuickTest repeats the test (or specific actions in your test) for each set of data values we defined.&lt;br /&gt;&lt;br /&gt;Run the test or component to debug it.&lt;br /&gt;&lt;br /&gt;We can control the run session to identify and eliminate defects in the test or component. We can use the&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step Into&lt;/b&gt;,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step Over&lt;/b&gt;,&lt;br /&gt;&lt;br /&gt;And &lt;b&gt;Step Out&lt;/b&gt;commands to run a test or component step by step. We can also set breakpoints to pause the test or component at pre-determined points. We can view the value of variables in the test or component each time it stops at a breakpoint in the Debug Viewer.&lt;/p&gt; &lt;p class=&quot;text&quot;&gt;6)&lt;b&gt;Sixth&lt;/b&gt; step is &lt;b&gt;analyzing the results&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;After we run test or component, we can view the results.&lt;br /&gt;&lt;br /&gt;? View the results in the Results window.&lt;br /&gt;&lt;br /&gt;After running the test or component, we can view the results of the run in the Test Results window. We can view a summary of the results as well as a detailed report.&lt;br /&gt;&lt;br /&gt;? Report defects identified during a run session.&lt;br /&gt;&lt;br /&gt;If Quality Center is installed, we can report the defects fond out to a database. We can instruct QuickTest to automatically report each failed step in the test or component, or we can report them manually from the Test Results window.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/8003930584489197870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/8003930584489197870' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/8003930584489197870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/8003930584489197870'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2009/07/qtp-testing-process.html' title='QTP Testing Process'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-2317604525085438745</id><published>2009-07-29T12:37:00.000+05:30</published><updated>2009-07-29T12:39:18.108+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TESTING PROCESS"/><title type='text'>Explain Test object Model, test object and run-time object ?</title><content type='html'>&lt;center&gt;&lt;h2 class=&quot;sectionHeading&quot;&gt;Explain Test object Model, test object and run-time object ?&lt;/h2&gt;&lt;/center&gt; &lt;p class=&quot;text&quot;&gt;&lt;b&gt;Test object Model&lt;/b&gt; is a set of object types or Classes  QuickTest uses to represents the objects in our application.&lt;br /&gt;&lt;/p&gt;&lt;center&gt; &lt;script type=&quot;text/javascript&quot;&gt;   GA_googleFillSlot(&quot;OneStopTesting-MidBanner&quot;); &lt;/script&gt;&lt;script src=&quot;http://pubads.g.doubleclick.net/gampad/ads?correlator=1248849990453&amp;amp;output=json_html&amp;amp;callback=GA_googleSetAdContentsBySlotForSync&amp;amp;impl=s&amp;amp;prev_afc=3&amp;amp;a2ids=%2C&amp;amp;cids=%2C&amp;amp;client=ca-pub-4686307991865625&amp;amp;slotname=OneStopTesting-MidBanner&amp;amp;page_slots=OneStopTesting-TopBanner%2COneStopTesting-TopBanner-2%2COneStopTesting-MidBanner&amp;amp;cust_params=&amp;amp;cookie=ID%3Dc5ee4df6ea46b96f%3AT%3D1248849776%3AS%3DALNI_Ma6hECn7qHBPVlyoX8lDH7gOmbCZQ&amp;amp;ga_vid=1774009916.1248849779&amp;amp;ga_sid=1248849779&amp;amp;ga_hid=1728366809&amp;amp;ga_fc=true&amp;amp;url=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2Ftest-model-object.asp&amp;amp;ref=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2F&amp;amp;lmt=1248849989&amp;amp;dt=1248849993737&amp;amp;cc=24&amp;amp;u_h=900&amp;amp;u_w=1440&amp;amp;u_ah=872&amp;amp;u_aw=1440&amp;amp;u_cd=32&amp;amp;u_tz=330&amp;amp;u_his=1&amp;amp;u_java=true&amp;amp;u_nplug=16&amp;amp;u_nmime=57&amp;amp;flash=9.0.115&quot;&gt;&lt;/script&gt; &lt;/center&gt; &lt;p class=&quot;text&quot;&gt;&lt;br /&gt;A &lt;b&gt;test object class&lt;/b&gt; comprises of a list of properties that can individually (uniquely) identify objects of that class and a set of appropriate methods that QuickTest can record for it.&lt;br /&gt;&lt;br /&gt;A test object is an object that QuickTest creates in the test to correspond to (represent) the actual object in the application. QuickTest uses the stored information about the object during the run session to identify and check the object.&lt;br /&gt;&lt;br /&gt;A run-time object is the real (actual) object in the application or Web site  which methods are performed during the run session. &lt;/p&gt;   &lt;p class=&quot;text&quot;&gt; &lt;b&gt;Properties and methods of objects:&lt;/b&gt; &lt;/p&gt;&lt;p class=&quot;text&quot;&gt;The property set for each test object is created and maintained by QuickTest. The property set for each run-time object is created and maintained by the object architect (creator) (Microsoft for Internet Explorer objects, Netscape for Netscape objects).&lt;br /&gt;&lt;br /&gt;Similarly, methods of test objects are methods that QuickTest recognizes and records when they are executed (performed) on an object while we are recording, and that QuickTest executes when the test or component runs. Methods of Run-time object are the methods of the object in the application as defined by the object architect (creator). We can access and execute run-time object methods using the Object property.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Some important points to remember about methods and properties :&lt;/b&gt; &lt;ul&gt;&lt;li class=&quot;text&quot;&gt; Each test object method we execute (perform) while recording is recorded as a separate step in the test. When we run the test, QuickTest executes (performs) the recorded test object method on the run-time object. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; Properties of test object are captured from object while recording. QuickTest uses the values of these properties to identify runtime objects in the application during a run session. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; Property values of objects in the application may change .To make the test object property values match the property values of the run-time object, we can modify test object properties manually while designing the test or component or using SetTOProperty statements during a run session. We can also use regular expressions to identify property values. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; We can view or modify the test object property values that are stored with the test or component in the Object Properties or Object Repository dialog box. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; We can view the syntax of the test object methods as well as the run-time methods of any object on our desktop   using the Methods tab of the Object Spy. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; We can retrieve or modify property values of the TEST OBJECT during the run session by adding GetTOProperty and SetTOProperty statements in the Keyword View or Expert View. We can retrieve property values of the RUNTIME OBJECT during the run session by adding GetROProperty statements. &lt;/li&gt;&lt;/ul&gt; &lt;p class=&quot;text&quot;&gt;If the available test object methods or properties for an object are not sufficient or they do not provide the functionality we need, we can access the internal methods and properties of any run-time object using the Object property. We can also use the attribute object property to identify Web objects in the application according to user-defined properties.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/2317604525085438745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/2317604525085438745' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/2317604525085438745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/2317604525085438745'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2009/07/explain-test-object-model-test-object.html' title='Explain Test object Model, test object and run-time object ?'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-1561182231657363839</id><published>2009-07-29T12:34:00.000+05:30</published><updated>2009-07-29T12:37:09.507+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TESTING PROCESS"/><title type='text'>Object Repositories in QTP 9 (QuickTest Professional)</title><content type='html'>&lt;center&gt;&lt;h2 class=&quot;sectionHeading&quot;&gt;Object Repositories in QTP 9 (QuickTest Professional) &lt;/h2&gt;&lt;/center&gt; &lt;p class=&quot;text&quot;&gt;An &lt;b&gt;object&lt;/b&gt; as we know is a graphic user element in an application e.g. a button or a list or an edit box and the special characteristics of an object within the QuickTest are called&lt;br /&gt;&lt;/p&gt;&lt;center&gt; &lt;script type=&quot;text/javascript&quot;&gt;   GA_googleFillSlot(&quot;OneStopTesting-MidBanner&quot;); &lt;/script&gt;&lt;script src=&quot;http://pubads.g.doubleclick.net/gampad/ads?correlator=1248850015901&amp;amp;output=json_html&amp;amp;callback=GA_googleSetAdContentsBySlotForSync&amp;amp;impl=s&amp;amp;prev_afc=3&amp;amp;a2ids=%2C&amp;amp;cids=%2C&amp;amp;client=ca-pub-4686307991865625&amp;amp;slotname=OneStopTesting-MidBanner&amp;amp;page_slots=OneStopTesting-TopBanner%2COneStopTesting-TopBanner-2%2COneStopTesting-MidBanner&amp;amp;cust_params=&amp;amp;cookie=ID%3Dc5ee4df6ea46b96f%3AT%3D1248849776%3AS%3DALNI_Ma6hECn7qHBPVlyoX8lDH7gOmbCZQ&amp;amp;ga_vid=1774009916.1248849779&amp;amp;ga_sid=1248849779&amp;amp;ga_hid=296218725&amp;amp;ga_fc=true&amp;amp;url=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2Fobject-repositories.asp&amp;amp;ref=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2F&amp;amp;lmt=1248850015&amp;amp;dt=1248850019930&amp;amp;cc=24&amp;amp;u_h=900&amp;amp;u_w=1440&amp;amp;u_ah=872&amp;amp;u_aw=1440&amp;amp;u_cd=32&amp;amp;u_tz=330&amp;amp;u_his=1&amp;amp;u_java=true&amp;amp;u_nplug=16&amp;amp;u_nmime=57&amp;amp;flash=9.0.115&quot;&gt;&lt;/script&gt; &lt;/center&gt; &lt;p class=&quot;text&quot;&gt; &lt;b&gt;object properties&lt;/b&gt;. QTP stores the recorded object properties in &lt;b&gt;Object Repository&lt;/b&gt;.&lt;/p&gt; &lt;p class=&quot;text&quot;&gt; &lt;b&gt;Object Repositories&lt;/b&gt;are of two types &lt;b&gt;Local and shared.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;text&quot;&gt;If objects are stored in a &lt;b&gt;Local Object Repository&lt;/b&gt; then these are available to specific actions but not to all the actions. But if these objects are stored in one or more &lt;b&gt;Shared Object Repositories&lt;/b&gt; then multiple actions or tests can use them.&lt;br /&gt;&lt;br /&gt;By default QTP makes and uses &lt;b&gt;Local Object Repository&lt;/b&gt;. If we create a new blank test and do a recording on it, QTP automatically creates a &lt;b&gt;Local Object Repository&lt;/b&gt; for that test or action and stores the information about any object it finds in that corresponding &lt;b&gt;Object Repository&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;In QTP 9 we can associate multiple &lt;b&gt;Shared Object Repositories&lt;/b&gt; with an action. If multiple &lt;b&gt;Shared Object Repositories&lt;/b&gt; are associated with an action then also while recording QTP stores objects in corresponding &lt;b&gt;Local Object Repository&lt;/b&gt; on the condition that those objects are not already stored in any corresponding associated &lt;b&gt;Shared Object Repositories&lt;/b&gt;. This is the default that every time we create a new action QTP creates a new corresponding Local Object Repository. It is also true that Object Repositories are associated with actions and no matter how many times we learn or record on the same object in our application in different actions the object will be stored as separate test object in each of the &lt;b&gt;Local Object Repository&lt;/b&gt;. &lt;b&gt;Local Object Repository&lt;/b&gt; is automatically saved with the test when we save it. The extension of the &lt;b&gt;Local Object Repository&lt;/b&gt; is .mtr, but it is not accessible as a separate file as in case of the Shared Object Repository.&lt;br /&gt;&lt;br /&gt;We can also manipulate some aspects of &lt;b&gt;Local Object Repository&lt;/b&gt; using Quick test &lt;b&gt;Object Repository Automation Object Model&lt;/b&gt;. For example we can add, remove, rename test objects in &lt;b&gt;Local Object Repository&lt;/b&gt;. (QuickTest Object Repository Automation documents  the &lt;b&gt;Object Repository&lt;/b&gt; automation object model that enables you to manipulate QuickTest object repositories and their contents from outside of QuickTest.)&lt;br /&gt;&lt;br /&gt;When we open a test that was created using a version of QTP earlier that version 9 we are asked whether we want to convert it or view it in read only format. In any case if the test previously used per-action Object Repository, the objects in each per action repository are moved to the &lt;b&gt;Local Object Repository&lt;/b&gt; of each action in the test.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If the test previously used a shared object repository, the same shared object repository is associated with each of the actions in the test, and the local object repository is empty.&lt;br /&gt;&lt;br /&gt;While learning   or recording we can specify Shared Object Repository for the selected action. We can specify and associate one or more &lt;b&gt;Shared Object Repositories&lt;/b&gt; with each action. We can also create new &lt;b&gt;Shared Object Repository&lt;/b&gt; and associate it with our action.&lt;br /&gt;&lt;br /&gt;In case of &lt;b&gt;Shared Object Repository&lt;/b&gt;, QTP uses existing information and does not add objects to the Object Repository if we record operations on an object that already exists either in &lt;b&gt;Shared&lt;/b&gt; or &lt;b&gt;Local Object Repository&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;As said earlier QTP does not add objects directly to the associated &lt;b&gt;Shared Object Repository&lt;/b&gt; as we record, instead it adds new objects in &lt;b&gt;Local Object Repository&lt;/b&gt; (if that object does not already exist in associated Shared Object Repository).&lt;br /&gt;&lt;br /&gt;We can surely export Local objects to &lt;b&gt;Shared Object Repository&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;There are different ways in which we can move objects from &lt;b&gt;Local Object Repository&lt;/b&gt; to &lt;b&gt;Shared Object Repository&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;1) Exporting the objects to the &lt;b&gt;Shared Object Repository&lt;/b&gt; from the &lt;b&gt;Local Object Repository&lt;/b&gt;: In Object Repository window choose the action whose local objects you want to move. Choose File-&gt; Export Local Objects.Select the location in which you want to save the file. Click on save.&lt;br /&gt;&lt;br /&gt;2) We can update the Shared Object Repository with the &lt;b&gt;Local Object Repository&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;f we create a new test it will be created with &lt;b&gt;Local Object Repository&lt;/b&gt;, we can associate any new or old &lt;b&gt;Shared Object Repository&lt;/b&gt; with it, and so we can update that &lt;b&gt;Shared Object Repository&lt;/b&gt; with &lt;b&gt;Local Object Repository&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;In &lt;b&gt;Object Repository Manager&lt;/b&gt; open the Shared Object Repository (clear open in read only check box).&lt;br /&gt;&lt;br /&gt;The test in this case should not be open. In Object Repository Manager go to Tools –&gt; Update From Local Repository. Select the test who&#39;s Local Object Repository you want to use. Click update all. It will move all the objects to the &lt;b&gt;Shared Object Repository&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;3) We can also merge objects from two Object Repositories (called as primary and secondary in QTP 9) into a new single   Object Repository (target Object Repository in QTP 9). The original source files are not changed. It also enables you to merge objects from Local Object Repository of one or more action(s) into a Shared Object Repository. It is recommended to use as a primary Object Repository the file in which you have invested alot of your effort, like which has more number of objects.&lt;br /&gt;&lt;br /&gt;We can compare two &lt;b&gt;Object Repositories&lt;/b&gt; using the &lt;b&gt;Object Repository Comparison Tool&lt;/b&gt;. The tool enables you to identify similarities, variations or changes between two Object Repositories.&lt;br /&gt;&lt;br /&gt;We can also copy objects to &lt;b&gt;Local Object Repository&lt;/b&gt; from the &lt;b&gt;Shared Object Repository&lt;/b&gt;. We can copy, paste and move objects in &lt;b&gt;Local Object Repository&lt;/b&gt; and copy, paste and move objects within Shared Object Repository and between Shared Object Repositories.As said earlier we can also copy objects from shared Object Repository to &lt;b&gt;Local Object Repository&lt;/b&gt; to modify them locally.&lt;br /&gt;&lt;br /&gt;We cannot remove an association between the action and its &lt;b&gt;Local Object Repository&lt;/b&gt;. &lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/1561182231657363839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/1561182231657363839' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/1561182231657363839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/1561182231657363839'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2009/07/object-repositories-in-qtp-9-quicktest.html' title='Object Repositories in QTP 9 (QuickTest Professional)'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-2006742110408655636</id><published>2009-07-29T12:32:00.000+05:30</published><updated>2009-07-29T12:34:50.012+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TESTING PROCESS"/><title type='text'>Checkpoints in QTP</title><content type='html'>&lt;p class=&quot;text&quot;&gt;A &lt;b&gt;checkpoint&lt;/b&gt; enables you to identify whether the Web site  application under test is functioning correctly or not by comparing a current value for a particular property with the expected value for that property. &lt;/p&gt;&lt;center&gt; &lt;script type=&quot;text/javascript&quot;&gt;   GA_googleFillSlot(&quot;OneStopTesting-MidBanner&quot;); &lt;/script&gt;&lt;script src=&quot;http://pubads.g.doubleclick.net/gampad/ads?correlator=1248850033121&amp;amp;output=json_html&amp;amp;callback=GA_googleSetAdContentsBySlotForSync&amp;amp;impl=s&amp;amp;prev_afc=3&amp;amp;a2ids=%2C&amp;amp;cids=%2C&amp;amp;client=ca-pub-4686307991865625&amp;amp;slotname=OneStopTesting-MidBanner&amp;amp;page_slots=OneStopTesting-TopBanner%2COneStopTesting-TopBanner-2%2COneStopTesting-MidBanner&amp;amp;cust_params=&amp;amp;cookie=ID%3Dc5ee4df6ea46b96f%3AT%3D1248849776%3AS%3DALNI_Ma6hECn7qHBPVlyoX8lDH7gOmbCZQ&amp;amp;ga_vid=1774009916.1248849779&amp;amp;ga_sid=1248849779&amp;amp;ga_hid=1586608393&amp;amp;ga_fc=true&amp;amp;url=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2Fcheckpoints.asp&amp;amp;ref=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2F&amp;amp;lmt=1248850031&amp;amp;dt=1248850037593&amp;amp;cc=24&amp;amp;u_h=900&amp;amp;u_w=1440&amp;amp;u_ah=872&amp;amp;u_aw=1440&amp;amp;u_cd=32&amp;amp;u_tz=330&amp;amp;u_his=1&amp;amp;u_java=true&amp;amp;u_nplug=16&amp;amp;u_nmime=57&amp;amp;flash=9.0.115&quot;&gt;&lt;/script&gt; &lt;/center&gt; &lt;p class=&quot;text&quot;&gt; After we add a &lt;b&gt;checkpoint&lt;/b&gt;, QuickTest adds a checkpoint to the current row in the Keyword View and adds a &lt;b&gt;Check CheckPoint&lt;/b&gt; statement in the Expert View.&lt;br /&gt;&lt;br /&gt;By default, the checkpoint name receives the name of the test object on which the checkpoint is being performed. We can change the name of the checkpoint if needed.&lt;/p&gt; &lt;b&gt;Types of Checkpoints: &lt;/b&gt; &lt;ul&gt;&lt;li class=&quot;text&quot;&gt; &lt;b&gt;Standard checkpoint&lt;/b&gt;. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; &lt;b&gt;Image checkpoints&lt;/b&gt;. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; &lt;b&gt;Bitmap Checkpoint&lt;/b&gt;. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; &lt;b&gt;Table checkpoints&lt;/b&gt;. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; &lt;b&gt;Accessibility Checkpoint&lt;/b&gt;. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; &lt;b&gt;Text Checkpoint&lt;/b&gt;. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; &lt;b&gt;Page Checkpoint&lt;/b&gt;. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; &lt;b&gt;Database Checkpoint&lt;/b&gt;. &lt;/li&gt;&lt;li class=&quot;text&quot;&gt; &lt;b&gt;XML checkpoints&lt;/b&gt;. &lt;/li&gt;&lt;/ul&gt; &lt;p class=&quot;text&quot;&gt;Standard checkpoints allow checking the object property values in the Web site or application under test. Standard checkpoints evaluate (compare) the expected values of object properties captured during recording to the object&#39;s current values during a run session. For example we can check that a radio button is activated after it is selected. &lt;b&gt;Standard checkpoints&lt;/b&gt; are supported for all add-in environments.&lt;br /&gt;&lt;br /&gt;Standard checkpoints can be used to perform checks on&lt;br /&gt;&lt;br /&gt;Images,&lt;br /&gt;&lt;br /&gt;Tables,&lt;br /&gt;&lt;br /&gt;Web page properties, and&lt;br /&gt;&lt;br /&gt;Other objects within your application or Web site.&lt;br /&gt;&lt;br /&gt;Standard checkpoints can be created for all supported testing environments (as long as the appropriate add-in(s) are loaded).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Image checkpoints&lt;/b&gt; allow you to check the properties of an image in the application or Web page. For example, you can check that a selected image&#39;s source file is correct or not. An image checkpoint can also be created by inserting a standard checkpoint on an image object. Image checkpoints are supported for the Web add-in environment&lt;br /&gt;&lt;br /&gt;With Bitmap Checkpoint we can check an area of a Web page or application as a bitmap. While creating a test, we have to specify the area to check by selecting an object. An entire object or any area within an object can be checked. &lt;b&gt;Bitmap checkpoints&lt;/b&gt; are supported for all add-in environments&lt;br /&gt;&lt;br /&gt;By adding table checkpoints to the test, we can check the content of tables displayed in the application. For example, we can check that a specified value is displayed in a certain cell. Certain environments also support checking the properties of the table object. For example, a check that a table has the expected number of rows and columns. A &lt;b&gt;table checkpoint&lt;/b&gt; can also be created by inserting a standard checkpoint on a table object.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Accessibility Checkpoint&lt;/b&gt; recognizes areas of your Web site that may not conform to the World Wide Web Consortium (W3C) Web Content Accessibility Guidelines. For example, check if the images on a Web page include ALT properties, required by the W3C Web Content Accessibility Guidelines.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Accessibility checkpoints&lt;/b&gt; are supported for the Web add-in environment&lt;br /&gt;&lt;br /&gt;QuickTest can check that a text string is displayed in the appropriate place in an application or on a Web page with Text Checkpoint. Text checkpoints are supported for the Web add-in environment, plus some Web-based add-in environments&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Page Checkpoint&lt;/b&gt; checks the features of a Web page. For example, you can check how long a Web page takes to load or whether a Web page contains broken links. A &lt;b&gt;page checkpoint&lt;/b&gt; can also be created by inserting a standard checkpoint on page object. Page checkpoints are supported for the Web add-in environment&lt;br /&gt;&lt;br /&gt;The contents of a database accessed by your application can be checked by Database Checkpoint. Database checkpoints are supported for all add-in environments&lt;br /&gt;&lt;br /&gt;By adding XML checkpoints to your test, you can check the contents of individual XML data files or documents  that are part of your Web application. The XML Checkpoint option is supported for all add-in environments. &lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/2006742110408655636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/2006742110408655636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/2006742110408655636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/2006742110408655636'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2009/07/checkpoints-in-qtp.html' title='Checkpoints in QTP'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-9197745748102910830</id><published>2009-07-29T12:29:00.000+05:30</published><updated>2009-07-29T12:32:13.333+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TESTING PROCESS"/><title type='text'>QTP (QuickTest Professional) Recording</title><content type='html'>&lt;p class=&quot;text&quot;&gt;The default mode of recording is the &lt;b&gt;Normal recording mode&lt;/b&gt;. There are other&lt;br /&gt;&lt;br /&gt;recording modes also like&lt;br /&gt;&lt;/p&gt;&lt;center&gt; &lt;script type=&quot;text/javascript&quot;&gt;   GA_googleFillSlot(&quot;OneStopTesting-MidBanner&quot;); &lt;/script&gt;&lt;script src=&quot;http://pubads.g.doubleclick.net/gampad/ads?correlator=1248850035442&amp;amp;output=json_html&amp;amp;callback=GA_googleSetAdContentsBySlotForSync&amp;amp;impl=s&amp;amp;prev_afc=3&amp;amp;a2ids=%2C&amp;amp;cids=%2C&amp;amp;client=ca-pub-4686307991865625&amp;amp;slotname=OneStopTesting-MidBanner&amp;amp;page_slots=OneStopTesting-TopBanner%2COneStopTesting-TopBanner-2%2COneStopTesting-MidBanner&amp;amp;cust_params=&amp;amp;cookie=ID%3Dc5ee4df6ea46b96f%3AT%3D1248849776%3AS%3DALNI_Ma6hECn7qHBPVlyoX8lDH7gOmbCZQ&amp;amp;ga_vid=1774009916.1248849779&amp;amp;ga_sid=1248849779&amp;amp;ga_hid=551998915&amp;amp;ga_fc=true&amp;amp;url=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2Frecording.asp&amp;amp;ref=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2F&amp;amp;lmt=1248850035&amp;amp;dt=1248850042586&amp;amp;cc=24&amp;amp;u_h=900&amp;amp;u_w=1440&amp;amp;u_ah=872&amp;amp;u_aw=1440&amp;amp;u_cd=32&amp;amp;u_tz=330&amp;amp;u_his=1&amp;amp;u_java=true&amp;amp;u_nplug=16&amp;amp;u_nmime=57&amp;amp;flash=9.0.115&quot;&gt;&lt;/script&gt; &lt;/center&gt; &lt;p class=&quot;text&quot;&gt;  &lt;b&gt;Analog Recording&lt;/b&gt; or &lt;b&gt;Low Level Recording&lt;/b&gt;. Normal mode is the default and takes full advantage of the QuickTest test object model, as it recognizes the objects in the application regardless of their location on the screen.  &lt;b&gt;Analog Recording&lt;/b&gt; : Exact mouse and keyboard operations are recorded in relation to either the screen or the application window. In this QTP also records and tracks every movement of the mouse for example, recording a signature produced by dragging the mouse. Analog Recording steps are not editable from within QuickTest.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Low Level Recording&lt;/b&gt; : At any time, if an environment or on an object not recognized by QuickTest, use Low Level Recording. It records at object level and records all run-time objects as Window or WinObject test objects. QuickTest records all parent level objects as Window test objects and all other objects as WinObject test objects.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Each step recorded in &lt;b&gt;Low Level Recording&lt;/b&gt; mode is shown in the Keyword  and Expert View. All the three modes of recording can be used in a single test e.g. we can switch to either &lt;b&gt;Analog Recording&lt;/b&gt; or &lt;b&gt;Low Level Recording&lt;/b&gt; in the middle of a recording session for specific steps and then return to &lt;b&gt;normal recording mode&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Analog Recording&lt;/b&gt; and &lt;b&gt;Low Level Recording&lt;/b&gt; require more disk space than &lt;b&gt;normal recording mode&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Use Analog Recording when&lt;/b&gt; :&lt;br /&gt;&lt;br /&gt;The actual movement of the mouse is what you want to record.&lt;br /&gt;&lt;br /&gt;Recording in Analog mode can be relative to the screen or relative to a specific window&lt;br /&gt;&lt;br /&gt;In &lt;b&gt;Analog Recording&lt;/b&gt; a separate file is saved and stored with the action.&lt;br /&gt;&lt;br /&gt;In &lt;b&gt;Analog Recording&lt;/b&gt; mode, QuickTest adds to your test a RunAnalog statement that calls the recorded analog file.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Use Low Level Recording when&lt;/b&gt; :&lt;br /&gt;&lt;br /&gt;Environments or objects not supported by QuickTest.&lt;br /&gt;&lt;br /&gt;Exact location of the operation on your application screen is necessary. in normal mode QuickTest performs the step on an object even if it has moved to a new location on the screen.&lt;br /&gt;&lt;br /&gt;If the location of the object is important to your test, switch to &lt;b&gt;Low Level Recording&lt;/b&gt;.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/9197745748102910830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/9197745748102910830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/9197745748102910830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/9197745748102910830'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2009/07/qtp-quicktest-professional-recording.html' title='QTP (QuickTest Professional) Recording'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-7537558694390842580</id><published>2009-07-29T12:27:00.000+05:30</published><updated>2009-07-29T12:29:30.953+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TESTING PROCESS"/><title type='text'>Parameterizing Tests in QTP (QuickTest Professional)</title><content type='html'>&lt;p class=&quot;text&quot;&gt;By replacing fixed values with &lt;b&gt;parameters&lt;/b&gt; QuickTest enables you to enlarge the scope of a basic test. It is known as&lt;br /&gt;&lt;/p&gt;&lt;center&gt; &lt;script type=&quot;text/javascript&quot;&gt;   GA_googleFillSlot(&quot;OneStopTesting-MidBanner&quot;); &lt;/script&gt;&lt;script src=&quot;http://pubads.g.doubleclick.net/gampad/ads?correlator=1248850038444&amp;amp;output=json_html&amp;amp;callback=GA_googleSetAdContentsBySlotForSync&amp;amp;impl=s&amp;amp;prev_afc=3&amp;amp;a2ids=%2C&amp;amp;cids=%2C&amp;amp;client=ca-pub-4686307991865625&amp;amp;slotname=OneStopTesting-MidBanner&amp;amp;page_slots=OneStopTesting-TopBanner%2COneStopTesting-TopBanner-2%2COneStopTesting-MidBanner&amp;amp;cust_params=&amp;amp;cookie=ID%3Dc5ee4df6ea46b96f%3AT%3D1248849776%3AS%3DALNI_Ma6hECn7qHBPVlyoX8lDH7gOmbCZQ&amp;amp;ga_vid=1774009916.1248849779&amp;amp;ga_sid=1248849779&amp;amp;ga_hid=1487710566&amp;amp;ga_fc=true&amp;amp;url=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2Fparameterizing-tests.asp&amp;amp;ref=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2F&amp;amp;lmt=1248850037&amp;amp;dt=1248850044463&amp;amp;cc=24&amp;amp;u_h=900&amp;amp;u_w=1440&amp;amp;u_ah=872&amp;amp;u_aw=1440&amp;amp;u_cd=32&amp;amp;u_tz=330&amp;amp;u_his=1&amp;amp;u_java=true&amp;amp;u_nplug=16&amp;amp;u_nmime=57&amp;amp;flash=9.0.115&quot;&gt;&lt;/script&gt; &lt;/center&gt; &lt;p class=&quot;text&quot;&gt; &lt;b&gt;parameterization&lt;/b&gt;, greatly increases the power and flexibility of a test. A parameter is a variable that is assigned a value from an external data source or generator. Values in steps and checkpoints and also the values of action parameters can be &lt;b&gt;parameterize&lt;/b&gt;.  &lt;b&gt;Parameters&lt;/b&gt; let us check how the application performs the same operations with multiple sets of data.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;There are four types of parameters:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Test/action parameters: Test parameters&lt;/b&gt; make possible for us to use values passed from the test. Action parameters enable us to pass values from other actions in your test. To use a value within a specific action, the value must be passed down through the action hierarchy of the test to the required action. We can then use that parameter value to parameterize a step in the test. For example, suppose that we want to parameterize a step in Action3 using a value that is passed into the test from the external application that runs (calls) the test. We can pass the value from the test level to Action1 (atop-level action) to Action3 (a nested action of Action1), and then parameterize the required step using this action input parameter value (that was passed through from the external application). Alternatively, we can pass an output action parameter value from an action step to a later sibling  action at the same hierarchical level. For example, suppose that Action2, Action3, and Action4 are sibling actions at the same hierarchical level, and that these are all nested actions of Action1. We can parameterize a call to Action4 based on an output value retrieved from Action2 or Action3. We can then use these parameters in the action step.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Data Table parameters&lt;/b&gt; allow us to create a data-driven test (or action) that runs several times using the data that we supply. In each repetition, or iteration, QuickTest uses a different value from the Data Table.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Environment variable parameters&lt;/b&gt; allow us to use variable values from other sources during the run session. These may be values that we supply, or values that QuickTest generates for us based on conditions and options we choose.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Random number parameters&lt;/b&gt; enable us to insert random numbers as values in your test.&lt;br /&gt;&lt;br /&gt;Values in steps and checkpoints can be parameterized while recording or editing the test.&lt;br /&gt;&lt;br /&gt;The values of object properties can be parameterized for a selected step.&lt;br /&gt;&lt;br /&gt;The values of the operation (method or function arguments) defined for the step can also be parameterized.&lt;br /&gt;&lt;br /&gt;When the value of an object property for a local object is parameterized, we are amending the test object description in the local object repository. Therefore, all occurrences of the specified object within the action are parameterized.&lt;br /&gt;&lt;br /&gt;Parameterizing the value of a checkpoint property enables us to check how an application or Web site  the same operation based on different data.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/7537558694390842580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/7537558694390842580' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/7537558694390842580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/7537558694390842580'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2009/07/parameterizing-tests-in-qtp-quicktest.html' title='Parameterizing Tests in QTP (QuickTest Professional)'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-2300467096948693151</id><published>2009-07-29T12:25:00.000+05:30</published><updated>2009-07-29T12:27:11.881+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TESTING PROCESS"/><title type='text'>QTP (QuickTest Professional) keyword view</title><content type='html'>&lt;center&gt;&lt;h2 class=&quot;sectionHeading&quot;&gt;QTP (QuickTest Professional) keyword view&lt;/h2&gt;&lt;/center&gt; &lt;p class=&quot;text&quot;&gt;In &lt;b&gt;QTP (QuickTest Professional)&lt;/b&gt; we first of all record a test, then run a test and then analyze the results, but before running the test we can also enhance it with checkpoints and parameters.&lt;br /&gt;&lt;/p&gt;&lt;center&gt; &lt;script type=&quot;text/javascript&quot;&gt;   GA_googleFillSlot(&quot;OneStopTesting-MidBanner&quot;); &lt;/script&gt;&lt;script src=&quot;http://pubads.g.doubleclick.net/gampad/ads?correlator=1248850039601&amp;amp;output=json_html&amp;amp;callback=GA_googleSetAdContentsBySlotForSync&amp;amp;impl=s&amp;amp;prev_afc=3&amp;amp;a2ids=%2C&amp;amp;cids=%2C&amp;amp;client=ca-pub-4686307991865625&amp;amp;slotname=OneStopTesting-MidBanner&amp;amp;page_slots=OneStopTesting-TopBanner%2COneStopTesting-TopBanner-2%2COneStopTesting-MidBanner&amp;amp;cust_params=&amp;amp;cookie=ID%3Dc5ee4df6ea46b96f%3AT%3D1248849776%3AS%3DALNI_Ma6hECn7qHBPVlyoX8lDH7gOmbCZQ&amp;amp;ga_vid=1774009916.1248849779&amp;amp;ga_sid=1248849779&amp;amp;ga_hid=132652101&amp;amp;ga_fc=true&amp;amp;url=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2Fkeyword-view.asp&amp;amp;ref=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2F&amp;amp;lmt=1248850039&amp;amp;dt=1248850056075&amp;amp;cc=24&amp;amp;u_h=900&amp;amp;u_w=1440&amp;amp;u_ah=872&amp;amp;u_aw=1440&amp;amp;u_cd=32&amp;amp;u_tz=330&amp;amp;u_his=1&amp;amp;u_java=true&amp;amp;u_nplug=16&amp;amp;u_nmime=57&amp;amp;flash=9.0.115&quot;&gt;&lt;/script&gt; &lt;/center&gt; &lt;p class=&quot;text&quot;&gt; First of all let&#39;s talk a little about &lt;b&gt;keyword view&lt;/b&gt; in &lt;b&gt;QTP&lt;/b&gt; and then we will talk about recording in &lt;b&gt;QTP&lt;/b&gt; and then we will move on to other things.  After recording all the operations, QuickTest displays them as steps in the &lt;b&gt;Keyword View&lt;/b&gt;, and generates them in a script (in an Expert View).&lt;br /&gt;&lt;br /&gt;In the &lt;b&gt;keyword view&lt;/b&gt; there are 4 visible columns –&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Item&lt;/b&gt;- The item on which we want to perform the step and it can be a test object, utility object, function call, or statement. This column shows a hierarchical icon-based tree. The highest level of the tree is actions, and all steps are contained within the relevant branch of the tree.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Operation&lt;/b&gt;- The operation (methods or functions) to be performed on the item selected in the Item column, for example, Click or Select.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Value&lt;/b&gt;- The argument values for the selected operation, for example, the mouse button to use when clicking the image.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Documentation&lt;/b&gt;- It is a Read-only auto-documentation of what the step does in an easy-to-understand sentence, for example, Click the &quot;findFlights&quot; image.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Assignment&lt;/b&gt;- The assignment of a value to or from a variable for example, Store  cCols would store the return value of the current step in a variable called cCols so you can use the value later in the test. This column is not visible by default.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Comment&lt;/b&gt;- Any textual information you want to add regarding the step. This column is also not visible by default.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/2300467096948693151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/2300467096948693151' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/2300467096948693151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/2300467096948693151'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2009/07/qtp-quicktest-professional-keyword-view.html' title='QTP (QuickTest Professional) keyword view'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-5120362525786057218</id><published>2009-07-29T12:22:00.000+05:30</published><updated>2009-07-29T12:25:31.577+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TESTING PROCESS"/><title type='text'>Actions in QTP 9 (QuickTest Professional)</title><content type='html'>&lt;p class=&quot;text&quot;&gt;&lt;b&gt;Actions&lt;/b&gt; break up the test into logical sections/units such as specific activities that we perform in our application.  &lt;/p&gt;&lt;center&gt; &lt;script type=&quot;text/javascript&quot;&gt;   GA_googleFillSlot(&quot;OneStopTesting-MidBanner&quot;); &lt;/script&gt;&lt;script src=&quot;http://pubads.g.doubleclick.net/gampad/ads?correlator=1248850041547&amp;amp;output=json_html&amp;amp;callback=GA_googleSetAdContentsBySlotForSync&amp;amp;impl=s&amp;amp;prev_afc=3&amp;amp;a2ids=%2C&amp;amp;cids=%2C&amp;amp;client=ca-pub-4686307991865625&amp;amp;slotname=OneStopTesting-MidBanner&amp;amp;page_slots=OneStopTesting-TopBanner%2COneStopTesting-TopBanner-2%2COneStopTesting-MidBanner&amp;amp;cust_params=&amp;amp;cookie=ID%3Dc5ee4df6ea46b96f%3AT%3D1248849776%3AS%3DALNI_Ma6hECn7qHBPVlyoX8lDH7gOmbCZQ&amp;amp;ga_vid=1774009916.1248849779&amp;amp;ga_sid=1248849779&amp;amp;ga_hid=247840917&amp;amp;ga_fc=true&amp;amp;url=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2Factions.asp&amp;amp;ref=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2F&amp;amp;lmt=1248850041&amp;amp;dt=1248850053543&amp;amp;cc=24&amp;amp;u_h=900&amp;amp;u_w=1440&amp;amp;u_ah=872&amp;amp;u_aw=1440&amp;amp;u_cd=32&amp;amp;u_tz=330&amp;amp;u_his=1&amp;amp;u_java=true&amp;amp;u_nplug=16&amp;amp;u_nmime=57&amp;amp;flash=9.0.115&quot;&gt;&lt;/script&gt; &lt;/center&gt; &lt;p class=&quot;text&quot;&gt; When we create a new test, it contains a call to &lt;b&gt;one action&lt;/b&gt;. By breaking up the tests into calls to multiple actions, we can design more modular and well organized and professional tests. An action has its own test script, containing all of the steps recorded in that action, and all objects in its local object repository. An action is stored with the test in which you created it.&lt;br /&gt;&lt;br /&gt;If you create a test in which you log into the system (email), check inbox, and then log out of the  system (email), your test might be structured as shown—one test calling three separate actions:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table width=&quot;100%&quot; align=&quot;left&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;&lt;tr align=&quot;left&quot;&gt;  &lt;th width=&quot;30%&quot;&gt;&lt;b&gt;Test 1&lt;/b&gt;&lt;/th&gt;&lt;th&gt;&lt;br /&gt;&lt;/th&gt;&lt;th&gt;&lt;b&gt;Actions stored with Test 1&lt;/b&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;  &lt;td class=&quot;text&quot; width=&quot;305&quot; align=&quot;left&quot;&gt;Call to action 1&lt;/td&gt;&lt;td class=&quot;text&quot; align=&quot;left&quot;&gt;---&gt;&lt;/td&gt;&lt;td class=&quot;text&quot; align=&quot;left&quot;&gt;Action 1(Logging In)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;  &lt;td class=&quot;text&quot; width=&quot;305&quot; align=&quot;left&quot;&gt;Call to action 2 &lt;/td&gt;&lt;td class=&quot;text&quot; align=&quot;left&quot;&gt;---&gt;&lt;/td&gt;&lt;td class=&quot;text&quot; align=&quot;left&quot;&gt;Action 2(Checking Inbox Mails)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;  &lt;td class=&quot;text&quot; width=&quot;305&quot; align=&quot;left&quot;&gt;Call to action 3&lt;/td&gt;&lt;td class=&quot;text&quot; align=&quot;left&quot;&gt;---&gt;&lt;/td&gt;&lt;td class=&quot;text&quot; align=&quot;left&quot;&gt;Action 3(Logging Out)&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class=&quot;text&quot;&gt;&lt;b&gt;Actions&lt;/b&gt; make it possible to parameterize and iterate over specific elements of a test. They also make it easier to re-record steps in one action when part of your application changes. For every action called in the test, QuickTest creates a corresponding action sheet in the Data Table so that we can enter Data Table parameters that are specific to that action only.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Three types of actions are&lt;/b&gt;: &lt;b&gt;Non-reusable action&lt;/b&gt; This &lt;b&gt;non reusable action&lt;/b&gt; can be called only once and that too in the test with which it is stored.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reusable action&lt;/b&gt; &lt;b&gt;Reusable actions&lt;/b&gt; are like functions in any programming language. If there is a process that needs to be included in several tests, we can record, modify, and enhance the steps of the process and save them in a reusable action. Then we can call the action from other tests, rather than recording, modifying, and enhancing the same steps each time. It can be called several times by the test with which it is stored (the local test), as well as by other tests.&lt;br /&gt;&lt;br /&gt;Deleting a reusable action that is called by other tests will cause those tests to fail.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;External action&lt;/b&gt; is a reusable action stored with another test. &lt;b&gt;External actions&lt;/b&gt; are read-only in the calling test, but we can choose to use a local, editable copy of the Data Table information for the external action. When a call to an external action is inserted, the action is inserted in read-only format&lt;br /&gt;&lt;br /&gt;We can create an additional call to any reusable or external action in the test by pressing CTRL while we drag and drop the action to another location at a parallel(sibling)  level within the test.&lt;br /&gt;&lt;br /&gt;By default, new actions are non-reusable. Each action created in a test can be marked as reusable or non-reusable.&lt;br /&gt;&lt;br /&gt;When we run a test with multiple actions, the test results are divided by actions within each test iteration so that we can see the outcome of each action, and can view the detailed results for each action individually.&lt;br /&gt;&lt;br /&gt;If you expect other users to open your tests and all actions in your tests are stored in the same drive, you should use relative paths for your reusable actions so that other users will be able to open your tests even if they have mapped their network drives differently.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/5120362525786057218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/5120362525786057218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/5120362525786057218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/5120362525786057218'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2009/07/actions-in-qtp-9-quicktest-professional.html' title='Actions in QTP 9 (QuickTest Professional)'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-841753515211372684</id><published>2009-07-29T12:17:00.000+05:30</published><updated>2009-07-29T12:22:26.107+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TESTING PROCESS"/><title type='text'>VBScript in QTP</title><content type='html'>&lt;center&gt;&lt;h2 class=&quot;sectionHeading&quot;&gt;VBScript in QTP &lt;/h2&gt;&lt;/center&gt; &lt;p class=&quot;text&quot;&gt;Scripting language for Quick Test Professional (QTP) is &lt;b&gt;VBScript&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;VBScript&lt;/b&gt; (short for Visual Basic Scripting Edition) is a lively Scripting language interpreted via Microsoft&#39;s Windows Script Host.&lt;br /&gt;&lt;/p&gt;&lt;center&gt; &lt;script type=&quot;text/javascript&quot;&gt;   GA_googleFillSlot(&quot;OneStopTesting-MidBanner&quot;); &lt;/script&gt;&lt;script src=&quot;http://pubads.g.doubleclick.net/gampad/ads?correlator=1248850044145&amp;amp;output=json_html&amp;amp;callback=GA_googleSetAdContentsBySlotForSync&amp;amp;impl=s&amp;amp;prev_afc=3&amp;amp;a2ids=%2C&amp;amp;cids=%2C&amp;amp;client=ca-pub-4686307991865625&amp;amp;slotname=OneStopTesting-MidBanner&amp;amp;page_slots=OneStopTesting-TopBanner%2COneStopTesting-TopBanner-2%2COneStopTesting-MidBanner&amp;amp;cust_params=&amp;amp;cookie=ID%3Dc5ee4df6ea46b96f%3AT%3D1248849776%3AS%3DALNI_Ma6hECn7qHBPVlyoX8lDH7gOmbCZQ&amp;amp;ga_vid=1774009916.1248849779&amp;amp;ga_sid=1248849779&amp;amp;ga_hid=2037975088&amp;amp;ga_fc=true&amp;amp;url=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2Fvbscript-in-qtp.asp&amp;amp;ref=http%3A%2F%2Fwww.onestoptesting.com%2Fqtp%2F&amp;amp;lmt=1248850044&amp;amp;dt=1248850061193&amp;amp;cc=24&amp;amp;u_h=900&amp;amp;u_w=1440&amp;amp;u_ah=872&amp;amp;u_aw=1440&amp;amp;u_cd=32&amp;amp;u_tz=330&amp;amp;u_his=1&amp;amp;u_java=true&amp;amp;u_nplug=16&amp;amp;u_nmime=57&amp;amp;flash=9.0.115&quot;&gt;&lt;/script&gt; &lt;/center&gt; &lt;p class=&quot;text&quot;&gt; &lt;b&gt;VBScript&lt;/b&gt; has many powerful functions and provides excellent support for variables, data types, and error handling.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Two script engines can interpret &lt;b&gt;VBScript&lt;/b&gt;- VBScript.dll, which is invoked by asp.dll is used in web environment and Wscript.exe &amp;amp; Cscript.exe in Windows GUI environment using Windows script Host (WSH, We typically use VBScript within WSH to automate systems administration tasks. WSH is the system module that transforms a &lt;b&gt;VBScript&lt;/b&gt; file into a Windows executable file). Wscript.exe is used to display output and receive input in Windows GUI format such as dialog and input boxes. Cscript.exe is used in a command-line environment. When &lt;b&gt;VBScript&lt;/b&gt; source code is contained in stand-alone files, they have the  File extension.vbs&lt;/p&gt;&lt;p class=&quot;text&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/841753515211372684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/841753515211372684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/841753515211372684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/841753515211372684'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2009/07/vbscript-in-qtp.html' title='VBScript in QTP'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-7904587746451863601</id><published>2008-12-15T19:00:00.000+05:30</published><updated>2008-12-15T19:01:51.778+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>Learn Software Testing</title><content type='html'>As a Fresher you can not get a job in IT industries. Please Spend some mints………….&lt;br /&gt;One more IMPARTANT thing that do not go for Back Door Enter. It does not work. Do not kill your eyes by your self.&lt;br /&gt;&lt;br /&gt;Its all in the mind. You raise your thoughts, confidence will automatically shape up. And then you end up doing the impossible. Thoughts should be programmed continuously, coz they form the basis of all the emotions, all the actions.&lt;br /&gt;&lt;br /&gt;Real success is finding your lifework in the work that you love. Success usually comes to those who are too busy to be looking for it. Henry David Success consists of going from failure to failure without loss of enthusiasm-Winston Churchill&lt;br /&gt;&lt;br /&gt;Hi, dear friends this Chakri working as software test engineer in MNC. If you are really serious about your Software Testing Career take my help. For any information do not hesitate to call me or mail me this is my email id: &lt;a href=&quot;mailto:raghubnrtns@rediff.com&quot;&gt;ready4qtp@gmail.com&lt;/a&gt; and Number 919000500042.</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/7904587746451863601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/7904587746451863601' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/7904587746451863601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/7904587746451863601'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/learn-software-testing.html' title='Learn Software Testing'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-8096293012405687086</id><published>2008-12-15T18:59:00.001+05:30</published><updated>2008-12-15T18:59:42.339+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP</title><content type='html'>&lt;div style=&quot;color: rgb(0, 0, 0);&quot; class=&quot;post&quot;&gt;&lt;b&gt;Here iteration means repeat the processes, with same values&lt;br /&gt;&lt;br /&gt;or different values,when You take the datadriven test with&lt;br /&gt;&lt;br /&gt;different values... the test process repeats that much of&lt;br /&gt;&lt;br /&gt;time.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;or&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Iteration is nothing but one or more times Run  the testscript&lt;br /&gt;that is called iteration&lt;br /&gt;in qtp we can see the test result is Testresult window&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/8096293012405687086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/8096293012405687086' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/8096293012405687086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/8096293012405687086'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp.html' title='QTP'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-8995131161339258903</id><published>2008-12-15T18:57:00.001+05:30</published><updated>2008-12-15T18:57:40.881+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 1 - Familiarizing with recording process</title><content type='html'>&lt;b&gt;We will test with the mercury sample application FLIGHT.&lt;br /&gt;&lt;br /&gt;QTP script consists of things like actions, functions etc. In QTP 9 we can place 120 actions in a script, this is a limit.&lt;br /&gt;&lt;br /&gt;We will begin with a simple test like the &quot;hello world&quot; program with which we start learning any programming language.&lt;br /&gt;&lt;br /&gt;1) First of all click on Record toolbar button ( or Automation menu --&gt; Record or press F3). when we click on Record, &quot;Record and Run Settings&quot; window opens up. Go to &quot;Windows Applications&quot; tab and choose first option &quot;Record and run test on any open windows based application.&quot; and click on ok.&lt;br /&gt;&lt;br /&gt;2) Open Flight application (Start --&gt;All programs --&gt;QuickTest Professional --&gt; Sample Applications --&gt; Flight)&lt;br /&gt;&lt;br /&gt;3) Type Agent name as &quot;Kumar&quot; (You can enter any, but must be 4 characters or more) and enter password as &quot;mercury&quot;.&lt;br /&gt;&lt;br /&gt;4) In the flight reservation window that opens up:&lt;br /&gt;&lt;br /&gt;a) In the Flight Schedule area, in Date of Flight enter tomorrow&#39;s date in mm/dd/yyyy format.( I used tabs to move to next fields)&lt;br /&gt;b)In Fly From enter Denver&lt;br /&gt;c)In Fly To enter London&lt;br /&gt;d) Click on Flights button which is on the right hand side of &quot;Fly To&quot;.&lt;br /&gt;Let the default option be selected in the Flights Table.&lt;br /&gt;e) Click ok&lt;br /&gt;f)In the name field enter your name. It will fill rest of the required information by itself.&lt;br /&gt;g) Click on insert order and after the order is inserted&lt;br /&gt;h) Click on File --&gt; exit.&lt;br /&gt;&lt;br /&gt;5) Now you have recorded your first script. You can click on the expert view tab to see the script which QTP has recorded for you automatically.&lt;br /&gt;&lt;br /&gt;6) Click on run from Automation Menu (or press F5) to open up run dialog box.&lt;br /&gt;&lt;br /&gt;7) Go to the &quot;Results Location&quot; tab, and below &quot;write run results to&quot;, in &quot;new run results folder&quot; radio button- let it be the default option --C:\Program Files\Mercury Interactive\QuickTest&lt;br /&gt;Professional\Tests\Test1\Res1(you can also change it)&lt;br /&gt;&lt;br /&gt;--&gt; click on ok.&lt;br /&gt;&lt;br /&gt;This will run you earlier recorded test and show you the results.&lt;br /&gt;But we have to go a long way. This is just the beginning.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/8995131161339258903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/8995131161339258903' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/8995131161339258903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/8995131161339258903'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-1-familiarizing-with.html' title='QTP Tutorials 1 - Familiarizing with recording process'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-1726594602795940760</id><published>2008-12-15T18:56:00.001+05:30</published><updated>2008-12-15T18:56:51.671+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>Tutorials 2 - Using Data Table</title><content type='html'>&lt;b&gt;In our next example we will use data table:&lt;br /&gt;There are two types of data tables Design time and Run time:&lt;br /&gt;Design time data table is what you see in the main QTP window and run time data table you can see only in the test results window. Design time data table is always created before running the test while run time data table is generated after execution of the test.&lt;br /&gt;&lt;br /&gt;1) Open new test (Ctrl+N)&lt;br /&gt;&lt;br /&gt;2) We will click on record toolbar button ( or Automation menu --&gt; record or press F3). when we click on record, &quot;Record and Run Settings&quot; window opens up. Go to &quot;Windows Applications&quot; tab and choose first option &quot;Record and run test on any open windows based application.&quot; and click on ok.&lt;br /&gt;&lt;br /&gt;3) Open Flight application (Start--&gt;All programs--&gt;QuickTest Professional-&gt;Sample Applications--&gt;Flight)&lt;br /&gt;&lt;br /&gt;4) Type Agent name as &quot;Kumar&quot; (you can enter any, but must be 4 characters or more) and enter password as &quot;mercury&quot;.&lt;br /&gt;&lt;br /&gt;5) In the flight reservation window that opens up:&lt;br /&gt;&lt;br /&gt;6) Click on File--&gt;exit.&lt;br /&gt;&lt;br /&gt;7) In the keyword view you will see four headings- Item, Operation, Value, Documentation. Under Value click on Kumar and on the right hand side of Kumar you will see a small icon, just click on that (or press ctrl + F11), The &quot;Value Configuration Options&quot; dialog box opens. In that dialog box click on parameter radio button and select Data Table from there. In Name field enter any variable name (I entered &#39;username&#39;). Let all other be the default options in this dialog box and click on ok.&lt;br /&gt;&lt;br /&gt;--&gt; QTP will add username column in the data table (bottom, left hand side) with &#39;Kumar&#39; as the first value.&lt;br /&gt;9) Now enter more values in the username column, manually. I entered &#39;Sachin&#39; and &#39;Sunil&#39; in 2nd and 3rd column respectively.&lt;br /&gt;&lt;br /&gt;10) Save the test. (File--&gt;Save).&lt;br /&gt;&lt;br /&gt;11) Now run the test. (follow same steps as we did earlier).&lt;br /&gt;&lt;br /&gt;12) If the test ran successfully, in the Results summary window on the left hand side you will see three iterations (because we added 3 variables in the 3 rows of a data table). Expand 1st iteration, it will show action summary for that iteration, expand the action summary, it will show Login, Expand the login. Click on the first option under it &quot;Agent Name: SetText&quot;. On the right hand side it will show 1st variable name under details.&lt;br /&gt;&lt;br /&gt;13) Similarly you can look for 2nd and 3rd.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/1726594602795940760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/1726594602795940760' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/1726594602795940760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/1726594602795940760'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/tutorials-2-using-data-table.html' title='Tutorials 2 - Using Data Table'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-3051864833472412004</id><published>2008-12-15T18:55:00.000+05:30</published><updated>2008-12-15T18:56:04.507+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 3 - Accessing Data Table values through Script</title><content type='html'>&lt;b&gt;What if we want to write a short script that accesses values from the data Table.&lt;br /&gt;&lt;br /&gt;1) Make sure that QTP (with a new blank test) and a blank notepad is open.&lt;br /&gt;&lt;br /&gt;2) In the Data Table below write a, b, c in the first column A.&lt;br /&gt;&lt;br /&gt;3) Click on Record. When we click on Record, &quot;Record and Run Settings&quot; window opens up. Go to &quot;Windows Applications&quot; tab and choose first option &quot;Record and run test on any open windows based application.&quot; and click on ok.&lt;br /&gt;&lt;br /&gt;4) Just highlight the notepad and write &#39;a&#39; on it.&lt;br /&gt;&lt;br /&gt;5) Click on Stop so as to stop recording.&lt;br /&gt;&lt;br /&gt;6) In the expert view your script will look like this:&lt;br /&gt;Window(&quot;Notepad&quot;).WinEditor(&quot;Edit&quot;).SetCaretPos 0,0&lt;br /&gt;Window(&quot;Notepad&quot;).WinEditor(&quot;Edit&quot;).Type &quot;a&quot;&lt;br /&gt;&lt;br /&gt;7) We have to make it look like this:&lt;br /&gt;rc = DataTable.Value(&quot;A&quot;, dtGlobalSheet)&lt;br /&gt;msgbox rc&lt;br /&gt;Window(&quot;Notepad&quot;).WinEditor(&quot;Edit&quot;).SetCaretPos 0,0&lt;br /&gt;Window(&quot;Notepad&quot;).WinEditor(&quot;Edit&quot;).Type rc&lt;br /&gt;&lt;br /&gt;--&gt; Save the Test.&lt;br /&gt;&lt;br /&gt;9) Run the Test again with a blank Notepad open. It will enter all the three values from Data Table into the  Notepad&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/3051864833472412004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/3051864833472412004' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/3051864833472412004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/3051864833472412004'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-3-accessing-data-table.html' title='QTP Tutorials 3 - Accessing Data Table values through Script'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-4179651479189521028</id><published>2008-12-15T18:54:00.000+05:30</published><updated>2008-12-15T18:55:05.905+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 4 - Standard Checkpoint</title><content type='html'>&lt;b&gt;Checkpoints cannot be added manually, they are inserted using QTP&#39;s interface. Results of the checkpoint can be viewed in the Test Results Window.&lt;br /&gt;Checkpoint information is stored in the Local Object Repository. It is in the Resource.mtr file which is in the action folder (if you created checkpoint in action1 then it will be action 1 folder under the folder in which you are saving the test/script, if you created checkpoint in action 2 then it will be action 2 folder and so on) .&lt;br /&gt;In the expert view, on any blank line type Checkpoint and put &quot;(&quot;. As soon as you put the starting bracket it will show all the checkpoints you have used in the test.&lt;br /&gt;Now we will start with checkpoints. I will try to show easy to understand example of each and every checkpoint.&lt;br /&gt;Lets start with simple example of standard checkpoint which checks a variety of objects such as buttons, radio buttons, combo boxes etc. Standard checkpoints are supported for all add-in environments&lt;br /&gt;Open a blank test.&lt;br /&gt;Make sure that Flight application is open.&lt;br /&gt;(Now only QTP with blank test and Flight application should be open).&lt;br /&gt;Click on Record. When we click on Record, &quot;Record and Run Settings&quot; window opens up. Go to &quot;Windows Applications&quot; tab and choose first option &quot;Record and run test on any open Windows based application.&quot; and click ok.&lt;br /&gt;Go to Insert (menu)-&gt;Checkpoint-&gt;Standard Checkpoint (or press F12).The mouse pointer will become hand and QTP will be minimized.&lt;br /&gt;Click on the &quot;Flights...&quot; button which is on the Right Hand Side of the &quot;Fly To&quot; combo box in the Flight application.&lt;br /&gt;It will open &quot;Object Selection - Checkpoint Properties&quot; window (with WinButton:FLIGHT highlighted). Click ok.&lt;br /&gt;It will open checkpoint properties window. (only one property will be checked in it i.e. &#39;enabled&#39; with a value of False.)&lt;br /&gt;Click ok. Click on Stop in order to stop the Recording.&lt;br /&gt;Save the test.&lt;br /&gt;This is a small test in which we have used standard checkpoint and captured the disabled button on the Flight application. Now we can run the test in two ways to see how it fails and passes the results of the checkpoint.&lt;br /&gt;To see a pass test result:&lt;br /&gt;Make sure that this test and Flight application is open.&lt;br /&gt;Click on run.&lt;br /&gt;It will Run the test and show you the result as pass.&lt;br /&gt;To see a Fail test result:&lt;br /&gt;&lt;br /&gt;Make sure that this test and Flight application is open.&lt;br /&gt;&lt;br /&gt;In the Flight application enter the Date of Flight, Fly From and Fly To fields and nothing else. (The reason for doing this is that it will enable the &#39;Flight...&#39; button)&lt;br /&gt;&lt;br /&gt;Click on run in order to run the test.&lt;br /&gt;&lt;br /&gt;It will Run the test and show you the result as Fail. This is because QTP was looking for a disabled &#39;Flight...&#39; button for which it recorded the information at the record time, but now since the button was enabled at run time, so it failed.&lt;br /&gt;This will help you in understanding the standard checkpoint in QTP more deeply.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/4179651479189521028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/4179651479189521028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/4179651479189521028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/4179651479189521028'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-4-standard-checkpoint.html' title='QTP Tutorials 4 - Standard Checkpoint'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-6032111402290261971</id><published>2008-12-15T18:53:00.002+05:30</published><updated>2008-12-15T18:54:18.036+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 5 - Page Checkpoint</title><content type='html'>&lt;b&gt;Page checkpoint:It is for web applications only.Common things to check with this are load time, broken links etc.&lt;br /&gt;Open a blank test.&lt;br /&gt;&lt;br /&gt;Make sure thathttp://www.google.co.in/ is open.(Now only QTP with blank test and &lt;a href=&quot;http://www.google.co.in/&quot; target=&quot;_blank&quot;&gt;www.google.co.in&lt;/a&gt; should be open.)&lt;br /&gt;&lt;br /&gt;Click on Record. When we click on Record, &quot;Record and Run Settings&quot; window opens up. Go to &quot;Web&quot; tab and choose first option &quot;Record and run test on any open browser.&quot; and click ok.&lt;br /&gt;&lt;br /&gt;Go to Insert (menu)-&gt;Checkpoint-&gt;Standard Checkpoint (or press F12).&lt;br /&gt;&lt;br /&gt;The mouse pointer will become hand and QTP will be minimized.&lt;br /&gt;&lt;br /&gt;Click anywhere on the white space on the Google.co.in page.&lt;br /&gt;&lt;br /&gt;It will Open &quot;Object Selection - Checkpoint Properties&quot; window. Click on &#39;Page : Google&#39; option which has a page icon on left of it with right corner of the page slightly folded.&lt;br /&gt;&lt;br /&gt;Click ok.&lt;br /&gt;&lt;br /&gt;A &#39;Page Checkpoint Properties&#39; window opens up. Let all the options be default. Click ok.&lt;br /&gt;&lt;br /&gt;Click on Stop in order to stop the Recording.&lt;br /&gt;&lt;br /&gt;In the Expert view it will add just one line:&lt;br /&gt;&lt;br /&gt;Browser(&quot;Google&quot;).Page(&quot;Google&quot;).Check CheckPoint(&quot;Google&quot;)&lt;br /&gt;&lt;br /&gt;We will explore this line later on.&lt;br /&gt;&lt;br /&gt;I ran this test by opening &lt;a href=&quot;http://www.google.co.in/&quot; target=&quot;_blank&quot;&gt;www.google.co.in&lt;/a&gt; in offline mode (not on internet). It recorded the following properties:&lt;br /&gt;&lt;br /&gt;Property Name   Property Value      &lt;br /&gt;load time              &quot;0&quot;     &lt;br /&gt;number of images   &quot;2&quot;     &lt;br /&gt;number of links             &quot;20&quot;   &lt;br /&gt;&lt;br /&gt;Here it shows the load time as 0 because I did not open Google at the time of running the test, it was already open.&lt;br /&gt;&lt;br /&gt;When you run it, in the results window, on left hand side, it will show (when every option is expanded):&lt;br /&gt;Test Checkpoint-page Summary (where Checkpoint-page is the name with which I saved the test&lt;br /&gt;&lt;br /&gt;Run-Time Data Table&lt;br /&gt;Checkpoint-page Iteration 1 (Row 1)&lt;br /&gt;Action1 Summary&lt;br /&gt;Google (This will be the browser)&lt;br /&gt;Google (This will be the Page)&lt;br /&gt;Checkpoint &quot;Google&quot;&lt;br /&gt;&lt;/b&gt;[/b]</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/6032111402290261971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/6032111402290261971' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/6032111402290261971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/6032111402290261971'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-5-page-checkpoint.html' title='QTP Tutorials 5 - Page Checkpoint'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-5089144410857833741</id><published>2008-12-15T18:53:00.001+05:30</published><updated>2008-12-15T18:53:32.800+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 6 - Database Checkpoint</title><content type='html'>&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;Now we will try out Database checkpoint: using Oracle 9i &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First of all you have to connect oracle 9i to QTP 9.(before doing any recording)&lt;br /&gt;&lt;br /&gt;For this go to Insert -&gt; Checkpoint -&gt; Database Checkpoint.&lt;br /&gt;&lt;br /&gt;A Database Query Wizard opens.&lt;br /&gt;&lt;br /&gt;Select &#39; Specify SQL statement manually&#39; from the Query definition area. Click Next.&lt;br /&gt;&lt;br /&gt;Here click on &#39;Create&#39; button which is on the right of &quot;Connection String:&quot; It will open &#39;Select Data Source&#39; window. Click on &#39;Machine Data Source&#39; Tab&lt;br /&gt;&lt;br /&gt;Click on New Button.&lt;br /&gt;&lt;br /&gt;&#39;Create New Data Source&#39; window opens.&lt;br /&gt;&lt;br /&gt;Select &#39;User Data Source&#39; from Select a type of data source. Click Next.&lt;br /&gt;&lt;br /&gt;It will show all the data source drives it could find.&lt;br /&gt;&lt;br /&gt;Select Oracle (on my machine it was &#39;Oracle in OraHome9&#39;). Click Next. Click Finish.&lt;br /&gt;&lt;br /&gt;It will open &#39;Oracle ODBC Driver Configuration&#39; window.&lt;br /&gt;&lt;br /&gt;Enter &#39;Data Source name&#39; ( I entered &quot;oracle&quot;)&lt;br /&gt;&lt;br /&gt;Enter &#39;description&#39; (I entered &quot;SQL&quot;)&lt;br /&gt;&lt;br /&gt;Select &#39;TNS Service Name&#39; ( I selected &#39;DB02&#39;, my oracle database name) from combo box.&lt;br /&gt;&lt;br /&gt;Enter userid (I used SCOTT).&lt;br /&gt;&lt;br /&gt;Click &#39;Test Connection&#39; Button.It will ask for a Password. Enter your password for Oracle.&lt;br /&gt;&lt;br /&gt;If successful it will show &#39;Testing Connection&#39; window with &#39;Connection Successful&#39; written on it.&lt;br /&gt;&lt;br /&gt;This completes our task of Connecting QTP with Oracle.&lt;br /&gt;&lt;br /&gt;Now we will record a test.&lt;br /&gt;&lt;br /&gt;Open a blank test.&lt;br /&gt;&lt;br /&gt;Click on Record. When we click on Record, &quot;Record and Run Settings&quot; window opens up. Go to &quot;Windows Applications&quot; tab and choose first option &quot;Record and run test on any open Windows based application.&quot; and click on ok.&lt;br /&gt;&lt;br /&gt;Go to Insert (menu)-&gt;Checkpoint-&gt;Database Checkpoint&lt;br /&gt;&lt;br /&gt;A &#39;Database Query Wizard&#39; opens.&lt;br /&gt;&lt;br /&gt;Select &#39; Specify SQL statement manually&#39; from the Query definition area. Click Next. Click Create.&lt;br /&gt;&lt;br /&gt;Go to &#39;Machine Data Source&#39; Tab&lt;br /&gt;&lt;br /&gt;Select Oracle from data source name. Click Ok. It will open &#39;Oracle ODBC Driver Connect&#39;&lt;br /&gt;&lt;br /&gt;Enter password. Click ok&lt;br /&gt;&lt;br /&gt;It will come to Database Query Wizard window with &#39;Connection String&#39; field filled with: &quot;DSN=oracle;UID=SCOTT;PWD=TIGER;DBQ=DB02;DBA&lt;br /&gt;=W;APA=T;EXC=F;FEN=T;QTO=T;FRC=10;FDL=10;&lt;br /&gt;LOB=T;RST=T;GDE=F;FRL=F;BAM=IfAllSuccessful;MTS=F;&lt;br /&gt;MDI=F;CSR=F;FWC=F;PFC=10;TLO=0;&quot;&lt;br /&gt;&lt;br /&gt;In the SQL Statement area type &quot;select * from emp;&quot;. Click Finish.&lt;br /&gt;&lt;br /&gt;It will open &#39;Database Checkpoint Properties&#39; window with the result of the query. Click Ok.&lt;br /&gt;&lt;br /&gt;Click Stop in order to stop the Recording.&lt;br /&gt;&lt;br /&gt;In the Expert View, it just adds one line &quot;DbTable(&quot;DbTable&quot;).Check CheckPoint &quot;DbTable&quot;)&quot;&lt;br /&gt;This is the simplest database checkpoint example.&lt;br /&gt;&lt;br /&gt;Lets run it.&lt;br /&gt;&lt;br /&gt;Click on Run. ( we don&#39;t need to open any other window or application to run this as our Oracle is running at the back end as a service - default way in which it was installed- nothing special.)&lt;br /&gt;&lt;br /&gt;When it is passed it will show following in the Result window:&lt;br /&gt;&lt;br /&gt;Test Checkpoint-database Summary (where Checkpoint-database is the name with which I saved the test)&lt;br /&gt;Run-Time Data Table&lt;br /&gt;&lt;br /&gt;Checkpoint-database Iteration 1 (Row 1)&lt;br /&gt;Action1 Summary&lt;br /&gt;&lt;br /&gt;DbTable&lt;br /&gt;Checkpoint &quot;DbTable&quot;&lt;br /&gt;&lt;br /&gt;( when you click on this, in details it will show checked 112 cells (in your case number of cells may differ).&lt;br /&gt;&lt;br /&gt; It means if you go to the oracle and add or delete any row and run this test again it will fail.)&lt;br /&gt;&lt;br /&gt;Just try to think how QTP is comparing the expected results with the actual one, with the count of cells.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/5089144410857833741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/5089144410857833741' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/5089144410857833741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/5089144410857833741'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-6-database-checkpoint.html' title='QTP Tutorials 6 - Database Checkpoint'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-3339092456469799544</id><published>2008-12-15T18:52:00.001+05:30</published><updated>2008-12-15T18:52:48.162+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 7 - Bitmap Checkpoint</title><content type='html'>&lt;b&gt;Now we will look at the bitmap checkpoint which is different from the image checkpoint.&lt;br /&gt;&lt;br /&gt;Make sure that QTP and the Flight application are open.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;STYLE A&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;   1. Open a blank test.&lt;br /&gt;&lt;br /&gt;   2. Click on Record. When we click on Record, &quot;Record and Run Settings&quot; window&lt;br /&gt;      opens up. Go to &quot;Windows Applications&quot; tab and choose first option &quot;Record and&lt;br /&gt;      run test on any open windows based application.&quot; and click Ok.&lt;br /&gt;   3. Go to Insert (menu)-&gt;Checkpoint-&gt;Bitmap Checkpoint&lt;br /&gt;   4. Click on the &quot;Fly To&quot; combo box.&lt;br /&gt;   5. &quot;Object Selection- Bitmap Checkpoint Properties&quot; window opens up. It will have &quot;WinComboBox:Fly To&quot; highlighted. Click ok&lt;br /&gt;   6. It will open &quot;Bitmap Checkpoint Properties&quot; window.&lt;br /&gt;   7. Change the &quot;Checkpoint timeout&quot; at the bottom of the window to 0 seconds, so that we will have no wait time while running the test.&lt;br /&gt;   8. Click ok.&lt;br /&gt;   9. Click stop to stop recording the test.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;STYLE B&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Above, after 3rd point, instead of clicking on the &quot;Fly To&quot; combo box, click somewhere in the empty space above the &quot;Fly From&quot; Combo box but below the line, i.e. in the &quot;Flight Schedule&quot; area.&lt;br /&gt;&lt;br /&gt;&quot;Object Selection- Bitmap Checkpoint Properties&quot; window opens up. It will have &quot;WinObject:Flight Schedule&quot; highlighted. Click ok&lt;br /&gt;&lt;br /&gt;It will open &quot;Bitmap Checkpoint Properties&quot; winodow. This time it will have &quot;Flight schedule&quot; area instead of just the &quot;Fly To&quot; combo box.&lt;br /&gt;&lt;br /&gt;Now click on the &quot;Select Area...&quot; button. Mouse pointer will change so that you can select any area by dragging. Just select &quot;Fly From&quot; combo box by dragging.&lt;br /&gt;&lt;br /&gt;Change the &quot;Checkpoint timeout&quot; at the bottom of the window to 0 seconds. so that we will have no wait time while running the test.&lt;br /&gt;&lt;br /&gt;Click ok.&lt;br /&gt;&lt;br /&gt;Click stop to stop recording the test.&lt;br /&gt;&lt;br /&gt;Now you can run the test it will pass. To see how it stores the results, just fail the test. If you have recorded in the style A then just select any value in the &quot;Fly To&quot; combo box and then run the test. In the result window on the left hand side when you click on Checkpoint &quot;Fly To:&quot;, it will show you the expected bitmap and actual bitmap on the right hand side. (note: it will show that only in case of Failed result)&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/3339092456469799544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/3339092456469799544' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/3339092456469799544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/3339092456469799544'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-7-bitmap-checkpoint.html' title='QTP Tutorials 7 - Bitmap Checkpoint'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-5651838880537690785</id><published>2008-12-15T18:50:00.000+05:30</published><updated>2008-12-15T18:52:07.376+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 8 - Image Checkpoint</title><content type='html'>We will look at the Image checkpoint.&lt;br /&gt;&lt;br /&gt;Open a blank test.&lt;br /&gt;&lt;br /&gt;On your system under My Documents, there will be a folder named My Pictures, under this you will will find a folder- Sample Pictures( containing 4 pictures - Blue Hills, Sunset, Winter, Water lilies)&lt;br /&gt;&lt;br /&gt;We will run this test with one of the image there- Sunset.&lt;br /&gt;&lt;br /&gt;Go to My Documents-&gt;My Pictures-&gt; Sample Pictures and right click on image&lt;br /&gt;named &#39;Sunset&#39; and open it with internet explorer.&lt;br /&gt;&lt;br /&gt;Now only a new blank test and internet explorer with this image should be open.&lt;br /&gt;&lt;br /&gt;Click on Record. When we click on Record, &quot;Record and Run Settings&quot; window opens up. Go to &quot;Web&quot; tab and choose first option &quot;Record and run test on any open&lt;br /&gt;browser.&quot; and click on Ok.&lt;br /&gt;&lt;br /&gt;Go to Insert (menu)-&gt;Checkpoint-&gt;Standard Checkpoint(or press F12).The mouse pointer will become hand and QTP will be minimized.&lt;br /&gt;&lt;br /&gt;Click on the image which is opened in the explorer.&lt;br /&gt;&lt;br /&gt;It will open &#39;Object Selection Checkpoint Properties&#39; window with Image: Sunset highlighted. Click Ok.&lt;br /&gt;&lt;br /&gt;It will Open &#39;Image Checkpoint Properties&#39; Window. In this window just uncheck all the property values like href, html tag etc and only check last property which is src.&lt;br /&gt;&lt;br /&gt;Rest every thing will be default. Click OK.&lt;br /&gt;&lt;br /&gt;Click stop to stop recording the test.&lt;br /&gt;&lt;br /&gt;In the expert view it will just add one line&lt;br /&gt;Browser(&quot;file:///C:/Documents%20and%20S&quot;).Page(&quot;file:///C:/Documents%20and%20S&quot;).Image(&quot;Sunset&quot;).Check CheckPoint(&quot;Sunset&quot;)&lt;br /&gt;&lt;br /&gt;If you run it with that image open in internet explorer it will pass. This test is not intelligent enough. It is just checking that the image in the explorer is in the same location in which it was when the test was recorded and its name is Sunset. If you change the name of some other picture in that folder to Sunset and run the test with that it will also pass.&lt;br /&gt;&lt;br /&gt;In this way you can test for some or all the properties of the image which it showed in the &#39;Image Checkpoint Properties&#39; Window.[/b]</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/5651838880537690785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/5651838880537690785' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/5651838880537690785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/5651838880537690785'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-8-image-checkpoint.html' title='QTP Tutorials 8 - Image Checkpoint'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-5006080072798686233</id><published>2008-12-15T18:49:00.000+05:30</published><updated>2008-12-15T18:50:33.521+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 9 - Text Checkpoint</title><content type='html'>&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Now we will look at the Text Checkpoint:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;   &lt;b&gt;1. Open a blank test and a web page in offline mode like this below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   2. Click on Record. When we click on Record, &quot;Record and Run Settings&quot; window opens up. Go to &quot;Web&quot; tab and choose first option &quot;Record and run test on any open browser.&quot; and click on ok.&lt;br /&gt;&lt;br /&gt;   3. &lt;span style=&quot;color: red;&quot;&gt;Go to Insert (menu)-&gt;Checkpoint-&gt;Text Checkpoint.&lt;/span&gt;&lt;br /&gt;      The mouse pointer will become hand and QTP will be minimized.&lt;br /&gt;      Click on the first paragraph (which starts with-The page you are looking..) of that web page.&lt;br /&gt;&lt;br /&gt;   4. &quot;Text Checkpoint Properties&quot; window opens up. It will show the text to be checked in &quot;Checkpoint Summary&quot; area in red color and also show in blue color the text which is displayed before and after the selected text.&lt;br /&gt;&lt;br /&gt;   5. Click on Configure -here you can change your selected text, change before and after text and so on, but for now just click ok. At the bottom of the &quot;Text Checkpoint Properties&quot; window change &#39;Checkpoint timeout&#39; to 0 seconds. Again Click ok to come out of &quot;Text Checkpoint Properties&quot; window.&lt;br /&gt;&lt;br /&gt;   6. Click on stop in order to stop recording.&lt;br /&gt;&lt;br /&gt;Run the test and when it is passed just go to the results window and on the left hand side just expand every option and click on last option Checkpoint &quot;Cannot find server&quot;. On the right hand side it will show you the details. Try to understand those.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/5006080072798686233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/5006080072798686233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/5006080072798686233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/5006080072798686233'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-9-text-checkpoint.html' title='QTP Tutorials 9 - Text Checkpoint'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-2467916888277518521</id><published>2008-12-15T18:48:00.000+05:30</published><updated>2008-12-15T18:49:32.170+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 10 - Table Checkpoint</title><content type='html'>&lt;b&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;In this tutorial we will look at a table Checkpoint just to get familiar with it.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Open a blank test and also open a website &quot;&lt;a href=&quot;http://www.softwaretestingadvice.com/index.php&quot; target=&quot;_blank&quot;&gt;http://www.softwaretestingadvice.com/index.php&lt;/a&gt;&quot; in offline mode.&lt;br /&gt;&lt;br /&gt;This website has a table at the bottom of the page.&lt;br /&gt;&lt;br /&gt;Click on Record. When we click on Record, &quot;Record and Run Settings&quot; window opens&lt;br /&gt;up. Go to &quot;Web&quot; tab and choose first option &quot;Record and run test on any open&lt;br /&gt;browser.&quot; and click on ok.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Go to Insert (menu)-&gt;Checkpoint-&gt;Standard Checkpoint (or press F12).&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;The mouse pointer will become hand and QTP will be minimized.&lt;br /&gt;&lt;br /&gt;Click somewhere inside the table.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;Object Selection - Checkpoint properties&quot; window opens.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Select &quot;WebTable: softwaretestingadvice&quot; which has a table icon on its left, where &quot;softwaretestingadvice&quot; is the name of the table.&lt;br /&gt;&lt;br /&gt;Click ok.&lt;br /&gt;&lt;br /&gt;&#39;Table Checkpoint properties&#39; window opens. It will show all the rows and columns of the selected table. This time we will not do any extra setting. Just change the Checkpoint timeout at the bottom of this window to 0 seconds and click ok .&lt;br /&gt;&lt;br /&gt;Click stop in order to stop recording.&lt;br /&gt;&lt;br /&gt;Run the test and analyze the results in the result window, mainly the checkpoint results to see how QTP verifies the result. We will manipulate test results in later tutorials.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/2467916888277518521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/2467916888277518521' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/2467916888277518521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/2467916888277518521'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-10-table-checkpoint.html' title='QTP Tutorials 10 - Table Checkpoint'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-3916190089817704118</id><published>2008-12-15T18:45:00.000+05:30</published><updated>2008-12-15T18:48:25.385+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 11 - Checkpoint Return Value</title><content type='html'>&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;We will use the Standard Checkpoint which we did in tutorial 4.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Open that test that contains the standard Checkpoint.&lt;br /&gt;In the expert view of the test you will see only one line i.e.&lt;br /&gt;&lt;br /&gt;Window(&quot;Flight Reservation&quot;).WinButton(&quot;FLIGHT&quot;).Check CheckPoint(&quot;FLIGHT&quot;)&lt;br /&gt;&lt;br /&gt;Now we will make some changes in this one line so that it can return some value.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;NOTE:&lt;/span&gt;&lt;/b&gt; Checkpoint always returns a value, it depends on us whether we capture it or not.&lt;br /&gt;&lt;br /&gt;Lets now capture it.&lt;br /&gt;Declare a variable and catch the return value in that variable:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;Dim return&lt;br /&gt;return = Window(&quot;Flight Reservation&quot;).WinButton(&quot;FLIGHT&quot;).Check CheckPoint(&quot;FLIGHT&quot;)&lt;br /&gt;msgbox (return)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;One thing more we need to do here is that we have to enclose Checkpoint (&quot;FLIGHT&quot;) in brackets. So the final version looks like this:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;Dim return&lt;br /&gt;return = Window(&quot;Flight Reservation&quot;).WinButton(&quot;FLIGHT&quot;).Check (CheckPoint(&quot;FLIGHT&quot;))&lt;br /&gt;msgbox (return)&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Now run the test and see the msgbox appearing with the return value.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/3916190089817704118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/3916190089817704118' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/3916190089817704118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/3916190089817704118'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-11-checkpoint-return.html' title='QTP Tutorials 11 - Checkpoint Return Value'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-2570931186253022238</id><published>2008-12-15T18:43:00.000+05:30</published><updated>2008-12-15T18:45:49.807+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 12 - Reusable Actions</title><content type='html'>&lt;b&gt;In this tutorial we will see how to use more than one action in a test and how to call one action from another with in the same test.&lt;br /&gt;&lt;br /&gt;Open a blank test. By default it will have Action1 in it (make sure you are in&lt;br /&gt;the keyboard view).&lt;br /&gt;&lt;br /&gt;Make sure that Action1 is selected/highlighted and click on the Expert View tab.&lt;br /&gt;&lt;br /&gt;In the Expert View type:&lt;br /&gt;msgbox (&quot;my action 1&quot;)&lt;br /&gt;&lt;br /&gt;Again when you go to keyword View and expand Action1 it will show you function call under it.&lt;br /&gt;&lt;br /&gt;In that keyword View itself go to Insert (Menu) -&gt;Call to New Action. &#39;Insert Call to New Action&#39; Dialog box opens with Action2 as a default name of a new action. By default it will be added at the end of the test as this radio button is selected in the location area.&lt;br /&gt;&lt;br /&gt;Click ok.&lt;br /&gt;&lt;br /&gt;It will add Action2 to your test.&lt;br /&gt;&lt;br /&gt;Make sure that Action2 is selected and click on the Expert View tab.&lt;br /&gt;&lt;br /&gt;In the Expert View type:&lt;br /&gt;msgbox (&quot;my action 2&quot;)&lt;br /&gt;&lt;br /&gt;Similarly insert a third Action.&lt;br /&gt;&lt;br /&gt;After third action is added, select Action1(keyword view), right click on it and choose &#39;Action Properties&#39;.&lt;br /&gt;&lt;br /&gt;In the Action properties window that opens, check the &#39;Reusable action&#39; checkbox at the bottom.&lt;br /&gt;&lt;br /&gt;Click ok.&lt;br /&gt;&lt;br /&gt;Now again highlight Action3 right click on it and choose &#39;Insert Call to Existing action&#39;.&lt;br /&gt;&lt;br /&gt;&#39;Select action&#39; dialog box appears. In this dialog box in the &#39;action&#39; dropdown box it will have Action1 by default since we made only that action as reusable.&lt;br /&gt;Just click ok.&lt;br /&gt;&lt;br /&gt;In the keyword View where you can see all the three actions, make sure against Action3 it shows &quot;Call to Action1 action&quot; under Documentation.&lt;br /&gt;&lt;br /&gt;Run the test. Three message boxes appear in succession showing &#39;my action 1&#39;,&lt;br /&gt;&#39;my action 2&#39;, and again &#39;my action 1&#39;.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/2570931186253022238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/2570931186253022238' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/2570931186253022238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/2570931186253022238'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-12-reusable-actions.html' title='QTP Tutorials 12 - Reusable Actions'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9204171026602463054.post-747449838549016514</id><published>2008-12-15T18:41:00.000+05:30</published><updated>2008-12-15T18:42:25.035+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="QTP TUTORIALS"/><title type='text'>QTP Tutorials 13 - Importing Database Table</title><content type='html'>For this tutorial make sure you completed the Database checkpoint tutorial successfully. Because the connection we made in that tutorial with the oracle will be used here.&lt;br /&gt;&lt;br /&gt;It is very simple to import data from database into Data Table.&lt;br /&gt;&lt;br /&gt;Right-click somewhere inside the data table.&lt;br /&gt;&lt;br /&gt;Go to Sheet-&gt;Import-&gt;From Database...&lt;br /&gt;&quot;Database Query Wizard&quot; opens.&lt;br /&gt;&lt;br /&gt;Click on the radio button &quot;Specify SQL statement manually&quot;.&lt;br /&gt;&lt;br /&gt;(make sure that &quot;Maximum number of rows&quot; checkbox is NOT checked)&lt;br /&gt;&lt;br /&gt;Click Next&lt;br /&gt;&lt;br /&gt;Click Create button.&lt;br /&gt;&lt;br /&gt;&quot;Select Data Source&quot; window opens&lt;br /&gt;&lt;br /&gt;Click &quot;Machine Data Source&quot; Tab&lt;br /&gt;&lt;br /&gt;Select Oracle from there and click ok.&lt;br /&gt;&lt;br /&gt;Enter password for oracle in the &quot;Oracle ODBC Driver Connect window&quot;&lt;br /&gt;&lt;br /&gt;After entering password when you click on ok, it open &quot;Database Query Wizard&quot; window with &#39;Connection string&#39; automatically filled with info like DSN, UID etc.&lt;br /&gt;&lt;br /&gt;Enter SQL statement &quot;select * from emp;&quot; in SQL statement Box.&lt;br /&gt;&lt;br /&gt;Click Finish and lo the data is there in the data table.</content><link rel='replies' type='application/atom+xml' href='http://ready4qtp.blogspot.com/feeds/747449838549016514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9204171026602463054/747449838549016514' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/747449838549016514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9204171026602463054/posts/default/747449838549016514'/><link rel='alternate' type='text/html' href='http://ready4qtp.blogspot.com/2008/12/qtp-tutorials-13-importing-database.html' title='QTP Tutorials 13 - Importing Database Table'/><author><name>QTP WORLD</name><uri>http://www.blogger.com/profile/10759858733104566048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>