Sunday, September 30, 2012
What are the Features & Benefits of Quick Test Pro (QTP 8.0)?
Posted by
Sunflower
at
9/30/2012 11:45:00 PM
0
comments
 
 
Labels: Application, Approach, Automated, Automation, Benefits, Data, Features, Functional, Language, Object, Principles, QTP 8.0, Quick Test Professional, Regression, Test Object Model, Testing Tool, Tools, User Interface
|  | Subscribe by Email |  | 
What is the difference between check point and output value in QTP?
What is a Check Point?
- Image check point
- Standard check point
- Table check point
- Bit map check point
- Text check point
- Accessibility check
     point
- Data base check
     point
- Page check point
- Xml check point
What is a Output Value?
- Text output value:
     Text content present in the bitmap can be retrieved.
- Text area output
     value: It is used for outputting text strings with a defined area of the screen.
     
- Standard output value: Number of properties pertaining to an object can be retrieved.
- Xml output value: It
     is obtained from resources and applications containing xml content stored
     in some specific column although the run session. 
- Data base out put
     value: This output value facilitates the checking of the content present
     in the data table and has been stored in a particular column during the
     run session. 
Posted by
Sunflower
at
9/30/2012 02:30:00 PM
0
comments
 
 
Labels: Automate, Automation, Bitmap, Check points, Features, Location, Objects, Output, Output values, Properties, QTP, Quick Test Professional, Scripts, Statement, Test Scripts, Tests Application, User, Values, View
|  | Subscribe by Email |  | 
Saturday, September 29, 2012
What is Reporter.ReportEvent? What is GetRoProperty? (In QTP)
- Reporter. Report event and
- GetRoproperty 
- For reporting of the status of the results of the
     tests like success, failure, warning, error and so on.
- For enabling or disabling reporting of the steps
     that immediately follow the executed statement. 
- For retrieving the folder path where the results
     of the current tests can be stored. 
- For retrieving the execution status at the current
     point of the execution process. 
- Reporter event method
- Filter property
- Run status property
- Mic Pass or 0: If the test step passes the run.
- Mic Fail or 1: If the test step fails the run.
- Mic done or 2: If the status of the test is not
     affected by the run of the test step.
- Mic warning or 3: If the status of the test is not
     affected by the run of the test step and a warning has to be issued.
What is GetRoProperty in QTP?
- For returning the
     run time value or the current value of the test object property from the
     objects present in the software system or application. 
- For retrieving the
     current property value during the run session of the object present in the
     software system or application. 
- GetToProperty
- SetToProperty
- GetToProperties
Posted by
Sunflower
at
9/29/2012 02:48:00 PM
0
comments
 
 
Labels: Application, Automation, Events, Execution, Functions, GetRoProperty, Methods, Object, Properties, QTP, Quick Test Professional, Reporter, Reporter.ReportEvent, Run, Software System, Status, Tasks, Tests, Values
|  | Subscribe by Email |  | 
Friday, September 28, 2012
What is a Run-Time Data Table? Where can I find and view this table?
What is a Run-Time Data Table?
- Data table parameters and
- Data table output value steps
- Parameterized values that were used during the
     testing and automation and
- Output values that were saved in the data table
     during the run session. 
- Add sheet: This data table method can be used to
     add sheets in to the pre existing run time data table. Syntax used is:
- Delete sheet: This data table method as obvious
     from its name is used for deletion of the already added sheets in a run
     time data table. However at one time only one sheet can be deleted. Syntax
     used is:
- Get sheet count: This data table method gives you
     the number of sheets that you have in your run time data table. Syntax
     used is:
- Get sheet: This methods returns the sheet
     specified from the run time data table by the user. Syntax used is:
- Get row count: Returns the number of rows present in a particular sheet of the run time data table. Syntax used is: datatable. Getrowcount
- Value: This data table method serves two purposes
     i.e., using it you can either obtain value of a specified cell or you can
     modify the value of the cell. Syntax for both the cases is:
- Set current row
- Set next row
- Set previous row
- Import
- Export and so on. 
Posted by
Sunflower
at
9/28/2012 11:40:00 PM
0
comments
 
 
Labels: Automated Testing Tool, Automation, Data, Data Table, Design, Output, QTP, Quick Test Professional, Results, Run-time, Run-time Data Table, Scripts, Session, Syntax, Table, Tests, Users, Values, Window
|  | Subscribe by Email |  | 
What is a QTP batch testing tool?
- Creation of
     individual tests.
- Execution of the
     individual tests created in the first step.
