Sponsored Ad

Monday, January 11, 2010

Database Testing Interview Questions

  1. What do you mean by Normalization and What is the use of normalized database?
    Answer: Read definition of first normal form, second normal form, third normal form, fourth normal form, fifth normal form,
  2. Give me the complete syntax of Select command?
    Answer:
SELECT [ DISTINCT | ALL ]

column_expression1, column_expression2, ....

[ FROM from_clause ]

[ WHERE where_expression ]

[ GROUP BY expression1, expression2, .... ]

[ HAVING having_expression ]

[ ORDER BY order_column_expr1, order_column_expr2, .... ]

column_expression ::= expression [ AS ] [ column_alias ]

from_clause ::= select_table1, select_table2, ...

from_clause ::= select_table1 LEFT [OUTER] JOIN select_table2 ON expr ...

from_clause ::= select_table1 RIGHT [OUTER] JOIN select_table2 ON expr ...

from_clause ::= select_table1 [INNER] JOIN select_table2 ...

select_table ::= table_name [ AS ] [ table_alias ]

select_table ::= ( sub_select_statement ) [ AS ] [ table_alias ]

order_column_expr ::= expression [ ASC | DESC ]

 


  1. What is the basic difference between where and having clause?
    Answer: having is used with aggregate functions.
  2. What are the outputs of the following operations: NULL*5 and NULL+5?
    Answer:
  3. Can you give me the command to create a new table on the basis of an existing table?
    Answer:

CREATE TABLE table [ ( column [, ...] ) ]             AS select




  1. You have employee table with a ‘joining date’ field. Can you give me a query which shows all the records which are sorted according to day wise; means all ‘Sunday’ records comes first then ‘Monday’ records and so on?
    Answer:
  2. What is the difference between ‘Left outer join’, ‘Right outer join’, ‘Full outer join’ and ‘Self Join’? Explain them with example using emp & dept tables.
    Answer: Read Definitions
  3. Give a query through which top 5 records can fetched on the basis of ‘Sal’ field of EMP table.
    Answer: select top 5 * from emp order by emp.sal desc?

  4. Fetch the 5th highest sal record from the emp table?
    Answer:
  5. Suppose you have a table with 3 columns:
    Write a query through which you show the sum of amount of quarters of each year in the separate quarter columns?
    Answer:
  6. What do you mean by D/W house?
    Answer: Read Definitions
  7. What is difference between OLAP and OLTP?
    Answer: OLAP – Online analytical processing

OLTP – Online transaction Processing



  1. Explain ETL process?
    Answer: ETL - extraction, transformation and loading
  2. What do you mean by Star Schema?
    Answer:
  3. Can you explain me DTS process in SQL server?
    Answer: DTS - Data Transformation Services
  4. Can SQL Servers linked to other servers like Oracle?
    Answer: SQL Server can be lined to any server provided it has OLE-DB provider from Microsoft to allow a link. E.g. Oracle has a OLE-DB provider for oracle that Microsoft provides to add it as linked server to SQL Server group.

Wednesday, January 6, 2010

HP Quality Center 10.0 Agile Accelerator Free downloads – no expiration

HP Quality Center 10.0 Agile Accelerator downloads – no expiration

HP Quality Center provides a single web-based application that supports all essential aspects of testing management. It Provides a consistent, repeatable method for gathering requirements, planning and scheduling tests, analyzing results and managing defects and issues. This application allows your organization to automate specific quality processes and procedures in the application lifecycle. It also supports high levels of communication and collaboration between your IT team.


The HP Quality Center Agile Accelerator can be imported into the Quality Center project as a basis for managing both the development and testing efforts within the same project Quality Center. It comes with pre-defined agile workflow method, configurations and rules to help manage the projects promoted by the agile methodology, pre-built Agile user roles and associated privileges that are easy to use.

How to Download:

https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24^1131_4000_100__

HP Quality Center Demo:

HP LoadRunner 9.5 Evaluation version Free Download

HP LoadRunner 9.5 Evaluation version Free Download

