<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
	<channel>
		<title>QTP : QTP</title>
		<link>http://ramupalanki.shared-blogs.com/QTP-b0.htm</link>
		<description>Blog gathering the articles of all your sub-blogs</description>
		<lastBuildDate>Thu, 09 Feb 2012 10:19:38 GMT</lastBuildDate>
		<ttl>10</ttl>
		<image>
			<title>QTP : QTP</title>
			<url></url>
			<link>http://ramupalanki.shared-blogs.com/QTP-b0.htm</link>
		</image>
	<item>
		<title>Getting the names of all buttons in a page</title>
		<category>QTP</category>
		<pubDate>2010-09-15T12:16:09Z</pubDate>
		<description>&lt;span style=&quot;font-family: verdana; font-size: 130%&quot;&gt;&lt;span class=&quot;post&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SystemUtil.Run &amp;quot;iexplore.exe&amp;quot;, &amp;quot;www.google.com&amp;quot;&lt;br /&gt;set GglButtons = Description.Create&lt;br /&gt;GglButtons(&amp;quot;html tag&amp;quot;).value = &amp;quot;INPUT&amp;quot;&lt;br /&gt;set pageButtonCollection = Browser(&amp;quot;micclass:=Browser&amp;quot;,&amp;quot;application version:=internet explorer 6&amp;quot;).Page(&amp;quot;micclass:=Page&amp;quot;).ChildObjects(GglButtons)&lt;br /&gt;print pageButtonCollection.count&lt;br /&gt;For x = 0 to pageButtonCollection.count-1&lt;br /&gt;print pageButtonCollection(x).GetROProperty(&amp;quot;name&amp;quot;)&lt;br /&gt;next&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/Getting-the-names-of-all-buttons-in-a-page-b1-p30.htm</guid>
	</item>
	<item>
		<title>Function to extract Text between two strings</title>
		<category>QTP</category>
		<pubDate>2010-09-15T12:15:11Z</pubDate>
		<description>Function GetString(s1,s2,s3)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  Dim spos,epos&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;Spos=InStr(1,s1,s2)&lt;br /&gt;&lt;br /&gt;  spos=spos+Len(s2)&lt;br /&gt;&lt;br /&gt;  epos=InStr(spos,s1,s3)&lt;br /&gt;&lt;br /&gt;GetString=Mid(s1,spos,epos-spos)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/Function-to-extract-Text-between-two-strings-b1-p29.htm</guid>
	</item>
	<item>
		<title>Code to get the Row & COlumn count in Excel</title>
		<category>QTP</category>
		<pubDate>2010-09-15T12:13:45Z</pubDate>
		<description>&lt;span style=&quot;font-family: Verdana,Arial; font-size: 78%&quot;&gt;&lt;span class=&quot;post&quot;&gt;&lt;span style=&quot;font-size: 100%&quot;&gt;Set objExcel = &lt;br /&gt;CreateObject(&amp;quot;Excel.Application&amp;quot;)&lt;br /&gt;&lt;br /&gt;Set objWorkbook = &lt;br /&gt;objExcel.Workbooks.Open (fileName)&lt;br /&gt;&lt;br /&gt;Set objSheet = &lt;br /&gt;objExcel.ActiveWorkbook.Worksheets(1)&lt;br /&gt;&lt;br /&gt;usedColumnsCount = &lt;br /&gt;objSheet.UsedRange.Columns.Count&lt;br /&gt;&lt;br /&gt;usedRowsCount = &lt;br /&gt;objSheet.UsedRange.Rows.Count &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/Code-to-get-the-Row-COlumn-count-in-Excel-b1-p28.htm</guid>
	</item>
	<item>
		<title>ISTQB More Question Papers1</title>
		<category>QTP</category>
		<pubDate>2010-03-12T07:07:37Z</pubDate>
		<description>written according to coding standards</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/ISTQB-More-Question-Papers1-b1-p27.htm</guid>
	</item>
	<item>
		<title>ISTQB more Question Papers</title>
		<category>QTP</category>
		<pubDate>2010-03-12T07:02:15Z</pubDate>
		<description>Question Paper 2:&lt;br /&gt;&lt;br /&gt;Q2&lt;br /&gt;&lt;br /&gt;Regression testing should be performed:&lt;br /&gt;&lt;br /&gt;v) every week&lt;br /&gt;&lt;br /&gt;w) after the software has changed&lt;br /&gt;&lt;br /&gt;x) as often as possible&lt;br /&gt;&lt;br /&gt;y) when the environment has changed&lt;br /&gt;&lt;br /&gt;z) when the project manager says&lt;br /&gt;&lt;br /&gt;NOTE: Only one answer per question&lt;br /&gt;&lt;br /&gt;Q1&lt;br /&gt;&lt;br /&gt;A deviation from the specified or expected behaviour that is visible to end-users is called:&lt;br /&gt;&lt;br /&gt;a) an error&lt;br /&gt;&lt;br /&gt;b) a fault&lt;br /&gt;&lt;br /&gt;a) v &amp; w are true, x, y &amp; z are false&lt;br /&gt;&lt;br /&gt;b) w, x &amp; y are true, v &amp; z are false&lt;br /&gt;&lt;br /&gt;c) w &amp; y are true, v, x &amp; z are false&lt;br /&gt;&lt;br /&gt;d) w is true, v, x, y &amp; z are false&lt;br /&gt;&lt;br /&gt;Q3&lt;br /&gt;&lt;br /&gt;IEEE 829 test plan documentation standard contains all of the following except&lt;br /&gt;&lt;br /&gt;c) a failure&lt;br /&gt;&lt;br /&gt;d) a defect&lt;br /&gt;&lt;br /&gt;a) test items&lt;br /&gt;&lt;br /&gt;b) test deliverables&lt;br /&gt;&lt;br /&gt;c) test tasks&lt;br /&gt;&lt;br /&gt;d) test specifications&lt;br /&gt;&lt;br /&gt;Q4&lt;br /&gt;&lt;br /&gt;When should testing be stopped?&lt;br /&gt;&lt;br /&gt;a) when all the planned tests have been run&lt;br /&gt;&lt;br /&gt;b) when time has run out&lt;br /&gt;&lt;br /&gt;c) when all faults have been fixed correctly&lt;br /&gt;&lt;br /&gt;d) it depends on the risks for the system being tested&lt;br /&gt;&lt;br /&gt;Q5&lt;br /&gt;&lt;br /&gt;Order numbers on a stock control system can range between 10000 and 99999 inclusive. Which of the following inputs might be a result of designing tests for only valid equivalence classes and valid boundaries?&lt;br /&gt;&lt;br /&gt;a) 1000, 50000, 99999&lt;br /&gt;&lt;br /&gt;b) 9999, 50000, 100000&lt;br /&gt;&lt;br /&gt;c) 10000, 50000, 99999&lt;br /&gt;&lt;br /&gt;d) 10000, 99999, 100000&lt;br /&gt;&lt;br /&gt;Q6&lt;br /&gt;&lt;br /&gt;Consider the following statements about early test design:&lt;br /&gt;&lt;br /&gt;i. early test design can prevent fault multiplication&lt;br /&gt;&lt;br /&gt;ii. faults found during early test design are more expensive to fix&lt;br /&gt;&lt;br /&gt;iii. early test design can find faults&lt;br /&gt;&lt;br /&gt;iv. early test design can cause changes to the requirements&lt;br /&gt;&lt;br /&gt;v. early test design normally takes more effort&lt;br /&gt;&lt;br /&gt;a) i, iii &amp; iv are true; ii &amp; v are false&lt;br /&gt;&lt;br /&gt;b) iii &amp; iv are true; i, ii &amp; v are false&lt;br /&gt;&lt;br /&gt;c) i, iii, iv &amp; v are true; ii is false&lt;br /&gt;&lt;br /&gt;d) i &amp; ii are true; iii, iv &amp; v are false&lt;br /&gt;&lt;br /&gt;Q7&lt;br /&gt;&lt;br /&gt;Non-functional system testing includes:&lt;br /&gt;&lt;br /&gt;a) testing to see where the system does not function correctly&lt;br /&gt;&lt;br /&gt;b) testing quality attributes of the system including performance and usability&lt;br /&gt;&lt;br /&gt;c) testing a system function using only the software required for that function&lt;br /&gt;&lt;br /&gt;d) testing for functions that should not exist&lt;br /&gt;&lt;br /&gt;Q8&lt;br /&gt;&lt;br /&gt;Which of the following is NOT part of configuration management?&lt;br /&gt;&lt;br /&gt;a) auditing conformance to ISO 9000&lt;br /&gt;&lt;br /&gt;b) status accounting of configuration items&lt;br /&gt;&lt;br /&gt;c) identification of test versions&lt;br /&gt;&lt;br /&gt;d) controlled library access&lt;br /&gt;&lt;br /&gt;Q9&lt;br /&gt;&lt;br /&gt;Which of the following is the main purpose of the integration strategy for integration testing in the small?&lt;br /&gt;&lt;br /&gt;a) to ensure that all of the small modules are tested adequately&lt;br /&gt;&lt;br /&gt;b) to ensure that the system interfaces to other systems and networks&lt;br /&gt;&lt;br /&gt;c) to specify which modules to combine when, and how many at once&lt;br /&gt;&lt;br /&gt;d) to specify how the software should be divided into modules&lt;br /&gt;&lt;br /&gt;Q10&lt;br /&gt;&lt;br /&gt;What is the purpose of a test completion criterion?&lt;br /&gt;&lt;br /&gt;a) to know when a specific test has finished its execution&lt;br /&gt;&lt;br /&gt;b) to ensure that the test case specification is complete&lt;br /&gt;&lt;br /&gt;c) to set the criteria used in generating test inputs&lt;br /&gt;&lt;br /&gt;d) to determine when to stop testing&lt;br /&gt;&lt;br /&gt;Q11&lt;br /&gt;&lt;br /&gt;Consider the following statements:&lt;br /&gt;&lt;br /&gt;i. an incident may be closed without being fixed.&lt;br /&gt;&lt;br /&gt;ii. incidents may not be raised against documentation.&lt;br /&gt;&lt;br /&gt;iii. the final stage of incident tracking is fixing.&lt;br /&gt;&lt;br /&gt;iv. the incident record does not include information on test environments.&lt;br /&gt;&lt;br /&gt;a) ii is true, i, iii and iv are false&lt;br /&gt;&lt;br /&gt;b) i is true, ii, iii and iv are false&lt;br /&gt;&lt;br /&gt;c) i and iv are true, ii and iii are false&lt;br /&gt;&lt;br /&gt;d) i and ii are true, iii and iv are false&lt;br /&gt;&lt;br /&gt;Q12&lt;br /&gt;&lt;br /&gt;Given the following code, which statement is true about the minimum number of test cases required for full statement and branch coverage?&lt;br /&gt;&lt;br /&gt;Read p&lt;br /&gt;&lt;br /&gt;Read q&lt;br /&gt;&lt;br /&gt;IF p+q &gt; 100 THEN&lt;br /&gt;&lt;br /&gt;Print &quot;Large&quot;&lt;br /&gt;&lt;br /&gt;ENDIF&lt;br /&gt;&lt;br /&gt;IF p &gt; 50 THEN&lt;br /&gt;&lt;br /&gt;Print &quot;p Large&quot;&lt;br /&gt;&lt;br /&gt;ENDIF&lt;br /&gt;&lt;br /&gt;a) 1 test for statement coverage, 3 for branch coverage&lt;br /&gt;&lt;br /&gt;b) 1 test for statement coverage, 2 for branch coverage&lt;br /&gt;&lt;br /&gt;c) 1 test for statement coverage, 1 for branch coverage&lt;br /&gt;&lt;br /&gt;d) 2 tests for statement coverage, 2 for branch coverage&lt;br /&gt;&lt;br /&gt;Q13&lt;br /&gt;&lt;br /&gt;Consider the following statements:&lt;br /&gt;&lt;br /&gt;i. 100% statement coverage guarantees 100% branch coverage.&lt;br /&gt;&lt;br /&gt;ii. 100% branch coverage guarantees 100% statement coverage.&lt;br /&gt;&lt;br /&gt;iii. 100% branch coverage guarantees 100% decision coverage.&lt;br /&gt;&lt;br /&gt;iv. 100% decision coverage guarantees 100% branch coverage.&lt;br /&gt;&lt;br /&gt;v. 100% statement coverage guarantees 100% decision coverage.&lt;br /&gt;&lt;br /&gt;a) ii is True; i, iii, iv &amp; v are False&lt;br /&gt;&lt;br /&gt;b) i &amp; v are True; ii, iii &amp; iv are False&lt;br /&gt;&lt;br /&gt;c) ii &amp; iii are True; i, iv &amp; v are False&lt;br /&gt;&lt;br /&gt;d) ii, iii &amp; iv are True; i &amp; v are False&lt;br /&gt;&lt;br /&gt;Q14&lt;br /&gt;&lt;br /&gt;Functional system testing is:&lt;br /&gt;&lt;br /&gt;a) testing that the system functions with other systems&lt;br /&gt;&lt;br /&gt;b) testing that the components that comprise the system function together&lt;br /&gt;&lt;br /&gt;c) testing the end to end functionality of the system as a whole&lt;br /&gt;&lt;br /&gt;d) testing the system performs functions within specified response times&lt;br /&gt;&lt;br /&gt;Q15&lt;br /&gt;&lt;br /&gt;Incidents would not be raised against:&lt;br /&gt;&lt;br /&gt;a) requirements&lt;br /&gt;&lt;br /&gt;b) documentation&lt;br /&gt;&lt;br /&gt;c) test cases&lt;br /&gt;&lt;br /&gt;d) improvements suggested by users&lt;br /&gt;&lt;br /&gt;Q16&lt;br /&gt;&lt;br /&gt;Which of the following items would not come under Configuration Management?&lt;br /&gt;&lt;br /&gt;a) operating systems&lt;br /&gt;&lt;br /&gt;b) test documentation&lt;br /&gt;&lt;br /&gt;c) live data&lt;br /&gt;&lt;br /&gt;d) user requirement documents&lt;br /&gt;&lt;br /&gt;Q17&lt;br /&gt;&lt;br /&gt;Maintenance testing is:&lt;br /&gt;&lt;br /&gt;a) updating tests when the software has changed&lt;br /&gt;&lt;br /&gt;b) testing a released system that has been changed&lt;br /&gt;&lt;br /&gt;c) testing by users to ensure that the system meets a business need&lt;br /&gt;&lt;br /&gt;d) testing to maintain business advantage&lt;br /&gt;&lt;br /&gt;Q18&lt;br /&gt;&lt;br /&gt;What can static analysis NOT find?&lt;br /&gt;&lt;br /&gt;a) the use of a variable before it has been defined&lt;br /&gt;&lt;br /&gt;b) unreachable (“dead”) code&lt;br /&gt;&lt;br /&gt;c) memory leaks&lt;br /&gt;&lt;br /&gt;d) array bound violations&lt;br /&gt;&lt;br /&gt;Q19&lt;br /&gt;&lt;br /&gt;Which of the following techniques is NOT a black box technique?&lt;br /&gt;&lt;br /&gt;a) state transition testing&lt;br /&gt;&lt;br /&gt;b) LCSAJ&lt;br /&gt;&lt;br /&gt;c) syntax testing&lt;br /&gt;&lt;br /&gt;d) boundary value analysis&lt;br /&gt;&lt;br /&gt;Q20&lt;br /&gt;&lt;br /&gt;Beta testing is:&lt;br /&gt;&lt;br /&gt;a) performed by customers at their own site&lt;br /&gt;&lt;br /&gt;b) performed by customers at the software developer&#039;s site&lt;br /&gt;&lt;br /&gt;c) performed by an Independent Test Team&lt;br /&gt;&lt;br /&gt;d) performed as early as possible in the lifecycle&lt;br /&gt;&lt;br /&gt;Q21&lt;br /&gt;&lt;br /&gt;Given the following types of tool, which tools would typically be used by developers, and which by an independent system test team?&lt;br /&gt;&lt;br /&gt;i. static analysis&lt;br /&gt;&lt;br /&gt;ii. performance testing&lt;br /&gt;&lt;br /&gt;iii. test management&lt;br /&gt;&lt;br /&gt;iv. dynamic analysis&lt;br /&gt;&lt;br /&gt;a) developers would typically use i and iv; test team ii and iii&lt;br /&gt;&lt;br /&gt;b) developers would typically use i and iii; test team ii and iv&lt;br /&gt;&lt;br /&gt;c) developers would typically use ii and iv; test team i and iii&lt;br /&gt;&lt;br /&gt;d) developers would typically use i, iii and iv; test team ii&lt;br /&gt;&lt;br /&gt;Q22&lt;br /&gt;&lt;br /&gt;The main focus of acceptance testing is:&lt;br /&gt;&lt;br /&gt;a) finding faults in the system&lt;br /&gt;&lt;br /&gt;b) ensuring that the system is acceptable to all users&lt;br /&gt;&lt;br /&gt;c) testing the system with other systems&lt;br /&gt;&lt;br /&gt;d) testing from a business perspective&lt;br /&gt;&lt;br /&gt;Q23&lt;br /&gt;&lt;br /&gt;Which of the following statements about component testing is FALSE?&lt;br /&gt;&lt;br /&gt;a) black box test design techniques all have an associated test measurement technique&lt;br /&gt;&lt;br /&gt;b) white box test design techniques all have an associated test measurement technique&lt;br /&gt;&lt;br /&gt;c) cyclomatic complexity is not a test measurement technique&lt;br /&gt;&lt;br /&gt;d) black box test measurement techniques all have an associated test design technique&lt;br /&gt;&lt;br /&gt;Q24&lt;br /&gt;&lt;br /&gt;Which of the following statements is NOT true?&lt;br /&gt;&lt;br /&gt;a) inspection is the most formal review process&lt;br /&gt;&lt;br /&gt;b) inspections should be led by a trained leader&lt;br /&gt;&lt;br /&gt;c) managers can perform inspections on management documents&lt;br /&gt;&lt;br /&gt;d) inspection is appropriate even when there are no written documents&lt;br /&gt;&lt;br /&gt;Q25&lt;br /&gt;&lt;br /&gt;A typical commercial test execution tool would be able to perform all of the following, EXCEPT:&lt;br /&gt;&lt;br /&gt;a) calculating expected outputs&lt;br /&gt;&lt;br /&gt;b) comparison of expected outcomes with actual outcomes&lt;br /&gt;&lt;br /&gt;c) recording test inputs&lt;br /&gt;&lt;br /&gt;d) reading test values from a data file&lt;br /&gt;&lt;br /&gt;Q26&lt;br /&gt;&lt;br /&gt;The difference between re-testing and regression testing is:&lt;br /&gt;&lt;br /&gt;a) re-testing ensures the original fault has been removed; regression testing looks for unexpected side-effects&lt;br /&gt;&lt;br /&gt;b) re-testing looks for unexpected side-effects; regression testing ensures the original fault has been removed&lt;br /&gt;&lt;br /&gt;c) re-testing is done after faults are fixed; regression testing is done earlier&lt;br /&gt;&lt;br /&gt;d) re-testing is done by developers; regression testing is done by independent testers&lt;br /&gt;&lt;br /&gt;Q27&lt;br /&gt;&lt;br /&gt;Expected results are:&lt;br /&gt;&lt;br /&gt;a) only important in system testing&lt;br /&gt;&lt;br /&gt;b) only used in component testing&lt;br /&gt;&lt;br /&gt;c) most useful when specified in advance&lt;br /&gt;&lt;br /&gt;d) derived from the code&lt;br /&gt;&lt;br /&gt;Q28&lt;br /&gt;&lt;br /&gt;What type of review requires formal entry and exit criteria, including metrics:&lt;br /&gt;&lt;br /&gt;a) walkthrough&lt;br /&gt;&lt;br /&gt;b) inspection&lt;br /&gt;&lt;br /&gt;c) management review&lt;br /&gt;&lt;br /&gt;d) post project review&lt;br /&gt;&lt;br /&gt;Q29&lt;br /&gt;&lt;br /&gt;Which of the following uses Impact Analysis most?&lt;br /&gt;&lt;br /&gt;a) component testing&lt;br /&gt;&lt;br /&gt;b) non-functional system testing&lt;br /&gt;&lt;br /&gt;c) user acceptance testing&lt;br /&gt;&lt;br /&gt;d) maintenance testing&lt;br /&gt;&lt;br /&gt;Q30&lt;br /&gt;&lt;br /&gt;What is NOT included in typical costs for an inspection process?&lt;br /&gt;&lt;br /&gt;a) setting up forms and databases&lt;br /&gt;&lt;br /&gt;b) analysing metrics and improving processes&lt;br /&gt;&lt;br /&gt;c) writing the documents to be inspected&lt;br /&gt;&lt;br /&gt;d) time spent on the document outside the meeting&lt;br /&gt;&lt;br /&gt;Q31&lt;br /&gt;&lt;br /&gt;Which of the following is NOT a reasonable test objective:&lt;br /&gt;&lt;br /&gt;a) to find faults in the software&lt;br /&gt;&lt;br /&gt;b) to prove that the software has no faults&lt;br /&gt;&lt;br /&gt;c) to give confidence in the software&lt;br /&gt;&lt;br /&gt;d) to find performance problems&lt;br /&gt;&lt;br /&gt;Q32&lt;br /&gt;&lt;br /&gt;Which expression best matches the following characteristics of the review processes:&lt;br /&gt;&lt;br /&gt;1. led by the author&lt;br /&gt;&lt;br /&gt;2. undocumented&lt;br /&gt;&lt;br /&gt;3. no management participation&lt;br /&gt;&lt;br /&gt;4. led by a moderator or leader&lt;br /&gt;&lt;br /&gt;5. uses entry and exit criteria&lt;br /&gt;&lt;br /&gt;s) inspection&lt;br /&gt;&lt;br /&gt;t) peer review&lt;br /&gt;&lt;br /&gt;u) informal review&lt;br /&gt;&lt;br /&gt;v) walkthrough&lt;br /&gt;&lt;br /&gt;a) s = 4 and 5, t = 3, u = 2, v = 1&lt;br /&gt;&lt;br /&gt;b) s = 4, t = 3, u = 2 and 5, v = 1&lt;br /&gt;&lt;br /&gt;c) s = 1 and 5, t = 3, u = 2, v = 4&lt;br /&gt;&lt;br /&gt;d) s = 4 and 5, t = 1, u= 2, v = 3&lt;br /&gt;&lt;br /&gt;Q33&lt;br /&gt;&lt;br /&gt;Which of the following is NOT part of system testing?&lt;br /&gt;&lt;br /&gt;a) business process-based testing&lt;br /&gt;&lt;br /&gt;b) performance, load and stress testing&lt;br /&gt;&lt;br /&gt;c) usability testing&lt;br /&gt;&lt;br /&gt;d) top-down integration testing&lt;br /&gt;&lt;br /&gt;Q34&lt;br /&gt;&lt;br /&gt;Which statement about expected outcomes is FALSE?&lt;br /&gt;&lt;br /&gt;a) expected outcomes are defined by the software&#039;s behaviour&lt;br /&gt;&lt;br /&gt;b) expected outcomes are derived from a specification, not from the code&lt;br /&gt;&lt;br /&gt;c) expected outcomes should be predicted before a test is run&lt;br /&gt;&lt;br /&gt;d) expected outcomes may include timing constraints such as response times&lt;br /&gt;&lt;br /&gt;Q35&lt;br /&gt;&lt;br /&gt;The standard that gives definitions of testing terms is:&lt;br /&gt;&lt;br /&gt;a) ISO/IEC 12207&lt;br /&gt;&lt;br /&gt;b) BS 7925-1&lt;br /&gt;&lt;br /&gt;c) ANSI/IEEE 829&lt;br /&gt;&lt;br /&gt;d) ANSI/IEEE 729&lt;br /&gt;&lt;br /&gt;Q36&lt;br /&gt;&lt;br /&gt;The cost of fixing a fault:&lt;br /&gt;&lt;br /&gt;a) is not important&lt;br /&gt;&lt;br /&gt;b) increases the later a fault is found&lt;br /&gt;&lt;br /&gt;c) decreases the later a fault is found&lt;br /&gt;&lt;br /&gt;d) can never be determined&lt;br /&gt;&lt;br /&gt;Q37&lt;br /&gt;&lt;br /&gt;Which of the following is NOT included in the Test Plan document of the Test Documentation Standard?&lt;br /&gt;&lt;br /&gt;a) what is not to be tested&lt;br /&gt;&lt;br /&gt;b) test environment properties&lt;br /&gt;&lt;br /&gt;c) quality plans&lt;br /&gt;&lt;br /&gt;d) schedules and deadlines&lt;br /&gt;&lt;br /&gt;Q38&lt;br /&gt;&lt;br /&gt;Could reviews or inspections be considered part of testing?&lt;br /&gt;&lt;br /&gt;a) no, because they apply to development documentation&lt;br /&gt;&lt;br /&gt;b) no, because they are normally applied before testing&lt;br /&gt;&lt;br /&gt;c) yes, because both help detect faults and improve quality&lt;br /&gt;&lt;br /&gt;d) yes, because testing includes all non-constructive activities&lt;br /&gt;&lt;br /&gt;Q39&lt;br /&gt;&lt;br /&gt;Which of the following is not part of performance testing?&lt;br /&gt;&lt;br /&gt;a) measuring response times&lt;br /&gt;&lt;br /&gt;b) recovery testing&lt;br /&gt;&lt;br /&gt;c) simulating many users&lt;br /&gt;&lt;br /&gt;d) generating many transactions&lt;br /&gt;&lt;br /&gt;Q40&lt;br /&gt;&lt;br /&gt;Error guessing is best used:&lt;br /&gt;&lt;br /&gt;a) after more formal techniques have been applied&lt;br /&gt;&lt;br /&gt;b) as the first approach to deriving test cases&lt;br /&gt;&lt;br /&gt;c) by inexperienced testers&lt;br /&gt;&lt;br /&gt;d) after the system has gone live&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Answer to Question Paper 2:&lt;br /&gt;Question number&lt;br /&gt;Correct answer&lt;br /&gt;1&lt;br /&gt;C&lt;br /&gt;2&lt;br /&gt;C&lt;br /&gt;3&lt;br /&gt;D&lt;br /&gt;4&lt;br /&gt;D&lt;br /&gt;5&lt;br /&gt;C&lt;br /&gt;6&lt;br /&gt;A&lt;br /&gt;7&lt;br /&gt;B&lt;br /&gt;8&lt;br /&gt;A&lt;br /&gt;9&lt;br /&gt;C&lt;br /&gt;10&lt;br /&gt;D&lt;br /&gt;11&lt;br /&gt;B&lt;br /&gt;12&lt;br /&gt;B&lt;br /&gt;13&lt;br /&gt;D&lt;br /&gt;14&lt;br /&gt;C&lt;br /&gt;15&lt;br /&gt;D&lt;br /&gt;16&lt;br /&gt;C&lt;br /&gt;17&lt;br /&gt;B&lt;br /&gt;18&lt;br /&gt;C&lt;br /&gt;19&lt;br /&gt;B&lt;br /&gt;20&lt;br /&gt;A&lt;br /&gt;21&lt;br /&gt;A&lt;br /&gt;22&lt;br /&gt;D&lt;br /&gt;23&lt;br /&gt;A&lt;br /&gt;24&lt;br /&gt;D&lt;br /&gt;25&lt;br /&gt;A&lt;br /&gt;26&lt;br /&gt;A&lt;br /&gt;27&lt;br /&gt;C&lt;br /&gt;28&lt;br /&gt;B&lt;br /&gt;29&lt;br /&gt;D&lt;br /&gt;30&lt;br /&gt;C&lt;br /&gt;31&lt;br /&gt;B&lt;br /&gt;32&lt;br /&gt;A&lt;br /&gt;33&lt;br /&gt;D&lt;br /&gt;34&lt;br /&gt;A&lt;br /&gt;35&lt;br /&gt;B&lt;br /&gt;36&lt;br /&gt;B&lt;br /&gt;37&lt;br /&gt;C&lt;br /&gt;38&lt;br /&gt;C&lt;br /&gt;39&lt;br /&gt;B&lt;br /&gt;40&lt;br /&gt;A&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/ISTQB-more-Question-Papers-b1-p26.htm</guid>
	</item>
	<item>
		<title>ISTQB Question Paper1</title>
		<category>QTP</category>
		<pubDate>2010-03-12T06:50:35Z</pubDate>
		<description>1. An input field takes the year of birth between 1900 and 2004&lt;br /&gt;&lt;br /&gt;The boundary values for testing this field are&lt;br /&gt;&lt;br /&gt;a. 0,1900,2004,2005&lt;br /&gt;&lt;br /&gt;b. 1900, 2004&lt;br /&gt;&lt;br /&gt;c. 1899,1900,2004,2005&lt;br /&gt;&lt;br /&gt;d. 1899, 1900, 1901,2003,2004,2005&lt;br /&gt;&lt;br /&gt;2. Which one of the following are non-functional testing methods?&lt;br /&gt;&lt;br /&gt;a. System testing&lt;br /&gt;&lt;br /&gt;b. Usability testing&lt;br /&gt;&lt;br /&gt;c. Performance testing&lt;br /&gt;&lt;br /&gt;d. Both b &amp; c&lt;br /&gt;&lt;br /&gt;3. Which of the following tools would be involved in the automation of regression test?&lt;br /&gt;&lt;br /&gt;a. Data tester&lt;br /&gt;&lt;br /&gt;b. Boundary tester&lt;br /&gt;&lt;br /&gt;c. Capture/Playback&lt;br /&gt;&lt;br /&gt;d. Output comparator.&lt;br /&gt;&lt;br /&gt;4. Incorrect form of Logic coverage is:&lt;br /&gt;&lt;br /&gt;a. Statement Coverage&lt;br /&gt;&lt;br /&gt;b. Pole Coverage&lt;br /&gt;&lt;br /&gt;c. Condition Coverage&lt;br /&gt;&lt;br /&gt;d. Path Coverage&lt;br /&gt;&lt;br /&gt;5. Which of the following is not a quality characteristic listed in ISO 9126 Standard?&lt;br /&gt;&lt;br /&gt;a. Functionality&lt;br /&gt;&lt;br /&gt;b. Usability&lt;br /&gt;&lt;br /&gt;c. Supportability&lt;br /&gt;&lt;br /&gt;d. Maintainability&lt;br /&gt;&lt;br /&gt;6. To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.&lt;br /&gt;&lt;br /&gt;a. Stub&lt;br /&gt;&lt;br /&gt;b. Driver&lt;br /&gt;&lt;br /&gt;c. Proxy&lt;br /&gt;&lt;br /&gt;d. None of the above&lt;br /&gt;&lt;br /&gt;7. Boundary value testing&lt;br /&gt;&lt;br /&gt;a. Is the same as equivalence partitioning tests&lt;br /&gt;&lt;br /&gt;b. Test boundary conditions on, below and above the edges of input and output equivalence classes&lt;br /&gt;&lt;br /&gt;c. Tests combinations of input circumstances&lt;br /&gt;&lt;br /&gt;d. Is used in white box testing strategy&lt;br /&gt;&lt;br /&gt;8. Pick the best definition of quality&lt;br /&gt;&lt;br /&gt;a. Quality is job one&lt;br /&gt;&lt;br /&gt;b. Zero defects&lt;br /&gt;&lt;br /&gt;c. Conformance to requirements&lt;br /&gt;&lt;br /&gt;d. Work as designed&lt;br /&gt;&lt;br /&gt;9. Fault Masking is&lt;br /&gt;&lt;br /&gt;a. Error condition hiding another error condition&lt;br /&gt;&lt;br /&gt;b. Creating a test case which does not reveal a fault&lt;br /&gt;&lt;br /&gt;c. Masking a fault by developer&lt;br /&gt;&lt;br /&gt;d. Masking a fault by a tester&lt;br /&gt;&lt;br /&gt;10. One Key reason why developers have difficulty testing their own work is :&lt;br /&gt;&lt;br /&gt;a. Lack of technical documentation&lt;br /&gt;&lt;br /&gt;b. Lack of test tools on the market for developers&lt;br /&gt;&lt;br /&gt;c. Lack of training&lt;br /&gt;&lt;br /&gt;d. Lack of Objectivity&lt;br /&gt;&lt;br /&gt;11. During the software development process, at what point can the test process start?&lt;br /&gt;&lt;br /&gt;a. When the code is complete.&lt;br /&gt;&lt;br /&gt;b. When the design is complete.&lt;br /&gt;&lt;br /&gt;c. When the software requirements have been approved.&lt;br /&gt;&lt;br /&gt;d. When the first code module is ready for unit testing&lt;br /&gt;&lt;br /&gt;12. In a review meeting a moderator is a person who&lt;br /&gt;&lt;br /&gt;a. Takes minutes of the meeting&lt;br /&gt;&lt;br /&gt;b. Mediates between people&lt;br /&gt;&lt;br /&gt;c. Takes telephone calls&lt;br /&gt;&lt;br /&gt;d. Writes the documents to be reviewed&lt;br /&gt;&lt;br /&gt;13. Given the Following program&lt;br /&gt;&lt;br /&gt;IF X &lt; Y&lt;br /&gt;&lt;br /&gt;THEN Statement 1;&lt;br /&gt;&lt;br /&gt;ELSE IF Y &gt;= Z&lt;br /&gt;&lt;br /&gt;THEN Statement 2;&lt;br /&gt;&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;McCabe’s Cyclomatic Complexity is :&lt;br /&gt;&lt;br /&gt;a. 2&lt;br /&gt;&lt;br /&gt;b. 3&lt;br /&gt;&lt;br /&gt;c. 4&lt;br /&gt;&lt;br /&gt;d. 5&lt;br /&gt;&lt;br /&gt;14. How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other : -&lt;br /&gt;&lt;br /&gt;…………&lt;br /&gt;&lt;br /&gt;if (Condition 1)&lt;br /&gt;&lt;br /&gt;then statement 1&lt;br /&gt;&lt;br /&gt;else statement 2&lt;br /&gt;&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;if (Condition 2)&lt;br /&gt;&lt;br /&gt;then statement 3&lt;br /&gt;&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;…………&lt;br /&gt;&lt;br /&gt;a. Test Cases&lt;br /&gt;&lt;br /&gt;b. 3 Test Cases&lt;br /&gt;&lt;br /&gt;c. 4 Test Cases&lt;br /&gt;&lt;br /&gt;d. Not achievable&lt;br /&gt;&lt;br /&gt;15. Acceptance test cases are based on what?&lt;br /&gt;&lt;br /&gt;a. Requirements&lt;br /&gt;&lt;br /&gt;b. Design&lt;br /&gt;&lt;br /&gt;c. Code&lt;br /&gt;&lt;br /&gt;d. Decision table&lt;br /&gt;&lt;br /&gt;16. “How much testing is enough?”&lt;br /&gt;&lt;br /&gt;a. This question is impossible to answer&lt;br /&gt;&lt;br /&gt;b. This question is easy to answer&lt;br /&gt;&lt;br /&gt;c. The answer depends on the risk for your industry, contract and special requirements&lt;br /&gt;&lt;br /&gt;d. This answer depends on the maturity of your developers&lt;br /&gt;&lt;br /&gt;17. A common test technique during component test is&lt;br /&gt;&lt;br /&gt;a. Statement and branch testing&lt;br /&gt;&lt;br /&gt;b. Usability testing&lt;br /&gt;&lt;br /&gt;c. Security testing&lt;br /&gt;&lt;br /&gt;d. Performance testing&lt;br /&gt;&lt;br /&gt;18. Statement Coverage will not check for the following.&lt;br /&gt;&lt;br /&gt;a. Missing Statements&lt;br /&gt;&lt;br /&gt;b. Unused Branches&lt;br /&gt;&lt;br /&gt;c. Dead Code&lt;br /&gt;&lt;br /&gt;d. Unused Statement&lt;br /&gt;&lt;br /&gt;19. Independent Verification &amp; Validation is&lt;br /&gt;&lt;br /&gt;a. Done by the Developer&lt;br /&gt;&lt;br /&gt;b. Done by the Test Engineers&lt;br /&gt;&lt;br /&gt;c. Done By Management&lt;br /&gt;&lt;br /&gt;d. Done by an Entity Outside the Project’s sphere of influence&lt;br /&gt;&lt;br /&gt;20. Code Coverage is used as a measure of what ?&lt;br /&gt;&lt;br /&gt;a. Defects&lt;br /&gt;&lt;br /&gt;b. Trends analysis&lt;br /&gt;&lt;br /&gt;c. Test Effectiveness&lt;br /&gt;&lt;br /&gt;d. Time Spent Testing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Answers to Question Paper 1:&lt;br /&gt;1 c&lt;br /&gt;2 d&lt;br /&gt;3 c&lt;br /&gt;4 b&lt;br /&gt;5 c&lt;br /&gt;6 b&lt;br /&gt;7 b&lt;br /&gt;8 c&lt;br /&gt;9 a&lt;br /&gt;10 d&lt;br /&gt;11 c&lt;br /&gt;12 b&lt;br /&gt;13 b&lt;br /&gt;14 c &lt;br /&gt;15 a&lt;br /&gt;16 c&lt;br /&gt;17 a&lt;br /&gt;18 a&lt;br /&gt;19 d&lt;br /&gt;20 c</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/ISTQB-Question-Paper1-b1-p25.htm</guid>
	</item>
	<item>
		<title>Highlight textbox data</title>
		<category>QTP</category>
		<pubDate>2008-07-16T12:51:24Z</pubDate>
		<description>Following script will be useful to highlight the data available in the Web application textbox.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Set WshShell = CreateObject(&amp;quot;WScript.Shell&amp;quot;)&lt;br /&gt;&lt;br /&gt;wait(1)&lt;br /&gt;&lt;br /&gt;Browser(&amp;quot;info&amp;quot;).Page(&amp;quot;info&amp;quot;).WebEdit(&amp;quot;uname&amp;quot;).Set &amp;quot;Ramu&amp;quot;&lt;br /&gt;&lt;br /&gt;wait(1)&lt;br /&gt;&lt;br /&gt;Browser(&amp;quot;info&amp;quot;).Page(&amp;quot;info&amp;quot;).WebEdit(&amp;quot;uname&amp;quot;).FireEvent &amp;quot;onfocus&amp;quot;&lt;br /&gt;&lt;br /&gt;WshShell.Sendkeys &amp;quot;^a&amp;quot; &lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/Highlight-textbox-data-b1-p24.htm</guid>
	</item>
	<item>
		<title>Closing all browsers available in the Desktop</title>
		<category>QTP</category>
		<pubDate>2008-07-16T12:46:39Z</pubDate>
		<description>&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;Set BrowserObj = Description.Create&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;span&gt;  &lt;br /&gt;&lt;br /&gt;    &lt;/span&gt;BrowserObj(&amp;quot;micclass&amp;quot;).Value = &amp;quot;Browser&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;span&gt;  &lt;br /&gt;&lt;br /&gt;    &lt;/span&gt;Set Obj = Desktop.ChildObjects(BrowserObj)&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;span&gt;   &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;span&gt;    &lt;/span&gt;For i = Obj.Count-1 To 0 Step -1 &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt; &lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;span&gt;           &lt;/span&gt;Obj(i).Close&lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;span&gt; &lt;br /&gt;&lt;br /&gt;     &lt;/span&gt;Next&lt;/font&gt;&lt;/span&gt;&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/Closing-all-browsers-available-in-the-Desktop-b1-p23.htm</guid>
	</item>
	<item>
		<title>Difference between Smoke and sanity testing</title>
		<category>QTP</category>
		<pubDate>2008-07-16T12:44:41Z</pubDate>
		<description>&lt;p&gt;&lt;br /&gt;Despite of hundreds of web articles on Smoke and sanity testing, many people still have confusion between these terms and keep on asking to me. Here is a simple and understandable difference that can clear your confusion between smoke testing and sanity testing.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Here are the differences you can see:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;SMOKE TESTING:&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;Smoke testing originated in the hardware testing practice of turning on a new piece of hardware for the first time and considering it a success if it does not catch fire and smoke. In software industry, smoke testing is a shallow and wide approach whereby all areas of the application without getting into too deep, is tested. &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;A smoke test is scripted, either using a written set of tests or an automated test &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;A Smoke test is designed to touch every part of the application in a cursory way. It’s shallow and wide. &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Smoke testing is conducted to ensure whether the most crucial functions of a program are working, but not bothering with finer details. (Such as build verification). &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Smoke testing is normal health check up to a build of an application before taking it to testing in depth. &lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;SANITY TESTING:&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;A sanity test is a narrow regression test that focuses on one or a few areas of functionality. Sanity testing is usually narrow and deep. &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;A sanity test is usually unscripted. &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;A Sanity test is used to determine a small section of the application is still working after a minor change. &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Sanity testing is a cursory testing, it is performed whenever a cursory testing is sufficient to prove the application is functioning according to specifications. This level of testing is a subset of regression testing. &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Sanity testing is to verify whether requirements are met or not, checking all features breadth-first. &lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Hope these points will help you to clearly understand the Smoke and sanity tests and will help to remove any confusion.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/Difference-between-Smoke-and-sanity-testing-b1-p22.htm</guid>
	</item>
	<item>
		<title>VB Scritp for Comparing two Excels</title>
		<category>QTP</category>
		<pubDate>2008-07-16T08:59:53Z</pubDate>
		<description>&lt;p&gt;&lt;br /&gt;Use the below code to compare Two Excel files data&lt;br /&gt;&lt;br /&gt;Keep the below code in .vbs file and just double click on the .vbs.&lt;br /&gt;&lt;br /&gt;provide path of the excel files with extension .xls&lt;br /&gt;&lt;br /&gt;you can run the below script both in .vbs as well as in QTP Script&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------------&lt;br /&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;br /&gt;wait(2)&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;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;p&gt;&lt;br /&gt;Set objExcel = CreateObject(&amp;quot;Excel.Application&amp;quot;)&lt;br /&gt;&lt;br /&gt;objExcel.Visible = false&lt;br /&gt;&lt;br /&gt;Set objWorkbook1 = objExcel.Workbooks.Open(ExcelFilePath1)&lt;br /&gt;&lt;br /&gt;Set objWorkbook2 = objExcel.Workbooks.Open(ExcelFilePath2)&lt;br /&gt;&lt;br /&gt;Set objWorksheet1= objWorkbook1.Worksheets(1)&lt;br /&gt;&lt;br /&gt;Set objWorksheet2= objWorkbook2.Worksheets(1)&lt;br /&gt;&lt;br /&gt;For Each cell In objWorksheet1.UsedRange&lt;br /&gt;&lt;br /&gt;     If cell.Value &amp;lt;&amp;gt; objWorksheet2.Range(cell.Address).Value Then&lt;br /&gt;&lt;br /&gt;    &#039;Highlights in green color if any changes in cells (for the first file)&lt;br /&gt;&lt;br /&gt;           cell.Interior.ColorIndex = 4&lt;br /&gt;&lt;br /&gt; &#039;Highlights the same cell in the Second file&lt;br /&gt;&lt;br /&gt; objWorksheet2.range(cell.Address).interior.colorIndex = 4                  &lt;br /&gt;&lt;br /&gt; Else&lt;br /&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;br /&gt;ObjExcel.displayAlerts = False  &lt;br /&gt;&lt;br /&gt;objExcel.Save&lt;br /&gt;&lt;br /&gt;objExcel.quit&lt;br /&gt;&lt;br /&gt;set objExcel=nothing&lt;br /&gt;&lt;br /&gt;msgbox &amp;quot;It is Done&amp;quot; &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let me know if any you get error while trying to execute the same &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/VB-Scritp-for-Comparing-two-Excels-b1-p21.htm</guid>
	</item>
	<item>
		<title>Capturing Screenshot of the Browser when Error occurs</title>
		<category>QTP</category>
		<pubDate>2008-07-15T11:15:06Z</pubDate>
		<description>Use the following code to capture screenshot of the browser and to place the file in a seperate location&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Browser(&amp;quot;title:=TNSInfo Login&amp;quot;).Page(&amp;quot;title:=TNSInfo Login&amp;quot;).WebEdit(&amp;quot;name:=password&amp;quot;).Set &amp;quot;Palanki&amp;quot;&lt;br /&gt;&lt;br /&gt;Browser(&amp;quot;title:=TNSInfo Login&amp;quot;).CaptureBitmap &amp;quot;C:New.bmp&amp;quot;,True&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/Capturing-Screenshot-of-the-Browser-when-Error-occurs-b1-p20.htm</guid>
	</item>
	<item>
		<title>Traceability Matrix</title>
		<category>QTP</category>
		<pubDate>2008-07-11T09:45:34Z</pubDate>
		<description>&lt;p&gt;&lt;br /&gt;Traceability Matrix is a template where we will map all the test cases prepared with the requirements of the project.Then we wil confirm whether we covered all the requirements of the client&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/Traceability-Matrix-b1-p19.htm</guid>
	</item>
	<item>
		<title>How to capture StatusText of the Browser</title>
		<category>QTP</category>
		<pubDate>2008-07-10T15:30:52Z</pubDate>
		<description>&lt;span&gt;&lt;br /&gt;&lt;p style=&quot;margin: 0in -9pt 0pt 0in&quot; class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We can capture the StatusText of the Browser with the following script&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;msgbox Browser(&amp;quot;title:=Gmail&amp;quot;).Object.StatusText&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/How-to-capture-StatusText-of-the-Browser-b1-p18.htm</guid>
	</item>
	<item>
		<title>How to Highlight the textbox data</title>
		<category>QTP</category>
		<pubDate>2008-07-10T15:25:21Z</pubDate>
		<description>&lt;p&gt;&lt;br /&gt;Following script will be useful to highlight the data available in the Web application textbox.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Set WshShell = CreateObject(&amp;quot;WScript.Shell&amp;quot;)&lt;br /&gt;&lt;br /&gt;wait(1)&lt;br /&gt;&lt;br /&gt;Browser(&amp;quot;info&amp;quot;).Page(&amp;quot;info&amp;quot;).WebEdit(&amp;quot;uname&amp;quot;).Set &amp;quot;Ramu&amp;quot;&lt;br /&gt;&lt;br /&gt;wait(1)&lt;br /&gt;&lt;br /&gt;Browser(&amp;quot;info&amp;quot;).Page(&amp;quot;info&amp;quot;).WebEdit(&amp;quot;uname&amp;quot;).FireEvent &amp;quot;onfocus&amp;quot;&lt;br /&gt;&lt;br /&gt;WshShell.Sendkeys &amp;quot;^a&amp;quot; &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/How-to-Highlight-the-textbox-data-b1-p17.htm</guid>
	</item>
	<item>
		<title>Sending Mail Automatically</title>
		<category>QTP</category>
		<pubDate>2008-07-10T15:11:22Z</pubDate>
		<description>Following statements will helps you to send mail automatically through QTP.&lt;br /&gt;&lt;br /&gt;For that you need to have a MS Outlook with mail server connected to it in your machine&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim objOutlookMsg&lt;br /&gt;&lt;br /&gt;Set objOutlook = CreateObject(&amp;quot;Outlook.Application&amp;quot;)&lt;br /&gt;&lt;br /&gt;Set objOutlookMsg = objOutlook.CreateItem(0)&lt;br /&gt;&lt;br /&gt;objOutlookMsg.To = &amp;quot;&lt;a href=&quot;mailto:ramu.palanki@gmail.com&quot;&gt;ramu.palanki@gmail.com&lt;/a&gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;objOutlookMsg.BCC =&amp;quot;&lt;a href=&quot;mailto:ramu.palanki@gmail.com&quot;&gt;ramu.palanki@gmail.com&lt;/a&gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;objOutlookMsg.Subject = &amp;quot;Sending Mail through QTP Script&amp;quot;&lt;br /&gt;&lt;br /&gt;objOutlookMsg.Body =&amp;quot;Hello QTP&amp;quot;&lt;br /&gt;&lt;br /&gt;objOutlookMsg.Attachments.Add(&amp;quot;C:Result.html&amp;quot;)&lt;br /&gt;&lt;br /&gt;objOutlookMsg.Send&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description>
		<guid>http://ramupalanki.shared-blogs.com/QTP-b1/Sending-Mail-Automatically-b1-p16.htm</guid>
	</item>
	</channel>
</rss>