- Formation of batches
     using the batch testing tool.
- Execution of the
     batch tests on tests from batch testing tool.
- Observation of
     result via test result viewer. 
Creating a Test Batch
Execution of Test Batch
Posted by
Sunflower
at
9/28/2012 03:25:00 PM
0
comments
 
 
Labels: Application, Automated, Automation, Batch, Batch Testing tool, Creation, Execution, QTP, Quick Test Professional, Results, Scripts, Steps, Test, Test Scripts, Testing tools, Tools
|  | Subscribe by Email |  | 
Thursday, September 27, 2012
How would you connect to database using vbscript?
- Wscript.exe and
     Cscript.exe: it works in the GUI environment f the windows with the help
     of the WSH or windows script host. However this engine is basically used
     for automating the administration tasks as well as to automate the
     systems. 
- VBScript.dll- this
     engine can be invoked by asp.dll and basically serves in the web
     environment. 
- Data base record set
     object
- Data base command
     object
- Data base connection
     object
- Updating records in
     a record set
- Deleting a record
     from the record set
- Finding a record in
     record set
- Clearing a data base
     table
- Connecting to an ADO
     data base
- Adding a new record
     to the data base
How to connect to a database using VBScript?
- File DSN: This is
     the connection that is created by the script when an access to the data
     base is required. Here the path and name of the data base to be accessed
     needs to be specified. Another condition for this DSN to work is that the
     data base to be connected to must be residing on a server in a directory
     which must be accessible by the script.
- System DSN: Creation
     of this kind of connection is under the charge of the administrator of the
     web server which consists of the required data base. This is the most
     popular data base connection since it is much reliable than its former
     counterpart. 
Posted by
Sunflower
at
9/27/2012 11:06:00 PM
0
comments
 
 
Labels: Automated, Automation, Command, Connection, Data types, Database, Errors, GUI, Language, Object, QTP, Quick Test Professional, Record, Requirements, Scripting, Scripts, update, Variables, VBScripts, Windows
|  | Subscribe by Email |  | 
How will you check a web application for broken links using QTP?
- Usability testing
- Functionality testing
- Compatibility testing
- Interface testing
- Security testing
- Performance testing
- all the links in web pages
- data base connection
- forms in the web pages
- cookies
- out going links from a specific domain
- internal links
- links jumping on same page
- links for sending mails
- orphan pages and lastly 
- broken  links
What are broken links?
- via manual creation of a check point
- via automatic page check point
How a broken link be checked manually by creating a page check point?
Posted by
Sunflower
at
9/27/2012 03:50:00 PM
0
comments
 
 
Labels: Application, Automatic, Automation, Broken links, Browsing, Check point, Functionality, Links, Manual, Page, Properties, QTP, Quick Test Professional, Record, Testing, Testing tools, Users, Web page, Web site
|  | Subscribe by Email |  | 
Tuesday, September 25, 2012
What is the difference between functions and actions in QTP?
What are functions in QTP?
- Sub routines,
- Modules
- VBScript functions and so on. 
- For creating a new function you can select new
     function library from the file menu. This cause a new tab to open up in
     the quick test professional window. You can even opt for multiple tests in
     the same file. 
- Next you need to save the function with extension
     “.qfl” and associate the appropriate library with that particular function.
     “Associate function library” option can be accessed from file menu. 
- Now
     the third step is to invoke the function using the usual simple function
     call. Quite advanced or sophisticated functions can be generated using
     DCOM and COM. 
What are actions in QTP?
Differences between Functions and Actions in QTP
Posted by
Sunflower
at
9/25/2012 03:39:00 PM
0
comments
 
 
Labels: Actions, Argument, Automated Software Testing, Automation, Code, Data, Differences, files, Functions, Library, QTP, Quick Test Professional, Read, Resources, Test cases, Testing tools, User-defined, Users, Write
|  | Subscribe by Email |  | 
Monday, September 24, 2012
What is the Difference between Bitmap Check point & Image Check point in QTP?
- Bit
     map check point and
- Image
     check point
What is Bitmap and Image Check Point?
- RGB
     color variations and
- Total
     deviation in number of pixels.
Posted by
Sunflower
at
9/24/2012 06:48:00 PM
0
comments
 
 
Labels: Application, Automated System, Automation, Bitmap, Button, Check points, Image, Images, Objects, program, QTP, Quick Test Professional, Record, Recording, Result, Screen, Test cases, Testing tools, Tests, Window
|  | Subscribe by Email |  |