GeekInterview.com
Series: Subject: Topic:

QTP Interview Questions

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

What is the difference between data driven framework and keyword driven framework?

Asked By: mprashanthi | Asked On: Jan 17th, 2007

Answered by: deepak jaggi on: May 7th, 2013

Very simple answer: In Pure Data Driven framework : scripts related to application under test are hard coded, data is in some where in DATA TABLE/Arrays/Dict Objects/Excels... In Pure keyword driven...

Answered by: venugopal on: Nov 16th, 2012

Data-Driven Testing Simple test scripts have test data embedded into them. This leads to a problem that when test data needs to be updated actual script code must be changed. This might not be a big d...

How to handle capturescrrenshot in different browsers at a time in selenium

Asked By: ch.ajaykumar | Asked On: Apr 1st, 2013

Example: we verify one email and password is valid or not.? If user is invalid take screenshot. this task is verify in different browser at a time..

Answered by: vijay on: Apr 11th, 2013

By using selenium grid

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: Arjun on: Mar 21st, 2013

But Shared repositories reduces the performance of the execution

Answered by: kranthi on: Aug 15th, 2012

we can create repositories in qtp two types 1.repository in descriptive programming(user define repositories) 2.repository in record and playback(system define repositories in DP we can convert whic...

What is the command in QTP to invoke ie brow?

Asked By: ganesh | Asked On: Nov 17th, 2005

Answered by: kaneez on: Mar 15th, 2013

SystemUtil.Run

Answered by: omkar on: Feb 11th, 2013

There are three ways to invoke IE browser and launch a website from QTP. 1. First we use the method called as "InvokeApplication" Syntax: InvokeApplication "Path" Example: invokeapplication ...

In QTP when recording, no script is generated, neither in the tree view nor in the expert view. What could be the problem?

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

Answered by: ravi sing on: Jan 25th, 2013

Hi Iliaz,
I have done the same setting which you have mentioned here. but still getting the same problem. My laptop has Win7. All other parts of the QTP is running well in my laptop. I am naggling with this problem plz help me on this.

Answered by: mathan_vel on: Apr 25th, 2009

Points to note on this case:* Check that the Qtp application is should open first and then next open the application to test.* Check that the supported plugins that applicable for the application shou...

QTP with vbscript

Asked By: shona_mimi | Asked On: Sep 27th, 2011

Hi, i am a beginner in QTP and I am learning by myself. My question is how to create a script in QTP and then enhance it (the scripts) with vbscripts. I am really confused. Please throw some light as I really want to learn QTP

Answered by: sudhapriya.c on: Jan 20th, 2013

Using object spy you can fetch SOE object properties and also method associated with it. Using simple modification you can generate VB Script

Answered by: sudha on: Nov 6th, 2012

U can enhance the script if u know VB Scripting language .

What is the file extension of the code file & object repository file in QTP?

Asked By: Interview Candidate | Asked On: Sep 10th, 2005

Star Read Best Answer

Editorial / Best Answer

Answered by: Vijaya Kumar B

Answered On : Aug 2nd, 2005

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

Answered by: arun on: Jan 2nd, 2013

.tsr means Test Shared Repository.

Answered by: prasanna kamath on: Jan 7th, 2012

File extension of code file in QTP is .mts

Without recording objects in object repository are we able to run scripts?

Asked By: RamP | Asked On: May 23rd, 2006

Answered by: ramesh on: Dec 6th, 2012

Recording option not available in the real time.. do you know? We can able to run the script.

Answered by: abhaybharti on: Mar 5th, 2012

QTP interacts with application using object properties. There are two different approach in QTP to use object properties - 1. Object Repositories 2. Descriptive Programing. Irrespective of which one ...

What is meant by keyword driven testing and what is data driven testing?Kindly tell me the meaning with actual differences

Asked By: kannannarayana | Asked On: Feb 21st, 2006

Answered by: sravani on: Nov 8th, 2012

data driven testing is a term that describes testing done using a table of conditions directly as test inputs and verifiable outputs as well as the process

Answered by: subbareddy.qtp on: Feb 20th, 2009

Data Driven Testing means taking the data from external files like excel sheet or Database and performing testing on the application with the help of datatable threw QTP dynamically on the application...

How to test cross browser testing in QTP?

Asked By: SANDYADDL | Asked On: Aug 17th, 2012

As per my knowledge QTP supports ie and ff,how to test remaining other browser? how can I answer this question.

Answered by: maddy on: Oct 30th, 2012

You will need to create separate Actions which take care of different OS and Browsers Cross Platform Testing: Using the Built in Environment Variable you can dig up the OS information. Eg. Platform...

C++ project QTP testing

Asked By: Amrita21 | Asked On: Oct 18th, 2012

Hi, my project is in c++.It is window based application.I want to use QTP to test application. please let me know,which free trial version is available and compatible with C++ window application ? thanks, amrita

What is index property in descriptive programming?

Asked By: amrutagore | Asked On: Nov 10th, 2011

Could you explain, why is it bad practice to use index property in descriptive programming?

Answered by: bindu on: Aug 24th, 2012

1. get cell data using webtable("webtable").getcelldata(row,column) and we can click the link
2. Get all the links count in the webtable and click the link

Answered by: balagp84 on: Aug 7th, 2012

Hi Lokesh,

Can you please elaborate your answer with example, how an index property negates the DP?

Where can I found the broken links in QTP?

Asked By: SANDYADDL | Asked On: Aug 17th, 2012

Answered by: Valentina on: Aug 20th, 2012

There can be two ways to find this 1. Through QTP Explained below and the other one is 2. Manual In Menu Bar Go to Tools > Options > Web > Advanced and check the two boxes labeled Create a ch...

I want to open a notepad window without recording a test and I do not want to use systemutil.Run command as well how do I do this?

Asked By: Interview Candidate | Asked On: Sep 6th, 2005

Answered by: kranthi on: Aug 15th, 2012

try this once

Code
  1. set fso=createobject("scripting.filesystemobject")
  2. set fo=fso.opentextfile("give the ath")

if u want delete just write "deletefile" and path for creating "createtextfile" and path

Answered by: satishreddy on: Oct 14th, 2011

I was not able to execute the above code,It is throwing error WSript object is required.

How to make an user-defined function reusable?

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

Answered by: kranthi on: Aug 15th, 2012

Here is the function: "vb Function launch() bro="C:Program FilesInternet Exploreriexplore.exe" url="http://127.0.0.1:1080/WebTours/" invokeapplication(bro&" "&url) End funct...

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.

How can we select multiple rows in a webtable?

Asked By: monicaadhikari | Asked On: Nov 23rd, 2011

How can we select multiple rows in a webtable which has no checkboxes to click and select? webtable does not have check box to select. Application has pagination done, so per page the webtable shows 500 rows. To select one row, we need to just click on the specific row at any location. to select multiple...

Answered by: kranthi on: Aug 15th, 2012

suppose we take yahoo site in yahoo site if u want 1st row 7th column data....like shown below: write log in code first then click inbox then get the cell data "vb with browser("...

Answered by: rs on: Mar 5th, 2012

hi, i will tell my understanding not sure whether it is perfectly correct or not but i want to share.. u said u have say 50 rows in a webtable with no check boxes. first of all pls spy the rows or try...

Give one example where you have used regular expression?

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

Answered by: kranthi on: Aug 15th, 2012

as per nitin answer i agree but we can use regular expression in test cases also how it is like shown below: if we have lengthy statements in test cases we can use this for ex:in testdata alphanumeric...

Answered by: hari babu on: Jul 9th, 2012

Code
  1. pattern=""[a-zd*]"

QTP actions limit

Asked By: murahari.mani | Asked On: Apr 19th, 2008

How many actions can be created in a QTP script ?

Answered by: parasuraj on: Aug 13th, 2012

it is 255 only... why because... Each action should contain one action sheet in data table....but the data table can have only 256 sheets..one is already assigned as Global..so remaining will b...

Answered by: Dipak123 on: Jun 24th, 2008

Theoritically we can say that there is no limitation in creating Actions in QTP.But Microsoft Excel supports only 256 sheets.  A seperate local Data sheet will be created for every action.  ...

What is the username and password QTP provided default web application

Asked By: sreeharsha35 | Asked On: Aug 11th, 2012

Answered by: valentina on: Aug 14th, 2012

mercury, mercury

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?

Answered by: Denis Parker on: Aug 7th, 2012

Hope, it is difficult to develop a script if the properties is unknown, but we can try with standard properties, like if property is a LINK then it can be attach the name or type property with "link" ...

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.