IT Community - Software Programming, Web Development and Technical Support

QTP Beginners

This is a discussion on QTP Beginners within the Testing Tools forums, part of the Software Quality Assurance category; This thread contain QTP basic concepts, Advanced concepts, Descriptive programming,VBscripts related to this tool....


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Quality Assurance > Testing Tools

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-22-2008, 12:49 AM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
vadivelanvaidyanathan is on a distinguished road
Wink QTP Beginners

This thread contain QTP basic concepts, Advanced concepts, Descriptive programming,VBscripts related to this tool.
__________________
V.Vadivelan

There never a wrong time to do the right thing.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-22-2008, 04:22 AM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
vadivelanvaidyanathan is on a distinguished road
Default Re: QTP Beginners

QTP - How to set/get system time and date?

Actually, this is not difficult task! Use the following functions:

* Now - function returns the current date and time according to the setting of your computer's system date and time.
* Date - function returns the current system date.
* Time - function returns a Variant of subtype Date indicating the current system time.
__________________
V.Vadivelan

There never a wrong time to do the right thing.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-23-2008, 03:25 AM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
vadivelanvaidyanathan is on a distinguished road
Default Re: QTP Beginners

How QuickTest Learns Objects While Recording

First of all, when you record the oject, it stored as TEST OBJECT in Object repository. For each object QTP have list of Mandatory properties from that it learned.Suppose if it not uniquely identify object then we can add assistive properties to the object description.Even if not in assistive properties then we finally move to ordinal identifier which can be identified via location or index ways.
__________________
V.Vadivelan

There never a wrong time to do the right thing.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-23-2008, 03:26 AM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
vadivelanvaidyanathan is on a distinguished road
Default Re: QTP Beginners

How will load the object during Run time?

Through Object spy we can load object properties during run time.
__________________
V.Vadivelan

There never a wrong time to do the right thing.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-25-2008, 04:06 AM
sundarraja sundarraja is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 174
sundarraja is on a distinguished road
Post Re: QTP Beginners

QTP Testing Process:-

Select manual test cases to be automated.
Receive stable build from development team
Convert manual test procedures in to VB script programs.
Edit programs with control statement, Data Driven Test. Statements, Reusable actions--- etc.

Make VB Script programs as test batch. After required editing.
Run test batches
Analyze test results manually.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-25-2008, 04:07 AM
sundarraja sundarraja is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 174
sundarraja is on a distinguished road
Default Re: QTP Beginners

CHECK PIONTS:-

QTP is a functionality-testing tool and it provides facilities to automate below Coverage’s on application build.
(1) GUI Coverage or Behavioral Coverage
(2) Error handling coverage
(3) Input domain coverage
(4) Manipulations or out put coverage
(5) Back End coverage
(6) Service levels coverage
(7) Links coverage
(8) Static text/context coverage.
To automate above coverage’s we can use 7 checkpoints in QTP.
(1) Standard checkpoint
(2) Text check point
(3) Text area checkpoint
(4) Bitmap checkpoint
(5) Database checkpoint
(6) Accessibility checkpoint
(7) XML checkpoint
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-28-2008, 11:36 PM
Shanthi Shanthi is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 346
Shanthi is on a distinguished road
Default Re: QTP Beginners

How Does Run time data (Parameterization) is handled in QTP?

You can then enter test data into the Data Table, an integrated spreadsheet with the full functionality of Excel, to manipulate datasets and create multiple test iterations, without programming, to expand test case coverage. Data can be typed in or imported from databases, spreadsheets, or text files.


-Shanthi
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-28-2008, 11:37 PM
Shanthi Shanthi is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 346
Shanthi is on a distinguished road
Default Re: QTP Beginners

What is keyword view and Expert view in QTP?

QuickTest’s Keyword Driven approach, test automation experts have full access to the underlying test and object properties, via an integrated scripting and debugging environment that is round-trip synchronized with the Keyword View.Advanced testers can view and edit their tests in the Expert View,which reveals the underlying industry-standard VBScript thatQuickTest Professional automatically generates. Any changes made in the Expert View are automatically synchronized with the Keyword View.


-Shanthi
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-28-2008, 11:38 PM
Shanthi Shanthi is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 346
Shanthi is on a distinguished road
Default Re: QTP Beginners

Explain about the Test Fusion Report of QTP?

Once a tester has run a test, a TestFusion report displays alla spects of the test run: a high-level results overview, an expandable tree View of the test specifying exactly where application failures occurred, the test data used, application screen shots for every stepthat highlight any discrepancies, and detailed explanations of each checkpoint pass and failure. By combining TestFusion reports with QuickTest Professional, you can share reports across an entire QA and development team.


-Shanthi
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-28-2008, 11:39 PM
Shanthi Shanthi is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 346
Shanthi is on a distinguished road
Default Re: QTP Beginners

To which environments does QTP supports?

Quick Test Professional supports functional testing of all enterprise environments, including Windows, Web, .NET, Java/J2EE, SAP,Siebel, Oracle, PeopleSoft, Visual Basic, ActiveX, mainframe terminal emulators, and Web services.

-Shanthi
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 01-30-2008, 02:11 AM
Shanthi Shanthi is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 346
Shanthi is on a distinguished road
Post Re: QTP Beginners

Procedure to run QTP Scripts from Quality Center:

Firstly we got to download Mercury Quality Center Connectivity Addin and QuickTest Professional Addin

Open QC,
Create a new Subject in Test Plan

Then place all your QTP scripts in folder
Open QTP and file - > Quality Center Connection
Enter url
Connect
Enter QC UserID and Password
Project : Domain & Project
Open the script you wish to run, click on File - > Save As ....select Quality Center button in the right botton corner
Seelct the relevant subject folder created before in QC
Click on OK


Login to QC, in Test lab, select the testscripts uploaded and click on Run


-Shanthi
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-04-2008, 06:11 AM
sundarraja sundarraja is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 174
sundarraja is on a distinguished road
Thumbs up Re: QTP Beginners

Why use Regular Expressions?

You created a text checkpoint that searched for a specific text string. You can use regular expressions to increase the flexibility and adaptability of your tests. Regular expressions enable QuickTest to identify objects and text strings with varying values. You can use regular expressions when defining the properties of an object, the methods of an argument, when arameterizing a step, and when creating checkpoints with varying values.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-04-2008, 06:13 AM
sundarraja sundarraja is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 174
sundarraja is on a distinguished road
Thumbs up Re: QTP Beginners

In how many ways we can add check points to an application using QTP?

We can add checkpoints while recording the application or we can add after recording is completed using Active screen (Note : To perform the second one The Active screen must be enabled while recording).
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-04-2008, 06:14 AM
sundarraja sundarraja is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 174
sundarraja is on a distinguished road
Thumbs up Re: QTP Beginners

Why divide a test into three action calls?

When you create a new test, it contains a call to one action. By dividing your tests into calls to multiple actions, you can design more modular and efficient tests.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SEO for beginners spid4r Search Engine Optimization 2 03-11-2007 06:34 AM
PHP and MySQL tutorials for beginners spid4r PHP Programming 0 03-08-2007 10:56 PM


All times are GMT -7. The time now is 05:33 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0