HP LoadRunner can help prevent costly application performance problems in production by detecting bottlenecks before a new method of updating or unfolds. This Software allows you to measure end to end performance, diagnose application and bottlenecks and adjust the project for better performance, all from a single point of control. The integrated load control, performance monitoring and stress characteristics of the application of verification helps reduce costs and time to test and deploy new applications and systems in the production environment.

How to Download:

https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-126-17^8_4000_100__

Also visit for LoadRunner system requirement:

https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-126-17^9753_4000_100__

HP LoadRunner Introduction:

HP LoadRunner Tutorial:

All About Selenium, Selenium Documentation

All About Selenium, Selenium Documentation

Selenium is a powerful set of tools that supports the rapid development of automated testing for web based applications. Selenium provides a rich feature set of test tailored to the needs of testing a web application. These operations are very flexible, allowing plenty of options for the location of interface elements and compare the results of verification provisions against the behavior of the actual application.

One of the main features of selenium is the support for the implementation of the evidence of one in the platforms of multiple browsers.

You can visit the given link for detailed Selenium Documentation

http://seleniumhq.org/docs/

Selenium introduction:

Selenium Free Download, An Open Source Testing tool

Selenium Free Download, An Open Source Testing tool

Selenium Intro file:

Selenium Intro file:

http://seleniumhq.org/movies/intro.mov

 

Selenium  IDE Free Download

Selenium  IDE Free Download

http://seleniumhq.org/download/

 

Selenium Remote Control (RC)

Selenium Remote Control (RC)

http://seleniumhq.org/download

 

Selenium Grid Free Download

Selenium Grid

http://selenium-grid.openqa.org/download.html

Sunday, January 3, 2010

HP QuickTest Professional 10.0 (QTP 10) Evaluation Version Free Download

HP QuickTest Professional 10.0 (QTP 10)  Evaluation Version Free Download


Key features

  • Set up unattended recovery, enabling 24x7 testing that lets you meet test project deadlines
  • Maintain scripts using keyword-driven testing technology
  • Update multiple test scripts quickly using the shared object repository
  • Process Guidance to set a test development process and propagate it throughout an organization
  • Maintenance Run Mode to enable test modifications “on the fly” during test execution
  • Unique client performance validation to report on client performance issues identified during automated testing
  • Enhanced integration with HP Quality Center

How to download:

https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24^1322_4000_100__

Saturday, January 2, 2010

Google C++ Testing Framework Free Download

Google Framework to write C++ tests is freely available for download. This supports verity of platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE & Symbian).

For more details, Please visit following links:

Google test direct link:

http://code.google.com/p/googletest/

Google test Free downloads:

http://code.google.com/p/googletest/downloads/list

Friday, January 1, 2010

QA Bug Logging Process

This is Sample basic testing process and one can use it and design a complex QA testing process.

How to Log Errors

Things to be included in the bug report:

  • Put the Reporter’s Name on the bug. If there are questions we need to know who originated this report.
  • Specify the Feature or Specification or part of the code. This facilitates assigning the bug to a developer assigned to that part of the product.
  • Include a Brief Description of what the problem is.
  • List Details including how to duplicate the bug (Steps to Replicate) and any other relevant data or clues about the bug. Start with how the computer and software is setup. List each and every step (don’t leave any out) to produce the bug. Sometimes a minor detail can make all the difference in duplicating or not duplicating a bug. For example, using the keyboard versus using the mouse may produce very different results when duplicating a bug.
  • If the status isn’t ‘Submitted’ by default, change it to Submitted. This is a flag to the bug verifier that a new bug has been created and needs to be verified and assigned.
  • Include all associated URLs.
  • Environment Information needs to be added to identify if the issue is not environment related. Minimum information that will be required: OS, Browser and Version.
  • The Severity* tells the reader of the bug how bad the problem is. Or in other words, say what the results of the bug are. Here’s a common list for judging the severity of bugs. There is sometimes disagreement about how bad a bug is. This list takes the guess work out of assigning a severity to bugs.

 

