GeekInterview.com
Series: Subject: Topic:

QTP Interview Questions

Showing Questions 1 - 20 of 773 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Can we use goto statements in QTP. If not is there any other option for that?

Asked By: Interview Candidate | Asked On: Sep 15th, 2006

Answered by: Sandhya.Kishan on: May 4th, 2012

In QTP there is no goto statement hence by using conditional statements along with looping statements behaves like the goto statement.

Wait, property,exist syntaxes with examples.

Asked By: narendar | Asked On: Dec 28th, 2005

Answered by: Sandhya.Kishan on: Apr 30th, 2012

Wait property Syntax: Object.waitproperty "property name", "property value", time out. Example: y = Window("Test").WaitProperty("focused", True, 3000) Here we use the WaitProperty method to make the p...

How to make an user-defined function reusable?

Asked By: mann | Asked On: Jan 25th, 2006

Answered by: on: Apr 30th, 2012

By encapsulating frequently performed or complex operations which is used several times in the script we can make the user defined functions reusable, SQL statements or scripts become easier to write, understand, and debug with the help of used defined functions.

Give an example of a built-in-function and any user-defined function?

Asked By: Mann | Asked On: Jan 25th, 2006

Answered by: Sandhya.Kishan on: Apr 30th, 2012

Built-in function are the functions which are already present in the standard library files and they can be accessed directly Example sqrt(),round() etc... .sqrt() the above example returns the...

Report defects to the developer

Asked By: siva ram | Asked On: Feb 21st, 2011

In how many way we can report defects to the deveploer?

Answered by: Sandhya.Kishan on: Apr 20th, 2012

We can report defects to the developer either in formal way or through informal way. Communicating the details of the failure with the developers in person, in email or over the phone is an informal ...

Give one example where you have used regular expression?

Asked By: Sumana | Asked On: Sep 12th, 2006

Answered by: Sandhya.Kishan on: Apr 20th, 2012

Regular expressions r used when the data changes dynamically .for example

How many modes are there in QTP ? Describe about them ?

Asked By: venki | Asked On: Apr 4th, 2007

Answered by: Ankita Babel on: Apr 15th, 2012

Three modes of Recordings are there:
Normal
Low level
Analog

Answered by: Sandhya.Kishan on: Apr 2nd, 2012

There are two modes in QTP 1.Recording mode:It is a mode where the object and the operation associated with the object are recorded.It uses many object models to recognize the objects in AUT regardle...

How would you click on a link in QTP?

Asked By: yaswanth.akkisetty | Asked On: Apr 11th, 2012

Note: properties are not known in a webtable? Can someone clearly explain this?

QTP shared object repository

Asked By: sdasgarali | Asked On: Mar 13th, 2010

What is the advantage of using shared object repository in QTP?

Answered by: lakshmi on: Apr 10th, 2012

Shared Object Repository is preferable while dealing with dynamic objects which are called in multiple tests. The extension is ".tsr"

Answered by: mfsi_satyakamm on: Apr 2nd, 2012

The advantage of using shared object repository is : Easy To Update : Suppose we have changed the name/property of any object, then we dont have to change the property/name of the object in every scr...

Explain windowbase & webbased application?

Asked By: jaya | Asked On: Jul 22nd, 2006

Answered by: Sandhya.Kishan on: Apr 2nd, 2012

Web based application:An application that is accessed over a network such as the Internet or an intranet are known as web based applications.These applications are popular as they have the ability to ...

How do you code error handling in QTP ?

Asked By: chaw | Asked On: Nov 13th, 2005

Answered by: Sandhya.Kishan on: Apr 2nd, 2012

There are 3 error handling statements 1. On Error GoTo line:It use a subroutine to handle error output. 2. On Error Resume Next: Specifies that when a run-time error occurs, control goes to the statem...

Is QTP supports the reports(business objects) to automate.

Asked By: upendar_qtp | Asked On: Mar 2nd, 2006

Answered by: Sandhya.Kishan on: Apr 2nd, 2012

The qtp support for business objects depends on the primary language used through proper add-ins.
If Java, use the Java add-in (and maybe the Extensability).
If VB, use the VB add-in.
If web based, use the Web add-in.
and so on
Hence it depends on programming language.

How to parameterize checkpoint ?

Asked By: veerendra | Asked On: Sep 2nd, 2006

Insert the checkpoint and right click on the checkpoint statemnt and then select checkpoint properties option,checkpoint properties dialog box will be opended. Select the property which u want to parameterize and check the parameter radiobutton.Click on parameter options button and select relevant...

Answered by: Sandhya.Kishan on: Apr 2nd, 2012

To parametrize a check point we need to insert and click on checkpoint and select properties option and parametrize the property which is required ,Click on parameter options button and select relevant options and enter the parameter name and click on ok. Finally click on ok button.

Design a framework

Asked By: bhargavins | Asked On: Oct 20th, 2009

What are the criterias that are considered to design a framework in QTP?

Answered by: Sandhya.Kishan on: Apr 2nd, 2012

Some criterias in designing a framework are 1.Based on the requirements the framework should be kept simple, because Complexities can only destruct the whole purpose of framework. 2.As the project p...

How to export the contents of a combo box to the table?

Asked By: rolimohanty | Asked On: Feb 12th, 2012

I want to export the contents of a combo box to the data table so that I can parametrize the test using the data present in the combo box. thanks in advance roli

Answered by: prashanth on: Mar 28th, 2012

You can see the combo box values in the run time data table. "vb cb_count=Window("window name").WinComboBox("Combobox name").GetItemsCount For x = 0 to cb_count-1 cb_item = Wind...

Answered by: Lokesh M on: Feb 18th, 2012

combo_box = Window("Window Name").WinComboBox("ComboBox Name");
cb_count = combo_box.GetItemsCount
For x = 0 to cb_count-1
cb_item = comboBox.GetItem(x)
INSERT INTO TableName VALUES(cb_item)
Next

How I can remote to run QTP on anysite

Asked By: morantic | Asked On: May 2nd, 2008

How I can coding on QTP for remote to anysitefor run QTP and I would like to send my datatable together.

Answered by: Sam on: Mar 27th, 2012

I think, You need to install HP Quality center for that!

Does QTP supports to automate openlink endur application?

Asked By: huchann | Asked On: Oct 2nd, 2008

Hi,can somebody help me to know whether the QTP supports to automate openlink endur application?Thanksmanju

Answered by: Ravi on: Mar 23rd, 2012

It does, QTP 11.0 has a new OLF Plugin and is licensed

Answered by: Nilesh on: Oct 19th, 2011

There is another application of Openlink called Findur, which also not supported by HP QTP. Can somebody help me to know whether the QTP supports to automate this?

How to import data for data driven test?

Asked By: ajju | Asked On: Jan 25th, 2006

Answered by: Sandhya.Kishan on: Mar 20th, 2012

We can import data by using DataTable.ImportSheet "....TestDataInput.xls",1,dtGlobalSheet

What are the disadvantages of checkpoints?

Asked By: sunil | Asked On: Aug 8th, 2006

Answered by: Sandhya.Kishan on: Mar 20th, 2012

One of the disadvantage is that is it consumes a lot of CPUs time for checking the given functionality.

What files are created in QTP?

Asked By: Novice | Asked On: Nov 17th, 2006

Answered by: Sandhya.Kishan on: Mar 20th, 2012

Text files and Xml files are created in QTP.

First | Prev | | Next | Last Page

 

 

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us:
 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, click "Subscribe".