<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>G C Reddy Information Technology</title>
	<atom:link href="http://www.gcrit.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gcrit.com</link>
	<description>interview questions for Computer Programming, Databases, Testing and Web Technologies.</description>
	<lastBuildDate>Thu, 17 May 2012 04:30:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>sdlc faq</title>
		<link>http://www.gcrit.com/sdlc-faq/</link>
		<comments>http://www.gcrit.com/sdlc-faq/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 09:13:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[Agile Models]]></category>
		<category><![CDATA[SDLC]]></category>
		<category><![CDATA[STLC]]></category>
		<category><![CDATA[waterfall model]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=1005</guid>
		<description><![CDATA[Software Envelopment Life Cycle Questions 1. What are the stages in SDLC? Answer: There are 5 stages in SDLC:  I. Requirements Gathering  II. Analysis &#38; Planning III. Design  IV. Coding / Implementation  V. Release &#38; Maintenance 2. What is a RAD model? A: The Rapid Application Development model is a linear sequential software development process [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><strong><span style="color: #0000ff;">Software Envelopment Life Cycle Questions</span></strong></h1>
<p><span style="color: #000000;">1. What are the stages in SDLC?</span></p>
<p><span style="color: #000000;">Answer: There are 5 stages in SDLC:</span><br />
<span style="color: #000000;"> I. Requirements Gathering</span><br />
<span style="color: #000000;"> II. Analysis &amp; Planning</span><br />
<span style="color: #000000;">III. Design</span><br />
<span style="color: #000000;"> IV. Coding / Implementation</span><br />
<span style="color: #000000;"> V. Release &amp; Maintenance </span></p>
<p><span style="color: #000000;">2. What is a RAD model?</span><br />
<span style="color: #000000;">A: The Rapid Application Development model is a linear sequential software development process that emphasizes an extremely short development cycle. The RAD model is a high speed adoption of the linear sequential model in which rapid development is achieved by using component based construction approach.</span></p>
<p><span style="color: #000000;"> It has following phases:</span></p>
<p><span style="color: #000000;">1. Business modeling</span><br />
<span style="color: #000000;"> 2. Data modeling</span><br />
<span style="color: #000000;"> 3. Process modeling</span><br />
<span style="color: #000000;"> 4. Application generation </span><br />
<span style="color: #000000;"> 5. Testing and Turnover</span></p>
<p><span style="color: #000000;">3. What are Disadvantages of Prototype Model?</span><br />
<span style="color: #000000;">A. Implementing the prototype model for creating software has disadvantages. Since its being built out of concept, most of the models presented in the early stage are not complete. Usually they lack flaws that developers still need to work on them again and again. Integration could be very difficult for a prototype model. This often happens when other programs are already stable. The prototype software is released and integrated to the company’s suite of software. </span></p>
<p><span style="color: #000000;">4. What is difference between iterative model and waterfall model?</span><br />
<span style="color: #000000;">A. Waterfall Model: This is a flow based model, in which we pass every phase once, and can not go back to that phase again. Drawback:  If there is nay change in requirements, then we can’t make any changes in requirements. Iterative Model: In this we can come back to previous phases, and make the changes accordingly. In this we revived a final output product at the end of the SDLC.</span></p>
<p><span style="color: #000000;">5. What is the difference between iterative model and prototype model?</span><br />
<span style="color: #000000;">A. Iterative Model: In this we can come back to previous phases, and make the changes accordingly. In this we revived a final output product at the end of the SDLC.</span><br />
<span style="color: #000000;">Prototype Model: Here we receive Prototypes of the product, before the final release. We release 4-5 Protypes with some differences b/w them, and take client opinion, and modifies the final Product, as per client suggestions.</span><br />
<span style="color: #000000;">6. What is meant by Waterfall Model?</span><br />
<span style="color: #000000;">A. The waterfall model is a popular version of the systems development life cycle model for software engineering. Often considered the classic approach to the systems development life cycle, the waterfall model describes a development method that is linear and sequential. Waterfall development has distinct goals for each phase of development.</span><br />
<span style="color: #000000;">7. What is spiral model?</span><br />
<span style="color: #000000;">A. Spiral model is one of the software development lifecycle model. it is very easy to understand both the developers and customers and react the risk at each eliminatory level it uses reduction of the mechanisam.It is divided into no of frame work activates. It’s called as spiral model.</span><br />
<span style="color: #000000;">8. What are advantages of Prototype Model?</span><br />
<span style="color: #000000;">A. Creating software using the prototype model also has its benefits. One of the key advantages prototype model software has is the time frame of development. Everyone has to work on the same thing and at the same time, reducing man hours in creating software. The work will even be faster and efficient if developers will collaborate more regarding the status of a specific function and develop the necessary adjustments in time for the integration.</span><br />
<span style="color: #000000;">9. Explain different Prototype Models Types.?</span><br />
<span style="color: #000000;">A. There are four types of Prototype Models based on their development planning:</span><br />
<span style="color: #000000;"> 1. The Patch-Up Prototype</span><br />
<span style="color: #000000;">    2. Nonoperational Prototype</span><br />
<span style="color: #000000;"> 3. First-of-a-Series Prototype </span><br />
<span style="color: #000000;"> 4. Selected Features Prototype</span><br />
<span style="color: #000000;">10. What is “Software life cycle”?</span><br />
<span style="color: #000000;">A. The life cycle begins when an application is first conceived and ends when it is no longer in use. It includes aspects such as initial concept, requirements analysis, functional design, internal design, documentation planning, test planning, coding, document preparation, integration, testing, maintenance, updates, retesting, phase-out, and other aspects. </span><br />
<span style="color: #000000;">11. What are stages in STLC?</span><br />
<span style="color: #000000;">Answer: </span><br />
<span style="color: #000000;">I) Test Planning</span><br />
<span style="color: #000000;">II) Test Design</span><br />
<span style="color: #000000;">III) Test Execution</span><br />
<span style="color: #000000;">IV) Test Closure</span></p>
<p><span style="color: #000000;">12.What is difference between SDLC and STLC?</span><br />
<span style="color: #000000;">A.SDLC is a model utilized for project management and involves the processes from the feasibility study to the maintenance of the finished application.</span><br />
<span style="color: #000000;">STLC is Software testing Life cycle and SDLC work closely together and some of their activities are almost the same.however the stages are very different from each other.</span></p>
<p><span style="color: #000000;">13.What is the meaning of SDLC.net?</span><br />
<span style="color: #000000;">A.When a person is utilizing  the .Net Framework to create the needed application ,the process is called as SDLC.Net.</span><br />
<span style="color: #000000;">14.What are the advantages of using SDLC with .Net framework?</span><br />
<span style="color: #000000;">A.With SDLC.Net the user can create all the computing devices to function together. User information can be synchronized and updated automatically .</span><br />
<span style="color: #000000;">Users  have the ability to make reusable modules which can increase the productivity as well as reduce the errors in programming.</span><br />
<span style="color: #000000;">15.What are the methods available for SDLC Project Management?</span><br />
<span style="color: #000000;">A. WaterFall methodFountain,Build and Fix,Spiral,Incremental,Synchronize &amp; Stabilize and Rapid Prototyping.</span><br />
<span style="color: #000000;">16.Which models does Spiral SDLC model combine?</span><br />
<span style="color: #000000;">The Spiral SDLC is also called as Spiral lifecycle model.</span><br />
<span style="color: #000000;">It combines the features of Waterfall and the Prototyping model.</span><br />
<span style="color: #000000;">17.What are the 2 types of SDLC requirements</span><br />
<span style="color: #000000;">A. Functional and Non-Functional Requirements</span><br />
<span style="color: #000000;">18.What are functional requirements?</span><br />
<span style="color: #000000;">A.This is a  requirements document which include what a certain system has to do to achieve a certain objective. It is prepared during the first stages of SDLC.</span><br />
<span style="color: #000000;">19. What are methodologies used to prepare functional requirements?</span><br />
<span style="color: #000000;">A. Waterfall, Rational Unified Process and Spiral methods can be used.</span><br />
<span style="color: #000000;">20.What are non -functional requirements?</span><br />
<span style="color: #000000;">A.Non-functioanal requirements describe the system requirements in different characteristics.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/sdlc-faq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C FAQ</title>
		<link>http://www.gcrit.com/c-faq/</link>
		<comments>http://www.gcrit.com/c-faq/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 03:11:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[c faq]]></category>
		<category><![CDATA[cpp]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=1001</guid>
		<description><![CDATA[C Programming Interview Questions 1)    What is C language ? 2)    What does static variable mean? 3)    What are the different storage classes in C ? 4)    What is hashing ? 5)    Can static variables be declared in a header file ? 6)    Can a variable be both constant and volatile ? 7)    Can include [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><strong><span style="color: #0000ff;">C Programming Interview Questions</span></strong></h1>
<p><span style="color: #000000;">1)    What is C language ?</span></p>
<p><span style="color: #000000;">2)    What does static variable mean?</span></p>
<p><span style="color: #000000;">3)    What are the different storage classes in C ?</span></p>
<p><span style="color: #000000;">4)    What is hashing ?</span></p>
<p><span style="color: #000000;">5)    Can static variables be declared in a header file ?</span></p>
<p><span style="color: #000000;">6)    Can a variable be both constant and volatile ?</span></p>
<p><span style="color: #000000;">7)    Can include files be nested?</span></p>
<p><span style="color: #000000;">8)    What is a null pointer ?</span></p>
<p><span style="color: #000000;">9)    What is the output of printf(&#8220;%d&#8221;) ?</span></p>
<p><span style="color: #000000;">10)    What is the difference between calloc() and malloc() ?</span></p>
<p><span style="color: #000000;">11)    What is the difference between printf() and sprintf() ?</span></p>
<p><span style="color: #000000;">12)    How to reduce a final size of executable ?</span></p>
<p><span style="color: #000000;">13)    Can you tell me how to check whether a linked list is circular ?</span></p>
<p><span style="color: #000000;">14)    Advantages of a macro over a function ?</span></p>
<p><span style="color: #000000;">15)    What is the difference between strings and character arrays ?</span></p>
<p><span style="color: #000000;">16)    Write down the equivalent pointer expression for referring the same element a[i][j][k][l] ?</span></p>
<p><span style="color: #000000;">17)    Which bit wise operator is suitable for checking whether a particular bit is on or off ?</span></p>
<p><span style="color: #000000;">18)    Which bit wise operator is suitable for turning off a particular bit in a number ?</span></p>
<p><span style="color: #000000;">19)    Which bit wise operator is suitable for putting on a particular bit in a number ?</span></p>
<p><span style="color: #000000;">20)    Does there exist any other function which can be used to convert an integer or a float to a string ?</span></p>
<p><span style="color: #000000;">21)    Why does malloc(0) return valid memory address ? What&#8217;s the use ?</span></p>
<p><span style="color: #000000;">22)    Difference between const char* p and char const* p</span></p>
<p><span style="color: #000000;">23)    What is the result of using Option Explicit ?</span></p>
<p><span style="color: #000000;">24)    What is the benefit of using an enum rather than a #define constant ?</span></p>
<p><span style="color: #000000;">25)    What is the quickest sorting method to use ?</span></p>
<p><span style="color: #000000;">26)    When should the volatile modifier be used ?</span></p>
<p><span style="color: #000000;">27)    When should the register modifier be used? Does it really help ?</span></p>
<p><span style="color: #000000;">28)    How can you determine the size of an allocated portion of memory ?</span></p>
<p><span style="color: #000000;">29)    What is page thrashing ?</span></p>
<p><span style="color: #000000;">30)    When does the compiler not implicitly generate the address of the first element of an array ?</span></p>
<p><span style="color: #000000;">31)    What is the benefit of using #define to declare a constant ?</span></p>
<p><span style="color: #000000;">32)    How can I search for data in a linked list ?</span></p>
<p><span style="color: #000000;">33)    Why should we assign NULL to the elements (pointer) after freeing them ?</span></p>
<p><span style="color: #000000;">34)    What is a null pointer assignment error ? What are bus errors, memory faults, and core dumps ?</span></p>
<p><span style="color: #000000;">35)    When should a type cast be used ?</span></p>
<p><span style="color: #000000;">36)    What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?</span></p>
<p><span style="color: #000000;">37)    How can we convert a string to a number ?</span></p>
<p><span style="color: #000000;">38)    How can we convert a number to a string?</span></p>
<p><span style="color: #000000;">39)    Is it possible to execute code even after the program exits the main() function?</span></p>
<p><span style="color: #000000;">40)    What is the stack?</span></p>
<p><span style="color: #000000;">41)    How do you print an address?</span></p>
<p><span style="color: #000000;">42)    Can a file other than a .h file be included with #include?</span></p>
<p><span style="color: #000000;">43)    What is Preprocessor?</span></p>
<p><span style="color: #000000;">44)    How can you restore a redirected standard stream?</span></p>
<p><span style="color: #000000;">45)    What is the purpose of realloc( ) ?</span></p>
<p><span style="color: #000000;">46)    What is the heap?</span></p>
<p><span style="color: #000000;">47)    How do you use a pointer to a function?</span></p>
<p><span style="color: #000000;">48)    What is the purpose of main( ) function ?</span></p>
<p><span style="color: #000000;">49)    Why n++ executes faster than n+1?</span></p>
<p><span style="color: #000000;">50)    What will the preprocessor do for a program?</span></p>
<p><span style="color: #000000;">51)    What is the benefit of using const for declaring constants?</span></p>
<p><span style="color: #000000;">52)    What is the easiest sorting method to use?</span></p>
<p><span style="color: #000000;">53)    Is it better to use a macro or a function?</span></p>
<p><span style="color: #000000;">54)    What are the standard predefined macros?</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/c-faq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automation FAQ</title>
		<link>http://www.gcrit.com/automation-faq/</link>
		<comments>http://www.gcrit.com/automation-faq/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 16:03:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[qtp]]></category>
		<category><![CDATA[software testing]]></category>
		<category><![CDATA[test automation]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=994</guid>
		<description><![CDATA[Questions on Test Automation 1) What is Automation? 2) What is the Difference between Automation tools and Management Tools? 3) How to perform Database operations using QTP Tool? 4) How to store Automation Resources during Test Automation using QTP? 5) What is VBScript? 6) Give brief description about QTP IDE 7) What is Debugging Tests [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><strong><span style="color: #0000ff;">Questions on Test Automation</span></strong></h1>
<p><span style="color: #000000;">1) What is Automation?</span></p>
<p><span style="color: #000000;">2) What is the Difference between Automation tools and Management Tools?</span></p>
<p><span style="color: #000000;">3) How to perform Database operations using QTP Tool?</span></p>
<p><span style="color: #000000;">4) How to store Automation Resources during Test Automation using QTP?</span></p>
<p><span style="color: #000000;">5) What is VBScript?</span></p>
<p><span style="color: #000000;">6) Give brief description about QTP IDE</span></p>
<p><span style="color: #000000;">7) What is Debugging Tests and when it is required?</span></p>
<p><span style="color: #000000;"> <img src='http://www.gcrit.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> How to analyze the Application in terms of Object Identification?</span></p>
<p><span style="color: #000000;">9) Does QTP Supports UNIX operating environment?</span></p>
<p><span style="color: #000000;">10) What type of test cases generally we select for Automation?</span></p>
<p><span style="color: #000000;">11) When we start Test Automation Process?</span></p>
<p><span style="color: #000000;">12) How to select appropriate Add ins for test automation in QTP?</span></p>
<p><span style="color: #000000;">13) What are the major challenges in Functional Test Automation?</span></p>
<p><span style="color: #000000;">14) What is the difference between WinRunner and QTP?</span></p>
<p><span style="color: #000000;">15) Give brief description for Objects in Web Environment?</span></p>
<p><span style="color: #000000;">16) What is Activex Environment?</span></p>
<p><span style="color: #000000;">17) What is the difference between VB and VBScript?</span></p>
<p><span style="color: #000000;">18) What is SQL, and who is the vendor of SQL?</span></p>
<p><span style="color: #000000;">19) Why we use Test design techniques like EC, BVA, and Decision Tables etc…?</span></p>
<p><span style="color: #000000;">20) What is the difference between Functional and Non-Functional Testing?</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/automation-faq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>software testing faq</title>
		<link>http://www.gcrit.com/software-testing-faq/</link>
		<comments>http://www.gcrit.com/software-testing-faq/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 06:53:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=989</guid>
		<description><![CDATA[Software Testing Interview Questions What&#8217;s Ad Hoc Testing ? A testing where the tester tries to break the software by randomly trying functionality of software. What&#8217;s the Accessibility Testing ? Testing that determines if software will be usable by people with disabilities. What&#8217;s the Alpha Testing ? The Alpha Testing is conducted at the developer [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><strong><span style="color: #0000ff;">Software Testing Interview Questions</span></strong></h1>
<p><span style="color: #0000ff;"><strong>What&#8217;s Ad Hoc Testing ?</strong></span></p>
<p><span style="color: #000000;">A testing where the tester tries to break the software by randomly trying functionality of software.</span></p>
<p><span style="color: #000000;">What&#8217;s the Accessibility Testing ?</span></p>
<p><span style="color: #000000;">Testing that determines if software will be usable by people with disabilities.</span></p>
<p><span style="color: #000000;">What&#8217;s the Alpha Testing ?</span></p>
<p><span style="color: #000000;">The Alpha Testing is conducted at the developer sites and in a controlled environment by the end user of the software</span></p>
<p><span style="color: #000000;">What&#8217;s the Beta Testing ?</span></p>
<p><span style="color: #000000;">Testing the application after the installation at the client place.</span></p>
<p><span style="color: #000000;">What is Component Testing ?</span></p>
<p><span style="color: #000000;">Testing of individual software components (Unit Testing).</span></p>
<p><span style="color: #000000;">What&#8217;s Compatibility Testing ?</span></p>
<p><span style="color: #000000;">In Compatibility testing we can test that software is compatible with other elements of system.</span></p>
<p><span style="color: #000000;">What is Concurrency Testing ?</span></p>
<p><span style="color: #000000;">Multi-user testing geared towards determining the effects of accessing the same application code, module or database records. Identifies and measures the level of locking, deadlocking and use of single-threaded code and locking semaphores.</span></p>
<p><span style="color: #000000;">What is Conformance Testing ?</span></p>
<p><span style="color: #000000;">The process of testing that an implementation conforms to the specification on which it is based. Usually applied to testing conformance to a formal standard.</span></p>
<p><span style="color: #000000;">What is Context Driven Testing ?</span></p>
<p><span style="color: #000000;">The context-driven school of software testing is flavor of Agile Testing that advocates continuous and creative evaluation of testing opportunities in light of the potential information revealed and the value of that information to the organization right now.</span></p>
<p><span style="color: #000000;">What is Data Driven Testing ?</span></p>
<p><span style="color: #000000;">Testing in which the action of a test case is parameterized by externally defined data values, maintained as a file or spreadsheet. A common technique in Automated Testing.</span></p>
<p><span style="color: #000000;">What is Conversion Testing ? </span></p>
<p><span style="color: #000000;">Testing of programs or procedures used to convert data from existing systems for use in replacement systems.</span></p>
<p><span style="color: #000000;">What is Dependency Testing ?</span></p>
<p><span style="color: #000000;">Examines an application&#8217;s requirements for pre-existing software, initial states and configuration in order to maintain proper functionality.</span></p>
<p><span style="color: #000000;">What is Depth Testing ?</span></p>
<p><span style="color: #000000;">A test that exercises a feature of a product in full detail.</span></p>
<p><span style="color: #000000;">What is Dynamic Testing ?</span></p>
<p><span style="color: #000000;">Testing software through executing it. See also Static Testing.</span></p>
<p><span style="color: #000000;">What is Endurance Testing ? </span></p>
<p><span style="color: #000000;">Checks for memory leaks or other problems that may occur with prolonged execution. </span></p>
<p><span style="color: #000000;">What is End-to-End testing ?</span></p>
<p><span style="color: #000000;">Testing a complete application environment in a situation that mimics real-world use, such as interacting with a database, using network communications, or interacting with other hardware, applications, or systems if appropriate.</span></p>
<p><span style="color: #000000;">What is Exhaustive Testing ?</span></p>
<p><span style="color: #000000;">Testing which covers all combinations of input values and preconditions for an element of the software under test. </span></p>
<p><span style="color: #000000;">What is Gorilla Testing ?</span></p>
<p><span style="color: #000000;">Testing one particular module, functionality heavily.</span></p>
<p><span style="color: #000000;">What is Installation Testing ?</span></p>
<p><span style="color: #000000;">Confirms that the application under test recovers from expected or unexpected events without loss of data or functionality. Events can include shortage of disk space, unexpected loss of communication, or power out conditions.</span></p>
<p><span style="color: #000000;">What is Localization Testing ?</span></p>
<p><span style="color: #000000;">This term refers to making software specifically designed for a specific locality.</span></p>
<p><span style="color: #000000;">What is Loop Testing ?</span></p>
<p><span style="color: #000000;">A white box testing technique that exercises program loops.</span></p>
<p><span style="color: #000000;">What is Mutation Testing ?</span></p>
<p><span style="color: #000000;">Mutation testing is a method for determining if a set of test data or test cases is useful, by deliberately introducing various code changes (&#8216;bugs&#8217;) and retesting with the original test data/cases to determine if the &#8216;bugs&#8217; are detected. Proper implementation requires large computational resources</span></p>
<p><span style="color: #000000;">What is Monkey Testing ?</span></p>
<p><span style="color: #000000;">Testing a system or an Application on the fly, i.e just few tests here and there to ensure the system or an application does not crash out.</span></p>
<p><span style="color: #000000;">What is Positive Testing ?</span></p>
<p><span style="color: #000000;">Testing aimed at showing software works. Also known as &#8220;test to pass&#8221;. See also Negative Testing.</span></p>
<p><span style="color: #000000;">What is Negative Testing ?</span></p>
<p><span style="color: #000000;">Testing aimed at showing software does not work. Also known as &#8220;test to fail&#8221;. See also Positive Testing.</span></p>
<p><span style="color: #000000;">What is Path Testing ?</span></p>
<p><span style="color: #000000;">Testing in which all paths in the program source code are tested at least once. </span></p>
<p><span style="color: #000000;">What is Performance Testing ?</span></p>
<p><span style="color: #000000;">Testing conducted to evaluate the compliance of a system or component with specified performance requirements. Often this is performed using an automated test tool to simulate large number of users. Also know as &#8220;Load Testing&#8221;.</span></p>
<p><span style="color: #000000;">What is Ramp Testing ?</span></p>
<p><span style="color: #000000;">Continuously raising an input signal until the system breaks down.</span></p>
<p><span style="color: #000000;">What is Recovery Testing ?</span></p>
<p><span style="color: #000000;">Confirms that the program recovers from expected or unexpected events without loss of data or functionality. Events can include shortage of disk space, unexpected loss of communication, or power out conditions. </span></p>
<p><span style="color: #000000;">What is the Re-testing testing ?</span></p>
<p><span style="color: #000000;">Retesting- Again testing the functionality of the application. </span></p>
<p><span style="color: #000000;">What is the Regression testing ?</span></p>
<p><span style="color: #000000;">Regression- Check that change in code have not effected the working functionality</span></p>
<p><span style="color: #000000;">What is Sanity Testing ?</span></p>
<p><span style="color: #000000;">Brief test of major functional elements of a piece of software to determine if its basically operational. </span></p>
<p><span style="color: #000000;">What is Scalability Testing ?</span></p>
<p><span style="color: #000000;">Performance testing focused on ensuring the application under test gracefully handles increases in work load.</span></p>
<p><span style="color: #000000;">What is Security Testing ?</span></p>
<p><span style="color: #000000;">Testing which confirms that the program can restrict access to authorized personnel and that the authorized personnel can access the functions available to their security level.</span></p>
<p><span style="color: #000000;">What is Stress Testing ?</span></p>
<p><span style="color: #000000;">Stress testing is a form of testing that is used to determine the stability of a given system or entity. It involves testing beyond normal operational capacity, often to a breaking point, in order to observe the results.</span></p>
<p><span style="color: #000000;">What is Smoke Testing ?</span></p>
<p><span style="color: #000000;">A quick-and-dirty test that the major functions of a piece of software work. 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 on fire.</span></p>
<p><span style="color: #000000;">What is Soak Testing ?</span></p>
<p><span style="color: #000000;">Running a system at high load for a prolonged period of time. For example, running several times more transactions in an entire day (or night) than would be expected in a busy day, to identify and performance problems that appear after a large number of transactions have been executed.</span></p>
<p><span style="color: #000000;">What&#8217;s the Usability testing ?</span></p>
<p><span style="color: #000000;">Usability testing is for user friendliness.</span></p>
<p><span style="color: #000000;">What&#8217;s the User acceptance testing ?</span></p>
<p><span style="color: #000000;">User acceptance testing is determining if software is satisfactory to an end-user or customer.</span></p>
<p><span style="color: #000000;">What&#8217;s the Volume Testing ?</span></p>
<p><span style="color: #000000;">We can perform the Volume testing, where the system is subjected to large volume of data.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/software-testing-faq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Interview Questions</title>
		<link>http://www.gcrit.com/sql-interview-questions-2/</link>
		<comments>http://www.gcrit.com/sql-interview-questions-2/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 06:48:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=985</guid>
		<description><![CDATA[SQL Interview Questions 1. What’s the difference between a primary key and a unique key? Both primary key and unique enforce uniqueness of the column on which they are defined. But by default primary key creates a clustered index on the column, where are unique creates a nonclustered index by default. Another major difference is [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><span style="color: #0000ff;"><strong>SQL Interview Questions</strong></span></h1>
<p><span style="color: #000000;">1. What’s the difference between a primary key and a unique key?</span></p>
<p><span style="color: #000000;">Both primary key and unique enforce uniqueness of the column on which they are defined. But by default primary key creates a clustered index on the column, where are unique creates a nonclustered index by default. Another major difference is that, primary key doesn’t allow NULLs, but unique key allows one NULL only.</span></p>
<p><span style="color: #000000;">2. Write a SQL Query to find first Week Day of month?</span></p>
<p><span style="color: #000000;">SELECT DATENAME(dw, DATEADD(dd, &#8211; DATEPART(dd, GETDATE()) + 1, GETDATE())) AS FirstDay</span></p>
<p><span style="color: #000000;">3. How to find 6th highest salary from Employee table</span></p>
<p><span style="color: #000000;">SELECT TOP 1 salary FROM (SELECT DISTINCT TOP 6 salary FROM employee</span><br />
<span style="color: #000000;">ORDER BY salary DESC) a ORDER BY salary</span></p>
<p><span style="color: #000000;">4. What is a join and List different types of joins.</span></p>
<p><span style="color: #000000;">Joins are used in queries to explain how different tables are related. Joins also let you select data from a table depending upon data from another table. Types of joins: INNER JOINs, OUTER JOINs, CROSS JOINs. OUTER JOINs are further classified as LEFT OUTER JOINS, RIGHT OUTER JOINS and FULL OUTER JOINS.</span></p>
<p><span style="color: #000000;">5. How can I enforce to use particular index?</span></p>
<p><span style="color: #000000;">You can use index hint (index=index_name) after the table name. SELECT au_lname FROM authors (index=aunmind)</span></p>
<p><span style="color: #000000;">6. What is sorting and what is the difference between sorting and clustered indexes?</span></p>
<p><span style="color: #000000;">The ORDER BY clause sorts query results by one or more columns up to 8,060 bytes. This will happen by the time when we retrieve data from database. Clustered indexes physically sorting data, while inserting/updating the table.</span></p>
<p><span style="color: #000000;">7. What are the differences between UNION and JOINS?</span></p>
<p><span style="color: #000000;">A join selects columns from 2 or more tables. A union selects rows.</span></p>
<p><span style="color: #000000;">8. What is the Referential Integrity?</span></p>
<p><span style="color: #000000;">Referential integrity refers to the consistency that must be maintained between primary and foreign keys, i.e. every foreign key value must have a corresponding primary key value</span></p>
<p><span style="color: #000000;">9. What is the row size in SQL Server 2000?</span></p>
<p><span style="color: #000000;">8060 bytes.</span></p>
<p><span style="color: #000000;">10. How to determine the service pack currently installed on SQL Server?</span></p>
<p><span style="color: #000000;">The global variable @@Version stores the build number of the sqlservr.exe, which is used to determine the service pack installed. eg: Microsoft SQL Server 2000 &#8211; 8.00.760 (Intel X86) Dec 17 2002 14:22:05 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 3)</span></p>
<p><span style="color: #000000;">11. What is the purpose of UPDATE STATISTICS?</span></p>
<p><span style="color: #000000;">Updates information about the distribution of key values for one or more statistics groups (collections) in the specified table or indexed view.</span></p>
<p><span style="color: #000000;">12. What is the use of SCOPE_IDENTITY() function?</span></p>
<p><span style="color: #000000;">Returns the most recently created identity value for the tables in the current execution scope.</span></p>
<p><span style="color: #000000;">13. What are the different ways of moving data/databases between servers and databases in SQL Server?</span></p>
<p><span style="color: #000000;">There are lots of options available, you have to choose your option depending upon your requirements. Some of the options you have are: BACKUP/RESTORE, detaching and attaching databases, replication, DTS, BCP, logshipping, INSERT&#8230;SELECT, SELECT&#8230;INTO, creating INSERT scripts to generate data.</span></p>
<p><span style="color: #000000;">14. How do you transfer data from text file to database (other than DTS)?</span></p>
<p><span style="color: #000000;">Using the BCP (Bulk Copy Program) utility.</span></p>
<p><span style="color: #000000;">15. What&#8217;s the difference between DELETE TABLE and TRUNCATE TABLE commands?</span></p>
<p><span style="color: #000000;">DELETE TABLE is a logged operation, so the deletion of each row gets logged in the transaction log, which makes it slow. TRUNCATE TABLE also deletes all the rows in a table, but it won&#8217;t log the deletion of each row, instead it logs the deallocation of the data pages of the table, which makes it faster. Of course, TRUNCATE TABLE can be rolled back.</span></p>
<p><span style="color: #000000;">16. What is a deadlock?</span></p>
<p><span style="color: #000000;">Deadlock is a situation when two processes, each having a lock on one piece of data, attempt to acquire a lock on the other&#8217;s piece. Each process would wait indefinitely for the other to release the lock, unless one of the user processes is terminated. SQL Server detects deadlocks and terminates one user&#8217;s process.</span></p>
<p><span style="color: #000000;">17. What is a LiveLock?</span></p>
<p><span style="color: #000000;">A livelock is one, where a request for an exclusive lock is repeatedly denied because a series of overlapping shared locks keeps interfering. SQL Server detects the situation after four denials and refuses further shared locks. A livelock also occurs when read transactions monopolize a table or page, forcing a write transaction to wait indefinitely.</span></p>
<p><span style="color: #000000;">18. How to restart SQL Server in single user mode?</span></p>
<p><span style="color: #000000;">From Startup Options :- Go to SQL Server Properties by right-clicking on the Server name in the Enterprise manager. Under the &#8216;General&#8217; tab, click on &#8216;Startup Parameters&#8217;. Enter a value of -m in the Parameter.</span></p>
<p><span style="color: #000000;">19. Does SQL Server 2000 clustering support load balancing?</span></p>
<p><span style="color: #000000;">SQL Server 2000 clustering does not provide load balancing; it provides failover support. To achieve load balancing, you need software that balances the load between clusters, not between servers within a cluster.</span></p>
<p><span style="color: #000000;">20. What is DTC?</span></p>
<p><span style="color: #000000;">The Microsoft Distributed Transaction Coordinator (MS DTC) is a transaction manager that allows client applications to include several different sources of data in one transaction. MS DTC coordinates committing the distributed transaction across all the servers enlisted in the transaction.</span></p>
<p><span style="color: #000000;">21. What is DTS?</span></p>
<p><span style="color: #000000;">Microsoft® SQL Server™ 2000 Data Transformation Services (DTS) is a set of graphical tools and programmable objects that lets you extract, transform, and consolidate data from disparate sources into single or multiple destinations.</span></p>
<p><span style="color: #000000;">22. What are defaults? Is there a column to which a default can&#8217;t be bound?</span></p>
<p><span style="color: #000000;">A default is a value that will be used by a column, if no value is supplied to that column while inserting data. IDENTITY columns and timestamp columns can&#8217;t have defaults bound to them.</span></p>
<p><span style="color: #000000;">23. What are the constraints ?</span></p>
<p><span style="color: #000000;">Table Constraints define rules regarding the values allowed in columns and are the standard mechanism for enforcing integrity. SQL Server 2000 supports five classes of constraints. NOT NULL , CHECK, UNIQUE, PRIMARY KEY, FOREIGN KEY.</span></p>
<p><span style="color: #000000;">24. What is Transaction?</span></p>
<p><span style="color: #000000;">A transaction is a sequence of operations performed as a single logical unit of work. A logical unit of work must exhibit four properties, called the ACID (Atomicity, Consistency, Isolation, and Durability) properties, to qualify as a transaction.</span></p>
<p><span style="color: #000000;">25. What is Isolation Level?</span></p>
<p><span style="color: #000000;">An isolation level determines the degree of isolation of data between concurrent transactions. The default SQL Server isolation level is Read Committed. A lower isolation level increases concurrency, but at the expense of data correctness. Conversely, a higher isolation level ensures that data is correct, but can affect concurrency negatively. The isolation level required by an application determines the locking behavior SQL Server uses. SQL-92 defines the following isolation levels, all of which are supported by SQL Server:</span></p>
<p><span style="color: #000000;">Read uncommitted (the lowest level where transactions are isolated only enough to ensure that physically corrupt data is not read).</span><br />
<span style="color: #000000;">Read committed (SQL Server default level).</span><br />
<span style="color: #000000;">Repeatable read.</span><br />
<span style="color: #000000;">Serializable (the highest level, where transactions are completely isolated from one another).</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/sql-interview-questions-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>qtp online training</title>
		<link>http://www.gcrit.com/qtp-online-training/</link>
		<comments>http://www.gcrit.com/qtp-online-training/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 05:53:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[learn qtp]]></category>
		<category><![CDATA[qtp]]></category>
		<category><![CDATA[qtp classes]]></category>
		<category><![CDATA[qtp learning]]></category>
		<category><![CDATA[qtp online training]]></category>
		<category><![CDATA[qtp training]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=971</guid>
		<description><![CDATA[QTP Training (In Scripting Orientation)  Visit: QTP Training FAQ Duration: 55 Hours  Contact: 91-9247837478  Email:  gcreddy@gcreddy.com  Fee: 350 US Dollars Prerequisites:  a) Software Testing Principles &#38; Practices (Manual Testing) b) Programming Fundamentals c) Database Fundamentals QTP Training Program Guidelines Weekday Program(Monday to Friday) Program will commence on: 9th June 2012 Timings: 5:30 PM to 10:30 PM [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><strong><span style="color: #0000ff;">QTP Training</span></strong></h1>
<h2 align="center"><span style="color: #ff0000;"><strong>(In Scripting Orientation)</strong></span><strong></strong></h2>
<p><span style="color: #000080;"><strong> Visit: <a href="http://www.gcreddy.com/2012/01/qtp-complete-reference.html"><span style="color: #000080;">QTP Training FAQ</span></a></strong></span></p>
<p><span style="color: #0000ff;"><strong>Duration: </strong><strong>55 Hours </strong></span><strong> </strong></p>
<h1><strong>Contact: <span style="color: #ff0000;">91-9247837478 </span></strong><br />
<strong>Email:  <span style="color: #ff0000;">gcreddy@gcreddy.com </span></strong></h1>
<p><strong>Fee: 350 US Dollars</strong></p>
<div><strong>Prerequisites:  </strong></div>
<div>a) Software Testing Principles &amp; Practices (Manual Testing)</div>
<div>b) Programming Fundamentals</div>
<div>c) Database Fundamentals</div>
<p><a href="http://www.gcreddy.com/2011/07/qtp-training.html"><strong>QTP Training Program Guidelines</strong></a></p>
<p><span style="font-family: Verdana;"><strong><span style="font-family: Verdana;">Weekday Program</span></strong></span><strong></strong><strong><span style="font-family: Verdana;">(</span></strong><strong><span style="font-family: Verdana;">Monday to Friday) </span></strong></p>
<h1><strong><span style="color: #0000ff; font-family: Verdana;">Program will commence on:</span></strong><span style="color: #ff0000;"><strong><span style="font-family: Verdana;"> 9th June 2012 </span></strong></span></h1>
<p><strong><span style="color: #0000ff; font-family: Verdana;">Timings:</span></strong><strong><span style="color: #000000; font-family: Verdana;"> <span style="color: #0000ff; font-size: x-large;">5</span></span></strong><strong><span style="color: #0000ff; font-family: Verdana;"><span style="font-size: x-large;">:30 PM to 10:30 PM</span> </span></strong><strong><span style="color: #0000ff; font-family: Verdana;">(Indian standard Time)</span></strong></p>
<p><strong><span style="color: #0000ff;">8:00 AM  to 1:00 PM    <span style="color: #800080;">(</span></span><span style="color: #800080;">Eastern Standard Time (EST))</span></strong><br />
<strong></strong><br />
<strong><span style="color: #0000ff;">7:00 AM to 12:00 PM  <span style="color: #800080;">(</span></span><span style="color: #800080;">Central  Standard Time (PST)) </span></strong></p>
<p><span style="font-family: Verdana;"><strong>5:00 AM to 10:00 AM (</strong></span><span style="color: #0000ff; font-family: Verdana;"><strong>Pacific</strong></span><span style="font-family: Verdana;"><strong> Standard Time (CST))</strong></span></p>
<p><span style="font-family: Verdana;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; </strong></span></p>
<p><span style="font-family: Verdana;"><strong>Days of Program:</strong></span></p>
<p><span style="font-family: Verdana;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</strong></span></p>
<div>
<p><span style="font-family: Verdana; color: #ff0000;"><strong>June     9,  10     16,  17     23,  24,   30</strong></span></p>
</div>
<div>
<p><span style="font-family: Verdana; color: #ff0000;"><strong>July      1     7,  8      14, 15</strong> </span></p>
</div>
<p><span style="color: #000000;"><strong>QTP Training Brochure:</strong></span></p>
<div align="center"><span style="color: #000000;"><strong>1-</strong><strong><a href="http://www.gcreddy.com/2010/04/overview-on-test-automation.html"><span style="color: #000000;"><strong>Introduction</strong></span></a> </strong><strong>&amp; </strong><strong><a href="http://www.gcreddy.com/2010/03/qtp-testing-process.html"><span style="color: #000000;"><strong>QTP Test Process</strong></span></a></strong></span></div>
<div><span style="color: #000000;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></span></div>
<div></div>
<ul>
<li><span style="color: #000000;"><strong>Overview on Test Automation &amp; Types of Test Tool</strong></span></li>
</ul>
<div><span style="color: #000000;">§         Drawbacks of Manual Testing</span></div>
<div><span style="color: #000000;">§         Advantages of Test Automation</span></div>
<div><span style="color: #000000;">§         Drawbacks of Test Automation</span></div>
<div><span style="color: #000000;">§         Types of Test Tool (Business Classification)</span></div>
<div><span style="color: #000000;">§         Types of Test Tool (Technical Classification)</span></div>
<div></div>
<ul>
<li><span style="color: #000000;"><strong>Basic Features of QTP</strong></span></li>
</ul>
<div><span style="color: #000000;">§         Supporting Environments</span></div>
<div><span style="color: #000000;">§         Version History</span></div>
<div><span style="color: #000000;">§         Types of License</span></div>
<div><span style="color: #000000;">§         Built-in features</span></div>
<div><span style="color: #000000;">§         Integrated Tools (from HP)</span></div>
<div><span style="color: #000000;">§         Integrated Tools (from Others)</span></div>
<div></div>
<ul>
<li><span style="color: #000000;"><strong>QTP Test Process </strong></span></li>
</ul>
<div><span style="color: #000000;">§         Planning</span></div>
<div><span style="color: #000000;">§         Generating Basic Tests</span></div>
<div><span style="color: #000000;">§         Enhancing Tests</span></div>
<div><span style="color: #000000;">§         Debugging Tests</span></div>
<div><span style="color: #000000;">§         Running Tests</span></div>
<div><span style="color: #000000;">§         Analyzing Test Results</span></div>
<div><span style="color: #000000;">§         Reporting Defects</span></div>
<div></div>
<div><span style="color: #000000;"><strong>2-</strong><strong><a href="http://www.gcreddy.com/2010/03/qtp-tool-window.html"><span style="color: #000000;">Key Elements of QTP</span></a>, <a href="http://www.gcreddy.com/2010/04/recording-tests.html"><span style="color: #000000;">Recording &amp; Running</span></a> </strong></span></div>
<div><span style="color: #000000;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong></span></div>
<div><span style="color: #000000;">o                    <strong>Key Elements of QTP</strong></span></div>
<div><span style="color: #000000;">§         Test Pane</span></div>
<div><span style="color: #000000;">§         Active Screen</span></div>
<div><span style="color: #000000;">§         Data Table</span></div>
<div><span style="color: #000000;">§         Debug Viewer</span></div>
<div><span style="color: #000000;">§         Missing Resources</span></div>
<div><span style="color: #000000;">§         Information</span></div>
<div><span style="color: #000000;">§         QTP Commands</span></div>
<div><span style="color: #000000;">o                    <strong>Recording &amp; Running Tests</strong></span></div>
<div><span style="color: #000000;">§         Recording Process</span></div>
<div><span style="color: #000000;">§         Running Process</span></div>
<div><span style="color: #000000;">§         Recording Modes</span></div>
<div><span style="color: #000000;">§         Advantages of Recording</span></div>
<div><span style="color: #000000;">§         Drawbacks of Recording</span></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>3- </strong><strong><a href="http://www.gcreddy.com/2010/03/object-repository.html"><span style="color: #000000;">Object Repository</span></a></strong></span></div>
<div><span style="color: #000000;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong></span></div>
<div><span style="color: #000000;"><strong>Software objects</strong></span></div>
<div><span style="color: #000000;"><strong>Types of object in QTP</strong></span></div>
<div><span style="color: #000000;">§         Runtime Objects</span></div>
<div><span style="color: #000000;">§         Test Objects</span></div>
<div><span style="color: #000000;">§         Utility Objects</span></div>
<div><span style="color: #000000;">§         Automation Objects</span></div>
<div></div>
<div><span style="color: #000000;"><strong>Object Repository</strong></span></div>
<div><span style="color: #000000;">§         Local Repository</span></div>
<div><span style="color: #000000;">§         Shared Repository</span></div>
<div></div>
<div><span style="color: #000000;"><strong>Operations on Object Repository</strong></span></div>
<div><span style="color: #000000;">§         Adding Objects</span></div>
<div><span style="color: #000000;">§         Renaming Objects</span></div>
<div><span style="color: #000000;">§         Deleting Objects</span></div>
<div><span style="color: #000000;">§         Associating Object Repositories to an Action</span></div>
<div><span style="color: #000000;">§         Exporting Local Objects</span></div>
<div><span style="color: #000000;">§         Merging Repositories</span></div>
<div><span style="color: #000000;">§         View Options</span></div>
<div><span style="color: #000000;">§         Spying Objects</span></div>
<div><span style="color: #000000;">§         Importing and Exporting Repositories using XML</span></div>
<div><span style="color: #000000;">§         Defining New Test Objects</span></div>
<ul>
<li><span style="color: #000000;"><strong>Keyword driven methodology</strong></span></li>
</ul>
<div><span style="color: #000000;">§         Generating Tests Manually through Expert view</span></div>
<div><span style="color: #000000;">§         Generating Steps through Keyword view</span></div>
<div><span style="color: #000000;">§         Generating statements through Step Generator</span></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>4 </strong><strong><a href="http://www.gcreddy.com/2010/04/object-identification-configuration.html"><span style="color: #000000;">Object Identification Configuration</span></a></strong></span></div>
<div></div>
<div><span style="color: #000000;"><strong>Object Identification Configuration</strong></span></div>
<ul>
<li><span style="color: #000000;">Normal Identification</span></li>
<li><span style="color: #000000;">Mandatory Properties</span></li>
<li><span style="color: #000000;">Assertive Properties</span></li>
<li><span style="color: #000000;">Smart Identification</span></li>
<li><span style="color: #000000;">Base filter Properties</span></li>
<li><span style="color: #000000;">Option filter properties</span></li>
<li><span style="color: #000000;">Ordinal Identifier</span></li>
<li><span style="color: #000000;">Making Tool Settings Global</span></li>
</ul>
<div><span style="color: #000000;"><strong>Virtual Object Configuration</strong></span></div>
<div><span style="color: #000000;">§         Virtual Object Manager</span></div>
<div><span style="color: #000000;">§         Defining a Virtual Object</span></div>
<div><span style="color: #000000;">§         Removing or Disabling Virtual Object Definitions</span></div>
<div align="center"><span style="color: #000000;"><strong>5 -</strong><strong><a href="http://www.gcreddy.com/2010/03/descriptive-programming.html"><span style="color: #000000;">Descriptive Programming</span></a></strong></span></div>
<div><span style="color: #000000;"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></span></div>
<div></div>
<div><span style="color: #000000;"><strong>Descriptive Programming</strong></span></div>
<div><span style="color: #000000;">§         Advantages of Descriptive Programming</span></div>
<div><span style="color: #000000;">§         Static Programming</span></div>
<div><span style="color: #000000;">§         Dynamic Programming</span></div>
<div><span style="color: #000000;">§         Creating Library files using Constants /Collection objects</span></div>
<div><span style="color: #000000;">§         Handling Dynamic Objects</span></div>
<div><span style="color: #000000;">§         Handling duplicate Objects</span></div>
<div><span style="color: #000000;">§         Retrieving Child Objects</span></div>
<div><span style="color: #000000;"><strong>Methods/Operations</strong></span></div>
<div><span style="color: #000000;">(Activate Click, Close, dblclick, Set, SetSecure, Select, GetVisibleText, GetRoProperty, GetContent, GetItemsCount, GetItem, Sync, Navigate, WaitProperty and Others…)</span></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>6-</strong><strong><a href="http://www.gcreddy.com/2010/04/inserting-checkpoints.html"><span style="color: #000000;">Checkpoints</span></a> &amp; <a href="http://www.gcreddy.com/2010/04/inserting-output-values.html"><span style="color: #000000;">Output Values</span></a></strong></span></div>
<div></div>
<div><span style="color: #000000;"><strong>Inserting Check points</strong></span></div>
<div><span style="color: #000000;">§         Standard Checkpoint</span></div>
<div><span style="color: #000000;">§         Text Checkpoint</span></div>
<div><span style="color: #000000;">§         Text Area Checkpoint</span></div>
<div><span style="color: #000000;">§         Bitmap Checkpoint</span></div>
<div><span style="color: #000000;">§         Database Checkpoint</span></div>
<div><span style="color: #000000;">§         Accessibility Checkpoint</span></div>
<div><span style="color: #000000;">§         XML Checkpoint (From Application)</span></div>
<div><span style="color: #000000;">§         XML Checkpoint (From Resource)</span></div>
<div><span style="color: #000000;">§         Page Checkpoint</span></div>
<div><span style="color: #000000;">§         Image Checkpoint</span></div>
<div><span style="color: #000000;">§         Table Checkpoint</span></div>
<div><span style="color: #000000;"><strong>Inserting Output values</strong></span></div>
<div><span style="color: #000000;">§         Standard Output value</span></div>
<div><span style="color: #000000;">§         Text Output value</span></div>
<div><span style="color: #000000;">§         Text Area Output value</span></div>
<div><span style="color: #000000;">§         Database Output value</span></div>
<div><span style="color: #000000;">§         XML Output value (From Application)</span></div>
<div><span style="color: #000000;">§         XML Output value (From Resource)</span></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>7-</strong><strong><a href="http://www.gcreddy.com/2010/03/parameterization.html"><span style="color: #000000;">Parameterization</span></a>, <a href="http://www.gcreddy.com/2010/03/synchronization.html"><span style="color: #000000;">Synchronization</span></a></strong></span></div>
<div></div>
<div><span style="color: #000000;"><strong>Synchronization</strong></span></div>
<div><span style="color: #000000;">§         Inserting Wait Statement</span></div>
<div><span style="color: #000000;">§         Inserting Synchronization Point</span></div>
<div><span style="color: #000000;">§         Increasing Tool Default Synchronization Time</span></div>
<div><span style="color: #000000;">§         Sync method (only for web)</span></div>
<div><span style="color: #000000;">§         Selecting appropriate method</span></div>
<div><span style="color: #000000;"><strong>Parameterization</strong></span></div>
<div><span style="color: #000000;">§         Data Driven Testing throughLoopstatements</span></div>
<div><span style="color: #000000;">§         Dynamic Test Data Submission through Looping</span></div>
<div><span style="color: #000000;">§         Data Driven Testing through Data Table</span></div>
<div><span style="color: #000000;">§         Importing Test Data from External files (Text and Excel Files)</span></div>
<div><span style="color: #000000;">§         Creating a Database, Tables and Entering Data</span></div>
<div><span style="color: #000000;">§         Creating DSN</span></div>
<div><span style="color: #000000;">§         Importing Test Data from Databases</span></div>
<div><span style="color: #000000;">§         Data Driven Testing using Data Table Methods</span></div>
<div><span style="color: #000000;">§         Data Driven Testing by fetching the Test Data directly from a Text file</span></div>
<div><span style="color: #000000;">§         Data Driven Testing by fetching the Test Data directly from an Excel file</span></div>
<div><span style="color: #000000;">§         Data Driven Testing by fetching the Test Data directly from a Database</span></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>8- </strong><strong><a href="http://www.gcreddy.com/2010/03/actions.html"><span style="color: #000000;">Actions</span></a>, <a href="http://www.gcreddy.com/2010/04/environment-variables.html"><span style="color: #000000;">Environment Variables</span></a></strong></span></div>
<div></div>
<div><span style="color: #000000;"><strong>Actions</strong></span></div>
<ul>
<li><span style="color: #000000;">Types of actions</span></li>
</ul>
<div><span style="color: #000000;">§         Non-reusable Actions</span></div>
<div><span style="color: #000000;">§         Re-Usable actions</span></div>
<div><span style="color: #000000;">§         External Actions</span></div>
<ul>
<li><span style="color: #000000;">Creating an Action</span></li>
<li><span style="color: #000000;">Splitting Actions</span></li>
<li><span style="color: #000000;">Renaming an Action</span></li>
<li><span style="color: #000000;">Deleting an Action</span></li>
<li><span style="color: #000000;">Making an Reusable/Non-Reusable</span></li>
<li><span style="color: #000000;">Calling an existing Action</span></li>
<li><span style="color: #000000;">Copying an Actions</span></li>
<li><span style="color: #000000;">Action Parameters</span></li>
</ul>
<div></div>
<div><span style="color: #000000;"><strong>Environment Variables</strong></span></div>
<div><span style="color: #000000;">Built-in Variables</span></div>
<div><span style="color: #000000;">User Defined Variables</span></div>
<div><span style="color: #000000;">Defining, modifying and associating environment variables</span></div>
<div><span style="color: #000000;">Loading Environment file during run-time</span></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>9 </strong><strong><a href="http://www.gcreddy.com/2010/04/inserting-transaction-points.html"><span style="color: #000000;">Transaction Points</span></a>, <a href="http://www.gcreddy.com/2010/04/adding-comments.html"><span style="color: #000000;">Adding Comments</span></a></strong></span></div>
<div></div>
<div><span style="color: #000000;"><strong>Inserting Transaction Points</strong></span></div>
<div><span style="color: #000000;">§         Start Transaction &amp; End Transaction</span></div>
<div><span style="color: #000000;">§         Timer Function</span></div>
<div><span style="color: #000000;">§         Defining Test Results</span></div>
<div><span style="color: #000000;"><strong>Adding Comments</strong></span></div>
<div><span style="color: #000000;">§         Purpose of Comments</span></div>
<div><span style="color: #000000;">§         Basic Syntax</span></div>
<div><span style="color: #000000;">§         Comment a Block of Statements</span></div>
<div><span style="color: #000000;">§         Uncomment a Block</span></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>10- </strong><strong><a href="http://www.gcreddy.com/2010/04/debugging-tests.html"><span style="color: #000000;">Debugging Tests</span></a>, <a href="http://www.gcreddy.com/2010/03/batch-testing.html"><span style="color: #000000;">Batch Testing</span></a></strong></span></div>
<div></div>
<div><span style="color: #000000;"><strong>Debug Commands &amp; Break Points</strong></span></div>
<div><span style="color: #000000;">§         Step Into</span></div>
<div><span style="color: #000000;">§         Step Over</span></div>
<div><span style="color: #000000;">§         Step Out</span></div>
<div><span style="color: #000000;">o        Inserting/Removing Brake Points</span></div>
<div><span style="color: #000000;">o        Watching variables</span></div>
<div><span style="color: #000000;">o        Changing Variable values</span></div>
<div><span style="color: #000000;"><strong>Batch Testing</strong></span></div>
<ul>
<li><span style="color: #000000;">Test Batch Runner</span></li>
<li><span style="color: #000000;">Creating Test Batches</span></li>
<li><span style="color: #000000;">Providing permission to Test Batch Runner</span></li>
<li><span style="color: #000000;">Running Test Batches</span></li>
<li><span style="color: #000000;">Running Partial Batches</span></li>
</ul>
<div><span style="color: #000000;"><strong>Automation Object Model</strong></span></div>
<div><span style="color: #000000;">Automating QuickTest Operations</span></div>
<div align="center"><span style="color: #000000;"><strong>11- </strong><strong><a href="http://www.gcreddy.com/2010/04/recovery-scenarios.html"><span style="color: #000000;">Recovery Scenarios</span></a>, Quality Center</strong></span></div>
<div></div>
<div><span style="color: #000000;"><strong>Recovery Scenarios</strong></span></div>
<div><span style="color: #000000;"><strong>Trigger events</strong></span></div>
<div><span style="color: #000000;">Pop-Up window</span></div>
<div><span style="color: #000000;">ObjectState</span></div>
<div><span style="color: #000000;">Test Run Error</span></div>
<div><span style="color: #000000;">Application Crash</span></div>
<div><span style="color: #000000;"><strong>Recovery Operations</strong></span></div>
<div><span style="color: #000000;">Keyboard or Mouse Operation</span></div>
<div><span style="color: #000000;">Close Application Process</span></div>
<div><span style="color: #000000;">Function Call</span></div>
<div><span style="color: #000000;">Restart Microsoft Windows</span></div>
<div><span style="color: #000000;">Creating Recovery Scenarios</span></div>
<div><span style="color: #000000;">Associating Recovery Scenarios</span></div>
<p><span style="color: #000000;"><strong>Quality</strong><strong> Center</strong><strong> (</strong><strong>Site Administration)</strong></span></p>
<div><span style="color: #000000;">§         Creating Domains/ Deleting domains</span></div>
<div><span style="color: #000000;">§         Creating a project/ deleting a project</span></div>
<div><span style="color: #000000;">§         Creating users</span></div>
<div><span style="color: #000000;">§         Deleting users</span></div>
<div><span style="color: #000000;">§         Assigning users to a project</span></div>
<div><span style="color: #000000;">§         Tracking a project status</span></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>12 –</strong><strong>Quality</strong><strong> Center</strong><strong></strong></span></div>
<p><span style="color: #000000;"><strong>Quality</strong><strong> Center</strong><strong> </strong></span><br />
<span style="color: #000000;"> a) <strong>Requirements</strong></span><br />
<span style="color: #000000;"> Creating/Modifying/Deleting test requirements and child requirements</span><br />
<span style="color: #000000;"> b) <strong>Test plan</strong></span><br />
<span style="color: #000000;"> Creating/Modifying/Viewing/Deleting manual as well as automated tests</span><br />
<span style="color: #000000;"> Mapping requirements with test cases</span><br />
<span style="color: #000000;"> Exporting Manual test cases to quality center project</span><br />
<span style="color: #000000;"> Exporting QTP tests to quality center project</span><br />
<span style="color: #000000;"> c) <strong>Test Lab</strong></span><br />
<span style="color: #000000;"> Creating folders</span><br />
<span style="color: #000000;"> Forming test batches</span><br />
<span style="color: #000000;"> Executing manual and automated tests</span><br />
<span style="color: #000000;"> d) <strong>Defects</strong></span><br />
<span style="color: #000000;"> Posting defects</span><br />
<span style="color: #000000;"> Tracking defects</span><br />
<span style="color: #000000;"> Sending defects directly from QTP result window</span></p>
<div></div>
<div align="center"><span style="color: #000000;"><strong><a href="http://www.gcreddy.com/2010/04/vb-script-for-qtp_05.html"><span style="color: #000000;">VBScript</span></a></strong></span></div>
<div align="center"><span style="color: #000000;"><strong>13 –</strong><strong><a href="http://www.gcreddy.com/2010/04/inserting-flow-control-statements.html"><span style="color: #000000;">Introduction</span></a>, <a href="http://www.gcreddy.com/2010/03/vb-script-variables.html"><span style="color: #000000;">Variables</span></a></strong></span></div>
<div></div>
<p><span style="color: #000000;"><strong>VB Script Fundamentals &amp; Features</strong></span></p>
<ul>
<li><span style="color: #000000;">Scripting Languages vs. Programming Languages</span></li>
<li><span style="color: #000000;">Basic Features of VBScript</span></li>
<li><span style="color: #000000;">Hosting Environments &amp; Script Engines</span></li>
<li><span style="color: #000000;">Crating &amp; Running a Script</span></li>
</ul>
<p><span style="color: #000000;"><strong>Data Types, Variables </strong></span></p>
<ul>
<li><span style="color: #000000;">VBScript data types</span></li>
<li><span style="color: #000000;">Declaring Variables and Option Explicit Statement</span></li>
<li><span style="color: #000000;">Assigning Values to Variables</span></li>
<li><span style="color: #000000;">Scalar Variables and Array Variables</span></li>
<li><span style="color: #000000;">Dynamic Arrays, Dimensional Arrays</span></li>
</ul>
<div></div>
<div align="center"><span style="color: #000000;"><strong>14 –</strong><strong><a href="http://www.gcreddy.com/2010/04/comments.html"><span style="color: #000000;">Comments</span></a>, <a href="http://www.gcreddy.com/2010/04/constants.html"><span style="color: #000000;">Constants</span></a>, <a href="http://www.gcreddy.com/2010/03/vb-script-operators.html"><span style="color: #000000;">Operators</span></a></strong></span></div>
<div><span style="color: #000000;"><strong>Comments</strong></span></div>
<div><span style="color: #000000;"><strong>Constants</strong></span></div>
<div><span style="color: #000000;"><strong>Operators</strong></span></div>
<ul>
<li><span style="color: #000000;">Operator Precedence</span></li>
<li><span style="color: #000000;">Arithmetic Operators</span></li>
<li><span style="color: #000000;">Comparison Operators</span></li>
<li><span style="color: #000000;">Concatenation Operators</span></li>
<li><span style="color: #000000;">Logical Operators</span></li>
</ul>
<div></div>
<div></div>
<div><span style="color: #000000;"><strong>15 –</strong><strong>Flow Control (<a href="http://www.gcreddy.com/2010/03/conditional-statements.html"><span style="color: #000000;">Conditional Statements</span></a>)</strong></span></div>
<ul>
<li><span style="color: #000000;">VBScript Conditional Statements</span></li>
<li><span style="color: #000000;">Running a statement if condition is true (Single line Syntax)</span></li>
<li><span style="color: #000000;">Running a block of Statements if Condition is true</span></li>
<li><span style="color: #000000;">Running Certain Statements if a Condition is True and Running Others if a Condition is False</span></li>
<li><span style="color: #000000;">Deciding Among Several Alternatives (IF..Else If…)</span></li>
<li><span style="color: #000000;">Executing a certain block of statements when two / more conditions are True (Nested If…)</span></li>
<li><span style="color: #000000;">Deciding among several Alternatives (Select Case Statement)</span></li>
</ul>
<div></div>
<div><span style="color: #000000;"><strong>16 –Flow Control (<a href="http://www.gcreddy.com/2010/03/looping-through-code.html"><span style="color: #000000;">Looping through the Code</span></a>)</strong></span></div>
<ul>
<li><span style="color: #000000;">Do…Loop(Loops while or until a condition is True.)</span></li>
<li><span style="color: #000000;">While…Wend (Loops while a condition is True.)</span></li>
<li><span style="color: #000000;">For…Next: Uses a counter to run statements a specified number of times.</span></li>
<li><span style="color: #000000;">For Each…Next (Repeats a group of statements for each item in a collection or each element of an array.)</span></li>
<li><span style="color: #000000;">Nested Loops</span></li>
</ul>
<div></div>
<div align="center"><span style="color: #000000;"><strong>17 –<a href="http://www.gcreddy.com/2010/03/vb-script-procedures.html"><span style="color: #000000;">User Defined Functions</span></a></strong></span></div>
<ul>
<li><span style="color: #000000;">Types of Procedures</span></li>
<li><span style="color: #000000;">Internal &amp; External Functions</span></li>
<li><span style="color: #000000;">Creating Library files</span></li>
<li><span style="color: #000000;">Creating Sub Procedures</span></li>
<li><span style="color: #000000;">Creating Function Procedures</span></li>
<li><span style="color: #000000;">Associating Library files</span></li>
<li><span style="color: #000000;">Loading Function Libraries run-time</span></li>
<li><span style="color: #000000;">Generic Functions</span></li>
<li><span style="color: #000000;">Project Specific Functions</span></li>
</ul>
<div></div>
<div align="center"><span style="color: #000000;"><strong>18–<a href="http://www.gcreddy.com/2010/03/vb-script-functions.html"><span style="color: #000000;">Built-In Functions</span></a></strong></span></div>
<ul>
<li><span style="color: #000000;">Conversions (Cdbl. Cint etcc…)</span></li>
<li><span style="color: #000000;">Dates/Times (Date, Time, Now, IsDate, DateDiff, etc…)</span></li>
<li><span style="color: #000000;">Formatting Strings</span></li>
<li><span style="color: #000000;">Input/Output (InputBox and MsgBox)</span></li>
<li><span style="color: #000000;">Math</span></li>
<li><span style="color: #000000;">Miscellaneous</span></li>
<li><span style="color: #000000;">Rounding</span></li>
<li><span style="color: #000000;">Strings (Len, Left, Right, Mid Etc….)</span></li>
<li><span style="color: #000000;">Arrays (Array, IsArray, Split etc..)</span></li>
<li><span style="color: #000000;">Variants</span></li>
</ul>
<div></div>
<div align="center"><span style="color: #000000;"><strong>19 –<a href="http://www.gcreddy.com/2010/03/flat-file-scripts.html"><span style="color: #000000;">File System Operations</span></a></strong></span></div>
<div></div>
<div><span style="color: #000000;"><strong>File System Operations</strong></span></div>
<ul>
<li><span style="color: #000000;">Computer File System</span></li>
<li><span style="color: #000000;">OS Distribution</span></li>
<li><span style="color: #000000;">FileSystemObject</span></li>
</ul>
<div><span style="color: #000000;"><strong>Examples:</strong></span></div>
<ul>
<li><span style="color: #000000;">Create a Folder</span></li>
<li><span style="color: #000000;">Check if the Folder Exist or not? If not create the Folder</span></li>
<li><span style="color: #000000;">Copy a Folder</span></li>
<li><span style="color: #000000;">Delete a folder</span></li>
<li><span style="color: #000000;">Return a Collection of Disk Drives</span></li>
<li><span style="color: #000000;">Get available space on a Drive</span></li>
<li><span style="color: #000000;">Creating a Text File</span></li>
<li><span style="color: #000000;">Check if the File Exist or not? If not create the File</span></li>
<li><span style="color: #000000;">Read Data Character by Character from a text file</span></li>
<li><span style="color: #000000;">Read Line by Line from a Text File</span></li>
<li><span style="color: #000000;">Data Driven Testing by fetching Test data directly from a Text file.</span></li>
<li><span style="color: #000000;">Write Data to a Text File</span></li>
<li><span style="color: #000000;">Delete a Text File</span></li>
<li><span style="color: #000000;">Check if the File Exists or not? If Exists delete the File</span></li>
<li><span style="color: #000000;">Calculate size of a Text File</span></li>
<li><span style="color: #000000;">Compare Two Text File by Size, by Text and by Binary values</span></li>
<li><span style="color: #000000;">Count the number of times a word appears in a Text File</span></li>
<li><span style="color: #000000;">Capture all Button Names and Export to a Text File</span></li>
<li><span style="color: #000000;">Capture Customer Names from 1 to 10 Orders in FR and export to a Text File</span></li>
</ul>
<div></div>
<div align="center"><span style="color: #000000;"><strong>20 –<a href="http://www.gcreddy.com/2010/03/excel-scripts.html"><span style="color: #000000;">Excel Object Model</span></a></strong></span></div>
<div></div>
<div><span style="color: #000000;"><strong>Excel Object Model:</strong></span></div>
<div><span style="color: #000000;">Creating an Automation Object in Excel.Application class</span></div>
<div></div>
<div><span style="color: #000000;"><strong>Excel Scripting Examples:</strong></span></div>
<div><span style="color: #000000;">i)                    Create an Excel File</span></div>
<div><span style="color: #000000;">ii)                  Create an Excel file and enter some Data</span></div>
<div><span style="color: #000000;">iii)                 Read an Excel spread sheet</span></div>
<div><span style="color: #000000;">iv)                Write data to an Excel spread sheet</span></div>
<div><span style="color: #000000;">v)                 Add formatted data to a spread sheet</span></div>
<div><span style="color: #000000;">vi)                Sort Excel worksheet</span></div>
<div><span style="color: #000000;">vii)              Data Driven Testing by fetching Test data from an Excel file</span></div>
<div><span style="color: #000000;">viii)             Compare Two Excel files</span></div>
<div><span style="color: #000000;">ix)                Data driven Testing through Data Table methods</span></div>
<div></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>Day 21–<a href="http://www.gcreddy.com/2010/03/database-scripts.html"><span style="color: #000000;">Database Object Model</span></a></strong></span></div>
<div><span style="color: #000000;">o        ActiveX Data Objects</span></div>
<div><span style="color: #000000;">o        ADODB Connection Object &amp; Recordset Object</span></div>
<div><span style="color: #000000;">o        Test Database Creation &amp; Collecting Test Data</span></div>
<div><span style="color: #000000;">o        Databases Connections (Ms-Access, SQL Server and Oracle)</span></div>
<div><span style="color: #000000;">o        Data Driven Testing by fetching Data from a Database</span></div>
<div><span style="color: #000000;">o        Data Comparisons</span></div>
<div></div>
<div align="center"></div>
<div align="center"><span style="color: #000000;"><strong>22 –<a href="http://www.gcreddy.com/2010/04/regular-expressions.html"><span style="color: #000000;">Regular Expressions</span></a></strong></span></div>
<div></div>
<ul>
<li><span style="color: #000000;">Understanding &amp; Using Regular Expressions</span></li>
<li><span style="color: #000000;">Handling Dynamic Objects</span></li>
<li><span style="color: #000000;">Using Regular Expressions in Checkpoints</span></li>
<li><span style="color: #000000;">Defining Regular Expressions</span></li>
<li><span style="color: #000000;">Search Operations</span></li>
<li><span style="color: #000000;">Regular expressions in Recovery scenarios</span></li>
<li><span style="color: #000000;">Regular Expression Object</span></li>
</ul>
<div></div>
<div align="center"><span style="color: #000000;"><strong>23–<a href="http://www.gcreddy.com/2010/01/xml-scripts.html"><span style="color: #000000;">Error Handling</span></a></strong></span></div>
<ul>
<li><span style="color: #000000;">Overview on Error Handling</span></li>
<li><span style="color: #000000;">Error Handling Methods in QTP</span></li>
<li><span style="color: #000000;">Synchronization</span></li>
<li><span style="color: #000000;">Exist Property</span></li>
<li><span style="color: #000000;">Exit Statement</span></li>
<li><span style="color: #000000;">On Error Statement</span></li>
<li><span style="color: #000000;">Recovery scenarios</span></li>
</ul>
<div></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>24 –<a href="http://www.gcreddy.com/2010/03/qtp-scripts-examples.html"><span style="color: #000000;">GUI Scripting</span></a></strong></span></div>
<ul>
<li><span style="color: #000000;">Handling GUI Objects</span></li>
<li><span style="color: #000000;">ObjectStateVerification</span></li>
<li><span style="color: #000000;">Input Domain Coverage</span></li>
<li><span style="color: #000000;">Output Domain Coverage</span></li>
<li><span style="color: #000000;">GUI Script Examples</span></li>
</ul>
<div></div>
<div></div>
<div></div>
<div align="center"><span style="color: #000000;"><strong>25 –<a href="http://www.gcreddy.com/2010/03/web-scripts.html"><span style="color: #000000;">Web Scripting</span></a>   </strong></span></div>
<ul>
<li><span style="color: #000000;">Checking Links</span></li>
<li><span style="color: #000000;">Testing Forms</span></li>
<li><span style="color: #000000;">Output Domain Coverage</span></li>
<li><span style="color: #000000;">Cookies Testing</span></li>
<li><span style="color: #000000;">Web Script Examples</span></li>
</ul>
<div></div>
<div align="center"><span style="color: #000000;"><strong>26 –<a href="http://www.gcreddy.com/2010/03/qtp-framework.html"><span style="color: #000000;">Introduction</span></a>, Basic Framework</strong></span></div>
<ul>
<li><span style="color: #000000;">Automation Framework, Types of Framework</span></li>
<li><span style="color: #000000;">Creating Folder Structure</span></li>
<li><span style="color: #000000;">Creating &amp; Storing Automation Resources</span></li>
<li><span style="color: #000000;">Organizing &amp; Managing Resources</span></li>
<li><span style="color: #000000;">Generating Driver Scripts</span></li>
<li><span style="color: #000000;">Generating Initialization Script (AOM Script)</span></li>
</ul>
<div></div>
<div align="center"><span style="color: #000000;"><strong>27 –Data Driven Framework</strong></span></div>
<ul>
<li><span style="color: #000000;">Test Data Collection</span></li>
<li><span style="color: #000000;">Ways of Parameterization</span></li>
<li><span style="color: #000000;">Data Driven Implementation Techniques</span></li>
<li><span style="color: #000000;">Using Data Table Methods</span></li>
</ul>
<div></div>
<div align="center"><span style="color: #000000;"><strong>28 –<a href="http://www.gcreddy.com/2010/03/driver-script.html"><span style="color: #000000;">Keyword Driven Framework</span></a></strong></span></div>
<ul>
<li><span style="color: #000000;">Keywords</span></li>
<li><span style="color: #000000;">Keyword Driven Approach</span></li>
<li><span style="color: #000000;">Creating Functions</span></li>
<li><span style="color: #000000;">Creating Test Automation resources</span></li>
<li><span style="color: #000000;">Creating Organizer Spread sheet</span></li>
<li><span style="color: #000000;">Generating the Driver Script</span></li>
<li><span style="color: #000000;">Generating the Initialization Script</span></li>
</ul>
<div></div>
<div align="center"><span style="color: #000000;"><strong>29 –Hybrid Framework</strong></span></div>
<div align="center"></div>
<ul>
<li><span style="color: #000000;">Hybrid Automation Framework</span></li>
<li><span style="color: #000000;">Keyword Driven &amp; Data Driven Test Approach</span></li>
<li><span style="color: #000000;">Advantages of Hybrid Approach</span></li>
<li><span style="color: #000000;">Organizing &amp; Managing Resources</span></li>
</ul>
<div><span style="color: #000000;">********************************************************</span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/qtp-online-training/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging Tests</title>
		<link>http://www.gcrit.com/debugging-tests/</link>
		<comments>http://www.gcrit.com/debugging-tests/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 03:50:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[Debugging Tests]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=854</guid>
		<description><![CDATA[Debugging Tests in QTP What is Debugging? Why Debugging? How to Debug? Debug Commands &#38; Breakpoint &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- a) Step into (F11)         i) It starts the execution         ii) It executes one statement at a time         iii) If it is function call, it opens the function and executes one statement at a time b) [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"></h1>
<h1 style="text-align: center;"><span style="color: #0000ff;"><strong>Debugging Tests in QTP</strong></span></h1>
<p><span style="color: #000000;">What is Debugging?</span><br />
<span style="color: #000000;"> Why Debugging?</span><br />
<span style="color: #000000;"> How to Debug?</span><br />
<span style="color: #000000;"> Debug Commands &amp; Breakpoint</span><br />
<span style="color: #000000;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #0000ff;"><strong> a) Step into (F11)</strong></span></p>
<p><span style="color: #000000;">        i) It starts the execution</span></p>
<p><span style="color: #000000;">        ii) It executes one statement at a time</span></p>
<p><span style="color: #000000;">        iii) If it is function call, it opens the function and executes one statement at a time</span></p>
<p><strong><span style="color: #0000ff;">b) Step Over (F10)</span></strong></p>
<p><span style="color: #000000;">        i) It executes one statement at a time</span></p>
<p><span style="color: #000000;">        ii) If it is function call, it executes all function statements at a time</span></p>
<p><span style="color: #0000ff;"><strong>c) Step Out (Shift+F11)</strong></span></p>
<p><span style="color: #000000;">        i) It executes all remaining function statements at a time</span></p>
<p><span style="color: #000000;"><strong>Breakpoint (F9)</strong></span></p>
<p><span style="color: #000000;"><strong>Debug Viewer</strong></span></p>
<p><span style="color: #000000;"> a) Watch Variables</span></p>
<p><span style="color: #000000;"> b) Change values of variables at run-time</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/debugging-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File System Operations</title>
		<link>http://www.gcrit.com/file-system-operations-in-qtp/</link>
		<comments>http://www.gcrit.com/file-system-operations-in-qtp/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 04:04:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[create text files]]></category>
		<category><![CDATA[File System Operations]]></category>
		<category><![CDATA[fso]]></category>
		<category><![CDATA[qtp file operations]]></category>
		<category><![CDATA[script runtime]]></category>
		<category><![CDATA[vbscript filesystemobject]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=845</guid>
		<description><![CDATA[File System Object Model &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; What is File System? (FAT, NTFS) Examples for File System Operations Create a Folder Copy a Folder Delete  a Folder Create a Text file Copy a Text file Delete a Text file Read data write data compare data search operations etc&#8230; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; How to perform File System Operations How to [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #0000ff;">File System Object Model</span></strong><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">What is File System? (FAT, NTFS)</span></p>
<p><strong>Examples for File System Operations</strong></p>
<p><span style="color: #000000;">Create a Folder</span><br />
<span style="color: #000000;">Copy a Folder</span><br />
<span style="color: #000000;">Delete  a Folder</span></p>
<p><span style="color: #000000;">Create a Text file</span></p>
<p><span style="color: #000000;">Copy a Text file</span><br />
<span style="color: #000000;">Delete a Text file</span></p>
<p><span style="color: #000000;">Read data</span></p>
<p><span style="color: #000000;">write data</span></p>
<p><span style="color: #000000;">compare data</span><br />
<span style="color: #000000;">search operations etc&#8230;</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></p>
<p><span style="color: #000000;">How to perform File System Operations</span></p>
<p><span style="color: #000000;">How to perform Automatic File System Operations</span></p>
<p><span style="color: #000000;">Create File System Object</span></p>
<p><span style="color: #000000;">Set Variable = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span></p>
<p><span style="color: #000000;">Set &#8211; Statement</span></p>
<p><span style="color: #000000;">CreateObject &#8211; Built in Function</span></p>
<p><span style="color: #000000;">&#8220;Scripting.FileSystemObject&#8221; -Class Value</span></p>
<p><span style="color: #000000;"><strong>Examples</strong>:</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8211;</span><br />
<strong> <span style="color: #000000;">1) Create a Folder</span></strong></p>
<p><span style="color: #000000;">&#8216;Create a Folder</span><br />
<span style="color: #000000;">Dim objFso</span></p>
<p><span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span></p>
<p><span style="color: #000000;">objFso.CreateFolder &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP&#8221;</span></p>
<p><span style="color: #000000;">Set objFso = Nothing &#8216;Release the Memory</span></p>
<p><strong><span style="color: #000000;">2) &#8216;Check the existance of the folder, If not exists then Create the Folder</span></strong><br />
<span style="color: #000000;">Dim objFso, FolderPath</span><br />
<span style="color: #000000;">FolderPath = &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP&#8221;</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span></p>
<p><span style="color: #000000;">If Not objFso.FolderExists(FolderPath) Then</span><br />
<span style="color: #000000;">    objFso.CreateFolder (FolderPath)</span><br />
<span style="color: #000000;">End If</span></p>
<p><span style="color: #000000;">Set objFso = Nothing </span></p>
<p><strong><span style="color: #000000;">3) &#8216;Copy a Folder</span></strong><br />
<span style="color: #000000;">Dim objFso, FolderPath</span><br />
<span style="color: #000000;">FolderPath = &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP&#8221;</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span><br />
<span style="color: #000000;">objFso.CopyFolder FolderPath,&#8221;C:\VBS&#8221;</span></p>
<p><span style="color: #000000;">Set objFso = Nothing </span></p>
<p><strong><span style="color: #000000;">4) &#8216;Delete a Folder</span></strong><br />
<span style="color: #000000;">Dim objFso</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span><br />
<span style="color: #000000;">objFso.DeleteFolder &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP&#8221;</span><br />
<span style="color: #000000;">Set objFso = Nothing </span></p>
<p><span style="color: #000000;">5) &#8216;Check existance of the Folder, If exists then Delete the Folder</span><br />
<span style="color: #000000;">Dim objFso</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span></p>
<p><span style="color: #000000;">If objFso.FolderExists(&#8220;C:\Documents and Settings\gcreddy\Desktop\QTP&#8221;) Then</span><br />
<span style="color: #000000;">    objFso.DeleteFolder &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP&#8221;</span><br />
<span style="color: #000000;">End If</span></p>
<p><span style="color: #000000;">Set objFso = Nothing </span></p>
<p><strong><span style="color: #000000;">6) Create a Text File</span></strong></p>
<p><span style="color: #000000;">&#8216;Create a Text File</span><br />
<span style="color: #000000;">Dim objFso</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span><br />
<span style="color: #000000;">objFso.CreateTextFile &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP.txt&#8221;</span></p>
<p><span style="color: #000000;">Set objFso = Nothing</span></p>
<p><span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<strong> <span style="color: #000000;">7&#8242;Create a Text File</span></strong><br />
<span style="color: #000000;">Dim objFso</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span><br />
<span style="color: #000000;">objFso.CreateTextFile &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP.txt&#8221;</span><br />
<span style="color: #000000;">objFso.CreateTextFile &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP.doc&#8221;</span><br />
<span style="color: #000000;">objFso.CreateTextFile &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP.xls&#8221;</span><br />
<span style="color: #000000;">objFso.CreateTextFile &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP.pdf&#8221;</span></p>
<p><span style="color: #000000;">Set objFso = Nothing</span></p>
<p><span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<strong> <span style="color: #000000;">8)&#8217;Delete a Text File</span></strong><br />
<span style="color: #000000;">Dim objFso</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span><br />
<span style="color: #000000;">objFso.DeleteFile &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP.txt&#8221;</span><br />
<span style="color: #000000;">objFso.DeleteFile &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP.doc&#8221;</span><br />
<span style="color: #000000;">objFso.DeleteFile &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP.xls&#8221;</span><br />
<span style="color: #000000;">objFso.DeleteFile &#8220;C:\Documents and Settings\gcreddy\Desktop\QTP.pdf&#8221;</span></p>
<p><span style="color: #000000;">Set objFso = Nothing</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<strong> <span style="color: #000000;">9)&#8217;Check the existance of the file, if exists then Delete the Text File</span></strong><br />
<span style="color: #000000;"> Dim objFso,FilePath</span><br />
<span style="color: #000000;">FilePath=&#8221;C:\Documents and Settings\gcreddy\Desktop\QTP.txt&#8221;</span><br />
<span style="color: #000000;"> Set objFso=CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span></p>
<p><span style="color: #000000;">If objFso.FileExists (FilePath) Then</span><br />
<span style="color: #000000;">    objFso.DeleteFile (FilePath)</span></p>
<p><span style="color: #000000;">End If</span></p>
<p><span style="color: #000000;">Set ObjFso=Nothing</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<strong> <span style="color: #000000;">Text Stream Object </span></strong><br />
<span style="color: #000000;">It is used to perform Text Related Operations.</span></p>
<p><span style="color: #000000;">&#8216;Create File System Object</span><br />
<span style="color: #000000;">Set variable = Createobject(&#8220;scripting.FileSystemObject&#8221;)</span></p>
<p><span style="color: #000000;">&#8216;Create Text Stream Object</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">Set FSO.CreateTextFile/OpenTextFile (&#8220;File Path&#8221;, File Mode)</span></p>
<p><span style="color: #000000;">1 for Read</span></p>
<p><span style="color: #000000;">2 for write</span></p>
<p><span style="color: #000000;">8 for Append</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">High Level Operations</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">Create a Folder</span><br />
<span style="color: #000000;">Copy a Folder</span><br />
<span style="color: #000000;">Delete  a Folder</span></p>
<p><span style="color: #000000;">Create a Text file</span></p>
<p><span style="color: #000000;">Copy a Text file</span><br />
<span style="color: #000000;">Delete a Text file</span></p>
<p><strong><span style="color: #000000;">Text Related Operations</span></strong><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Reading </span><br />
<span style="color: #000000;">    Read char by char</span><br />
<span style="color: #000000;">    Read Line by line</span><br />
<span style="color: #000000;">    Read All</span></p>
<p><span style="color: #000000;">Writing</span><br />
<span style="color: #000000;">    Write Continuously</span><br />
<span style="color: #000000;">    Write Line by line</span><br />
<span style="color: #000000;">    Append </span></p>
<p><span style="color: #000000;">Comparison</span><br />
<span style="color: #000000;">    Compare files by Size (*High Level)</span><br />
<span style="color: #000000;">    Compare files by Text</span><br />
<span style="color: #000000;">    Compare files by Binary value </span></p>
<p><span style="color: #000000;">Search Operations</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<strong> <span style="color: #000000;">10&#8242;Read a Text file char by char</span></strong><br />
<span style="color: #000000;">Dim objFso, objTextstream, myChar</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span><br />
<span style="color: #000000;">Set objTextstream = objFso.OpenTextFile (&#8220;C:\Documents and Settings\gcreddy\Desktop\qtp.txt&#8221;)</span></p>
<p><span style="color: #000000;">Do While objTextstream.AtEndOfStream =False</span><br />
<span style="color: #000000;">myChar = objTextstream.Read(1)</span><br />
<span style="color: #000000;">Msgbox myChar</span><br />
<span style="color: #000000;">Loop</span></p>
<p><span style="color: #000000;">objTextstream.Close</span><br />
<span style="color: #000000;">Set objTextstream = Nothing</span><br />
<span style="color: #000000;">Set objFso = Nothing</span></p>
<p><strong><span style="color: #000000;">11) &#8216;Read a Text file Line by Line</span></strong><br />
<span style="color: #000000;">Dim objFso, objTextstream, myLine</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span><br />
<span style="color: #000000;">Set objTextstream = objFso.OpenTextFile (&#8220;C:\Documents and Settings\gcreddy\Desktop\qtp.txt&#8221;)</span></p>
<p><span style="color: #000000;">Do Until objTextstream.AtEndOfStream = True</span><br />
<span style="color: #000000;">myLine = objTextstream.ReadLine</span><br />
<span style="color: #000000;">Msgbox myLine</span><br />
<span style="color: #000000;">Loop</span></p>
<p><span style="color: #000000;">objTextstream.Close</span><br />
<span style="color: #000000;">Set objTextstream = Nothing</span><br />
<span style="color: #000000;">Set objFso = Nothing</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<strong><span style="color: #000000;">12) &#8216;Read a Text file (Read All)</span></strong><br />
<span style="color: #000000;">Dim objFso, objTextstream, myContent</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span><br />
<span style="color: #000000;">Set objTextstream = objFso.OpenTextFile (&#8220;C:\Documents and Settings\gcreddy\Desktop\qtp.txt&#8221;)</span></p>
<p><span style="color: #000000;">myContent = objTextstream.ReadAll</span><br />
<span style="color: #000000;">Msgbox myContent</span></p>
<p><span style="color: #000000;">objTextstream.Close</span><br />
<span style="color: #000000;">Set objTextstream = Nothing</span><br />
<span style="color: #000000;">Set objFso = Nothing</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<strong><span style="color: #000000;">&#8216;Read a Text file (Read All)</span></strong><br />
<span style="color: #000000;">Dim objFso, objTextstream, myContent</span><br />
<span style="color: #000000;">Set objFso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span><br />
<span style="color: #000000;">Set objTextstream = objFso.OpenTextFile (&#8220;C:\Documents and Settings\gcreddy\Desktop\MorningQTP.txt&#8221;)</span></p>
<p><span style="color: #000000;">myContent = objTextstream.ReadAll</span><br />
<span style="color: #000000;">Print myContent</span></p>
<p><span style="color: #000000;">objTextstream.Close</span><br />
<span style="color: #000000;">Set objTextstream = Nothing</span><br />
<span style="color: #000000;">Set objFso = Nothing</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/file-system-operations-in-qtp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transaction Points in qtp</title>
		<link>http://www.gcrit.com/transaction-points-in-qtp/</link>
		<comments>http://www.gcrit.com/transaction-points-in-qtp/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 04:24:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[Define Test Result]]></category>
		<category><![CDATA[Reporter]]></category>
		<category><![CDATA[Timer Function]]></category>
		<category><![CDATA[Transaction Points]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=837</guid>
		<description><![CDATA[Inserting Transaction Points  Inserting transaction points (Start /End) &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; 1 Inserting transaction points for measuring transaction time 2 It is related to performance testing. 3 We can measure entire test transaction time and part of the test transaction 4 We can insert multiple transaction points in test &#8212;&#8212;&#8212; Functional Test Result Analysis        Performance  Test [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><strong><span style="color: #0000ff;">Inserting Transaction Points</span></strong></h1>
<p><span style="color: #000000;"> Inserting transaction points (Start /End)</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">1 Inserting transaction points for measuring transaction time</span><br />
<span style="color: #000000;">2 It is related to performance testing.</span><br />
<span style="color: #000000;">3 We can measure entire test transaction time and part of the test transaction </span><br />
<span style="color: #000000;">4 We can insert multiple transaction points in test</span></p>
<p><span style="color: #000000;">&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Functional Test Result Analysis        Performance  Test Result Analysis    </span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">Operation : Addition            Scenario: Login operation for</span><br />
<span style="color: #000000;">                    1000 Concurrent users.</span><br />
<span style="color: #000000;">Input : 3, 5</span></p>
<p><span style="color: #000000;">Expected: 8                Expected : 7 seconds</span></p>
<p><span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></p>
<p><span style="color: #000000;">Services Utility Object</span></p>
<p><span style="color: #000000;">Syntax:</span><br />
<span style="color: #000000;">&#8212;&#8212;-</span></p>
<p><span style="color: #000000;">Services.StartTransaction &#8220;transaction name&#8221;</span></p>
<p><span style="color: #000000;">Statements</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Services.EndTransaction &#8220;transaction name&#8221;</span></p>
<p><span style="color: #000000;">Ex:</span><br />
<span style="color: #000000;">Services.StartTransaction &#8220;Orders&#8221;</span><br />
<span style="color: #000000;">Services.StartTransaction &#8220;Login&#8221;</span><br />
<span style="color: #000000;">SystemUtil.Run &#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;,&#8221;",&#8221;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&#8221;,&#8221;open&#8221;</span><br />
<span style="color: #000000;">Dialog(&#8220;Login&#8221;).Activate</span><br />
<span style="color: #000000;">Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Agent Name:&#8221;).Set &#8220;asfg&#8221;</span><br />
<span style="color: #000000;">Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Password:&#8221;).SetSecure &#8220;4f48e6c219c857216c3657b09ae7ae47402e6630&#8243;</span><br />
<span style="color: #000000;">Dialog(&#8220;Login&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Activate</span><br />
<span style="color: #000000;">Services.EndTransaction &#8220;Login&#8221;</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Button&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).ActiveX(&#8220;MaskEdBox&#8221;).Type &#8220;121212&#8243;</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).WinComboBox(&#8220;Fly From:&#8221;).Select &#8220;Denver&#8221;</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).WinComboBox(&#8220;Fly To:&#8221;).Select &#8220;London&#8221;</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;FLIGHT&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Flights Table&#8221;).WinList(&#8220;From&#8221;).Select &#8220;20262   DEN   10:12 AM   LON   05:23 PM   AA     $112.20&#8243;</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Flights Table&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).WinEdit(&#8220;Name:&#8221;).Set &#8220;erf4r4t&#8221;</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Insert Order&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Delete Order&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Flight Reservations&#8221;).WinButton(&#8220;Yes&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Close</span><br />
<span style="color: #000000;">Services.EndTransaction &#8220;Orders&#8221;</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">Timer Function:</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">It returns time in seconds that have elapsed since 12: 00 AM midnignt</span><br />
<span style="color: #000000;">based on local system</span></p>
<p><span style="color: #000000;">Usage:</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8211;</span></p>
<p><span style="color: #000000;">Variable1 = Timer 3600</span><br />
<span style="color: #000000;">Statements</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">Variable2 = Timer 3618</span><br />
<span style="color: #000000;">Variabl3 = Variable2 &#8211; Variable1 (18)</span></p>
<p><span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">Defing Test Result</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Staus of Test Result </span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">Pass</span><br />
<span style="color: #000000;">Fail</span><br />
<span style="color: #000000;">Done</span><br />
<span style="color: #000000;">Warning</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8211;</span></p>
<p><span style="color: #000000;">Reporter Utility Object</span></p>
<p><span style="color: #000000;">Reporter.ReportEvent 2, &#8220;Res&#8221;,&#8221;Transaction Time is: &#8220;&amp;Transaction_Time</span></p>
<p><span style="color: #000000;">Reporter- Utility Object</span></p>
<p><span style="color: #000000;">ReportEvent -Method /Operation</span></p>
<p><span style="color: #000000;">2 -Status of Result</span></p>
<p><span style="color: #000000;">    Either 0 or micPass for Pass Status</span><br />
<span style="color: #000000;">    Either 1 or micFail for Fail Status</span><br />
<span style="color: #000000;">    Either 2 or micDone for Done Status</span><br />
<span style="color: #000000;">    Either 3 or micWarning for Warning Status</span></p>
<p><span style="color: #000000;">&#8220;Res&#8221; -Result step</span></p>
<p><span style="color: #000000;">&#8220;Transaction Time is: &#8221; -Details /Message</span></p>
<p><span style="color: #000000;">Transaction_Time -Variable</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/transaction-points-in-qtp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QTP User Defined Functions</title>
		<link>http://www.gcrit.com/qtp-user-defined-functions/</link>
		<comments>http://www.gcrit.com/qtp-user-defined-functions/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 03:33:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[QTP Training]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[qtp functions]]></category>
		<category><![CDATA[User Defined Functions]]></category>
		<category><![CDATA[VBScript Functions]]></category>
		<category><![CDATA[vbscript procedures]]></category>

		<guid isPermaLink="false">http://www.gcrit.com/?p=818</guid>
		<description><![CDATA[User Defined Functions What is Function?  Its a reusable code Two Types of user defined functions in VBScript      a) Sub procedures:                    Def: 1.It is a set of statements enclosed with sub and end sub                            statements to perform a task or tasks                    2.Sub procedures take arguments, but arguments are optional                   3. [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: center;"><span style="color: #0000ff;"><strong>User Defined Functions</strong></span></h1>
<p><br style="color: #000000;" /><span style="color: #000000;">What is Function?</span></p>
<p><span style="color: #000000;"> Its a reusable code</span></p>
<p><span style="color: #000000;">Two Types of user defined functions in VBScript</span><br />
<span style="color: #000000;">      a) Sub procedures:</span><br />
<span style="color: #000000;">                    Def: 1.It is a set of statements enclosed with sub and end sub </span><br />
<span style="color: #000000;">                            statements to perform a task or tasks</span><br />
<span style="color: #000000;">                    2.Sub procedures take arguments, but arguments are optional</span><br />
<span style="color: #000000;">                   3. They won&#8217;t return any value</span></p>
<p><span style="color: #000000;">           Syntax:   </span><br />
<span style="color: #000000;">                    Sub Procedurename(arguments)</span><br />
<span style="color: #000000;">                    Statements</span><br />
<span style="color: #000000;">                   &#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">                    End Sub</span></p>
<p><span style="color: #000000;">     b) Function procedures</span><br />
<span style="color: #000000;">                    Def: 1.It is a set of statements enclosed with function and end function</span><br />
<span style="color: #000000;">                            statements to perform a task or tasks</span><br />
<span style="color: #000000;">                    2.Function procedures take arguments, but arguments are optional</span><br />
<span style="color: #000000;">                   3. They can return a value</span></p>
<p><span style="color: #000000;">           Syntax:   </span><br />
<span style="color: #000000;">                    Sub Procedurename(arguments)</span><br />
<span style="color: #000000;">                    Statements</span><br />
<span style="color: #000000;">                   &#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">                    End Sub</span></p>
<p><span style="color: #000000;">   Note: Sub procedures are faster in execution thn function procedures</span></p>
<p><span style="color: #000000;">Examples:</span><br />
<span style="color: #000000;"> &#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;"> &#8216;Sub procedure with no Arguments</span></p>
<p><span style="color: #000000;">Sub Login()</span><br />
<span style="color: #000000;">     SystemUtil.Run &#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;,&#8221;",&#8221;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&#8221;,&#8221;open&#8221;</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).Activate</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Agent Name:&#8221;).Set &#8220;asdfg&#8221;</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Password:&#8221;).SetSecure &#8220;4f444ce5be89cc361bebe68ef49c63509f693f87&#8243;</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;"> End Sub</span><br />
<span style="color: #000000;"> Call Login()</span></p>
<p><span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;"> &#8216;Sub procedure with  Arguments</span></p>
<p><span style="color: #000000;">Sub Login(Agent, Password)</span><br />
<span style="color: #000000;">     SystemUtil.Run &#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;,&#8221;",&#8221;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&#8221;,&#8221;open&#8221;</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).Activate</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Agent Name:&#8221;).Set Agent</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Password:&#8221;).Set Password</span><br />
<span style="color: #000000;"> wait 2</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;"> End Sub</span><br />
<span style="color: #000000;"> Call Login(&#8220;Hyderabad&#8221;,&#8221;mercury&#8221;)</span><br />
<span style="color: #000000;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;"> &#8216;Sub procedure with  Arguments (Data Driven Testing)</span></p>
<p><span style="color: #000000;">Sub Login(Agent, Password)</span><br />
<span style="color: #000000;">     SystemUtil.Run &#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;,&#8221;",&#8221;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&#8221;,&#8221;open&#8221;</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).Activate</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Agent Name:&#8221;).Set DataTable(&#8220;agent&#8221;,1)</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Password:&#8221;).Set DataTable(2,1)</span><br />
<span style="color: #000000;"> wait 2</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;"> Window(&#8220;Flight Reservation&#8221;).Close</span><br />
<span style="color: #000000;"> End Sub</span><br />
<span style="color: #000000;"> Call Login(&#8220;Hyderabad&#8221;,&#8221;mercury&#8221;)</span><br />
<span style="color: #000000;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;"> &#8216;Load Repositories at run-time</span><br />
<span style="color: #000000;"> Sub Login(Agent, Password)</span><br />
<span style="color: #000000;"> RepositoriesCollection.Add &#8220;C:\Documents and Settings\gcreddy\Desktop\Login.tsr&#8221;</span><br />
<span style="color: #000000;">     SystemUtil.Run &#8220;C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe&#8221;,&#8221;",&#8221;C:\Program Files\HP\QuickTest Professional\samples\flight\app\&#8221;,&#8221;open&#8221;</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).Activate</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Agent Name:&#8221;).Set &#8220;abcd&#8221;</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinEdit(&#8220;Password:&#8221;).Set &#8220;mercury&#8221;</span><br />
<span style="color: #000000;"> wait 2</span><br />
<span style="color: #000000;">     Dialog(&#8220;Login&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;"> Window(&#8220;Flight Reservation&#8221;).Close</span><br />
<span style="color: #000000;"> End Sub</span></p>
<p><span style="color: #000000;">&#8216;Returm Multiple Values</span><br />
<span style="color: #000000;">Function Verify_UpdateButton()</span><br />
<span style="color: #000000;">   Dim Before_Open, After_Open, Verify1, Verify2</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Activate</span><br />
<span style="color: #000000;">    Before_Open = Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Update Order&#8221;).GetROProperty(&#8220;enabled&#8221;)</span></p>
<p><span style="color: #000000;">    If  Before_Open = False Then</span><br />
<span style="color: #000000;">        Verify1= &#8220;Button Disabled&#8221;&amp;&#8221;- Passed&#8221;</span><br />
<span style="color: #000000;">        Else</span><br />
<span style="color: #000000;">        Verify1= &#8220;Button Enabled&#8221;&amp;&#8221;- Failed&#8221;</span><br />
<span style="color: #000000;">    End If</span></p>
<p><span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Button&#8221;).Click</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinCheckBox(&#8220;Order No.&#8221;).Set &#8220;ON&#8221;</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinEdit(&#8220;Edit&#8221;).Set &#8220;1&#8243;</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">    After_Open = Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Update Order&#8221;).GetROProperty(&#8220;enabled&#8221;)</span></p>
<p><span style="color: #000000;">    If  After_Open = True Then</span><br />
<span style="color: #000000;">        Verify2= &#8220;Button Enabled&#8221;&amp;&#8221;- Passed&#8221;</span><br />
<span style="color: #000000;">        Else</span><br />
<span style="color: #000000;">        Verify2= &#8220;Button Disabled&#8221;&amp;&#8221;- Failed&#8221;</span><br />
<span style="color: #000000;">    End If</span><br />
<span style="color: #000000;">    Verify_UpdateButton= Array(Verify1, Verify2)</span><br />
<span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">Res= Verify_UpdateButton()</span><br />
<span style="color: #000000;">Msgbox Res(0)</span><br />
<span style="color: #000000;">Msgbox Res(1)</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">&#8216;Write a function for Open Order Operation</span><br />
<span style="color: #000000;">Function Open_Order(Order_Number)</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Activate</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Button&#8221;).Click</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinCheckBox(&#8220;Order No.&#8221;).Set &#8220;ON&#8221;</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinEdit(&#8220;Edit&#8221;).Set Order_Number</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">    wait 2</span><br />
<span style="color: #000000;">    OrderNo = Window(&#8220;Flight Reservation&#8221;).WinEdit(&#8220;Order No:&#8221;).GetROProperty(&#8220;text&#8221;)</span><br />
<span style="color: #000000;">If  OrderNo &lt;&gt; &#8220;&#8221; Then</span><br />
<span style="color: #000000;">        If  Order_Number= Cint (OrderNo) Then</span><br />
<span style="color: #000000;">       Open_Order = Order_Number&amp; &#8221; Order Opened&#8221;</span></p>
<p><span style="color: #000000;">End If</span><br />
<span style="color: #000000;">        Else</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).Dialog(&#8220;Flight Reservations&#8221;).Activate</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).Dialog(&#8220;Flight Reservations&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinButton(&#8220;Cancel&#8221;).Click</span></p>
<p><span style="color: #000000;">       Open_Order = Order_Number&amp; &#8221; Order Not Opened&#8221;</span><br />
<span style="color: #000000;">End If</span><br />
<span style="color: #000000;">Msgbox Open_Order</span><br />
<span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">Call Open_Order(20)</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">&#8216;Write a function for Update Order Operation</span><br />
<span style="color: #000000;">Function Update_Order(Tickets)</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Activate</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Button&#8221;).Click</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinCheckBox(&#8220;Order No.&#8221;).Set &#8220;ON&#8221;</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinEdit(&#8220;Edit&#8221;).Set &#8220;3&#8243;</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Open Order&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).WinEdit(&#8220;Tickets:&#8221;).Set Tickets</span><br />
<span style="color: #000000;">    Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Update Order&#8221;).Click</span><br />
<span style="color: #000000;">    Wait 10</span><br />
<span style="color: #000000;">    Message = Window(&#8220;Flight Reservation&#8221;).ActiveX(&#8220;Threed Panel Control&#8221;).GetROProperty(&#8220;text&#8221;)</span></p>
<p><span style="color: #000000;">    If Message = &#8220;Update Done&#8230;&#8221; Then</span><br />
<span style="color: #000000;">        Update_Order=&#8221;Order Updated&#8221;</span><br />
<span style="color: #000000;">        Else</span></p>
<p><span style="color: #000000;">If Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Flight Reservations&#8221;).Exist(3) Then</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Flight Reservations&#8221;).WinButton(&#8220;OK&#8221;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).WinButton(&#8220;Button_2&#8243;).Click</span><br />
<span style="color: #000000;">Window(&#8220;Flight Reservation&#8221;).Dialog(&#8220;Flight Reservations&#8221;).WinButton(&#8220;No&#8221;).Click</span><br />
<span style="color: #000000;">Update_Order=&#8221;Order Not Updated&#8221;</span><br />
<span style="color: #000000;">    End If</span><br />
<span style="color: #000000;">        End If</span><br />
<span style="color: #000000;">Msgbox Update_Order</span><br />
<span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">&#8216;Write a function for verifying Launch Application Operation</span><br />
<span style="color: #000000;">Function App_Launch()</span><br />
<span style="color: #000000;">    SystemUtil.Run &#8220;C:\Program Files\Internet Explorer\iexplore.exe&#8221;, &#8220;http://www.dealsdirect.com.au/&#8221;</span></p>
<p><span style="color: #000000;">    Browser_Name = Browser(&#8220;Online Shopping | Australia&#8221;).GetROProperty(&#8220;title&#8221;)</span></p>
<p><span style="color: #000000;">    If  Browser_Name = &#8220;Online Shopping | Australia Online Shopping | Deals Direct&#8221; Then</span><br />
<span style="color: #000000;">        App_Launch=&#8221;Application Launched&#8221;</span><br />
<span style="color: #000000;">        Else</span><br />
<span style="color: #000000;">       App_Launch=&#8221;Application Not Launched&#8221;</span><br />
<span style="color: #000000;">    End If</span><br />
<span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">Msgbox  App_Launch</span><br />
<span style="color: #000000;">Call App_Launch()</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">Function Register(Email, Pwd)</span><br />
<span style="color: #000000;">    Browser(&#8220;Online Shopping | Australia&#8221;).Page(&#8220;Online Shopping | Australia&#8221;).Link(&#8220;Register&#8221;).Click</span><br />
<span style="color: #000000;">    Browser(&#8220;Online Shopping | Australia&#8221;).Page(&#8220;DealsDirect.com.au Secure&#8221;).WebEdit(&#8220;cEmail2&#8243;).Set Email</span><br />
<span style="color: #000000;">    Browser(&#8220;Online Shopping | Australia&#8221;).Page(&#8220;DealsDirect.com.au Secure&#8221;).WebEdit(&#8220;cEmail3&#8243;).Set Email</span><br />
<span style="color: #000000;">    Browser(&#8220;Online Shopping | Australia&#8221;).Page(&#8220;DealsDirect.com.au Secure&#8221;).WebEdit(&#8220;cPass2&#8243;).Set Pwd</span><br />
<span style="color: #000000;">    Browser(&#8220;Online Shopping | Australia&#8221;).Page(&#8220;DealsDirect.com.au Secure&#8221;).Image(&#8220;image-register-and-continue-bu&#8221;).Click 143,14</span></p>
<p><span style="color: #000000;">If  Browser(&#8220;Online Shopping | Australia&#8221;).Dialog(&#8220;Security Information&#8221;).Exist(7) Then</span><br />
<span style="color: #000000;">        Browser(&#8220;Online Shopping | Australia&#8221;).Dialog(&#8220;Security Information&#8221;).WinButton(&#8220;Yes&#8221;).Click</span><br />
<span style="color: #000000;">End If</span></p>
<p><span style="color: #000000;">    Message = Browser(&#8220;Online Shopping | Australia&#8221;).Page(&#8220;Online Shopping | Australia_2&#8243;).WebElement(&#8220;Welcome Back&#8221;).GetROProperty(&#8220;innertext&#8221;)</span><br />
<span style="color: #000000;">If  Message = &#8220;Welcome Back &#8221; Then</span><br />
<span style="color: #000000;">    Register=&#8221;Registration Successful&#8221;</span><br />
<span style="color: #000000;">    Else</span><br />
<span style="color: #000000;">    Register=&#8221;Registration Failed&#8221;</span><br />
<span style="color: #000000;">End If</span><br />
<span style="color: #000000;">Msgbox Register</span><br />
<span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">Call Register(&#8220;bindu123@gmail.com&#8221;,&#8221;abcd123&#8243;)</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="color: #000000;">Function Register(Email, Pwd)</span><br />
<span style="color: #000000;">   Set myPage = Browser(&#8220;Online Shopping | Australia&#8221;).Page(&#8220;DealsDirect.com.au Secure&#8221;)</span><br />
<span style="color: #000000;">    Browser(&#8220;Online Shopping | Australia&#8221;).Page(&#8220;Online Shopping | Australia&#8221;).Link(&#8220;Register&#8221;).Click</span><br />
<span style="color: #000000;">    myPage.WebEdit(&#8220;cEmail2&#8243;).Set Email</span><br />
<span style="color: #000000;">    myPage.WebEdit(&#8220;cEmail3&#8243;).Set Email</span><br />
<span style="color: #000000;">    myPage.WebEdit(&#8220;cPass2&#8243;).Set Pwd</span><br />
<span style="color: #000000;">    myPage.Image(&#8220;image-register-and-continue-bu&#8221;).Click 143,14</span></p>
<p><span style="color: #000000;">If  Browser(&#8220;Online Shopping | Australia&#8221;).Dialog(&#8220;Security Information&#8221;).Exist(7) Then</span><br />
<span style="color: #000000;">        Browser(&#8220;Online Shopping | Australia&#8221;).Dialog(&#8220;Security Information&#8221;).WinButton(&#8220;Yes&#8221;).Click</span><br />
<span style="color: #000000;">End If</span></p>
<p><span style="color: #000000;">    Message = Browser(&#8220;Online Shopping | Australia&#8221;).Page(&#8220;Online Shopping | Australia_2&#8243;).WebElement(&#8220;Welcome Back&#8221;).GetROProperty(&#8220;innertext&#8221;)</span><br />
<span style="color: #000000;">If  Message = &#8220;Welcome Back &#8221; Then</span><br />
<span style="color: #000000;">    Register=&#8221;Registration Successful&#8221;</span><br />
<span style="color: #000000;">    Else</span><br />
<span style="color: #000000;">    Register=&#8221;Registration Failed&#8221;</span><br />
<span style="color: #000000;">End If</span><br />
<span style="color: #000000;">Msgbox Register</span><br />
<span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">Call Register(&#8220;bindu123a@gmail.com&#8221;,&#8221;abcd123&#8243;)</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #000000;">&#8216;Count howmany Buttons available in Login Dialog and Display one by one</span><br />
<span style="color: #000000;">Function Button_Count()</span><br />
<span style="color: #000000;">    Dim oButton, Buttons, i</span><br />
<span style="color: #000000;">    Set oButton = Description.Create</span><br />
<span style="color: #000000;">    oButton(&#8220;Class Name&#8221;).Value = &#8220;WinButton&#8221;</span><br />
<span style="color: #000000;">    Set Buttons =Dialog(&#8220;text:=Login&#8221;).ChildObjects(oButton)</span><br />
<span style="color: #000000;">    Msgbox Buttons.Count</span></p>
<p><span style="color: #000000;">    For i= 0 to Buttons.Count -1 Step 1</span><br />
<span style="color: #000000;">        Button_Name = Buttons(i).GetRoProperty(&#8220;text&#8221;)</span><br />
<span style="color: #000000;">    Msgbox Button_Name</span><br />
<span style="color: #000000;">    Next</span><br />
<span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">Call Button_Count()</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><br />
<span style="color: #0000ff;"><strong>&#8216;Count how many Links available in Google Home Page</strong></span><br />
<span style="color: #000000;">Function Link_Count()</span><br />
<span style="color: #000000;">    Dim oLink, Links, i</span><br />
<span style="color: #000000;">    Set oLink = Description.Create</span><br />
<span style="color: #000000;">    oLink(&#8220;micclass&#8221;).Value = &#8220;Link&#8221;</span><br />
<span style="color: #000000;">    Set Links =Browser(&#8220;title:=Google&#8221;).Page(&#8220;title:=Google&#8221;).ChildObjects(oLink)</span><br />
<span style="color: #000000;">    Msgbox Links.Count</span></p>
<p><span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">Call Link_Count()</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #0000ff;"><strong>&#8216;Write a Function to Count all Browsers on Desktop and close them all</strong></span><br />
<span style="color: #000000;">Function Close_Browsers()</span><br />
<span style="color: #000000;">   Dim oBrowser, Browsers, i</span><br />
<span style="color: #000000;">   Set oBrowser = Description.Create</span><br />
<span style="color: #000000;">oBrowser(&#8220;micclass&#8221;).Value = &#8220;Browser&#8221;</span><br />
<span style="color: #000000;">Set Browsers = Desktop.ChildObjects(oBrowser)</span><br />
<span style="color: #000000;">Msgbox Browsers.Count</span></p>
<p><span style="color: #000000;">For i = 0 to Browsers.Count -1 Step 1</span><br />
<span style="color: #000000;">Browsers(i).Close</span><br />
<span style="color: #000000;">Next</span><br />
<span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">Call Close_Browsers()</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #000000;">&#8216;Count Objects based on specified class in FR window</span><br />
<span style="color: #000000;">Function Count_Objects(obj)</span><br />
<span style="color: #000000;">   Dim oObject, Objects</span><br />
<span style="color: #000000;">   Set oObject = Description.Create</span><br />
<span style="color: #000000;">oObject(&#8220;Class Name&#8221;).Value =obj</span><br />
<span style="color: #000000;">   Set Objects = Window(&#8220;text:=Flight Reservation&#8221;).ChildObjects(oObject)</span><br />
<span style="color: #000000;">   Msgbox Objects.Count</span><br />
<span style="color: #000000;">End Function</span><br />
<span style="color: #000000;">Call Count_Objects(&#8220;WinButton&#8221;)</span><br />
<span style="color: #000000;">Call Count_Objects(&#8220;WinEdit&#8221;)</span><br />
<span style="color: #000000;">Call Count_Objects(&#8220;WinRadioButton&#8221;)</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gcrit.com/qtp-user-defined-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