Rating

Value

Emergency

An entire site is not accessible or an entire database is not accessible or corrupted.

Critical

A major function is not accessible and there is no workaround.

Moderate

A major function is not working but there is a workaround, a moderate function is not accessible and there is no workaround or a non-trivial part of a major function is not accessible or defective.

Minor

A minor function is not accessible or defective; a part of a minor function is not accessible or defective.

* Severity should not be confused with Priority. Priority will be assigned by Business.

Appendix A – Priority Definitions

Priority

Definition

1

Showstopper

2

Must be fixed in order to launch the product. This can represent a partial fix where applicable in order to move issue into P3

3

The product can be launched but issue should be fixed with the next maintenance release

4

The fix should be scheduled for the future release

Tuesday, December 22, 2009

QTP and DotNetfactory – ArrayList

Arraylist contains a list of values, you can add, insert and remove easily. You can add value with no information on the size which makes it a flexible information structure.

To work with this we just need to create an instance of ‘System.Collections.ArrayList’ using CreateInstance method.

Set MyList = DotnetFactory.CreateInstance("System.Collections.ArrayList")

Here are some of the functions which can be used to work with ArrayLists

Add – adds an item in an arraylist

MyList.Add(”ListItem”)

Remove – removes an item from the arraylist

MyList.Remove(”ListItem “)

Insert - inserts an item at a specified position in the array list

MyList.Insert (3, "List Item")

RemoveAt - remove an item from the specified position in the array list

MyList.RemoveAt (3)

Sort - Sort items in the array list

MyList.Sort

Consider a case where you need to sort a list in ascending or descending order.

First create the arraylist and add your list items in the arraylist. We will add five items in the list in random order.

Set MyList = DotnetFactory.CreateInstance("System.Collections.ArrayList")

2.MyList.Add("ListItem5")

3.MyList.Add("ListItem3")

4.MyList.Add("ListItem2")

5.MyList.Add("ListItem1")

6.MyList.Add("ListItem4")

When you add a new item in the arraylist, it adds some empty memory locations, they ought to remove these empty memory locations. To do this they can use ‘TrimToSize’ method, which sets the capacity to the actual number of elements in the arraylist. You can easily understand this with the example below.

QTP test data directly from external sheet

In a quantity of our earlier posts they have seen How to work on QTP datatable, How to import/export datatable, what are the different functions obtainable for datatable & also the basics of QTP Automation Object Model(AOM).

Here they will merge AOM & Excel automation model to import information from an external excel file to QTP without actually importing the file as a ‘datatable’.

The workflow for the method would be:

1. Generate an excel object.

2. Generate a workbook object that takes file path as input.

3. Generate a sheet name object that takes sheet name as input.

4. Perform operations on sheet.

1. …………………………………

2. …………………………………

3. …………………………………

5. Quit excel application.

6. Destroy objects defined above.

We will show the whole process with an example. It will generate a function that accepts the file path and name of the entry sheet and give the output of an array containing all values of column 1 of the entry sheet.

  1. 1: Function ParamValues(InputFilePath,SheetName)
  2.  
  3. 2: Dim input()
  4.  
  5. 3: Set appExcel = CreateObject(“Excel.Application”) ‘Step 1
  6. 4: Set objWorkBook = appExcel.Workbooks.Open (InputFilePath) ‘Step 2
  7. 5: Set objSheet = appExcel.Sheets(SheetName) ‘Step 3
  8.  
  9. 6: For i=2 to 50 ‘Step 4
  10. 7: if objSheet.cells(i,1).value <> “” then
  11. 8: Input(i-2)=Trim(objSheet.cells(i,1).value)
  12. 9: else
  13. 10: Exit For
  14. 11: End If
  15. 14: Next
  16. 15: appExcel.quit ‘Step 5
  17. 16: Set appExcel=Nothing ‘Step 6
  18. 17: Set objSheet=Nothing
  19. 18: Set objWorkBook=Nothing
  20. 19: End Function

