<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
	<channel>
		<title>Test automation with : QTP</title>
		<link>http://automation-qtp.discussionsblog.com/Test-automation-with-b0.htm</link>
		<description></description>
		<lastBuildDate>Thu, 09 Sep 2010 07:04:49 GMT</lastBuildDate>
		<ttl>10</ttl>
		<image>
			<title>Test automation with : QTP</title>
			<url></url>
			<link>http://automation-qtp.discussionsblog.com/Test-automation-with-b0.htm</link>
		</image>
	<item>
		<title>VB Script to connect to Import the data from Database to Excel</title>
		<category>QTP</category>
		<pubDate>2008-07-18T06:41:04Z</pubDate>
		<description>&lt;p&gt;&lt;br /&gt;Dim cnt&lt;br /&gt;&lt;br /&gt;Set cnt = CreateObject(&amp;quot;ADODB.Connection&amp;quot;)&lt;br /&gt;&lt;br /&gt;cnt.Provider = &amp;quot;SQLOLEDB&amp;quot;&lt;br /&gt;&lt;br /&gt;cnt.ConnectionString= &amp;quot;Driver={SQL Server};Server=127.0.0.1;Database=Northwind;UID=sa;PWD=&amp;quot;&lt;br /&gt;&lt;br /&gt;cnt.Open&lt;br /&gt;&lt;br /&gt;Set recordSet = CreateObject(&amp;quot;ADODB.Recordset&amp;quot;)&lt;br /&gt;&lt;br /&gt;Set recordSet1=cnt.Execute(&amp;quot;Select * from Employees&amp;quot;)&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Set objStream=CreateObject(&amp;quot;ADODB.Stream&amp;quot;)&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;recordSet1.Save objStream,1&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Set objExcel=CreateObject(&amp;quot;Excel.Application&amp;quot;)&lt;br /&gt;&lt;br /&gt;Set objSheet=CreateObject(&amp;quot;Excel.Sheet&amp;quot;)&lt;br /&gt;&lt;br /&gt;objSheet.Application.visible=true&lt;br /&gt;&lt;br /&gt;objSheet.activesheet.cells (1,1).CopyFromRecordset recordSet1&lt;br /&gt;&lt;br /&gt;objSheet.Saveas &amp;quot;C:tests.xls&amp;quot;&lt;br /&gt;&lt;br /&gt;objExcel.quit&lt;br /&gt;&lt;br /&gt;Set objSheet =Nothing&lt;br /&gt;&lt;br /&gt;recordSet1.Close&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/VB-Script-to-connect-to-Import-the-data-from-Database-to-Excel-b1-p14.htm</guid>
	</item>
	<item>
		<title>How to prepare and appear for QTP certification exam</title>
		<category>QTP</category>
		<pubDate>2008-07-17T06:48:16Z</pubDate>
		<description>&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;         Hi , there are different QTP certification tests and here I have given the details of how to prepare and appear the exam &lt;br /&gt;&lt;br /&gt;AIS -HP Quality Center v9.2 : &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;br /&gt;&lt;br /&gt;To achieve this credential you need to pass 1 core exam and 1 elective exam. &lt;br /&gt;&lt;br /&gt;1) Core Exam is “HP Quality Center 9.2 Software Exam” &lt;br /&gt;&lt;br /&gt;• Exam # HP0-M15 &lt;br /&gt;&lt;br /&gt;• Details, sample questions/ Exam preparation guide can be found here &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M15_EPG.pdf&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M15_EPG.pdf&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Registration details can be found here &lt;a href=&quot;http://h10017.www1.hp.com/certification/credential/registerilt.html&quot;&gt;&lt;font color=&quot;#800080&quot;&gt;http://h10017.www1.hp.com/certification/...erilt.html&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Test fees is US$150.00 or GBPŁ73.00. &lt;br /&gt;&lt;br /&gt;• You can also register for –optional– supporting course “Using Quality Center 9.2 Instruction led course spanning 1 day. They offer this course for EMEA, APAC and US regions. There is one more option there for organizations wanting to arrange training in campus. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://h10017.www1.hp.com/certification/...dcode=c122&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;http://h10017.www1.hp.com/certification/...dcode=c122&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;br /&gt;&lt;br /&gt;2)Elective exam no 1 is “HP QuickTest Professional 9.2 Software” &lt;br /&gt;&lt;br /&gt;• Exam #: HP0-M16 &lt;br /&gt;&lt;br /&gt;• Details, sample questions/Exam preparation guide can be found here &lt;a href=&quot;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M16_EPG.pdf&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M16_EPG.pdf&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Registration details can be found here &lt;a href=&quot;http://h10017.www1.hp.com/certification/credential/registerilt.html&quot;&gt;&lt;font color=&quot;#800080&quot;&gt;http://h10017.www1.hp.com/certification/...erilt.html&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Test fees is US$150.00 or GBPŁ73.00. &lt;br /&gt;&lt;br /&gt;• You can also register for –optional– supporting course “Using QuickTest Professional 9.2 and Advanced QuickTest Professional 9.2” it is an instruction led course spanning 4 days. Again, they offer this course for EMEA, APAC and US regions. There is one more option there for organizations wanting to arrange training in campus. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://h10017.www1.hp.com/certification/...dcode=c122&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;http://h10017.www1.hp.com/certification/...dcode=c122&lt;/font&gt;&lt;/a&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;3)Elective exam no 2 is “HP WinRunner 9.2 Software” &lt;br /&gt;&lt;br /&gt;• Exam #: HP0-M12 &lt;br /&gt;&lt;br /&gt;• Details, sample questions/Exam preparation guide can be found here &lt;a href=&quot;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M12_EPG.pdf&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M12_EPG.pdf&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Registration details can be found here &lt;a href=&quot;http://h10017.www1.hp.com/certification/credential/registerilt.html&quot;&gt;&lt;font color=&quot;#800080&quot;&gt;http://h10017.www1.hp.com/certification/...erilt.html&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Test fees is US$150.00 or GBPŁ73.00. &lt;br /&gt;&lt;br /&gt;• You can also register for –optional– supporting course “Using WinRunner 9.2” it is an instruction led course spanning 2 days. Again, they offer this course for EMEA, APAC and US regions. There is one more option there for organizations wanting to arrange training in campus. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://merc-training.cce.hp.com/main/tra...N=99294250&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;http://merc-training.cce.hp.com/main/tra...N=99294250&lt;/font&gt;&lt;/a&gt; &lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt; &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;Exam Details &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;ASE- HP Quality Center v9.2 :&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt; &lt;br /&gt;&lt;br /&gt;To achieve this credential you need to pass 1 core exam and 1 elective exam &lt;br /&gt;&lt;br /&gt;1)Core Exam is “Implementing HP Quality Center Software” &lt;br /&gt;&lt;br /&gt;• Exam #: HP0-M81 &lt;br /&gt;&lt;br /&gt;• Details, sample questions/ Exam preparation guide can be found here &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M81_EPG.pdf&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M81_EPG.pdf&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Registration details can be found here &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://merc-training.cce.hp.com/main/emea/certification/index.cfm&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;http://merc-training.cce.hp.com/main/eme.../index.cfm&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Test fees vary according to region and local currencies. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://merc-training.cce.hp.com/main/emea/certification/certification_schedule.cfm?CertificationID=4755&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;http://merc-training.cce.hp.com/main/eme...ionID=4755&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• You can also register for –optional– supporting course “Using Quality Center 9.2 and QC 9.2: Project Planning and Customization “. It is an instruction led course spanning 3 days. They offer this course for EMEA, APAC and US regions. There is one more option there for organizations wanting to arrange training in campus. &lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;br /&gt;&lt;br /&gt;2)Elective Exam is “Test Scripting using HP QuickTest Professional Software” &lt;br /&gt;&lt;br /&gt;• Exam #: HP0-M80 &lt;br /&gt;&lt;br /&gt;• Details, sample questions/ Exam preparation guide can be found here &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M80_EPG.pdf&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M80_EPG.pdf&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Registration details can be found here &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://merc-training.cce.hp.com/main/emea/certification/index.cfm&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;http://merc-training.cce.hp.com/main/eme.../index.cfm&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Test fees vary according to region and local currencies. &lt;br /&gt;&lt;br /&gt;http://merc- training.cce.hp.com/main/emea/certification/certification_schedule.cfm?CertificationID=4753 &lt;br /&gt;&lt;br /&gt;You can also register for –optional– supporting course “Using QuickTest Professional 9.2 and Advanced QuickTest Professional 9.2 “. It is an instruction led course spanning 3 days and 2 days respectively. They offer this course for EMEA, APAC and US regions. There is one more option there for organizations wanting to arrange training in campus. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://h10017.www1.hp.com/certification/...dcode=c132&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;http://h10017.www1.hp.com/certification/...dcode=c132&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;br /&gt;&lt;br /&gt;3)Elective Exam no 2 is “Test Scripting using HP WinRunner Software” &lt;br /&gt;&lt;br /&gt;• Exam #: HP0-M82 &lt;br /&gt;&lt;br /&gt;• Details, sample questions/ Exam preparation guide can be found here &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M82_EPG.pdf&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M82_EPG.pdf&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Registration details can be found here &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://merc-training.cce.hp.com/main/emea/certification/index.cfm&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;http://merc-training.cce.hp.com/main/eme.../index.cfm&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;• Test fees vary according to region and local currencies. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://merc-training.cce.hp.com/main/emea/certification/certification_schedule.cfm?CertificationID=4754&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;http://merc-training.cce.hp.com/main/eme...ionID=4754&lt;/font&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;You can also register for –optional– supporting course “Using Winrunner 9.2 and Advanced WinRunner 9.2 “. It is an instruction led course spanning 2 days and 2 days respectively. They offer this course for EMEA, APAC and US regions. There is one more option there for organizations wanting to arrange training in campus. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://h10017.www1.hp.com/certification/...dcode=c132&quot;&gt;&lt;font color=&quot;#003366&quot;&gt;http://h10017.www1.hp.com/certification/...dcode=c132&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt; &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;Please check the following links for further details &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;http://h10017.www1.hp.com/certification/about_exams.html#one&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;http://h10017.www1.hp.com/certification/exam_registration.html#five&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;a href=&quot;http://learnloadrunner.com/forums/qtp-certification-f-8.html&quot;&gt;&lt;font color=&quot;#800080&quot;&gt;http://learnloadrunner.com/forums/qtp-certification-f-8.html&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;font size=&quot;3&quot;&gt; &lt;/font&gt;&lt;/span&gt; &lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/How-to-prepare-and-appear-for-QTP-certification-exam-b1-p13.htm</guid>
	</item>
	<item>
		<title>How to Ragister for the QTP certification Exam</title>
		<category>QTP</category>
		<pubDate>2008-07-17T06:20:08Z</pubDate>
		<description>&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;                    &lt;u&gt;Types of Exams and Registration Details :&lt;/u&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;&lt;span&gt;&lt;strong&gt;&lt;font color=&quot;#000000&quot;&gt;Types of Exams :&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;To achieve an HP Certified Professional Program credential, you are required to take, and pass, specific exam(s). There are three different exam types. Test Center exams (HP0), Performance-based exams (also HP0) and Web-based exams (HP2 or HP3). All are computer-based; some are delivered via a network of Authorized Test Centers, while some can be taken via the Internet at your own desk.&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;In order to register for any exam, you will need to have a valid HP Student ID and a Prometric ID.&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;                                &lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;An HP Student ID is a personal ID number assigned to you by your HP regional certification or training office.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;How do I obtain a HP Student ID if I do not have one?&lt;br /&gt;&lt;br /&gt;	&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;The process for obtaining your HP Student ID varies from region to region.&lt;br /&gt;&lt;br /&gt;	&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;a href=&quot;http://h10017.www1.hp.com/certification/americas/student_id.html&quot;&gt;&lt;font color=&quot;#800080&quot;&gt;Americas&lt;/font&gt;&lt;/a&gt; &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;:&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;a href=&quot;http://www.hp.com/certification/americas/active_exams.html&quot;&gt;&lt;u&gt;&lt;font color=&quot;#003366&quot;&gt;www.hp.com/certification/americas/active_exams.html&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;	&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;u&gt;Asia Pacific&lt;/u&gt; : &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;a href=&quot;http://192.170.77.229/hpcp/English/SelectCountry.aspx?pUrl=ProfileCreate.aspx&quot;&gt;&lt;font color=&quot;#800080&quot;&gt;http://192.170.77.229/hpcp/English/SelectCountry.aspx?pUrl=ProfileCreate.aspx&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;	&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;In the above link &lt;span&gt; &lt;/span&gt;you select your country of residence in Asia pacific and register to get the HP student ID &lt;br /&gt;&lt;br /&gt;	&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;a href=&quot;http://certification.portal.emea.hp.com/Registration/registration.asp&quot;&gt;&lt;font color=&quot;#800080&quot;&gt;Europe, Middle East and Africa&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;a href=&quot;http://certification.portal.emea.hp.com/Registration/registration.asp&quot;&gt;&lt;font color=&quot;#800080&quot;&gt;http://certification.portal.emea.hp.com/Registration/registration.asp&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;color0033661&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;font color=&quot;#003366&quot;&gt; &lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;a href=&quot;http://192.170.77.229/hpcp/Japan/ProfileCreate.aspx&quot;&gt;&lt;font color=&quot;#800080&quot;&gt;Japan&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;a href=&quot;http://192.170.77.229/hpcp/Japan/ProfileCreate.aspx&quot;&gt;&lt;font color=&quot;#800080&quot;&gt;http://192.170.77.229/hpcp/Japan/ProfileCreate.aspx&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt; &lt;/span&gt;&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;What is a Prometric ID?&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;br /&gt;&lt;br /&gt;	A Prometric Testing ID is a 9 digit (numeric or alpha-numeric) ID assigned to you by Prometric when you schedule your first exam online or via the call center registration method. &lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;This id is also used to maintain your testing history with Prometric.&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;               You can get the Prometric ID by resigistering in the following link &lt;br /&gt;&lt;br /&gt;                          &lt;a href=&quot;https://www.register.prometric.com/CreateProfile.asp?cookie%5Ftest=1&quot;&gt;https://www.register.prometric.com/CreateProfile.asp?cookie%5Ftest=1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;Method of payment:&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 9.5pt; color: black; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt; The accepted mode of payment is credit card (AMEX, MasterCard, or Visa) or by using a voucher number, or by promotional code. They do not accept payment by company or personal check.&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt; line-height: 115%; font-family: &#039;Arial&#039;,&#039;sans-serif&#039;&quot;&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;	&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/How-to-Ragister-for-the-QTP-certification-Exam-b1-p12.htm</guid>
	</item>
	<item>
		<title>How to select the text in a web edit field ( text box)</title>
		<category>QTP</category>
		<pubDate>2008-07-17T05:15:12Z</pubDate>
		<description>Hi , &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;         I want to select the text in a web edit field . Please help me how can I do that .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Lavanya&lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/How-to-select-the-text-in-a-web-edit-field-text-box-b1-p11.htm</guid>
	</item>
	<item>
		<title>How to capture the status text of a browser</title>
		<category>QTP</category>
		<pubDate>2008-07-17T05:09:33Z</pubDate>
		<description>Hi , &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            I want to capture the status text of a browser. Please help me. Thanks in advance &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Lavanya &lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/How-to-capture-the-status-text-of-a-browser-b1-p10.htm</guid>
	</item>
	<item>
		<title>VB script to compare two excel sheets</title>
		<category>QTP</category>
		<pubDate>2008-07-16T08:48:59Z</pubDate>
		<description>&lt;p&gt;&lt;br /&gt;ExcelFilePath1 = InputBox(&amp;quot;Please Enter the Path of first Excel File&amp;quot;)&lt;br /&gt;&lt;br /&gt;   Set fso = CreateObject(&amp;quot;Scripting.FileSystemObject&amp;quot;)&lt;br /&gt;&lt;br /&gt;   If (fso.FileExists(ExcelFilePath1) = false )Then&lt;br /&gt;&lt;br /&gt;   msgbox  ExcelFilePath1 &amp;amp; &amp;quot; doesn&#039;t exist.&amp;quot; &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;   wscript.quit&lt;br /&gt;&lt;br /&gt;   End If &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;ExcelFilePath2 = InputBox(&amp;quot;Please Enter the Path of second Excel File&amp;quot;)  &lt;br /&gt;&lt;br /&gt;If (fso.FileExists(ExcelFilePath2) = false )Then&lt;br /&gt;&lt;br /&gt;   msgbox  ExcelFilePath2 &amp;amp; &amp;quot; doesn&#039;t exist.&amp;quot;&lt;br /&gt;&lt;br /&gt;   wscript.quit&lt;br /&gt;&lt;br /&gt;End If &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Set objExcel = CreateObject(&amp;quot;Excel.Application&amp;quot;) &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;objExcel.Visible = false &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Set objWorkbook1 = objExcel.Workbooks.Open(ExcelFilePath1) &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Set objWorkbook2 = objExcel.Workbooks.Open(ExcelFilePath2) &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Set objWorksheet1= objWorkbook1.Worksheets(1) &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Set objWorksheet2= objWorkbook2.Worksheets(1) &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;   For Each cell In objWorksheet1.UsedRange &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;       If cell.Value &amp;lt;&amp;gt; objWorksheet2.Range(cell.Address).Value Then &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;                          &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;                      &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&#039;Highlights in green color if any changes in cells (for the first file) &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;           cell.Interior.ColorIndex = 4 &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&#039;Highlights the same cell in the Second file &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;objWorksheet2.range(cell.Address).interior.colorIndex = 4 &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;                           &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;       Else &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;           cell.Interior.ColorIndex = 0 &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;       End If &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;   Next &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;ObjExcel.displayAlerts = False  &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;objExcel.Save &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;objExcel.quit &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;set objExcel=nothing &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;msgbox &amp;quot;It is Done&amp;quot; &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/VB-script-to-compare-two-excel-sheets-b1-p9.htm</guid>
	</item>
	<item>
		<title>File Handling in QTP</title>
		<category>QTP</category>
		<pubDate>2008-07-10T14:18:10Z</pubDate>
		<description>&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;What is FSO?&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt; &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;       FSO stands for File System Object. This is used to support text file creation and manipulation through the &lt;strong&gt;TextStream&lt;/strong&gt; object and is contained in the Scripting type library (Scrrun.dll)&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;The FSO Object Model has a rich set of properties, methods and events to process folders and files. &lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;How to create a file?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;      We first create a FSO object using CreateObject and then create a text file using CreateTextFile.&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;For Example: Suppose you want to create a file called &amp;quot;test.txt&amp;quot; located in C:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Dim fso, file, file_location&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;file_location = &amp;quot;C:file_location&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Set fso = &lt;strong&gt;CreateObject&lt;/strong&gt;(“Scripting.FileSystemObject”)&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Set file = fso.CreateTextFile(file_location, True) // True--&amp;gt; file is to be overwritten if it already exists else false  &lt;/font&gt;&lt;/span&gt;&lt;font size=&quot;3&quot;&gt;&lt;em&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;We would use the same example for the rest of this post.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;  &lt;br /&gt;&lt;br /&gt; How to open a file?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;     Set file= fso.OpenTextFile(&amp;quot;C:file_location&amp;quot;, ForWriting, True)&lt;br /&gt;&lt;br /&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;//2nd argument can be ForReading, ForWriting, ForAppending &lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;//3rd argument is &amp;quot;True&amp;quot; &lt;br /&gt;&lt;br /&gt;if new file has to be created if the specified file doesn’t exist else false, blank signify false.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;How to read content from a file?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;   Use ReadLine() method&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;For example:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Set file= fso.OpenTextFile(&amp;quot;C:file_location&amp;quot;, ForReading, True) &lt;br /&gt;&lt;br /&gt;//2nd argument should always be &amp;quot;ForReading&amp;quot; in order to read contents from a file&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Do while file.AtEndofStream &amp;lt;&amp;gt; True&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;      &lt;br /&gt;&lt;br /&gt;data = file.ReadLine()&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;    &lt;br /&gt;&lt;br /&gt;  msgbox data&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Loop&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;br /&gt;&lt;br /&gt;How to write content to a file?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;     You can use  Write() or WriteLine() Methods to write text into a file. The difference between the Write() and WriteLine() Method is that the latter automatically inserts a new line character while the former doesn’t insert a new line character.&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;  For example:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;  Set file= fso.OpenTextFile(&amp;quot;C:file_location&amp;quot;, ForWriting, True) //&lt;br /&gt;&lt;br /&gt; 2nd argument should always be &amp;quot;ForWriting&amp;quot; in order to write contents to a file&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;file.Write(&amp;quot;This is a place to get all your qtp&amp;quot;) &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;file.Write(&amp;quot;questions and answers solved.&amp;quot;)&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;//Output will be: &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;This is a place to get all your qtp questions and answers solved.&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt; &lt;strong&gt;&lt;span style=&quot;font-family: Verdana&quot;&gt;while&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;file.WriteLine(&amp;quot;This is a place to get all your qtp&amp;quot;) &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;file.Write(&amp;quot;questions and answers solved.&amp;quot;)&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;//Output will be: &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;This is a place to get all your qtp&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;questions and answers solved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;How to delete content?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;     Use DeleteFile() method to delete a file from a particular location&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Foe Example:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;   file_location = &amp;quot;C:file_location&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Set fso = &lt;strong&gt;CreateObject&lt;/strong&gt;(“Scripting.FileSystemObject”)&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;fso.DeleteFile(file_location&lt;/font&gt;&lt;/span&gt; &lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/File-Handling-in-QTP-b1-p8.htm</guid>
	</item>
	<item>
		<title>How to write AOM scripts?</title>
		<category>QTP</category>
		<pubDate>2008-07-10T14:17:02Z</pubDate>
		<description>&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;You need to understand that the very root of QT AOM is Application Object. Every automation script begins with the creation of the QuickTest &amp;quot;&lt;strong&gt;Application&amp;quot;&lt;/strong&gt; object. &lt;em&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana&quot;&gt;Creating this object does not start QuickTest. It simply provides an object from which you can access all other objects, methods and properties of the QuickTest automation object model.You can create only one instance of the Application object. You do not need to recreate the QuickTest Application object even if you start and exit QuickTest several times during your script. &lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;Once you have defined this object you can then successfully work and perform operations on other objects given in Quick Test Pro &amp;gt; Documentation &amp;gt; QuickTest Automation Reference.&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;For ex: Let us connect to TD QC using AOM and open a script &amp;quot;qtp_demo&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Dim qt_obj &#039;Define a Quick Test object &lt;br /&gt;&lt;br /&gt;qt_obj = CreateObject(&amp;quot;Quick Test.Application&amp;quot;) &#039; Instantiate a QT Object. It &lt;strong&gt;&lt;span style=&quot;font-family: Verdana&quot;&gt;does not&lt;/span&gt;&lt;/strong&gt; start QTP.&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;qt_obj.launch &#039; Launch QT &lt;br /&gt;&lt;br /&gt;qt_obj.visible &#039; Make QT visible &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;qt_obj.TDConnection.Connect &amp;quot;&lt;/font&gt;&lt;a href=&quot;http://tdserver/tdbin&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;#1b37a9&quot;&gt;http://tdserver/tdbin&amp;quot;&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;3&quot;&gt;, _ &#039;Referencing TDConnection Object &lt;br /&gt;&lt;br /&gt;&amp;quot;TEST_DOMAIN&amp;quot;, &amp;quot;TEST_Project&amp;quot;, &amp;quot;Suri&amp;quot;, &amp;quot;Testing&amp;quot;, False &#039; Connect to Quality Center &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;If qt_obj.TDConnection.IsConnected Then &#039; If connection is successful &lt;br /&gt;&lt;br /&gt;    qt_obj.Open &amp;quot;[QualityCenter] Subjecttestsqtp_demo&amp;quot;, False &#039; Open the test &lt;br /&gt;&lt;br /&gt;Else &lt;br /&gt;&lt;br /&gt;    MsgBox &amp;quot;Cannot connect to Quality Center&amp;quot; &#039; If connection is not successful, display an error message. &lt;br /&gt;&lt;br /&gt;End If&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;To quickly generate an AOM script with the current QTP settings. Use the Properties tab of the Test Settings dialog box (File &amp;gt; Settings) OR the General tab of the Options dialog box (Tools &amp;gt; Options) OR the Object Identification dialog box (Tools &amp;gt; Object Identification). Each contain a &amp;quot;Generate Script&amp;quot; button. Clicking this button generates a automation script file (.vbs) containing the current settings from the corresponding dialog box. &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;You can run the generated script as is to open QuickTest with the exact configuration of the QuickTest application that generated the script, or you can copy and paste selected lines from the generated files into your own automation script.&lt;/font&gt;&lt;/span&gt; &lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/How-to-write-AOM-scripts-b1-p7.htm</guid>
	</item>
	<item>
		<title>What is QuickTest Automation Object Model? Some places where we can use AOM</title>
		<category>QTP</category>
		<pubDate>2008-07-10T14:15:30Z</pubDate>
		<description>&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;This is a small list of places (but not limited to) where we can use AOM. Thumb Rule - Use it at any place where you find yourself doing repetitive tasks while using QTP. &lt;/font&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;br /&gt;&lt;br /&gt;	&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; color: black; tab-stops: list .5in&quot;&gt;&lt;span style=&quot;font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;AOM can come handy when you have a large no of scripts to be uploaded to QC. A simple script can save you hours of manual work! &lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;	&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; color: black; tab-stops: list .5in&quot;&gt;&lt;span style=&quot;font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Use AOM to initialize QTP options and settings like add-ins etc. &lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;	&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; color: black; tab-stops: list .5in&quot;&gt;&lt;span style=&quot;font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;You can use AOM to call QTP from other application: For ex: You can write a macro for calling QTP from excel. &lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;Caution: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;AOM should be used outside of QTP and not within the script (during playback). Though there is no harm using it inside but some of the AOM statements might fail.&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/What-is-QuickTest-Automation-Object-Model-Some-places-where-we-can-use-AOM-b1-p6.htm</guid>
	</item>
	<item>
		<title>Sample Description and how to write the descriptive programming</title>
		<category>QTP</category>
		<pubDate>2008-07-10T14:11:35Z</pubDate>
		<description>&lt;strong&gt;&lt;span style=&quot;font-size: 14pt; color: black; font-family: Verdana&quot;&gt;&lt;/span&gt;&lt;/strong&gt; &lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;Introduction to Descriptive Programming:&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;wrapbody&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;Descriptive programming is used when we want to perform an operation on an object that is not present in the object repository. There can be various valid reason to do so. We will discuss them later in this article.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana&quot;&gt;How to write Descriptive Programming? &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;br /&gt;&lt;br /&gt;There are two ways in which descriptive programming can be used&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. By giving the description in form of the string arguments.&lt;br /&gt;&lt;br /&gt;2. By creating properties collection object for the description.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana&quot;&gt;1. By giving the description in form of the string arguments.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is a more commonly used method for Descriptive Programming.&lt;br /&gt;&lt;br /&gt;You can describe an object directly in a statement by specifying property:=value pairs describing the object instead of specifying an object’s&lt;br /&gt;&lt;br /&gt;name. The general syntax is:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TestObject(&amp;quot;PropertyName1:=PropertyValue1&amp;quot;, &amp;quot;...&amp;quot; , &amp;quot;PropertyNameX:=PropertyValueX&amp;quot;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TestObject—the test object class could be WebEdit, WebRadioGroup etc….&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PropertyName:=PropertyValue—the test object property and its value. Each property:=value pair should be separated by commas and quotation&lt;br /&gt;&lt;br /&gt;marks. Note that you can enter a variable name as the property value if you want to find an object based on property values you retrieve during a run session.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Consider the HTML Code given below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;--!input type=&amp;quot;”textbox”&amp;quot; name=&amp;quot;”txt_Name”&amp;quot;--&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;--!input type=&amp;quot;”radio”&amp;quot; name=&amp;quot;”txt_Name”&amp;quot;--&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now to refer to the textbox the statement would be as given below&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Browser(“Browser”).Page(“Page”).WebEdit(“Name:=txt_Name”,”html tag:=INPUT”).set “Test”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And to refer to the radio button the statement would be as given below&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Browser(“Browser”).Page(“Page”).WebRadioGroup(“Name:=txt_Name”,”html tag:=INPUT”).set “Test”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If we refer to them as a web element then we will have to distinguish between the 2 using the index property&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Browser(“Browser”).Page(“Page”).WebElement(“Name:=txt_Name”,”html tag:=INPUT”,”Index:=0”).set “Test” ‘ Refers to the textbox&lt;br /&gt;&lt;br /&gt;Browser(“Browser”).Page(“Page”).WebElement(“Name:=txt_Name”,”html tag:=INPUT”,”Index:=1”).set “Test” ‘ Refers to the radio button&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;wrapbody&quot;&gt;To determine which property and value pairs to use, you can use the Object Spy:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;wrapbody&quot;&gt;1. Go to Tools -&amp;gt; Object Spy.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;wrapbody&quot;&gt;2. Select the &amp;quot;Test Object Properties&amp;quot; radio button.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;wrapbody&quot;&gt;3. Spy on the desired object.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;wrapbody&quot;&gt;4. In the Properties list, find and write down the properties and values that can be used to identify the object.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana&quot;&gt;2. By creating properties collection object for the description.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-weight: normal; font-family: Verdana&quot;&gt;Properties collection also does the same thing as string arguments. The only difference is that it &amp;quot;collects&amp;quot; all the properties of a particular object in an instance of that object. Now that object can be referenced easily by using the instance, instead of writing &amp;quot;string arguments&amp;quot; again and again. It is my observation that people find &amp;quot;string arguments&amp;quot; [1] method much easier and intuitive to work with.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To use this method you need first to create an empty description&lt;br /&gt;&lt;br /&gt;Dim obj_Desc ‘Not necessary to declare&lt;br /&gt;&lt;br /&gt;Set obj_Desc = Description.Create&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now we have a blank description in “obj_Desc”. Each description has 3 properties “Name”, “Value” and “Regular Expression”.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;obj_Desc(“html tag”).value= “INPUT”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When you use a property name for the first time the property is added to the collection and when you use it again the property is modified. By default each property that is defined is a regular expression. Suppose if we have the following description&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;obj_Desc(“html tag”).value= “INPUT”&lt;br /&gt;&lt;br /&gt;obj_Desc(“name”).value= “txt.*”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This would mean an object with html tag as INPUT and name starting with txt. Now actually that “.*” was considered as regular expression. So, if you want the property “name” not to be recognized as a regular expression then you need to set the “regularexpression” property as FALSE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;obj_Desc(“html tag”).value= “INPUT”&lt;br /&gt;&lt;br /&gt;obj_Desc(“name”).value= “txt.*”&lt;br /&gt;&lt;br /&gt;obj_Desc(“name”).regularexpression= “txt.*”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is how we create a description. Now below is the way we can use it&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Browser(“Browser”).Page(“Page”).WebEdit(obj_Desc).set “Test”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When we say .WebEdit(obj_Desc) we define one more property for our description that was not earlier defined that is it’s a text box (because QTPs WebEdit boxes map to text boxes in a web page).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If we know that we have more than 1 element with same description on the page then we must define “index” property for the that description&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Consider the HTML code given below&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;--!input type=&amp;quot;”textbox”&amp;quot; name=&amp;quot;”txt_Name”&amp;quot;--&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;--!input type=&amp;quot;”textbox”&amp;quot; name=&amp;quot;”txt_Name”&amp;quot;--&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now the html code has two objects with same description. So distinguish between these 2 objects we will use the “index” property. Here is the description for both the object&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For 1st textbox:&lt;br /&gt;&lt;br /&gt;obj_Desc(“html tag”).value= “INPUT”&lt;br /&gt;&lt;br /&gt;obj_Desc(“name”).value= “txt_Name”&lt;br /&gt;&lt;br /&gt;obj_Desc(“index”).value= “0”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For 2nd textbox:&lt;br /&gt;&lt;br /&gt;obj_Desc(“html tag”).value= “INPUT”&lt;br /&gt;&lt;br /&gt;obj_Desc(“name”).value= “txt_Name”&lt;br /&gt;&lt;br /&gt;obj_Desc(“index”).value= “1”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Consider the HTML Code given below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;--!input type=&amp;quot;”textbox”&amp;quot; name=&amp;quot;”txt_Name”&amp;quot;--&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;--!input type=&amp;quot;”radio”&amp;quot; name=&amp;quot;”txt_Name”&amp;quot;--&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We can use the same description for both the objects and still distinguish between both of them&lt;br /&gt;&lt;br /&gt;obj_Desc(“html tag”).value= “INPUT”&lt;br /&gt;&lt;br /&gt;obj_Desc(“name”).value= “txt_Name”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When I want to refer to the textbox then I will use the inside a WebEdit object and to refer to the radio button I will use the description object with the WebRadioGroup object.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Browser(“Browser”).Page(“Page”).WebEdit(obj_Desc).set “Test” ‘Refers to the text box&lt;br /&gt;&lt;br /&gt;Browser(“Browser”).Page(“Page”).WebRadioGroup(obj_Desc).set “Test” ‘Refers to the radio button&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;But if we use WebElement object for the description then we must define the “index” property because for a webelement the current description would return two objects.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Getting Child Object:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We can use description object to get all the objects on the page that matches that specific description. Suppose we have to check all the checkboxes present on a web page. So we will first create an object description for a checkboxe and then get all the checkboxes from the page&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim obj_ChkDesc&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Set obj_ChkDesc=Description.Create&lt;br /&gt;&lt;br /&gt;obj_ChkDesc(“html tag”).value = “INPUT”&lt;br /&gt;&lt;br /&gt;obj_ChkDesc(“type”).value = “checkbox”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim allCheckboxes, singleCheckBox&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Set allCheckboxes = Browse(“Browser”).Page(“Page”).ChildObjects(obj_ChkDesc)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For each singleCheckBox in allCheckboxes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;singleCheckBox.Set “ON”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The above code will check all the check boxes present on the page. To get all the child objects we need to specify an object description.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you wish to use string arguments [1], same thing can be accomplished by simple scripting.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Code for that would be:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;i=0 &lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;Do While Browse(“Browser”).Page(“Page”).WebCheckBox(&amp;quot;html tag:=INPUT&amp;quot;,type:=checkbox, &amp;quot;index:=&amp;quot;&amp;amp;i).Exist &lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;Browse(“Browser”).Page(“Page”).WebCheckBox(&amp;quot;html tag:=INPUT&amp;quot;,type:=checkbox, &amp;quot;index:=&amp;quot;&amp;amp;i).Set &amp;quot;ON&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;i=i+1&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;Loop&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;Possible Operation on Description Objects&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Consider the below code for all the solutions&lt;br /&gt;&lt;br /&gt;Dim obj_ChkDesc&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Set obj_ChkDesc=Description.Create&lt;br /&gt;&lt;br /&gt;obj_ChkDesc(“html tag”).value = “INPUT”&lt;br /&gt;&lt;br /&gt;obj_ChkDesc(“type”).value = “checkbox”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q: How to get the no. of description defined in a collection&lt;br /&gt;&lt;br /&gt;A: obj_ChkDesc.Count ‘Will return 2 in our case&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q: How to remove a description from the collection&lt;br /&gt;&lt;br /&gt;A: obj_ChkDesc.remove “html tag” ‘would delete the html tag property from the collection&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q: How do I check if property exists or not in the collection?&lt;br /&gt;&lt;br /&gt;A: The answer is that it’s not possible. Because whenever we try to access a property which is not defined its automatically added to the collection. The only way to determine is to check its value that is use a if statement “if obj_ChkDesc(“html tag”).value = empty then”.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q: How to browse through all the properties of a properties collection?&lt;br /&gt;&lt;br /&gt;A: Two ways&lt;br /&gt;&lt;br /&gt;1st:&lt;br /&gt;&lt;br /&gt;For each desc in obj_ChkDesc&lt;br /&gt;&lt;br /&gt;Name=desc.Name&lt;br /&gt;&lt;br /&gt;Value=desc.Value&lt;br /&gt;&lt;br /&gt;RE = desc.regularexpression&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;2nd:&lt;br /&gt;&lt;br /&gt;For i=0 to obj_ChkDesc.count - 1&lt;br /&gt;&lt;br /&gt;Name= obj_ChkDesc(i).Name&lt;br /&gt;&lt;br /&gt;Value= obj_ChkDesc(i).Value&lt;br /&gt;&lt;br /&gt;RE = obj_ChkDesc(i).regularexpression&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Hierarchy of test description:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When using programmatic descriptions from a specific point within a test object hierarchy, you must continue to use programmatic descriptions&lt;br /&gt;&lt;br /&gt;from that point onward within the same statement. If you specify a test object by its object repository name after other objects in the hierarchy have&lt;br /&gt;&lt;br /&gt;been described using programmatic descriptions, QuickTest cannot identify the object.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For example, you can use Browser(Desc1).Page(Desc1).Link(desc3), since it uses programmatic descriptions throughout the entire test object hierarchy.&lt;br /&gt;&lt;br /&gt;You can also use Browser(&amp;quot;Index&amp;quot;).Page(Desc1).Link(desc3), since it uses programmatic descriptions from a certain point in the description (starting&lt;br /&gt;&lt;br /&gt;from the Page object description).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However, you cannot use Browser(Desc1).Page(Desc1).Link(&amp;quot;Example1&amp;quot;), since it uses programmatic descriptions for the Browser and Page objects but&lt;br /&gt;&lt;br /&gt;then attempts to use an object repository name for the Link test object (QuickTest tries to locate the Link object based on its name, but cannot&lt;br /&gt;&lt;br /&gt;locate it in the repository because the parent objects were specified using programmatic descriptions).&lt;/span&gt;&lt;/font&gt;&lt;/span&gt; &lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/Sample-Description-and-how-to-write-the-descriptive-programming-b1-p5.htm</guid>
	</item>
	<item>
		<title>When and Where to use Descriptive programming?</title>
		<category>QTP</category>
		<pubDate>2008-07-10T14:10:10Z</pubDate>
		<description>&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Below are some of the situations when Descriptive Programming can be considered useful:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-weight: normal; font-family: Verdana&quot;&gt;1. One place where DP can be of significant importance is when you are creating functions in an external file. You can use these function in various actions directly , eliminating the need of adding object(s) in object repository for each action[If you are using per action object repository]&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;2. The objects in the application are dynamic in nature and need special handling to identify the object. The best example would be of clicking a link which changes according to the user of the application, Ex. “Logout &amp;lt;&amp;gt;”. &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;font size=&quot;3&quot;&gt;3. When object repository is getting huge due to the no. of objects being added. If the size of Object repository increases too much then it decreases the performance of QTP while recognizing a object. [For QTP8.2 and below Mercury recommends that OR size should not be greater than 1.5MB]&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;font size=&quot;3&quot;&gt;4. When you don’t want to use object repository at all. Well the first question would be why not Object repository? Consider the following scenario which would help understand why not Object repository&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Scenario 1:&lt;/u&gt; Suppose we have a web application that has not been developed yet.Now QTP for recording the script and adding the objects to repository needs the application to be up, that would mean waiting for the application to be deployed before we can start of with making QTP scripts. But if we know the descriptions of the objects that will be created then we can still start off with the script writing for testing &lt;/font&gt;&lt;/span&gt;&lt;u&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt;Scenario 2:&lt;/font&gt;&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;color: black; font-family: Verdana&quot;&gt;&lt;font size=&quot;3&quot;&gt; Suppose an application has 3 navigation buttons on each and every page. Let the buttons be “Cancel”, “Back” and “Next”. Now recording action on these buttons would add 3 objects per page in the repository. For a 10 page flow this would mean 30 objects which could have been represented just by using 3 objects. So instead of adding these 30 objects to the repository we can just write 3 descriptions for the object and use it on any page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. Modification to a test case is needed but the Object repository for the same is Read only or in shared mode i.e. changes may affect other scripts as well.&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: black; font-family: Verdana&quot;&gt;6. When you want to take action on similar type of object i.e. suppose we have 20 textboxes on the page and there names are in the form txt_1, txt_2, txt_3 and so on. Now adding all 20 the Object repository would not be a good programming approach&lt;/span&gt; &lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/When-and-Where-to-use-Descriptive-programming-b1-p4.htm</guid>
	</item>
	<item>
		<title>How To Run QTP Scripts at Scheduled Time?</title>
		<category>QTP</category>
		<pubDate>2008-07-10T14:08:18Z</pubDate>
		<description>&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwrd&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13pt; color: black&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Set&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13pt; color: black&quot;&gt; App = CreateObject(&lt;span class=&quot;str&quot;&gt;&amp;quot;QuickTest.Application&amp;quot;&lt;/span&gt;)&lt;br /&gt;App.Launch&lt;br /&gt;App.Visible = &lt;span class=&quot;kwrd&quot;&gt;True&lt;/span&gt;&lt;br /&gt;App.WindowState = &lt;span class=&quot;str&quot;&gt;&amp;quot;Maximized&amp;quot;&lt;/span&gt; &lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;rem&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13pt; color: #009900&quot;&gt;&#039; Maximize the QuickTest window&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/font&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13pt; color: black&quot;&gt;&lt;br /&gt;&lt;font face=&quot;Courier New&quot;&gt;App.ActivateView &lt;span class=&quot;str&quot;&gt;&amp;quot;ExpertView&amp;quot;&lt;/span&gt; &lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;rem&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13pt; color: #009900&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;&#039; Display the Expert View&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13pt; color: black&quot;&gt;&lt;br /&gt;&lt;font face=&quot;Courier New&quot;&gt;App.open &lt;span class=&quot;str&quot;&gt;&amp;quot;C:Program FilesMercury Interactive&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;str&quot;&gt;QuickTest ProfessionalTestsTest1&amp;quot;&lt;/span&gt;, &lt;span class=&quot;kwrd&quot;&gt;False&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 13pt; color: green&quot;&gt;&#039;Opens the test in editable mode&lt;/span&gt;&lt;span style=&quot;color: black&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font face=&quot;Times New Roman&quot; size=&quot;3&quot;&gt; &lt;/font&gt;&lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/How-To-Run-QTP-Scripts-at-Scheduled-Time-b1-p3.htm</guid>
	</item>
	<item>
		<title>QTP Certification Exam Sample Questions</title>
		<category>QTP</category>
		<pubDate>2008-07-10T12:35:02Z</pubDate>
		<description>&lt;p&gt;&lt;br /&gt;Can anybody provide sample questions on QTP certification exam ????&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/QTP-Certification-Exam-Sample-Questions-b1-p2.htm</guid>
	</item>
	<item>
		<title>Hi!  Welcome .......</title>
		<category>QTP</category>
		<pubDate>2008-07-10T06:07:36Z</pubDate>
		<description>&lt;p&gt;&lt;br /&gt;Hi!....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;             Welcome to the world of QTP. Let us answer and Post the Queries on QTP and become and help to become masters in QTP&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                      Thanks for being a part of this blog.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                 Hope you enjoy blogging &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://automation-qtp.discussionsblog.com/QTP-b1/Hi-Welcome-b1-p1.htm</guid>
	</item>
	</channel>
</rss>