InputFilePath & SheetName input arguments are passed to the function call paramValue. The output of the previous function will be an entry () matrix containing all the values in column 1 of the given Excel worksheet.

You can call the function above by: paramValues,

Friday, December 18, 2009

Learn QTP Keyword

QTP (QuickTest Professional) keyword view

In QTP (QuickTest Professional) they first of all record a check, then run a check & then analyze the results, but before jogging the check they can also enhance it with checkpoints & parameters.

First of all let's talk a tiny about keyword view in QTP and then they will talk about recording in QTP and then they will move on to other things. After recording all the operations, QuickTest displays them as steps in the Keyword View, and generates them in a script (in an Expert View).

In the keyword view there are 4 visible columns –

Item- The item on which they require to perform the step and it can be a check object, utility object, function call, or statement. This column shows a hierarchical icon-based tree. The highest level of the tree is actions, and all steps are contained within the relevant branch of the tree.

Operation- The operation (methods or functions) to be performed on the item chosen in the Item column, for example, Click or Select.

Value- The argument values for the selected operation, for example, the mouse button to use when clicking the picture.

Documentation- is a read-only such documentation that the move is not in an easy to understand sentence, for example, click "findFlights" image.

Assignment-The assignment of a value or variable for example, stored in cCols will store the return value of the current stage in a variable called cCols so you can use the value later in the check. This column is not visible by default.

Comment- Any textual information you require to add regarding the step. This column is also not visible by default.

How to Use Checkpoint in QTP

A checkpoint allows you to identify if the Web site or application is functioning properly controlled or not by comparing a current value of a particular property with the expected value for that property.

By default, the control point name of the object is called to verify that the checkpoint is being performed. They can alter the name of the checkpoint if necessary. After adding a checkpoint, QuickTest adds a checkpoint in the current row in the view of keywords and adds a checkpoint Time statement at the hearing of experts.

Types of Checkpoints:

  • Standard checkpoint.
  • Image checkpoints.
  • Bitmap Checkpoint.
  • Bitmap Checkpoint.
  • Accessibility Checkpoint.
  • Text Checkpoint.
  • Page Checkpoint.
  • XML checkpoints.

Standard checkpoints permit checking the object property values in the Website or application under check. Standard checkpoints evaluate (compare) the expected values of object properties captured during recording to the object's current values during a run session. For example they can check that a radio
button is activated after it is selected. Standard checkpoints are supported for all add-in environments.
Standard checkpoints can be used to perform checks on

Images,

Tables,
Other objects within your application or Web site.

Standard checkpoints can be created for all supported testing environments (as long as the appropriate add-in(s) are loaded).
Image checkpoints let you check the properties of an picture in the application or Web page. For example, you can check that a selected image's source file is correct or not. An picture checkpoint can also be created by inserting a standard checkpoint on an picture object. Picture checkpoints are supported for the Web add-in environment.
With Bitmap Checkpoint they can check an area of a Web page or application as a bitmap. While generating a check, they must specify the area to check by selecting an object. An entire object or any area within an object can be checked. Bitmap checkpoints are supported for all add-in environments.
By adding table checkpoints to the check, they can check the content of tables displayed in the application. For example, they can check that a specified value is displayed in a positive cell. Positive environments also support checking the properties of the table object. For example, a check that a table has the expected number of rows & columns. A table checkpoint can also be created by inserting a standard checkpoint on a table object.
Accessibility Checkpoint recognizes areas of your Web-site that may not conform to the World Wide Web Consortium (W3C) Web Content Accessibility Guidelines. For example, check if the images on a Web page include ALT properties, necessary by the W3C Web Content Accessibility Guidelines.
Accessibility checkpoints are supported for the Web add-in environment        
Checkpoint control page features a Web page. For example, you can check the time a web page takes to load or if a Web page contains broken links. A page checkpoint can also be created by inserting a standard checkpoint on the page object. Page checkpoints are supported for the Web add-in environment.
QuickTest can check that a string is displayed in the appropriate place in an application or a Web page with text Checkpoint. The text checkpoints are compatible with the Web add-in environment, and some Web-based add-in environments.
The contents of a database to access your application may be verified by the Checkpoint database. The checkpoint database is compatible with all the add-in settings
By adding XML checkpoints for verification, you can check the contents of individual files or XML data documents that are part of the Web application. Checkpoint XML option is compatible with all the add-in settings.

Work VBScript in QTP

VBScript (short for Visual Basic Scripting Edition) is a scripting language interpreted by Live Microsoft Windows Script Host.

VBScript has lots of powerful functions & provides excellent support for variables, information types, & error handling.

Two engines VBScript-Vbscript.dll can interpret, it is invoked by asp.dll is used in the web environment and Wscript.exe & Cscript.exe in Windows graphical environment using Windows Script Host (WSH, VBScript often used WSH to automate systems management tasks. WSH is the process module that converts a VBScript file in a Windows executable file). Wscript.exe is used to display output and obtain an entry in the Windows graphical format, such as dialog and input boxes. Cscript.exe is used in a command line environment. When VBScript source code is contained in separate files with the extension. Vbs

Tuesday, December 15, 2009

How to work with QTP

Working with Large Object Hierarchies (Siebel Objects)

I received an e-mail from Suni Reddy, who asked me to share with her an easy way of working with Siebel objects – primarily because of their giant object hierarchy. I have thought about it several times, but because our work on Siebel goes on a temporary basis, I was never able to come up with something. Until now. This news story will portray how you can generate a single library with all the parent objects and call those objects on demand.
Normally, if you would like to select an item from a SiebList, you would do something like:


SiebApplication("MyApplication").SiebScreen("MyScreen").SiebView("MyView")_
    .SiebApplet("MyApplet").SiebList("MyList").Select "Open"


The above hierarchy can be greatly simplified – and this editorial will show a few ways how it can be achieved. Also, the way we’re going to structure our hierarchy, changing two object in a single place will account for an overall alter. In other words, in lieu of changing a single object multiple times (because something changed in the application) we’ll alter it only two times.

 

With Statements

This is by far the most common approach used when dealing with large hierarchies, and quite simple too. However, as the parent objects change, we end up creating more and more blocks of such statements. An example of With..End With statement in use:

 

  1.     With SiebApplication("MyApp").SiebScreen("MyScreen1").SiebView("MyView").SiebApplet("MyApplet")
  2.     .SiebList("MyList").Select "Open"
  3.     .SiebButton("MyButton").Click
  4. End With
  5. 'SibScreen changes from MyScreen1 to MyScreen99: re-write.
  6. With SiebApplication("MyApp").SiebScreen("MyScreen99").SiebView("MyView").SiebApplet("MyApplet")
  7.     'your code
  8. End With

Using Functions to Build Sieb Hierarchy

This technique uses several functions to create an entire hierarchy, but the result is good. Moreover, it also simplifies how events are performed on objects. Let's start building our first function of the database object (SiebApplication):

  1. 'Base Object: SiebApplication
  2. Function oSiebApplication
  3.     Set oSiebApplication = SiebApplication("MyApp")
  4. End function
  5. Let’s create instances for our Child objects:
  6. 'oSiebScreen retrieves its parent (oSiebApplication) from the function above
  7. Function oSiebScreen
  8.     Set oSiebScreen = oSiebApplication.SiebScreen("MyScreen")
  9. End Function
  10. 'oSiebView_ retrieves its parent (oSiebScreen) from the function above
  11. Function oSiebView
  12.     Set oSiebView = oSiebScreen.SiebView("MyView")
  13. End Functions
  14. 'oSiebApplet retrieves its parent (oSiebView) from the function above
  15. Function oSiebApplet
  16.     Set oSiebApplet = oSiebView.SiebApplet("MyApplet")
  17. End Function
  18. To demonstrate, if we want to set a value in the “lstApplication1″ SiebList, we can simply do the following:
  19. oSiebApplet.SiebList("lstApplication1").Select "Urgent"

Using Classes

This is my favorite, and very similar to what we have above, but the advantage of using this technique is that we have several multiple parenting classes or one class to the group at all. Suppose we have the following hierarchy, with an even

  1.     
  2.     SiebApplication("MyApp").SiebScreen("MyScreen").SiebView("MyView")_
  3.     .SiebApplet("MyApplet").SiebList("lstApplication1").Highlight
  4. First, let’s create a sample class for the Base object(s) that will be common for all classes.
  5. 'Demo class for the top-most object (Parent Class)
  6. Class clsSiebApplication
  7.     Public Property Get oSiebApplication
  8.         Set oSiebApplication = SiebApplication("MyApp")
  9.     End Property
  10. End Class
  11. Now, let’s build the child classes, that will use the base class to complete object hierarchies:
  12. 'Child Class: Derives its Base Object from clsSiebApplication (Parent Class)
  13. Class clsSiebObjects
  14.     Private oShared
  15.     'We will reuse the Base class to retrieve some common objects
  16.     'An instance of the base class will be initialized as the class loads
  17.     Private Sub Class_Initialize        
  18.         Set oShared = new clsSiebApplication
  19.     End Sub
  20.     'Terminate the instance while exiting.
  21.     Private Sub Class_Terminate        
  22.         Set oShared = Nothing
  23.     End Sub    
  24.     'oSiebScreen Property will retrieve its parent from oSiebApplication
  25.     Public Property Get oSiebScreen
  26.         Set oSiebScreen = oShared.oSiebApplication.SiebScreen("MyScreen")
  27.     End Property
  28.     'oSiebView Property will retrieve its parent from oSiebScreen (above)
  29.     Public Property Get oSiebView
  30.         Set oSiebView = oSiebScreen.SiebView("MyView")
  31.     End Property
  32.     'oSiebApplet Property will retrieve its parent from oSiebView (above)
  33.     Public Property Get oSiebApplet
  34.         Set oSiebView = oSiebView.SiebApplet("MyApplet")
  35.     End Property
  36. End Class

This can be used in a way that makes it very easy for the reader to understand the objects with which the script is working. We will use the same example we used above with the "lstApplication1" SiebList:

  1.     
  2.     Dim oSieb
  3. 'Create an instance of clsSiebObjects
  4. Set oSieb = New clsSiebObjects
  5. 'Performing an event on the SiebList Object
  6. oSieb.SiebApplet.SiebList("lstApplication1").Highlight

Using an Object Dictionary

This technique is based on Article Meir, Implementation of a layer of graphical user interface classes. I would recommend you read the article to better understand this approach. I used a high-level approach to this concept, and to better utilize this process, the article should be read carefully. This technique can be used as follows to simplify a large object hierarchy:

  1. Class clsSiebObjects
  2.     Private m_htContext
  3.     'Loads the Object Dictionary
  4.     Public Function Load
  5.         LoadContext
  6.         Set Load = m_htContext
  7.     End Function
  8.     'Represents the Object Context
  9.     Private Function LoadContext
  10.         m_Context = CreateObject("Scripting.Dictionary")
  11.         'Loading objects in the dictionary.
  12.         With m_Context
  13.             'SiebApplication
  14.             .Add "SiebApplication", SiebApplication("MyApp")
  15.             'SiebScreen (Parent: SiebApplication)
  16.             .Add "SiebScreen", .Item("SiebApplication").SiebScreen("MyScreen")
  17.             'SiebView (Parent: SiebScreen)
  18.             .Add "SiebView", .Item("SiebScreen").SiebView("MySiebView")
  19.             'SiebApplet (Parent: SiebView)
  20.             .Add "SiebApplet", .Item("SiebView").SiebApplet("MySiebApplet")
  21.         End With
  22.     End Function
  23.     'Property Get/Let m_Context
  24.     Private Property Let m_Context(ByVal Val)
  25.         Set m_htContext = Val
  26.     End Property
  27.     Private Property Get m_Context()
  28.         Set m_Context = m_htContext
  29.     End Property
  30. End Class
  31. The snippet below shows usage of the above class to simplify Siebel Hierarchy:
  32. Dim oSieb
  33. 'Instance of the Class
  34. Set oSieb = New clsSiebObjects
  35. Set oSieb = oSieb.Load
  36. oSieb.Item("SiebApplet").SiebPickList("lstApplication1").Select "Open"

Summary

In the examples above, you may notice why only the top 4 objects (Application, Screen, View, Applet) of the hierarchy have been included. This is because, including all the objects will water your libraries and make spotting the right object a cumbersome task. Thus, by including only the top 4 hierarchies, they can simplify our work on a great scale. If the hierarchy changes, they would basically need to alter the elements at one place, only.
For developers who wish to use descriptive programming with Siebel applications, please note that you will have to write descriptions of the objects of the parents only once. When these changes in the descriptions, the update in one place will be the only maintenance required. I am using descriptive programming 100%, with our Siebel application and techniques in this article have really simplified my job much care only for the parent objects.
I hope Automation Developers using Siebel with QTP find this news story useful. Thanks for visiting Relevant Codes.

What is QTP

Mercury Quick Test Professional offers the best solution in the industry for performance testing and regression testing automation - addressing every major program applications and environment. This next-generation automated solution deploys the concept of evidence-driven testing to radically simplify keyword creation and maintenance check. Distinctive to Quick Test Professional's Keyword-driven approach of verification automation experts have full access to the basic verification and properties of the object, a script integrated debugging environment that is round-trip synchronized with the Keyword View.QuickTest professional meets the needs of technical and nontechnical users. Allows you to deploy higher quality applications faster, cheaper and less risky. It works hand-in-hand with Mercury Business Method Testing™ to bring non-technical subject matter experts in to the quality method in a meaningful way. And, it empowers the entire testing team to generate sophisticated check suites with minimal training.The deployment of Mercury Quick Test Professional is optimized through the use of Mercury best practices. Mercury best practices cover all aspects of deployment, including product installation and operation, organizational design, method implementation, continual method improvement and measurement of return on investment (ROI). Throughout your implementation Mercury applies these best practices to your specific situation, generating world-class procedures for you that drive long-term success source.

Learning basics of QTP automation tool and preparation of QTP:-

This post is in continuation with QTP interview questions series.

What are the features and benefits of Quick Test Pro(QTP)

•    Key word driven testing
•    Suitable for both client server and web based application
•    VB script as the script language
•    Better error handling mechanism
•    Excellent data driven testing features

How to handle the exceptions using recovery scenario manager in QTP

You can instruct QTP to recover unexpected events or errors that occurred in your testing environment during the period of verification. Recovery Scenario Manager provides a wizard that guides you through the recovery scenario definition. Recovery scenario consists of six steps

•    Triggered Events
•    Recovery steps
•    Post Recovery Test-Run

What is the use of Text output value in QTP

The output enable values for the values that talks to the application at runtime. When parameters, the change of values for each iteration. Thus, by generating output values, you can capture the values that the application has for each race and the output to the information desk.

What is the file extension of the code file and object repository file in QTP

File extension of
Per test object rep: filename.mtr
Shared Object rep: filename.tsr
Code file extension id: script.mts

What are the properties you would use for identifying a browser and page when using descriptive programming

“name” would be another property apart from “title” that we can use. OR
We can also use the property “micClass”.
ex: Browser(”micClass:=browser”).page(”micClass:=page”)

What are the different scripting languages you could use when working with QTP

You can write scripts using following languages:
Visual Basic (VB), XML, JavaScript, Java, HTML

Explain the keyword create object with an example.

creates and returns a reference to an Automation object
syntax: CreateObject (servername.typename, [place])
Arguments
ServerName: Required. The name of the application providing the object.
class: Required. The type or class of object to create.
Location: Optional. The name of the network server where the object being created.

Sponsored Ad

Related Software Testing Articles

Development Updates

Tech Updates