Vous êtes sur la page 1sur 171

QTP INTERVIEW QUESTIONS-ANSWERED

How to load a .Tsr file(object repository) in QTP thru code as it is in the winrunner like, gui_load. Is there any script exist in QTP8.2
Asked By: batcha | Asked On: Mar 2nd, 2006 Answered by: Sarfaraz Alam on: Feb 28th, 2012 11 answers

Simply use this code...it will work fine: Repositarycollection.Add"filepath.tsr"


Answered by: Manoj.Srinivas on: Aug 27th, 2008

This code with work definitely...sTsrMap = "C:Bottom.tsr"Public Function LoadUnloadTsr(sTsrMap) Dim qtApp, qtRepositories Set qtApp = CreateObject("QuickTest.Application"... Answer Question Select Best Answer

Sanity testing
Asked By: rajkumar1986 | Asked On: Dec 29th, 2010 5 answers

If you have 100 text boxes in a module and you have to do sanity testing. Is it necessary to test all of 100 text boxes or not? How will you test?
Answered by: Aruna on: Feb 23rd, 2012

It coves the entire path which is core of the Application Or Module


Answered by: testingcareer on: Jul 27th, 2011

Sanity testing is done to check whether the basic functionality is executed or not. With 100 text boxes we can start with any one or two text boxes and do positive testing. i.e enter valid inputs in t... Answer Question Select Best Answer

How to upload excel files into quality center using QTP script and how to delete excel files from quality center using QTP script?
Asked By: Bharat Kumar | Asked On: Aug 10th, 2007 Answered by: Aruna on: Feb 23rd, 2012 4 answers

Install the Execl Add in to the QC........ !open the excel u want to Export !Click on the Add In Menu on the Excel !Excel export option will come........ Provide the Respective path

Answered by: BSony on: Aug 10th, 2011

Uploading text or xml files to quality Center:-------------- Function UpLoadAttachmentToQC(FilePath) Set ObjCurrentTest = QCUtil.CurrentTest.Attachments Set ObjAttch = ObjCurrentTest.AddItem(Nul... Answer Question Select Best Answer

What is associate repository in QTP 9.2


Asked By: cnr_rao | Asked On: Nov 18th, 2007 Answered by: aruna on: Feb 23rd, 2012 8 answers

The association of object repository to your scripts called association............which is needed to your scripts at the current time Advantages:instead of loading the entire OR you can only associat...
Answered by: monicaadhikari on: Nov 23rd, 2011

Associate Repository is a feature in QTP. If you have multiple Shared Repositories to work with QTP, then we can associate the repository with the help of this feature. Practically, we can only associ... Answer Question Select Best Answer

QTP shared object repository


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

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


Answered by: ARUNA on: Feb 23rd, 2012

Offcourse automation engineer will only add the Object to OR ..............shared OR means u have all the objects of the Entire Application in one place every one in the team updates to the same OR .....
Answered by: sandhya on: Sep 22nd, 2011

can u tell me how the shared object repository will be in real time. who will add objects into shared object repository? can a normal automation test engineer can add objects into shared object reposi... Answer Question Select Best Answer

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


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

I want to export the contents of a combo box to the data table so that I can parameterize the test using the data present in the combo box. thanks in advance roli
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) Nex... Answer Question Select Best Answer

Creating action template


Asked By: kishchilukuri | Asked On: Apr 17th, 2008 5 answers

How do I create an action template? Plz explain with an example? Ie,whenever we create a new action it should show that information in every new action.Thanks
Answered by: Anish10110 on: Feb 7th, 2012

Please make sure that when you save the notepad, it should be saved as ActionTemplate.mst only & not ActionTemplate.mst.txt
Answered by: plnsrikanth on: Oct 14th, 2008

Steps to create Action Template :1. Open Note Pad2. Type The Comments Want To Include like Eg:'Test Name: &n... Answer Question Select Best Answer

Can you record right click and the menu appearing after right clicking on any of the links in the browser...??If yes then how...??
Asked By: Rajat | Asked On: Sep 22nd, 2006 Answered by: sayyed on: Feb 2nd, 2012 6 answers

I always get a general RUN error in the line obj.MouseClick x+5, y+5, 2 Please advise...I tried to get the err number but unable to find a solution with that err number
Answered by: abhatiwari on: Jun 30th, 2008

Hi use the following function to do itSub RightMenuSelect (menu, idx) Set obj = CreateObject("Mercury.DeviceReplay") Set WshShell = CreateObject("WScript.Shell&q... Answer Question Select Best Answer

Where can you find the log files after QTP script execution?
Asked By: srinivaas42 | Asked On: Nov 2nd, 2011 Answered by: b on: Jan 31st, 2012 1 answer

Start ->Run ->type Regedit then goto ->HKLocalMachine->Software->Mercury Interactive->QTP>Logger->Media->Log Answer Question Select Best Answer

1. Each test that you run is displayed into the screen ... I'm looking for a way to run a test in background, it means without see it working. Just clicking on a button to run it and see the results. ...
Asked By: padmajavazrala | Asked On: Apr 10th, 2006 Answered by: Durai pandian on: Jan 27th, 2012 5 answers

If your testing is web based application, you can hide the browser.. But the fact is if you hide the browser, QTP wont recognize the Web Objects.. Regard, Durai pandian
Answered by: madhu on: Apr 29th, 2006

For you 2nd question Put it in loop(for,do...). Answer Question Select Best Answer

Hybrid framework
Asked By: amitmba32 | Asked On: Feb 25th, 2009 4 answers

What is hybrid framework and how it is useful? How will you implement hybrid framework in a project?
Answered by: mfsi_chinmayb on: Jan 12th, 2012

Hi Hybrid framework is the platform where we could put keyword driven framework , data driven framework in one. So it can do the job of the above all in one . Keyword driven framework : It enable the...
Answered by: vk1978 on: Mar 17th, 2009

Test automation framework is a set of assumptions, concepts and practices that provide support for automating your scripts the Hybrid Test Automation Framework incorporates features of Script modulari... Answer Question Select Best Answer

What is the file extension of the code file & object repository file in QTP?
Asked By: Interview Candidate | Asked On: Sep 10th, 2005 136 answers

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: prasanna kamath on: Jan 7th, 2012

File extension of code file in QTP is .mts


Answered by: your.heer on: Jul 2nd, 2010

The extension of the code is ".qlf" and the extension of the object repository is ".tsr". Improve Answer

QTP batch file testing


Asked By: qvenchi | Asked On: Jan 3rd, 2012 1 answer

I would like to know about batch file testing...Can anybody explain me how to create .Bat file and run set of tests.
Answered by: Sarang Dehsmukh on: Jan 6th, 2012

There is Utility Test batch Runner for QTP(.mtb) with which you can run test in batch. Answer Question Select Best Answer

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


Asked By: RamP | Asked On: May 23rd, 2006 Answered by: santhosh kumar gujja on: Jan 4th, 2012 11 answers

We should use descriptive programming for this, we should give all the object properties in descriptive programming so that we can write coding without object repository..
Answered by: Saravana Prakash on: Aug 29th, 2011

We can do it by Descriptive programing. QTP will recognize the objects only by the object property. we can define an object and it's property to run the test. We have two types of descriptive program... Answer Question Select Best Answer

QTP window objects


Asked By: pvsagar | Asked On: Oct 27th, 2010 2 answers

Name 4 window objects used in QTP


Answered by: veeru on: Dec 30th, 2011

To See all the window objects in QTP go to ToolsObject Identification, then select Environment as Standard window then you can see all window objects. like: Winedit, Winbutton, Wincheckbox, etc...
Answered by: deepaksporty on: Nov 11th, 2010

1. Winbutton 2. WinEdit 3. WinList 4. Winmenu Answer Question Select Best Answer

What are mandatory and assisitive properties in QTP?


Asked By: subbareddy | Asked On: Dec 2nd, 2005 Answered by: Avijeet Mund on: Dec 29th, 2011 1 answer

To identify an object 1st we have to go for its MP. If we will fail to identify the object by its MP then we will go for its AP. eg- Suppose if we will take WinButton. Its MP are -native class, title... Answer Question Select Best Answer

Why QTP is called a "keyword driven test tool"?


Asked By: phoneix.deep | Asked On: May 15th, 2007 Answered by: Lokesh M on: Dec 8th, 2011 1 answer

QTP is called A "Keyword Driven Test Tool" because it is based on Keyword-driven testing technique. Keyword-driven testing is one type of Test Automation frameworks. There are other types for framewor... Answer Question Select Best Answer

Bpt framework
Asked By: sureshgottipati | Asked On: Sep 20th, 2011 1 answer

How to drag the QTP code(actions) to qc bpt components


Answered by: Lokesh M on: Dec 8th, 2011

Create Components in Quality Center BPT Tab Create Initialization Component Create One Component for Each Tab Create Verification Components Create QTP Automation for New BPT Components Drag and Drop ... Answer Question Select Best Answer

What is index property in descriptive programming?


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

Could you explain, why is it bad practice to use index property in descriptive programming?
Answered by: Lokesh M on: Dec 8th, 2011

Index property is used to identify a test object uniquely. Index value is specific to each object. Now the basic premise of descriptive programming is to identify objects on the basis of its propertie... Answer Question Select Best Answer

How to handle dynamic objects in QTP?


Asked By: Interview Candidate | Asked On: Aug 31st, 2005 Answered by: venki on: Dec 7th, 2011 23 answers

use .* in place of title of the webpage enclosed in quotes. here '.'"(dot) means any character and'*"(star) means any number of characters. so for any kind of title it works.......
Answered by: testingcareer on: Jul 28th, 2011

To handle any dynamic objects, we can use "GetROProperty" and "Text Output Value" methods of QTP.

How to generate systemutil.Run command automatically while recording?


Asked By: raj | Asked On: Nov 16th, 2011 1 answer

I have QTP 9.2(mercury) when I record a test the scripts are generated but the very first line (i.E)systemutil.Run is not generated and while running the test I get the message as cannot find all programs object parent.
Answered by: Lokesh M on: Nov 28th, 2011

Navigate to Tools Menu -> Options -> Windows Applications Here Click on "Advanced" button and the scroll down You will see "Utility Object" Select the "Record SystemUtil.Run commands" Click on OK bu... Answer Question Select Best Answer

Can we use perl and shell scripting in QTP?


Asked By: muralisqa | Asked On: Oct 11th, 2006 Answered by: monicaadhikari on: Nov 23rd, 2011 5 answers

Hi Muki, In my application, there are two links and they are identified by the following script: {geshibot language="javascript"}Set objBrowser = Browser("micclass:=Browser","CreationTime:=0").Page("...
Answered by: sheela on: Oct 22nd, 2011

No, we can't use pearl and shell scripting in QTP. QTP supports only VB Scripting. Answer Question Select Best Answer

How do you send email with attachment from outlook using QTP ?
Asked By: Richi | Asked On: Nov 6th, 2007 Answered by: Anish10110 on: Nov 19th, 2011 3 answers

To add multiple attachments in a single mail, repeat objMail.Attachments.Add line multiple number of times. Example: If you need to add 2 attachments in your email use the above line 2 times. objM...
Answered by: monyrajesh1978 on: Jul 2nd, 2010

Try the below code. It will send an email with attachment.Public Function Send_Mail(Module) strSubject="Test mail - Sent from QTP" Set objOutlook=CreateObject("Out... Answer Question Select Best Answer

QTP question - actions

Asked By: Regressionista | Asked On: Oct 6th, 2011 2 answers

When you have a single action and split into multiple action within a test they become new independent actions. The question is will these actions stay with test or can they be moved or just copied to another tests???
Answered by: gkrishnadasari on: Nov 5th, 2011

Hi , Actions :Actions is a set of one or more script statements to perform a specific task. we have Three type pf actions 1--> Non-Reusable Actions 2--> Reusable Actions 3--> External Actions we ar...
Answered by: priyach on: Nov 4th, 2011

This action will be in TEST only, however you can copy to other Test using Inset->Action->Call to copy Action. Answer Question Select Best Answer

Default ordinal identifier


Asked By: sujatha.g | Asked On: Aug 10th, 2008 6 answers

Which is the default identifier: index, location, creation time


Answered by: suman on: Oct 25th, 2011

"Location" is the Default Ordinal Identifier


Answered by: priyankvyas on: Feb 14th, 2009

Default Ordinal identifier for Window application is "Location". Other ordinal Identifier is "Index". For Web Browser, default is "Creation Time". Answer Question Select Best Answer

Does QTP supports to automate openlink endur application?


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

Hi,can somebody help me to know whether the QTP supports to automate openlink endur application?Thanksmanju
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?
Answered by: anil on: Sep 7th, 2011

What are the ways OR how to get this add-in for QTP? Answer Question Select Best Answer

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: satishreddy on: Oct 14th, 2011 13 answers

I was not able to execute the above code,It is throwing error WSript object is required.
Answered by: sunkumaranr on: Sep 6th, 2009

1) Set oNotepad = CreateObject("WScript.Shell") oNotepad.Run("notepad.exe") 2) InvokeApplication "Notepad.exe" Answer Question Select Best Answer

Update object property (name - with regular expression) in QTP object repository
Asked By: Arun | Asked On: Aug 31st, 2011 1 answer

I have to update a property of the object in the or and enable regular expression for the same property using a script. I have updated the property value but no idea how to enable regular expression for the same. it would be great if any suggestion or solution.
Answered by: Prashaant on: Oct 9th, 2011

Dear, You just need to add .* follow the fixed characters in your property (if any) or simply use .* and check 'Regular Expression' checkbox. You will be done. Ex: If suppose ur property changes as ... Answer Question Select Best Answer

QTP question - nested action


Asked By: Regressionista | Asked On: Oct 6th, 2011 1 answer

I am very new to QTP: my question is about nested action, if you have a parent-child action, and the parent action is not run, then the child action will not run, is this correct??? Also if there is an error in the parent action, will the child action run?
Answered by: lakshjai on: Oct 7th, 2011

You are right.. if there is a error in the parent action , it wont execute even the child action. Answer Question Select Best Answer

What is the command in QTP to invoke ie brow?


Asked By: ganesh | Asked On: Nov 17th, 2005 Answered by: nnn on: Sep 28th, 2011 15 answers

invoke application, path of Web

Answered by: suseela G on: Sep 19th, 2011

dim des set des=description.create invoke application "C:Progrm filesinternet Exploreriexplore.exe http://www.geekinterview.com" This Invoke application opens the GeekInterview page with Internet E... Answer Question Select Best Answer

Number of tables in a script


Asked By: mathan_vel | Asked On: Dec 23rd, 2009 2 answers

By default, how many number of tables would be there in a script?A) oneb) twoc) threed) four
Answered by: Ashok on: Sep 28th, 2011

Two

Answered by: swapna.raut on: Feb 10th, 2010

If you mean datatable, by default it will be just one. This one data table will contain the global sheet and one sheet for each action in the script. Answer Question Select Best Answer

QTP :what is the importance of smart identification


Asked By: bslp1234 | Asked On: Aug 1st, 2011 4 answers

When testing, smart identification will be enabled or disabled by default ?Why do we use it
Answered by: Laxmi1884 on: Sep 22nd, 2011

Smart Identification is disabled by default.We use it whenever an object fails to be identified by its mandatory and assertive properties.We can enable it thru the Object identification dialog box.
Answered by: santhoshi on: Aug 8th, 2011

Typically,if even one of the on-screen properties doesn't match with the recorded properties the script fails. In smart identification, QTP does not give an error if the property value does not match ...

Answer Question Select Best Answer

What is object identification?


Answered by: Divya on: Sep 14th, 2011

Asked By: subbareddy | Asked On: Dec 2nd, 2005 1 answer

Object Identification is the process of identifying object. If there are some similar type of objects, QTP identifies the objects based on property values. or some times based on Index also Answer Question Select Best Answer

What is the new version of QTP which is recently released in the market?
Asked By: Kavya | Asked On: Jul 10th, 2006 Answered by: Divya on: Sep 14th, 2011 9 answers

QTP 10.0 is the latest version


Answered by: surendhr on: Sep 10th, 2011

The latest version is QTP is 11.0 Answer Question Select Best Answer

QTP user defined functions


Asked By: sirin321 | Asked On: Sep 4th, 2008 4 answers

How to write and where we call user defined functions in QTP? Give an example.
Answered by: chenna on: Sep 8th, 2011

function name of the function list of the statements . . . . end function


Answered by: subhan0103 on: Jun 1st, 2011

user defined functions are the functions defined/designed by the user for re-usability. to create a UDF first write the function in qtp(to avoid syntax mistakes) then copy , past the same in Note Pad ... Answer Question Select Best Answer

Automate Microsoft outlook objects in QTP


Asked By: spandey123 | Asked On: Apr 23rd, 2008 3 answers

What are the add-ins needed to automate Microsoft outlook objects.I am trying to automate outlook using QTP. But it is not recognizing outlook objects properly.I want click on mails one by one and want to read mail details from inbox.I have vb, .Net, web, active x and wPF addins.Thanks
Answered by: Pankaj Sharma on: Aug 31st, 2011

You need to use create instance for outlook.application class that will be a good option but if you do it by that you have to handle an alert window by the help of shell. Scripting class instance usin...
Answered by: sruthi on: Aug 28th, 2011

Automate MS Outlook Operations using QTP? SendTo=".......@........com" SendToCC=".......@........com" Subject="QTP mail" Body1="This mail is generated from QTP Environment" Attach... Answer Question Select Best Answer

How the exception handling can be done using QTP


Asked By: Interview Candidate | Asked On: Aug 6th, 2005 Answered by: soumya on: Aug 30th, 2011 9 answers

If you use recovery scenario manager if u may not knowing the when error will occur. So better you can use on resume next method to use exception handling in qtp
Answered by: bhaskar on: Oct 12th, 2007

We can handle the exception handling in QTP by recovery scenario manager which is found in QTP->Resources-->Recovery Scenario Manager

Answer Question Select Best Answer

Parametrize values from an excel using QTP script


Asked By: savitha.s | Asked On: Aug 22nd, 2011 1 answer

Hi,i want to parametrize the values from an excel sheet using quick test professional scripts. But without recording I need to generate the script.Can you please help me.
Answered by: UMA on: Aug 26th, 2011

I think we use the QC to generate the script automatically when QTP is called from QC Answer Question Select Best Answer

How to handle this scenerio?

Asked By: rohit131989 | Asked On: Jun 7th, 2011 4 answers

When trying to run script1. If window("windowname") then2. script.Callscript("login")3. Else 4. Browser.Close()5. End IFAn error is thrown as - "a logical expression is required for this statement"please someone tell me how can I handle this scenerio?
Answered by: Vijay on: Aug 23rd, 2011

IN if < statement > then statement must return a logical boolean value (true/false) if u r trying to check ehether window exists use window("window).exists or if you are trying to check if the win...
Answered by: Shubhjeet Kaur on: Aug 10th, 2011

put something like this if Window("windowname") = "xyzname" then --- end if Answer Question Select Best Answer

Get webedit fontsize


Asked By: mukherjeesankha07 | Asked On: Dec 7th, 2010 3 answers

How to get "fontsize" of a "webedit"?


Answered by: shubh on: Aug 17th, 2011

set obj = Browser("Title:=Welcome: Mercury Tours").WebEdit("name:=userName").Object MsgBox obj.currentstyle.fontsize MsgBox obj.currentstyle.fontstyle


Answered by: Shubhjeet Kaur on: Aug 10th, 2011

{geshibot language="VB.NET"}Dim ctrlWebEl, objWebEl Set ctrlWebEl =Browser("Title:=.*Google.*").Page("Title:=.*Google.*") .Link("innertext:=Hindi","html tag:=A") Set objWebEl = ctrlWebEl.Object sCo...

Is it possible to change the extension of shared object repository


Asked By: nbabu11 | Asked On: May 12th, 2011 1 answer

Normally, the extension of the shared object repository is .Tsr.Is it possible to chang the extension of the shared object repository.
Answered by: nithinr99 on: Aug 11th, 2011

No Answer Question Select Best Answer

Can we create shared object repository with the extension other than .Tsr?
Asked By: nbabu11 | Asked On: May 12th, 2011 Answered by: Sandip Patil on: Aug 9th, 2011 4 answers

Hello Friends, If you go through Object Description using user define function & this function is used to build a library of object. store it as library file. This is the only way with out using OR w...
Answered by: pankajonnet07 on: Aug 7th, 2011

Since OR is tool specific so QTP will recognize OR in that format only if you will some other file format it won't recognize Answer Question Select Best Answer

QTP recording modes

Asked By: latha | Asked On: Sep 15th, 2005 10 answers

How many types of recording modes in QTP? Describe each type with an example where we use them?
Answered by: santhoshi on: Aug 8th, 2011

There are 3 types of recording modes: 1) Normal recording mode 2)Low level recording mode 3)Analog recording mode Normal recording mode: This is the default recording mode that takes full advantage...
Answered by: slonia on: Jul 22nd, 2011

Context Sensitive Recording mode Normal recording mode is also called Context Sensitive Mode It is the default mode of recording which takes full advantage of Quick Test Professional's test object ... Answer Question Select Best Answer

Write script to open notepad file , read the data and display it on the screen using QTP script.
Asked By: kakarla rao | Asked On: Nov 8th, 2006 Answered by: Gajendra Sharma on: Aug 8th, 2011 10 answers

Hi Asik, Can you please elaborate your question: I want to know what exactly do you want to achieve. Are there multiple rows for columns or only one column and one row in your report. If there are m...
Answered by: Asik on: Aug 8th, 2011

Hi, I have a Notepad which has Rows and Columns , ie a Report(Notepad) created on Run in my application. Now i want to Read the Data C*R wise, i mean X Y Z P Q R S 1 2 3 4 5 6... Answer Question Select Best Answer

Enhance recorded script


Asked By: ShilpaShivanna14 | Asked On: Jul 8th, 2011 2 answers

How can one enhance the recorded script other than adding checkpoints?
Answered by: BABJI on: Aug 5th, 2011

by Coverting checkpoints into vb scripting


Answered by: sri_yarley on: Jul 27th, 2011

You can enhance your qtp script in multiple ways. This question is almost like what can be done with QTP....Following are just some basic things that you can do after recording: Say for example you c... Answer Question Select Best Answer

Which feature of QTP would you like to improve ?How would you go about implementing it ?(this question is only to test the candidate, I dont expect any strong answers. How should be able to convince the...
Asked By: Rahul Rathan | Asked On: Sep 16th, 2005 Answered by: testingcareer on: Aug 1st, 2011 Answered by: joyshankar nandi on: Mar 14th, 2006 2 answers

1. Object Spy feature : It should also show "Ordinal identifier" "Index" value of same multiple objects. 1.Merging of Object Repository ,Sometimes provides problem perhaps any mechanism so that we can manually add an object to the desired frame. 2.Easy facility to remove checkpoints Answer Question Select Best Answer

How to use regular expression

Asked By: kaps_sachdeva | Asked On: Aug 22nd, 2008

3 answers

I am opening the google page with scripting and now using regular expression I want to enter browser and page name of google to enter the search text and search.
Answered by: testingcareer on: Jul 29th, 2011

Or else, set myp = browser("title:=.*").Page("title:=.*") myp.webedit("name:=q").set "QTP" myp.webbutton("value:=Search").Click The above method is using static Descriptive Programming. If you want...
Answered by: ivreddy on: Aug 11th, 2010

Set ie=createobject("internetexplorer.application")ie.navigate("http://[website url]/")ie.visible=trueBrowser("title:=TITLE").Page("title:=TITLE").WebEdit("name:=q").Set DataTable("search_keywords",dt... Answer Question Select Best Answer

Window("* window name ").Winlist("listbox").Select "text in the list"window("* window name").Winbutton(" add").Clickwhen these 2 above instruction is used it is clicking twice y?
Asked By: shiva | Asked On: Oct 3rd, 2005 Answered by: testingcareer on: Jul 27th, 2011 3 answers

That's correct adir, Both the steps are performing two different functions. First is selecting some text from list and second is clicking some add button.
Answered by: sailu on: Jul 18th, 2011

it clicks 2times one click for selection from list of options,one for clicking winbutton. Answer Question Select Best Answer

Vbscript code for scrolling

Asked By: ravinder | Asked On: Jul 27th, 2011 2 answers

Can any tell me what is the script for scrolling on any browser from top to bottom and viceversa using vbscript?
Answered by: sri_yarley on: Jul 27th, 2011

There are couple of ways for doing this.{geshibot language="vb"} 'For page up Set Obj=Browser("browsername").Page("pagename").Object.body Obj.doScroll("pageUp") 'For page down Set Obj=Browser("brows...
Answered by: sri_yarley on: Jul 27th, 2011

You can try one of the following: Set Obj=Browser("browsername").Page("Pagename").Object.body Obj.doScroll("pageUp") Or 'for page down Set objShell=CreateObject("WScript.Shell") objShell.SendKeys... Answer Question Select Best Answer

Recovery scenario and on error resume next


Asked By: aditya_12 | Asked On: Dec 1st, 2009 4 answers

What is the difference between 'recovery scenario' and 'on error resume next'? Read Best Answer

Editorial / Best Answer


Answered by: swapna.raut
Member Since Dec-2009 | Answered On : Dec 10th, 2009

"On Error Resume Next" is used when you are sure about the step where the error can occur. Whereas, Recovery Scenario can be used to handle unxpected event or error.
Answered by: Basanagouda on: Jul 20th, 2011

Adding to aditya_12 answer If known errors we need to handle using line code (and code becomes lengthy) and same cannot be used in other part of script (unless made it as function) but recovery scen...
Answered by: PravatInfinite on: Jan 26th, 2010

Recovery Scenario: When Unexpected events, errors, and application crashes during a run session can disrupt your run session and distort results. On error Resume Next: When you want to flip the error ... Improve Answer

What is the descrirptive progrmaing?.What is the use of descriptive programing?


Asked By: gangasrinivas | Asked On: Oct 17th, 2005 Answered by: nadir on: Jul 15th, 2011 10 answers

Descriptive programming is majorly used to write descriptive code. I would be helpful to identified an accurate object properties because in some of the scenarios the object name is similar like webch...
Answered by: Sailaja Vegiraju on: Jul 11th, 2011

QTP recognises every thing in the form of objects,when we use recording option it automatically identify the objects.but actually we don't record the scripts because of so many disadvantages like re u... Answer Question Select Best Answer

This question was asked in philips. Suppose there is a printer and an software application , if u press print in application the printer starts printing. But while executing in QTP this suddenly the...
Asked By: minni_rec | Asked On: Aug 9th, 2007 Answered by: nadir on: Jul 15th, 2011 12 answers

The best approach is to use the do while statement. It will keep it looping until the condition is true.

{geshibot language="vb"}do While{/geshibot}


Answered by: smarth on: Jul 15th, 2011

It would be good if we can go for looping. I will keep executing the same procedure/function till the cycle end best effort is to use a Do while loop for this. Answer Question Select Best Answer

How to resolve, when QTP throws: verify that parent properties match an object currently displayed in your application.I would appreciate your early replys
Asked By: harita | Asked On: Feb 17th, 2006 Answered by: kiranpaul20 on: Jun 16th, 2010 6 answers

The reason for QTP throwing this error is that when the test is running the object identfication could not happen i.e the object property and values of the test object while recording and the runtime ...
Answered by: Kaivalya on: Dec 22nd, 2006

Hi,Basically this error comes when the properties in Object Repository doesn't match with those in your application.If the properties of the object change during runtime then QTP wont be able to ident... Answer Question Select Best Answer

How many maximum actions can be performed in a single test


Asked By: sai | Asked On: Jul 31st, 2006 Answered by: sanumca on: Sep 8th, 2009 7 answers

You can create many actions, but only 255 actions will have datatable.
Answered by: raamtester on: Mar 9th, 2009

As per my knowledge, we can perform n no. of actions in a test, if there is any limit please let me know and why ? Answer Question Select Best Answer

Fetching object properties

Asked By: pvsagar | Asked On: Oct 27th, 2010 2 answers

What is the syntax for fetching object properties at run time?


Answered by: automationbug on: Jun 17th, 2011

Property of test object can be fetched at runtime using GetROProperty method.A common use of this is fetching number of items in a Weblist at runtime.Dim iCountiCount = Browser("title").Page("name").W...
Answered by: deepaksporty on: Nov 11th, 2010

Use Objects GetRoProperty to fetch runtime value Answer Question Select Best Answer

Hi guys, in one of my interviews, I was asked to write a paragaraph explaining how much scripting I did in QTP? I don't know where to start and what to write. So I need your help in writing that.Thanksdachepally
Asked By: Dachepally | Asked On: Dec 7th, 2006 Answered by: Nadem Sharifuddin on: Dec 19th, 2006 6 answers

1# Scripting in QTP is about working in expert view.2# Creating User defined Functions using VB Scripts.3# Using Conditional loops.4# Manipulating with Functions, Test objects and Utilities. 5# Creati...
Answered by: Kumar L S on: Dec 13th, 2006

Hi...Scripting is not the recorded lines that appears in the main window of QTP Screen. He means to say "any programming that you have added into your recorded lines".You can give this example:You can... Answer Question Select Best Answer

Connect QTP with qc


Asked By: mathan_vel | Asked On: Dec 18th, 2009 2 answers

What are the prerequisites to connect QTP with qc?


Answered by: kapilet05 on: Sep 25th, 2010

You need to perform following steps.1. Install addin for QTP2. Enable QTP to allow other product to run test property.Tools --> Options run --> allow other HP product to run test.3. Go to qualit...
Answered by: swapna.raut on: Dec 23rd, 2009

1. You need to install the QC add-in for QTP. Go to the QC add-in page (the More HP QC Add-ins page) and select and install the QTP add-in. If you do not do this you can not connect QC and QTPAlso you... Answer Question Select Best Answer

What is the main objective of descriptive programming


Asked By: Raghu | Asked On: Jan 17th, 2007 Answered by: deepaksporty2005 on: Oct 5th, 2010 6 answers

Descriptive programming is not a replacement of OR, but its mainly used when we have to deal with dynamic objects which change their properties during the runtime and if we use OR then these would fai...
Answered by: Kiran H H on: Mar 7th, 2007

Descriptive programming will come into assitance where OR cant, like dynamic creation of GUI Objects. Note: Decriptive Programming will not be replacement for OR, Both should be used on wis... Answer Question Select Best Answer

Explain the concept of object repository & how QTP recognises objects?
Asked By: Interview Candidate | Asked On: Sep 6th, 2005 Answered by: BSony on: May 25th, 2011 51 answers

Object Repository is a place where ,all the objects will get resided,while recording ..also you can add the objects one by one in to the repository.QTP identifies the objects based on their properties...
Answered by: nbabu11 on: May 17th, 2011

When the user records any operation on any object, qtp will record objects logical name and physical properties which will store in object repository.Object repository in qtp is of two ... Answer Question Select Best Answer

What is the automation frame work?


Asked By: hariprasad | Asked On: Sep 23rd, 2006 11 answers

In real time projects ,we use to call ,frame work as a folder. This folder contains the components such as , object repository,logs ,test data,script,result...Etc. So whatever files are created to develop a script are stored in a sepatate folder,which is nothing but a framework
Answered by: gaddameediajay on: Jun 10th, 2011

framework is a set of guidelines provided to achieve a task in an effective and efficient manner as well as utilize the reusable components across the multiple projects.so once we create reusable ...
Answered by: amulc on: May 9th, 2011

Framework is set of a rule which helps to minimize the testing automation framework. It is wrapper which interacts with application.There are different types of framework.Keyword driven frameworkmod...

Explain in brief about the QTP automation object model.


Asked By: Interview Candidate | Asked On: Aug 17th, 2005 41 answers

Read Best Answer

Editorial / Best Answer


Answered by: Venkat Potluri Answered On : Jul 28th, 2005 Essentially all configuration and run functionality provided via the QuickTest interface is in some way represented in the QuickTest automation object model via objects, methods, and properties. Although a one-on-one comparison cannot always be made, most dialog boxes in QuickTest have a corresponding automation object, most options in dialog boxes can be set and/or retrieved using the corresponding object property, and most menu commands and other operations have corresponding automation methods. You can use the objects, methods, and properties exposed by the QuickTest automation object model, along with standard programming elements such as loops and conditional statements to design your program
Answered by: santoshnathan on: Aug 12th, 2008

Actually, QTP Framework is divided into 2 parts. They are 1. BPT (Business process testing) Framework and 2. Keyword Driven Framework.In detail: 1. BPT: to use this Framework License is necessary...
Answered by: svapatil on: Jun 6th, 2008

Firstly there are two things one is QTP oject Model & QTP Automation Object Model.The QTP object Model is the One by using which we can have the control on the QTP tool. We can Launch the QT... Improve Answer

1. You create a suite of scripts which use a shared object repository. One of the objects, the status bar on your applications main window, is named afx4450. The object appears in many scripts and is...
Asked By: LJ | Asked On: Oct 6th, 2006 Answered by: chanakya on: Mar 24th, 2007 8 answers

Even though the status bar has the same properties all across your application.They come under differant windows/ screens which are its parents. If you modify the name at one instance, it will not mod...
Answered by: ramu on: Dec 17th, 2006

i hope we use environment variable for the object. apply. that is the advantage of the envirnoment variable. it will reflect in all the scripts. Answer Question Select Best Answer

What is the difference between bit map check point & image check pointplease explain in detailtext & text area check point?
Asked By: akshya | Asked On: Jul 1st, 2006 Answered by: Anjaneyulu pigili on: May 10th, 2011 7 answers

Image check point check the property value of an image,like html tag property etc...andit is supported to only web add- in-environments.Bit map check point check an area of a webpage or an application...
Answered by: Sudhananda Reddy on: May 23rd, 2007

Image checkpoint is supported by only web-environment.Bitmap checkpoint is supported by all Add-in Environments.Image checkpoint verify the properties of an Image in a web page..like the location of ... Answer Question Select Best Answer

Hi all,how to check number of items in a weblist at run time. I have tried using browser("browser name").Page("page name").Frame("frame name").Weblist("list1").Getroproperty("length"), but it is not returning...
Asked By: ArcMai | Asked On: Nov 1st, 2006 Answered by: Anjaneyulu pigili on: May 10th, 2011 17 answers

we can get by using Child objects

Answered by: Vimala Ns on: May 9th, 2011

Count =Browser("name:=Astrology - Yahoo! India News").Page("title:=Astrology - Yahoo! India News").WebList("innertext:= All News Yahoo! News Only").GetROProperty("it... Answer Question Select Best Answer

Explain the keyword createobject with an example.


Asked By: Interview Candidate | Asked On: Aug 2nd, 2005 Answered by: amulc on: May 9th, 2011 14 answers

CreateObject: Creates and returns a reference to an Automation object. Using CreateObject function QTP interacts with external application Object such as Msword,Excel,FilesystemObject etc.
Answered by: kiranpaul20 on: Jun 16th, 2010

CreateObject creats an object to interact with the specified libraryFor ExIf we want to interact with internet explorer to launch IE then we use create object and the library name.Set IE = CreateObjec... Answer Question Select Best Answer

QTP script for application-under-test


Asked By: SEENARE | Asked On: May 1st, 2008 2 answers

When developing the QTP script for application, what steps should be followed to ensure that the gui object of application-under-test does not get impacted by the current local environment
Answered by: Surendranath Vm on: May 9th, 2011

In QTP we can specify the URL for the application or the exe file of the application within the settings. Go to Test menu and select Record and Run Settings option. It...
Answered by: Vishal Aggarwal on: Dec 14th, 2009

By automation scripts any application objects don't get hampered. It behaves like as user working with the application by interacting with the UI. Answer Question Select Best Answer

How can you add add-in's during runtime in QTP


Asked By: manohar reddy | Asked On: Nov 27th, 2006 Answered by: priyadarshi786 on: Dec 15th, 2006 3 answers

what do u mean by running add ins during a TEST...u mean running excel or MS word application during running a test ? sorry i just started learning QTP so i m not clear about the concepts and thi...
Answered by: RAJAGOPAL REDDY on: Dec 14th, 2006

YES, You can add addins thru script runtime Please see the following program, that lods the addins runtime. This process explained in QTP Object model reference. -Rajagopal Reddy '************... Answer Question Select Best Answer

What are the features & benefits of quick test pro(qtp)..?


Asked By: Interview Candidate | Asked On: Aug 27th, 2005 35 answers

Operates stand-alone, or integrated into mercury business process testing and mercury quality center. Introduces next-generation zero-configuration keyword driven testing technology in quicktest professional 8.0 allowing for fast test creation, easier maintenance, and more powerful data-driving capability... Read Best Answer

Editorial / Best Answer


Answered by: praveena Answered On : Sep 21st, 2005 qtp is mainly used for functionality testing.qtp is user friendly both technical and non technical users can easily access.qtp has two views keyword view and expert view in keyword view when u record a test it genarates the script in tree format.it is very easy to understand.if u want to view the vbScript use the expert view. qtp has active screen using that u can enhance the script with out navigating to the application.like u can insert checkpoints and synchonization points. qtp has automated documentation.when u start recording it genarates the autodocumentation in plain english. using qtp we can parametarize objects,checkpoints,datadriventables.this will give more flexibility.
Answered by: rajeswarirayala on: Nov 18th, 2010

QTP has one of the best option Object spy.Using these we can find the actual name of the execution file. If we don't have this option we cannot write script manually.That means when we write script ma...
Answered by: rajeswarirayala on: Nov 18th, 2010

QTP is one of the automation tool.Using thes eassy to test the application.It is a licenced version.It provide the service.It has so many options.And it support visual Basic programs. It is eassy to w...

Improve Answer

What is a file system object in QTP


Asked By: vamsi.krishna09 | Asked On: Nov 22nd, 2006 8 answers

Read Best Answer

Editorial / Best Answer


Answered by: chitta10
Member Since Jul-2009 | Answered On : Mar 29th, 2010

File system object is to create a file where you can store your informations and also read. Have a look to my exemple I think you can understand it. SystemUtil.Run "iexplore.exe","","C:Documents and Settingsuser18Desktop","" Browser("Google").Page("Google").Link("Gmail").Click Browser("Google").Page("Gmail: Email from Google").Sync Dim x,y Set x = CreateObject("Scripting.FileSystemObject") Set y = x.Createtextfile("d:testfile.xls",true) If Browser("Google").Page("Gmail: Email from Google").Exist Then y.writeline("step1 login details is pass") else y.writeline("step1 login details is fail") End If Browser("Google").Close Thanks and regards, CHITTA.
Answered by: chitta10 on: Mar 29th, 2010

File system object is to create a file where you can store your informations and also read. Have a look to my exemple I think you can understand it. SystemUtil.Run "iexplore.exe",""...
Answered by: brainwood on: Feb 13th, 2008

Question: How do we load a text file from QC?Answer:strFilePath = PathFinder.Locate("[QualityCenter] SubjectFolderNameAttachmentName.txt") Const ForReading = 1, ForWriting = 2&nb... Improve Answer

How to add a failure from a vbscript function to the results. How can I implement the functionality of checkpoint functionality from by vbscript. For ex: I want to record a failure if some calculations...
Asked By: Ashok | Asked On: Feb 10th, 2006 2 answers

Read Best Answer

Editorial / Best Answer


Answered by: Guest

Answered On : Feb 12th, 2006 Put a Function in the Library and call this : Write_result Browser("sss").page("sscs").webElement("sss").check (checkpoint),"your step details" For Ex: Function Write_result(Flag,steps) Select Case Flag Case "True" Reporter.ReportEvent 0,"Debugger",steps Case "False" Reporter.ReportEvent 1,"Debugger",steps Case 2 Reporter.ReportEvent 2,"Debugger",steps Case 3 Reporter.ReportEvent 3,"Debugger",steps Case 4 Reporter.ReportEvent 4,"Debugger",steps Case Else Reporter.ReportEvent 1,"Debugger","Data entry error in the calling command" End Select End Function
Answered by: Guest on: Feb 12th, 2006

Put a Function in the Library and call this :Write_result Browser("sss").page("sscs").webElement("sss").check (checkpoint),"your step details"For Ex:Function Write_result(Flag,steps) Selec...
Answered by: asha on: Feb 11th, 2006

Take the evaulation result in some varaible and now depending upon the result send the response in the result file through "Reporter function" of QTP Improve Answer

Can any one explain in detail abt how to handle virtuall objects in QTP 8.2
Asked By: senthil.k | Asked On: Feb 1st, 2006 1 answer

Read Best Answer

Editorial / Best Answer


Answered by: Kodati Answered On : Feb 7th, 2006 through virtual object wizard you can define an object. Tools->virtual object wizard->new virtual object.. It is a 4 step process in which you can define an unknown object to user defined class.
Answered by: Kodati on: Feb 7th, 2006

through virtual object wizard you can define an object. Tools->virtual object wizard->new virtual object.. It is a 4 step process in which you can define an unknown object to user defined class. Improve Answer

How do you test Oracle application using QTP?


Asked By: kalyani | Asked On: Jan 28th, 2006

2 answers

Read Best Answer

Editorial / Best Answer


Answered by: Nageswara Rao G Answered On : Jan 29th, 2006 With Help of Below Commands, first u launch the Oracle Applications and then Test with the help of Data Driven and DML and DDL commandsqtApp.Test.Settings.Launchers("Oracle 8i").Active = TrueqtApp.Test.Settings.Launchers("Oracle 8i").CommandLine = qtApp.Test.Settings.Launchers("Oracle 8i").WorkingDirectory =
Answered by: Brian on: Feb 6th, 2006

For testing Oracle Apps with QTP, I would suggest you define your test cases using MS Word documents. Then categorize them by complexity into low, med and high. After that, I would target your low com...
Answered by: Nageswara Rao G on: Jan 29th, 2006

With Help of Below Commands, first u launch the Oracle Applications and then Test with the help of Data Driven and DML and DDL commandsqtApp.Test.Settings.Launchers("Oracle 8i").Active = TrueqtApp.Tes... Improve Answer

How to use the object spy in QTP 8.0 version?


Asked By: Interview Candidate | Asked On: Jul 29th, 2005 15 answers

Read Best Answer

Editorial / Best Answer


Answered by: sivaprasad Answered On : Jul 29th, 2005 There are two ways to Spy the objects in QTP 1) Thru file toolbar ---In the File ToolBar click on the last toolbar button (an icon showing a person with hat). 2) Tru Object repository Dialog ---In Objectrepository dialog click on the button"object spy..." In the Object spy Dialog click on the button showing hand symbol. the pointer now changes in to a hand symbol and we have to point out the object to spy the state of the object if at all the object is not visible..or window is minimised then Hold the Ctrl button and activate the required window to and release the Ctrl button.

Answered by: ssoma78 on: Oct 24th, 2008

The object spy is very much useful while identifying the properties of objects while writing the descriptive program.
Answered by: venkateshgurramkonda on: Aug 18th, 2008

Object spy is a future provided by QTP which shows object information like list of properties, list of methods, syntax of methods,description of methods both text object as well as runtime object. Improve Answer

Access datatable values


Asked By: pvsagar | Asked On: Oct 27th, 2010 3 answers

How can we access values from datatable ?

Answered by: poojaprasanthi1919 on: Mar 7th, 2011

Fill the values in the column A of Global sheet. In the expert view, the script will be for i=1 to datatable.getRowCount datatable.value("A","Global") datatable.setNextRow Next

Answered by: rolimohanty on: Dec 9th, 2010

Suppose you want your script will take the values from global sheet then you add the lineFor i=1 to rowscount '* it will take all the valueval=Datatable.Globalsheet.GetParameteer("parametername").valu... Answer Question Select Best Answer

Environment variable
Asked By: pvsagar | Asked On: Oct 27th, 2010 2 answers

Give example to assign and fetch value from environment variable.


Answered by: venkat369 on: Jan 19th, 2011

Environment Variables are twp types. Built-in & User defined.


Answered by: deepaksporty on: Nov 11th, 2010

To assign a value to Environment Variable use: Environment.value("MyVar") = 10 to fetch this value use msgbox Environment.value("MyVar") Answer Question Select Best Answer

Dim and set

Asked By: asad.test | Asked On: Sep 15th, 2008 5 answers

What is the difference between dim and set? When to use dim and when to use set.
Answered by: viplav15 on: Jan 19th, 2011

Dim is an identifier declaration statement. SET is a Object Instantaiating statement.


Answered by: amitmba32 on: Feb 20th, 2009

Dim is used to store scalar variables. ex Dim a a=10 Set is used to store complete hierarchy of Object browser(" ").page(" ").childobject(" "). Answer Question Select Best Answer

(.*?))and made sure to assert the 'regular expression' checkbox in the 'Edit HTML Source', however upon re-run it always fails. It appears that the WDiff editor/comparison tool is treating all characters literally and not treating the special characters the way they should be treated. Does the WDiff Editor need to be configured to deal with regular expressions? Or is it that this is an issue in QTP, that it is not treating the HTML Source as a regular expression after asserting the 'regular expression' checkbox? " href="http://www.geekinterview.com/question_details/64497">Regular expressions in HTML

page checkpoints in QTP version 9.2


Asked By: Lourance1 | Asked On: Apr 15th, 2008

1 answer

Basically I am recording HTML source page checkpoints against a website. Having run my QTP script I go to my test results and drill down to the page checkpoint. It informs me that the "two HTML sources are not the same". This is fair enough as there is inevitably going to be some dynamic data in the...
Answered by: Richard Macintyre on: Jan 6th, 2011

I dont think you can use the option to compare HTML source unless your page contains only static data that will never change. The WDiff app will just do a text comparision of the html and flag any an... Answer Question Select Best Answer

Capture error screen shots


Asked By: ivreddy | Asked On: Aug 10th, 2010 5 answers

If error pop up comes during execution then how will you capture the error screen shot and where it is stored?
Answered by: deepaksporty on: Nov 11th, 2010

1. Another way apart from the code is to check the check box "Save image of desktop when error occurs" which is in the Run nod eof the Test Settings box.2. You can also use the recovery scen...
Answered by: kapilet05 on: Sep 25th, 2010

You can save this screen shot to report by using below command.Desktop.CaptureBitmap "C:ErrorScreenShot.png"Reporter.ReportEvent micDone,"image","<img src='C:ErrorScreenShot.png'>" Let me know ... Answer Question Select Best Answer

Insert a step without recording


Asked By: pvsagar | Asked On: Oct 27th, 2010 3 answers

Which option will be used to insert a step without recording?


Answered by: pvsagar on: Nov 11th, 2010

Step Generator

Answered by: deepaksporty on: Nov 11th, 2010

you can also do that in expert view. just write your code on a new line thats it Answer Question Select Best Answer

QTP 4 web objects

Asked By: pvsagar | Asked On: Oct 27th, 2010 1 answer

Name 4 web objects used in QTP 1. 2. 3. 4. Browser Page link WebEdit

Answered by: deepaksporty on: Nov 11th, 2010

Recognize Java objects

Asked By: pvsagar | Asked On: Oct 27th, 2010

1 answer

How will you recognize Java objects?

Answered by: deepaksporty on: Nov 11th, 2010

To recognize Java Object you need to install Java Addins. Answer Question Select Best Answer

Control test iteration


Asked By: pvsagar | Asked On: Oct 27th, 2010 1 answer

How will you control iteration of test?

Answered by: deepaksporty on: Nov 11th, 2010

Test Iteration can be controlled from the Global Datatable and choosing options from File-->Settings->Run Answer Question Select Best Answer

Control iteration
Asked By: pvsagar | Asked On: Oct 27th, 2010 2 answers

How will you control iteration of an action?


Answered by: deepaksporty on: Nov 11th, 2010

Another thing which I forgot to mention is that the Action iteration is dependant on values in Local Action sheet
Answered by: deepaksporty on: Nov 11th, 2010

Controlling Action iteration can be done in Action call properties. Right click on the action icon in the keyword view and select Action call properties.in the run option select the options to control... Answer Question Select Best Answer

How do we pass values between actions in one test other than by action call?
Asked By: Jishnu V K | Asked On: Oct 3rd, 2007 6 answers

Say for eg, if action_1 contains a variable 'c' containing the value of a+b, how can we display the result (value of 'c') in action_2 ?
Answered by: Saket Bharti on: Oct 3rd, 2010

Go to expert view of Action2 and write the following code.RunAction Action1 oneIterartion a,b,cmsgbox cHere variable store the final value(a+b) returned from Action1.Now declare the following line in ...
Answered by: sujata_2221981 on: Jul 3rd, 2009

Call one action within the other one. Answer Question Select Best Answer

Unrecognised object

Asked By: kiranuppi | Asked On: May 7th, 2010 11 answers

How to proceed with QTP when QTP doesnt idenify the object? When a object is not being recognised by QTP, what is the work around so that you can continue with automation?
Answered by: kapilet05 on: Sep 25th, 2010

If QTP is not able to identify the object then first check whether smart identification in enable or not throughFile --> Setting --> run.By default object identification is enabled. If this not work ...
Answered by: sridharbe81 on: Sep 20th, 2010

If the object is not recognized from QTP, Try using descriptive prog. If its not helpfull, create a custom plugin (add-in) and add to QTP. Answer Question Select Best Answer

What feature would you use in QTP to find out the name for an element on the HTML page we want to test?
Asked By: poonam78 | Asked On: Nov 21st, 2007 Answered by: saddiamith on: Sep 4th, 2010 2 answers

You could use GetRoProperty("name") for any particular element.


Answered by: beenasyama@gmail.com on: Nov 24th, 2007

Using the object spy option in tools menu, we can find the properties of the elements in the HTML page, this includes name also. Answer Question Select Best Answer

Declaring variables
Asked By: mabobine | Asked On: Jul 24th, 2008 2 answers

What is the difference if we use dim to declare a variable and one without declaring it.
Answered by: ivreddy on: Aug 9th, 2010

1. Actually while declaring variables' there is no difference between, with using dim and without using dim2. But it is better to use dim and option explicit3. If we option explicit then we should dec...
Answered by: akothuru on: Jul 29th, 2008

"Dim" keyword is related to VB Script. There is no difference if you do not declare the variables with/with out declaration where your script does not have the statement "... Answer Question Select Best Answer

How many types of actions are there in QTP?


Asked By: Interview Candidate | Asked On: Sep 6th, 2005 Answered by: sureshsinghbhandari on: Aug 4th, 2010 7 answers

There are three kinds of actions in QTP: Non-reusable Action: An action that can be called only in the test with which it is stored, and can be called only once. Reusable Action: An action that ...
Answered by: rajivgadhavi on: Jan 20th, 2010

There are three kinds of actions:1) Reusable actionAn action that can be called multiple times by the test with which it is stored (the local test), as well as by other tests. 2) Non-reusab... Answer Question Select Best Answer

Rewrite script for changed functionality


Asked By: neena840 | Asked On: Dec 21st, 2009 2 answers

How will you update script for changed functionality?


Answered by: nagi80 on: Jul 13th, 2010

If the functionality changes you will anyways have to write the new script... If the properties change yes you can update them to OR. what does changed functionality mean anyway
Answered by: swapna.raut on: Feb 10th, 2010

You can run the script in debugging mode step by step, to understand what step has changed.While running if you see, that the step is unable to identify some object you can always view this object's c... Answer Question Select Best Answer

Can a QTP script have two or's, if so while using one or sheet, how do you associate the 2nd or.
Asked By: Srinivas | Asked On: Jul 25th, 2007 Answered by: nagi80 on: Jul 13th, 2010 5 answers

I believe you can associate both the object repository files. Right Click on the action > In Action properties click Accosiated repositories and Click the + sign to add one or more OR
Answered by: sahay.anamika on: Apr 11th, 2009

We can associate two QTP repository By using associate repository option in QTP 9.1. After adding two we set up priority of both of the OR's. Answer Question Select Best Answer

How to execute QTP script from command prompt?


Asked By: ravi kumar manne | Asked On: Dec 15th, 2005 Answered by: amitdbest on: Jul 8th, 2010 12 answers

Create a .VBS file which will launch QTP and open the rquired test. Execute the Vbs file through command prompt
Answered by: kiranpaul20 on: Jun 16th, 2010

It is very much possible to launch a QTP test from Command prompt and then run it.The script to open QTP and then load the test into QTP and run the test is given in the "QUick Test Automation re... Answer Question Select Best Answer

How to customosize QTP?


Asked By: kannannarayana | Asked On: Feb 8th, 2006 Answered by: amitdbest on: Jul 8th, 2010 5 answers

Use Automation object Model to customize the QTP .


Answered by: nishant on: Jun 1st, 2006

Qtp results can be customisedQtp uses reporter object to write anything in the result windowTo block the results shown by the checkpoints use Reporter.filter=1 before check point statement in the expe... Answer Question Select Best Answer

How can we write scripts without having gui(means u dont have any gui and u want to write a script in QTP)?
Asked By: deepti | Asked On: Sep 30th, 2005 14 answers

No answer

Answered by: amitdbest on: Jul 8th, 2010

Use Descriptive Program If you know the description of the object which you are going to automate then GUI is not required.
Answered by: akothuru on: Jun 6th, 2008

Using Descriptive programming we can prepare text scripts. But Limitations are there to start test script preparation.1. Should know Object Hierarchy.2. Should know the unique object properties and va... Answer Question Select Best Answer

Based of ordinal identifiers


Asked By: manikanta.baggu | Asked On: Jan 4th, 2010 4 answers

When ordinal identifiers alone can make an object unique then why they are not given top priority? Why it is first mandatory and next assitive. Why we cannot go for ordinal identifiers directly?
Answered by: shankargopalakrishnan on: Jul 7th, 2010

It will consume more time that 's the reason.


Answered by: nimmakayala on: Jun 4th, 2010

Using the ordinal identifier we can identified the unique object roughly. Well if we use the smartidentifier, then our skill will identified by the team leader using that it will iden...

Answer Question Select Best Answer

What are the properties you would use for identifying a browser & page when using descriptive programming ?
Asked By: Interview Candidate | Asked On: Aug 6th, 2005 Answered by: your.heer on: Jul 2nd, 2010 21 answers

Properties := html tag, type & name


Answered by: kousik_10 on: Jun 8th, 2010

To identify a browser we use the title of the browser and for the page we use page name. The Syntax is: Browser("name(unique property): name of browser(value)").Page("title(unique prope... Answer Question Select Best Answer

Give me an example where you have used a com interface in your QTP project?
Asked By: Interview Candidate | Asked On: Jul 25th, 2005 Answered by: your.heer on: Jul 2nd, 2010 6 answers

When you are going to use database connectivity with vbscript in QTP at that time COM interface is used.
Answered by: manishgi on: May 22nd, 2008

We can use com interface with database, excel, window script host. Answer Question Select Best Answer

How to make QTP understand the difference with same type of objects
Asked By: geekarijit | Asked On: Sep 29th, 2008 3 answers

Suppose there are 10 of check boxes in a page and I have to choose the 6th one, how to do that through script? Read Best Answer

Editorial / Best Answer


Answered by: researchingmiddleware
Member Since Oct-2008 | Answered On : Oct 8th, 2008

Use the Ordinal identifiers (index) property...each of the objects will have a different index value
Answered by: dabas_rajender on: Jun 28th, 2010

We can use the descriptive programming for identifying the 6th checkbox from a bunch of checkboxes on a page.Dim obj_ChkDescSet obj_ChkDesc=Description.Createobj_ChkDesc(html tag).value ...
Answered by: priyankvyas on: Feb 14th, 2009

QTP identifies the object in following manner- 1) First with mandatory and assistive property. If these are not sufficient then "Ordinal Identifier" 2) By using "Smart Identificati... Improve Answer

Differentiate the two object repository types of QTP.


Asked By: Interview Candidate | Asked On: Aug 5th, 2005 Answered by: kousik_10 on: Jun 23rd, 2010 9 answers

In QTP there are 2 object repositories: 1. Shared Object Repository: In shared object repository the details of all the actions are stored . It is only one file for all the action and what ever we lea...
Answered by: kiranpaul20 on: Jun 16th, 2010

There are two types of Object Repositories in QTP namely1. Local Object Repository (.mtr)2. Shared object Repository (.tsr)Local Object Repository is for that particular action i.e you have learned ob... Answer Question Select Best Answer

What is the difference between check point and output value.


Asked By: Interview Candidate | Asked On: Aug 6th, 2005 Answered by: kiranpaul20 on: Jun 16th, 2010 8 answers

Checkpoint compare the expected result of the Test object with the Actual result from the run time object and returns a pass or fail to the test result.Output value retrieves the value of an Run ...
Answered by: atchi on: Sep 13th, 2007

I will agree with both Kalpana and Vidya Sagar and I will add some more, Output values are used for as input to other tests ware as check points are only comparing also used within the test only. Answer Question Select Best Answer

How to capture the dynamically changing datas in web page thru QTP coding?Any sample coding for the above
Asked By: kannan | Asked On: Feb 21st, 2006 Answered by: kiranpaul20 on: Jun 16th, 2010 7 answers

In order to capture the value of an object and that too of a dynamic object then we will use the GetROProperty which means Get Run Time Object Property and we need to decide which property we want to ...
Answered by: kvidy on: Apr 30th, 2008

Is that we can form a loop and run it after every interval ( once we track time duration).

Regular expressions for web testing


Asked By: anushankar | Asked On: May 29th, 2008 6 answers

Browser("yahoo! Mail: the best").Page("(2 unread) yahoo! Mail").Link("inbox (2)").Clickthis is the recorded script I get after performing the action on yahoo mail..Now when I run the test again ...The page title and link name changes as the no. Of emails in inbox increases...So the error says cannot...
Answered by: allen hu on: Jun 12th, 2010

You do not need to change anytihng in your scripts.But you need find that link in object repository and update the value of the attribute display in it which to identify the object, such as 'innertext...
Answered by: srivani123 on: Jan 23rd, 2009

Today I tried after read your question. You know what I did, I just changed the object name in the object repository file.ie.when you are recording if is inbox(4), then running it must be inbox(3) in ... Answer Question Select Best Answer

What are the different scripting languages you could use when working with QTP ?
Asked By: Interview Candidate | Asked On: Aug 8th, 2005 Answered by: kousik_10 on: Jun 8th, 2010 37 answers

By default we use VB Script as the scripting language in QTP but we can also use JavaScript, Java or even XML, to use them we need to do the following: If we want to write the code in JavaScript ...
Answered by: akulakrishnarao on: Sep 8th, 2008

If you want to write the code in Javascript, you need to add the Java plug ins in Addin Manager,For Java we need to purchase the java addin License.we can write the scripts in XML,Word doc also f...

Answer Question Select Best Answer

What is the use of text output value in QTP?


Asked By: Interview Candidate | Asked On: Jun 21st, 2005 15 answers

Answer posted by shreethik on 2005-06-09 08:36:38: output values enable to view the values that the application talkes during run time.When paramaterised, the values change for each iteration.Thus by creating output values, we can capture the values that the application takes for each run and output...
Answered by: kousik_10 on: Jun 8th, 2010

By using Text Output value we can retrieve a runtime value form the application or object (object in the sense may from the edit box ccombobox) under test and output them to the specified column in th...
Answered by: debi_m19 on: Oct 21st, 2009

By using Text Output value we can capture a runtime value form the application under test and store it in a variable or in a localsheet Answer Question Select Best Answer

How to add run-time parameter to a datasheet?


Asked By: rajeshrs | Asked On: Oct 10th, 2005 Answered by: nimmakayala on: Jun 4th, 2010 5 answers

Using the datatable methods concept we can add the runtime parameters to the data sheet add.importsheet "source id","destination id"
Answered by: sreekanth chilam on: May 1st, 2007

First of all, You get the runtime parameter by using GetROproperty and store in a variable, say X Then by using DataTable.Value("sheetname",dtGlobal/LocalSheet)=X I hope it will solve your problem. Answer Question Select Best Answer

What is descriptive programming?


Asked By: rajeshrs | Asked On: Oct 10th, 2005 Answered by: nimmakayala on: Jun 4th, 2010 3 answers

Descriptive programing is a beautiful concept, which is used to write the script.It means that without going to the object repository writing the object information using the script in the testpane is...
Answered by: hanumanthvm on: Jul 30th, 2007

QTP cannot take action(Run) on an object until unless its object description is in the Object Repository. But descriptive programming provides a way to perform action on objects which are not in Objec... Answer Question Select Best Answer

How you write scripts in QTP?What's the main process in QTP?How do you run scripts in QTP?Please anyone can answer my questions.......
Asked By: sanjana | Asked On: Oct 11th, 2005 3 answers

Please answer those questions

Answered by: nimmakayala on: Jun 4th, 2010

Actually very basic language for writing the script in QTP is VB Script. It is one mandatory language. If at all if you want the write the script using the Java, .Net, thereis a special pa...
Answered by: Anees(9899500654)Delhi on: Nov 17th, 2005

We can scripts in VB ,Java Script,Visual Studio n etc.. Key Word Driven Approach There is an RUN command button... Answer Question Select Best Answer

How can I implement error handling in QTP, I know with recovery mangaer but how please give me detailed execution to how to handle giving an example?
Asked By: vikram26 | Asked On: Nov 4th, 2005 Answered by: nimmakayala on: Jun 4th, 2010 2 answers

Recoverymanager->Test scripterror->Select option function->Write the information in that body->Save it->Select pre or post recovery scenarion->Click ok
Answered by: emran on: Nov 26th, 2005

By Using Recovery Scenario MAnager it has the following things1.Trigger Event 1.Pop-Up Window 2.Object State 3.TestRun Error 4.Application Crash2.Recovery Operation 1.Key... Answer Question Select Best Answer

How can I add a action (external action) programatically?


Asked By: rajan | Asked On: Nov 10th, 2005 Answered by: nimmakayala on: Jun 4th, 2010 4 answers

We cannot add an action programatically because it is going to maintain a internal logic while using an external or reusable action.
Answered by: RambhupalReddy on: Nov 18th, 2005

Hai,=====You can add an external Action programatically using the CommandRunAction ActionName, [IterationMode , IterationRange]Before you can use the RunAction statement in the Expert View for an exte... Answer Question Select Best Answer

How would u manipulate the script so that when the test is run it takes a new login name?
Asked By: chaw | Asked On: Nov 13th, 2005 Answered by: nimmakayala on: Jun 4th, 2010 5 answers

When paramerterizing the values in the data table, it will take a each user and password as a new loginname and execute the script.
Answered by: Deepak Kumar on: Sep 30th, 2006

If you are looking for entering a different value only once everytime the script is run, then follow these steps:1. Enter the list of sufficient number of login ids in the dtLocalsheet.2. Do descripti... Answer Question Select Best Answer

What is keyword driventest ?


Asked By: bini | Asked On: Nov 26th, 2005 Answered by: nimmakayala on: Jun 4th, 2010 5 answers

It is an one of the famous framework which is used to execute data repeatedly.


Answered by: anjalitallapa on: Aug 4th, 2008

1. Write your functions in the notepad and save them as .vbs extension 2. Call which one you want in order by passing keys in excel sheet. Answer Question Select Best Answer

How to select particular value from the combo box in the current page which is entered in the previous page edit box after parameterization?

Asked By: smitha | Asked On: Nov 3rd, 2005

4 answers

Answered by: nimmakayala on: Jun 4th, 2010

browser().page().webcombobox().select
Answered by: Nani on: Sep 18th, 2007

By using this script you can select value from the combo box.SetTxt_IntoField Browser().Page().WebEdit("Name"),param_array()For param array we need to give value in data tableThe same value which yo... Answer Question Select Best Answer

Record non-standard object in QTP


Asked By: mathan_vel | Asked On: Dec 23rd, 2009 2 answers

Identify the recording mode, by which you can record the non-standard object in QTPa) standard recordingb) analog recordingc) low level recordingd) none
Answered by: kousik_10 on: Jun 3rd, 2010

If QTP does not recognize an object it is called as non-standard object in QTP, that is those objects are not present in the object repository of the QTP, in this case we generally go for the low leve...
Answered by: swapna.raut on: Feb 10th, 2010

If QTP is able to identify all the properties of the object as defined for the application, we go for standard recording mode. for eg, if QTP able to identfy Java objects, QTP is able to identify... Answer Question Select Best Answer

How QTP identify the system time that's changes every seconds?
Asked By: deba | Asked On: Oct 30th, 2007 3 answers

Don't mix this question with dynamic objects.


Answered by: QTPer on: May 27th, 2010

msgbox date() &" "& time()

Answered by: newqtp on: Jan 14th, 2008

try time() function. Answer Question Select Best Answer

Write QTP script for scroll bar in application?


Asked By: Brahma | Asked On: Apr 19th, 2007 Answered by: QTP_Yash on: May 19th, 2010 1 answer

object.ScrollRows Number, Direction


The following example uses the ScrollRows method to scroll up 3 rows Browser().Page().Table().ScrollRows 3,"Up" Answer Question Select Best Answer

QTP : web table objects are not counted in the run time
Asked By: Punitha.R | Asked On: Dec 19th, 2007 4 answers

Hi,i have n number of links in my webtable, these links will be change based on some conditions first condition this webtable links count is correctbut second condition it display wrong count.Condition and display links are correct.But webtable links are not counted correctly, I cant find the resion...
Answered by: pavani prasad on: May 18th, 2010

If you want to count links present in the webtable as per my knowledge you need to used childitems concept not child objects.set obj_lnk=description.createobj_link("micclass").value="Link"lnk_cou=brow...
Answered by: ManjuPillae on: Mar 26th, 2008

We can count the number of links that are present in the web table, using Descriptive programming.Set Lnk = Description.Create()Lnk("micClass").Value = "Link"Set LnkPres = Browser(... Answer Question Select Best Answer

Hi friends,i was asked a question in one interview that is how can we connect to database in QTP.I need the script. Can anybody help me.
Asked By: prasanna | Asked On: Dec 10th, 2006 Answered by: manikanta.baggu on: Apr 22nd, 2010 10 answers

set db=connectstring("adodb.connection") set rs=connectstring("adodb.recordset") db.open rs.open "sql command" This is how you can connect to database from QTP
Answered by: amninder on: Apr 23rd, 2008

this code works fine...try it.set con=createobject("ADODB.Connection")con.connectionstring("DSN=QT_Flight32;DBQ=C:Program FilesMercury InteractiveQuickTest Professionalsamplesflightappf... Answer Question Select Best Answer

How to count the no of web links in a web page?


Asked By: kishchilukuri | Asked On: Apr 14th, 2008 6 answers

How to count the no of web links in a web page?I used the following script but I am getting zero as output.Plz help me out.Dim objlinksystemutil.Run"iexplore.Exe","www.Yahoo.Com"set objlink=description.Createobjlink("micclass").Value="weblink"set i=desktop.Childobjects(objlink)msgbox i.Countthanks in...
Answered by: venkat_siqes on: Apr 19th, 2010

Try This.....It works fineset odesc=description.create()odesc("micclass").value="web link"set rc=browser("title: .*").page("title: .*").childobjects(odesc)linkc...


Answered by: goldvels on: Apr 18th, 2008

Eg:set objLnks = Br("...").Page("...").Object.GetElementsByTagName("A") Answer Question Select Best Answer

&n...

How do you call functions in QTP project without adding test settings, resources(library functions).Is there any other way around?
Asked By: ypraveen_77 | Asked On: Feb 19th, 2007 Answered by: aditya_12 on: Apr 21st, 2010 4 answers

You can load function library at run time using following code.. Dim qtpApp Dim funcLibSet qtpApp = CreateObject("QuickTest.Application")qtpApp.LaunchqtpApp.visible = TrueqtpApp.Open "c...
Answered by: venkat_siqes on: Apr 19th, 2010

You can do like this ExecuteFile "Path Of File" Call FunctionName

Regards Venkat Answer Question Select Best Answer

What is the difference between bitmap checkpoint and image checkpoint . Explain specific real time usage of bitmap checkpoint and image checkpoint
Asked By: lata_115 | Asked On: Mar 28th, 2007 Answered by: venkat_siqes on: Apr 19th, 2010 3 answers

BitMap CheckPoint is used to check web area or image Image checkpoint is used to check the image properties..like alt, link..

Regards Venkat

Answered by: venkatesh on: Aug 7th, 2007

Bit map check point we need not have any image, it goes by the screen area. But for image check point we need to have an image. Answer Question Select Best Answer

How do you validate alternate text appearing in fireevent?


Asked By: Loi Apas | Asked On: Apr 22nd, 2007 Answered by: venkat_siqes on: Apr 19th, 2010 1 answer

By Using Onkeydown method we can handle alternate text appearing in FireEvent

How to call the library file into the script, without hard coding the path in the script?
Asked By: yelamanchili | Asked On: Jul 30th, 2007 2 answers

When I am writing the executefile statement in the middle of the script, and while running the script, it is pointing to the first line and displaying message as "path not found".Should the executefile() statement should be at beginning of the script??
Answered by: venkat_siqes on: Apr 19th, 2010

You can do like this.. First make your file path as Environment variable. FPath=Environment.Value("FilePath") ExecuteFile FPath
Answered by: swapnil on: Aug 9th, 2007

Go to File > Settings.Click on Resources.Add the your .vbs file from by giving its location.Apply > OKNow when you call your function, it go to the location where vbs file is svaed, fetches... Answer Question Select Best Answer

How to test a date with QTP ?


Asked By: shyam | Asked On: Apr 10th, 2007 1 answer

Write some test cases for automation of date in an application ?


Answered by: venkat_siqes on: Apr 19th, 2010

By using Regular Expression -----> [0-3][0-9]/[0-1][0-9]/ Answer Question Select Best Answer

What are the advantages of descriptive programming over record and play back, explain with an example.
Asked By: fresher | Asked On: Jun 5th, 2007 Answered by: venkat_siqes on: Apr 19th, 2010 3 answers

In record mode lot of files are generated. In Descriptive programing only script file is present.
Answered by: gopinath subramaniam on: Mar 4th, 2009

Descriptive Programming is better than Object Repository in cases where objects in the application are dynamic in nature and need special handling to identify the object. Answer Question Select Best Answer

How does QTP identifies the object in low level recording ?


Asked By: ramaraogoud | Asked On: Apr 14th, 2007 1 answer

Ininterview I faced this problem:in what way QTP identifies the object in low level recording?I answered in this way,with location and index it assigns a unique numerical valuebased on the window object or desktop to the object,he is not satisfied,he asked at this time ,i minimized the window,at this...
Answered by: venkat_siqes on: Apr 19th, 2010

In Low level recording QTP identifies every object as winobject only Regards Venkat Answer Question Select Best Answer

QTP : import data from a data source at run time


Asked By: Saurabhi Vadalkar | Asked On: Oct 29th, 2007 3 answers

In my data sheet, I want to import data from a data source at run time. The problems are:1) I go to data sheet and do sheet-->import-->from database. Then I write a query to select data. As soon as I finish, the a new column is created and data is fetched from data table. I want this SQL query to get...
Answered by: venkat_siqes on: Apr 19th, 2010

DataTable.AddSheeet "Input" DataTable.ImportSheet "Path of Excel File", "source sheet name", "destination sheet name" regards Venkat

Answered by: ssk_pln on: Apr 14th, 2008

Can you explain your problem clearly? Answer Question Select Best Answer

How do you synchronization point through dp?


Asked By: Richi | Asked On: Oct 18th, 2007 Answered by: venkat_siqes on: Apr 19th, 2010 2 answers

Do until Browser("").Page("").Object.ReadyState<>"Complete" Wait(1) Loop


Answered by: AdvancedQTP on: Nov 13th, 2007

You'll need to implement it yourself, as opposed to using the built in native QTP mechanism. The code structure I use is: iTimer = Timer Get the current time DoTriggerEvent E.g. : cl... Answer Question Select Best Answer

Synchronization points
Asked By: Punitha.R | Asked On: Dec 3rd, 2007 4 answers

Hi,i have to put a synchronization points in web page.My script have to wait until my web page refresh.Or my web page status bar should be completes.Plz help for this.Thxpunitha
Answered by: venkat_siqes on: Apr 19th, 2010

Do Until Browser("somename").Page("somename").Object.ReadyState<>"complete" Wait(1) Loop

Regards Venkat

Answered by: raj_arora55 on: Jun 7th, 2008

you can use waitproperty("propertyn ame", "parameter value" timeout) for this featuer let me know if u still face any proble Answer Question Select Best Answer

QTP add ins funciton


Asked By: tina03 | Asked On: Sep 18th, 2008 7 answers

What is the function of add ins in QTP? (asked in wipro)


Answered by: venkat_siqes on: Apr 19th, 2010

It Returns the collection Addins in QTP.


Answered by: rolimohanty on: Feb 15th, 2010

QTP ADD Ins are used to identify the bjects in AUT. By defult QTP has 3 ADD Ins. These are Visual BasicActiveXWeb When you do not select any ADD In QTP treate it as windws Application. ... Answer Question Select Best Answer

Step generator
Asked By: ramapamireddy | Asked On: Sep 30th, 2008 6 answers

For what purpose step generator is used?


Answered by: venkat_siqes on: Apr 19th, 2010 Answered by: mathan_vel on: Jan 5th, 2009

This is most powerful tool in QTP. We can inset steps The Step Generator enables you to add steps quickly and easily, by selecting from a range of context sensitive options amd entering the required values. In the Step Generator dialog box you can defin... Answer Question Select Best Answer

How do you measure transaction time in QTP other than start and end transaction
Asked By: Sarita | Asked On: Apr 25th, 2007 Answered by: kotike on: Apr 14th, 2010 3 answers

We have built in functions called mercurytimers. Using mercury timers we can measure the transaction time up to milliseconds. Ex: MercuryTimers("timername").Start ...
Answered by: srinivas on: May 15th, 2007

If we insert start trans and end trans, automatically the transaction time will be displayed in the results page.or timer counts the no. of seconds after 12am, so if we insert two timers and the diffe... Answer Question Select Best Answer

QTP data table question


Asked By: Kiran | Asked On: Oct 15th, 2007 5 answers

In QTP data table, we have two excel sheets one is GLobal and another one is local(action1). If I want to enter another excel sheet in data table, then how will I add ?
Answered by: kotike on: Apr 14th, 2010

We can dynamically add/delete sheets to runtime datatable.datatable.addsheet "sheet name" ' It will add sheet to runtime datatable during runtime. We can see this table in results runt...
Answered by: manyam_muralireddy on: Oct 1st, 2008

in data table two sheet are there : global,actionif globalwindow(" ").winedit(" ").set datatable(" ",dtglobalsheet)if actionfor i=1 to 10 step 1datatable.set current row (i)window(" ").winedit(" "... Answer Question Select Best Answer

How to get a text from a list box,a cell from a table,and edit a text box?
Asked By: mann | Asked On: Jan 26th, 2006 Answered by: kotike on: Apr 15th, 2010 5 answers

For getting text from listbox<var>=Browser().page().WebLIstBox().GetItem(index)msgbox varFor getting text from webtable<var>=Browser().page().WebTable().GetCellData(row,column)msgbox varFo...
Answered by: akothuru on: Jun 6th, 2008

Retrieve text from TextBox:var_Text = Browser().Page().WebEdit().GetROProperty("value")Retrieve text from ListBoxvar_Text = Browser().Page().WebList().GetROProperty("value")Retriev... Answer Question Select Best Answer

How can I add an action (external action) programmatically?


Asked By: Sumana | Asked On: Sep 12th, 2006 Answered by: kotike on: Apr 15th, 2010 2 answers

We can an action programatically during runtime.set qtapp=CreateObject("QuickTest.Application")set newAction=qtapp.Test.AddNewAction("action2","RuntimeAction","msgbo...


Answered by: swarna on: Sep 15th, 2006

U can call any action if it is reusable or external action.Goto insrt-call existing action then u will c a window select action in that from test u can browse n add.Diff b/w re-usable and external act... Answer Question Select Best Answer

How do you load existing object repositery in a newly created script? Is there any "load" equivalent winrunner function available in QTP?
Asked By: rahmathk | Asked On: Mar 28th, 2007 Answered by: kotike on: Apr 14th, 2010 2 answers

If you have an existing shared repository you can load this at runtime using "RepositoriesCollection " built in function.Ex: RepositoriesCollection.Add "Path of the repository".It ...
Answered by: sivagarlapati on: Apr 7th, 2007

Convert ur Existing OR into shared OR and mention the path in ur new script. Answer Question Select Best Answer

How to count no. Of check boxes in a web page by using descriptive programming?
Asked By: ramaraogoud | Asked On: Apr 14th, 2007 Answered by: kotike on: Apr 14th, 2010 3 answers

set oBrowser=Description.CreateoBrowser("micclass").value="Browser"set oPage=Descripion.CreateoPage("micclass").value="Page"set oCB=Description.CreateoCB("...

Answered by: ManjuPillae on: Mar 26th, 2008

'We can count the number of CheckBoxes that are present in the web Page, using Descriptive programming.Set ChkBox = Description.Create()Lnk("micClass").Value = "CheckBox"Set Ch... Answer Question Select Best Answer

Object does not support method.


Asked By: neetupangtey | Asked On: Jun 5th, 2008 3 answers

I am getting this error .Object doesn't support this property or method: 'browser(...).Page(...).Frame(...).Webelement(...).Exists'please help me in this.
Answered by: kotike on: Apr 12th, 2010

Actually the frame will changing every time you run the script. so you need to regularize the frame.ex:Browser().Page().Frame("cf23gd553").WebElement().ExistsYou need to regularize the above...
Answered by: Dipak123 on: Jun 24th, 2008

Use Exist Method to check for the Existance of an Object. Ex: If (Browser().Page().WebEdit().Exist) Then Statements Else Statements End If Answer Question Select Best Answer

QTP : inserting a text into a cell of an excel sheet


Asked By: cyber_coolie | Asked On: Nov 29th, 2007 2 answers

What will be the script to insert a text or value into a cell of an excel sheet ? Pls help...Thanks in advance.
Answered by: kotike on: Apr 12th, 2010

set oExcel=CreateObject("Excel.Application") set oWB=oExcel.WorkBooks.Add oExcel.visible=True oExcel.Cells(1,1)="All the Best.have a great day" set oWB=Nothing set oExcel=Nothing
Answered by: prashanth.n on: Nov 30th, 2007

The following code will be useful for inserting text into excel.Dim appDim bookDim sheetSet app=CreateObject("Excel.Application")Set book=app.workbooks.open("e:temp.xls")Set sheet=... Answer Question Select Best Answer

How to test minimum balance of an account while we transfer amount from one account to another account using QTP?
Asked By: aakash | Asked On: May 29th, 2007 Answered by: ramu6309 on: Apr 12th, 2010 1 answer

Let us assume, the minimum balance should be of : 500.00,While transfering the amount from one account to another, you have the follow the steps:1. Get the Total amount from the account you want... Answer Question Select Best Answer

How to read data from runtime pdf documents


Asked By: chakri | Asked On: Mar 8th, 2007 1 answer

Answered by: ramu6309 on: Apr 12th, 2010

PDFFilePath = Get the PDF file path Alternative: 1If you are having PDF to Word converter Exe file, Just run the software and enter the path of the PDF file and click on convert. It will convert... Answer Question Select Best Answer

What is 'sleep' in sync point?


Asked By: sunil | Asked On: May 18th, 2007 Answered by: ramu6309 on: Apr 12th, 2010 1 answer

Sleep is a method which is used in windows programing to wait the tool for the particular time. It is similar to Delay.

Thanks, Ram

How do you count items from a listbox using QTP


Asked By: ajay bhaskar.g | Asked On: Mar 29th, 2007 Answered by: kotike on: Apr 12th, 2010 2 answers

Qtp provided one method called "GetItemsCount". Using this we can find the items count in a listbox or dropdownlist ex: <var>=Browser().page().WebList().GetItemsCount &...
Answered by: swanand_rk on: Mar 31st, 2007

use "items count" property. For eg, var = Browser(Browser).Page(Login).WebList(region).GetROProperty("items Count") Answer Question Select Best Answer

How to access values from UNIX os and how to write command in the UNIX os through QTP?
Asked By: Richa Yadav | Asked On: Dec 19th, 2006 Answered by: vj333v on: Mar 22nd, 2010 2 answers

There is addin called Terminal emulator which help in the connection with QTP to Unix
Answered by: Bharathi on: Dec 22nd, 2006

Using the RTE[Remote terminal emulator] protocol. using this any remote terminal can be invoked. eg. Unix, Linux,Solaris, Mainframe Answer Question Select Best Answer

QTP regular expression

Asked By: rashidansari1 | Asked On: Apr 2nd, 2009 11 answers

What is the significance of regular expression in QTP? Read Best Answer

Editorial / Best Answer


Answered by: priyankvyas
Member Since Dec-2008 | Answered On : May 6th, 2009

Regular expression is always used to make our search globalize. To execute the test in QTP every object is searched in the object repository (OR). In real time applications some object's properties always keep changing, so at the time of execution script fails. To overcome it we use "regular expression" for that particular object's property. For example: 1) Record a test where you are inserting one order and than faxing the same order. 2) The order number that is generated during recording may 21 and "Fax Order window title" is generated and saved into OR as "Fax Order No. 21" 3) Now execute the same test, the script will fail because this time order no is modified as 22 and accordingly "Fax Order window title" is modified as "Fax Order No. 22". 4) This time the object "Fax Order No. 22" is not identified or you can understand object is not matched (find) into OR. 5) To make this search better we modify the text property of object into OR as "Fax Order No.*" this will search all the occurrences of window that has text as "Fax Order No" 6) We can also write it as "Fax Order No. [0-9]" because fax order no is a numerical value and this will search only numbers after "Fax Order No. " So this is the purpose of regular expression in QTP.
Answered by: PravatInfinite on: Jan 26th, 2010

Also Regular Exp is used for pattern matching and replacing of a string. * : Matches the preceding character zero or more times. . : Matches any single character except a newline character.
Answered by: aarati on: Nov 9th, 2009

Using RE we can make the QTP to recognize same object with its varying name.For example, a window having title as "Employee NO. 7"If I want to pass data to multiple Employee No. Windows, So I have to ... Improve Answer

Open QTP on network


Asked By: rahul.kgupta79 | Asked On: Mar 24th, 2008 1 answer

Write a script to open QTP from other machine on the network


Answered by: whackozhacko on: Jan 17th, 2010

Use QTP object automation model like "Set qtpObj = CreateObject( "QuickTest.Application", <<remotemachine-name>> )"This will start the QTP process on th... Answer Question Select Best Answer

Using QTP to test ADObe flex


Asked By: vpskumar | Asked On: Dec 20th, 2007 1 answer

Please suggest, if we can use QTP to test ria's (rich internet applications) developed using ADObe flex. ADObe flex 2 is a cross-platform development framework for creating rich internet applications (rias).
Answered by: gsh302 on: Jan 11th, 2010

You need to install Flex plugin to identify flex objects. Answer Question Select Best Answer

How to checkpoint a pdf document/output in QTP


Asked By: QTPnewbie | Asked On: Apr 23rd, 2008 4 answers

Hi guru's,i am currently testing an application which generates pdf & xls reports and I would like to validate some text and data values within the pdf output to ensure an "expected result" is produced by the reporting system.I am able to check cell values of the xls spreadsheets, however it seems to...
Answered by: gsh302 on: Jan 11th, 2010

Save the pdf file in the local system use File System object and adobe acrobat object model to retrieve the data from PDF files.
Answered by: NawabShaikh on: Apr 28th, 2008

CreateObject method is used for integrating Shell operations.Set SH_OBJ = CreateObject("wscript.shell")SH_OBJ.SendKey "ctrl" + "F" '''emulate Find Featu... Answer Question Select Best Answer

Compare uat with production web page


Asked By: radhikamallya | Asked On: Feb 29th, 2008 2 answers

How will you compare a web pages one in uat and one in production? Can you know what changes have been implemented in the uat after the enhancement using QTP
Answered by: Vishal Aggarwal on: Dec 14th, 2009

You can use different checkpoints like Page checkpoints and other checkpoints to verify their expected state to their actual state in the AUT.
Answered by: NawabShaikh on: Mar 3rd, 2008

Record a Script on UAT and Run it on Production. Regards, Nawab Answer Question Select Best Answer

Copy datatable content


Asked By: naglaxmi | Asked On: Oct 12th, 2008 5 answers

How to copy a datatable content from GLobalsheet to localsheet (action1)?


Answered by: swapna.raut on: Dec 11th, 2009

At runtime you can coopy the data from Global sheet to Loca Sheet(Action1) in following sequence:-1) Export the data of Global sheet to some temporary excel (for eg C:Test1.xls)DataTable.ExportSheet(&...
Answered by: qtpdeepak on: Aug 31st, 2009

If the User wants to Copy all the Data from all the Rows to a Column in a Separate Sheet. Then the following code will be helpful.A= DataTable.GetRowCountDataTable.GetSheet(dtLocalSheet).AddParameter ... Answer Question Select Best Answer

How to create the dynamic object repository in QTP?


Asked By: rajanv2006 | Asked On: Jul 29th, 2006 Answered by: sushgarg on: Nov 5th, 2009 7 answers

We can store the dynamic objects in OR using following methods: - set the property values of object in OR using Regular Expression instead of constant value - use Repository Parameters to set dynamic ...
Answered by: anandvp2006 on: Aug 13th, 2006

try with this codeset app=createobject("Quicktest.Application")app.test.setting.objectrepositoryfilepath="give the path "or else generate the script using generate script opt. , save it and open with ...

Answer Question Select Best Answer

How to make QTP to recognise the activex controls.


Asked By: Srinivas reddy | Asked On: Dec 5th, 2005 Answered by: sureshsa_2000 on: Nov 2nd, 2009 2 answers

Corresponding Addins are added for the Activex Control to be identified


Answered by: Venkat Potluri on: Dec 6th, 2005

QuickTest records and runs steps on ActiveX controls as it does on any other object.Using the Insert>Step Option , we can activate ActiveX control methods, retrieve and set the values of properties... Answer Question Select Best Answer

Image validation support


Asked By: venvem | Asked On: Mar 8th, 2009 3 answers

Image validation is not supported by which automation toola) QTPb) winrunnerc) both of the above
Answered by: Tusharag on: Oct 28th, 2009

QTP Supports Image validation. But image checkpoint checks only for image properties ( image file name, image size..etc.). We can use bitmape check poit to compare the image pixel by pixel.
Answered by: debi_m19 on: Oct 21st, 2009

QTP uses Image Checkpoint to validate Images Answer Question Select Best Answer

Select recording mode


Asked By: sujar84 | Asked On: Jan 13th, 2009 9 answers

How do we decide as to which recording mode from context recording (normal), analog recording or low level recording do we select for an application? What is uniqueness in each recording mode?
Answered by: debi_m19 on: Oct 21st, 2009

Normal Recording mode is the normal default recording mode.Analog recording mode is typically used for recording drag and drop feature.Low Level Recording is used identifying an object with ...
Answered by: shruthi_11 on: Jul 12th, 2009

There are 3 types of recording mode in QTP:1. Context-Sensitive or Normal Recording mode:This is the default recording mode in QTP. It enables recording on standard GUI objects. For each operation a s... Answer Question Select Best Answer

Analog recording
Asked By: vineetbhatt2 | Asked On: Dec 9th, 2008 3 answers

When do you use analog recording to record a test?


Answered by: debi_m19 on: Oct 21st, 2009

IT is typically used for drag and drop feature

Answered by: preethi.gollamandala on: Jan 15th, 2009

Analog Recording in QTP will record w.r.t Key board and mouse operations Answer Question Select Best Answer

Limitations of QTP

Asked By: Nachhu | Asked On: Mar 17th, 2009 2 answers

What are the limitations of QTP encountered while automating share point application?
Answered by: Vikalp_qtp on: Oct 9th, 2009

Few limitations of QTP: 1.Not advisable for unstable systems. 2.Does not support Ad-hoc testing. 3.Does not support validation testing. 4.Cannot be used to compare pdf and word files.
Answered by: priyankvyas on: May 5th, 2009

So far the limitation that I have identified during Share point application testing through QTP is that, in share point application many actions are based on "mouse over". At the time o... Answer Question Select Best Answer

Object is not recognizing by QTP


Asked By: acmanju | Asked On: Jul 20th, 2008 4 answers

Some of the objects like rich text boxes are not recognizing by QTP, while recording. What is solution for that, if anybody knows please put the solution asap.
Answered by: arifaman.04 on: Sep 28th, 2009 Answered by: Maheshglt on: Sep 9th, 2008

The only way is to go for VIRTUAL OBJECT. You can use smart identification. Answer Question Select Best Answer

QTP not getting the object

Asked By: vijay_baala | Asked On: Dec 20th, 2007 6 answers

QTP is not getting one of the object in our application... It is getting all other objects
Answered by: mathan_vel on: Sep 25th, 2009

Use Low level Recording to recognize the object by Mouse pointers. Store the information in ObjectRepositary
Answered by: kvns_kumar on: Feb 13th, 2008

Hello Boss, Low-Level Recording - enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation. This mode records a... Answer Question Select Best Answer

What is use of regular expression in QTP ?


Asked By: raj | Asked On: Sep 4th, 2006 Answered by: shrinivasbt on: Sep 21st, 2009 6 answers

Regular expressions are Special characters and sequences which are used identify the dynamic test objects on AUTThese are mainly used in 1. Defining property values of an object in dialog boxes ...
Answered by: ravi on: Jan 22nd, 2007

It is used to identify "objects"& "textstrings" with varying values Answer Question Select Best Answer

What is the difference between libraries and actions in QTP


Asked By: bhavani | Asked On: Jul 30th, 2007 Answered by: goksn on: Sep 17th, 2009 2 answers

Apart from above said differences, one of the important difference is Libraries are precompiled modules where actions are not.
Answered by: Srinivasaraomunagala on: Jul 31st, 2007

The meager differences are: ActionsLibrary FunctionsFrom Actions we can call the Library functionsFrom Functions we can not call the ActionsActions are completely related to QTP Library fu...

Answer Question Select Best Answer

Explain "QTP using different development techniques (not just record and playback)", this is the requirement one client to recruit QTP tester.
Asked By: Eshwar | Asked On: Aug 30th, 2007 Answered by: goksn on: Sep 17th, 2009 4 answers

Apart from Record and Playback, we can-Make the AUT as Data driven-Create modular framework - make functions and make them as reusable (use of control statements here)-Making of descriptive programmin...
Answered by: ganesh.kumar on: Apr 17th, 2008

Using Descriptive Prograaming. Answer Question Select Best Answer

Have you ever written a compiled module? If yes tell me about some of the functions that you wrote.
Asked By: Interview Candidate | Asked On: Aug 4th, 2005 Answered by: goksn on: Sep 16th, 2009 4 answers

One of the examples for vbs function library is,Suppose a web page has a web table column at the starting of the page with 4 tabs and clicking each tab will produce separate frames in the page.Then fu...
Answered by: kannannarayana on: Feb 21st, 2006

can u give sample functions which capture dynamic changing data for a web page

What is the test object model in QTP?


Asked By: Ranganadh | Asked On: Nov 1st, 2006 Answered by: mathan_vel on: Sep 14th, 2009 5 answers

The Test Object Model is a large set of object types or classes that QuickTest uses to represent the objects in your application. Each test object class has a list of properties that can uniquely iden...
Answered by: anjalireddy on: Dec 29th, 2006

Essentially all configuration and run functionality provided via the Quick Test interface is in some way represented in the Quick Test automation object model via objects, methods, and properties. Alt... Answer Question Select Best Answer

How to execute SQL query using QTP ? Explain with sample code.
Asked By: kalpeshprajapati | Asked On: Feb 13th, 2007 Answered by: nina on: Aug 13th, 2009 4 answers

Set dbSO3 = CreateObject("ADODB.Connection") ' Create Connection Object dbSO3.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=S:Informa...
Answered by: bosjerr on: May 7th, 2008

'Connecting to a MS Access database'-----------------------------------------------------------------------------------------------------------'1. Create a connection object'2. Call t... Answer Question Select Best Answer

Parametrize through environment


Asked By: geekarijit | Asked On: Sep 29th, 2008 3 answers

How to parametrize through environment. Please use a suitable example.


Answered by: Vishal Aggarwal on: Aug 1st, 2009

Just a add on...You can also put all common variables in an external xml file and import it into the QTP to be used across all tests.The structure...

Answered by: mathan_vel on: Jan 5th, 2009

Quick Tests can insert a value from the Environment variable list, which is a list of variables and corresponding values that can be accessed from your test. Throughtout the test run, the value of an ... Answer Question Select Best Answer

How to select desired dates using QTP in my application?


Asked By: Sunita2k | Asked On: May 22nd, 2008 2 answers

In my application there is a date frame, and it acts like a link while choosing any date or month. Please tell me what would be the code so that QTP will automatically pick any date or month?
Answered by: PravatInfinite on: Jul 25th, 2009

Try to apply like below code. Calendar object cal is in OR Dim StartDay StartDay = Day(Date) Browser("***").Page("***").Image("cal").Click Browser("***&q...
Answered by: nanavu on: Jul 25th, 2008

Normally, in the calendar frame the date links are keep in the table. So you have to loop through table, get the link object from each cell, then get the value of the link (maybe "text" depe... Answer Question Select Best Answer

How to solve error when QTP cannot identify object


Asked By: sangeetasingh268 | Asked On: May 12th, 2008 2 answers

While running recorded application in QTP ,it gives errorcannot identify the object "ok" (of class winobject). Verify that this object's properties match an object currently displayed in your applicationline (3): "window("window").Window("login").Winobject("ok").Click 32,10". Can some pls give solution...
Answered by: PravatInfinite on: Jul 25th, 2009 Answered by: akothuru on: Jun 11th, 2008

Check whether QTP is focusing on the same Button inside the parent window. Use the Statement at the begining of the script/function "On Error Resume Next". This is the concept of Exception Handling. If you use this statement in your script, it simply ignores any ty... Answer Question Select Best Answer

Check points stored


Asked By: dabba | Asked On: Sep 23rd, 2008 4 answers

Where do checkpoints get stored?

Answered by: tsr_kumar on: Jul 22nd, 2009

Check Points are stored in ObjectRepository.bdb under the action(X) folder.


Answered by: mathan_vel on: Jan 5th, 2009

Object RepositoryIf the question is about checkpoint properties, then the answer is Action#resouce.mtr filesIf the question is about after executing the checkpoint, then the answer is Action#ResultFol... Answer Question Select Best Answer

How to pass parameters from one test to another test in QTP


Asked By: satishnaiduk | Asked On: Mar 7th, 2006 Answered by: suresh09 on: Jul 20th, 2009 2 answers

There are many ways to send data.Test 1:Create Environment variable in action1 and make that action resuable.Test 2:Create action2 and use the variable.When more data needs to be send we can pass the...
Answered by: Gopi Krishna on: Mar 7th, 2006

HiI am giving one exmple passing the values into 2 actionsStep1 : U will select the Action1 Properties and set input and output &... Answer Question Select Best Answer

What is bpt in QTP and how to create reuseable component in bpt?


Asked By: H.Sharath Goud | Asked On: Aug 24th, 2006 Answered by: someswararao.taninki on: Jul 20th, 2009 2 answers

1.Component is a reusable module to perform tasks on logically independent application parts (Page or Window). 2.Components use Input/Output parameters for data input/verification and navigation withi...
Answered by: Dharmesh Jasani on: Sep 6th, 2006

BPT is known as Business Process Testing.With BPT add-in one can create re-usable component. Its very similar to re-usable action in terminology. But it is very user friendly and non-technical person ... Answer Question Select Best Answer

How to test XML pages in QTP?


Asked By: pojo1 | Asked On: May 28th, 2008 Answered by: seri.vijay on: Jul 10th, 2009 1 answer

One way of testing the XML pages is using the XML Check Point.XML Check Points can be classified into 3 types1.XML Web Page/Frame Checkpoint to check an XML document within a Web page or f... Answer Question Select Best Answer

How do you compare two images in a web page using QTP


Asked By: gilchristdhoni | Asked On: Jun 5th, 2007 Answered by: kapoor.riti on: Jul 2nd, 2009 2 answers

function comparebitmap(actualbmp, expectedbmp)set fcomapre=createobject("mercury.filecompare")if fcomapre.isequalbin(actualbmp, expectedbmp,0,1) then &...


Answered by: balajimaddy on: Sep 3rd, 2007

We have Image Checkpoint which is used to compare the two images in a web page Answer Question Select Best Answer

How to create a popup object in QTP?


Asked By: Divya | Asked On: Apr 5th, 2007 Answered by: kapoor.riti on: Jul 2nd, 2009 1 answer

WshShell.Popup Method The Popup method Displays a timed text in a pop-up message box. Syntax nButton = object.Popup(sText, nSecondsToWait, sTitle, nType) Answer Question Select Best Answer

Which object model is used by QTP to identify the object property of an application ?1.Dom2.Dcom3.Com
Asked By: Debashish Samanta | Asked On: Mar 2nd, 2006 Answered by: goksn on: Jun 28th, 2009 2 answers

QTP uses mainly DOM to access the objects. It uses .object notation. QTP also supports COM.
Answered by: Ritik1008 on: Sep 28th, 2008

You can use the QuickTest Professional Automation Object Model to write programs that automate your QuickTest operations. The QuickTest Automation Object Model provides objects, methods, and properti... Answer Question Select Best Answer

How can we return values from userdefined function? Anybody provide code with small example its great for me.

Asked By: Magadala | Asked On: May 9th, 2006 Answered by: sujata_2221981 on: Jun 26th, 2009

3 answers

The function name should be same as that of the variable name in which you are assigning the value returned by the function.
Answered by: akothuru on: Jun 6th, 2008

Function can return only one value To return value, use the following syntaxE.g. Function FunctionName() FunctionName= TrueEnd FunctionFunctionName = True 'Boolean valueorF... Answer Question Select Best Answer

What is testing estimation? And explain exit criteria,entry criteria in test plan?
Asked By: kondal.quality | Asked On: May 23rd, 2008 Answered by: sujata_2221981 on: Jun 6th, 2009 1 answer

Testing Estimation - It is a document that tells how many PDs (person days, i.e. 8 hrs per person) will be required to test any given module and using what testing tools if required. It also gives an ... Answer Question Select Best Answer

How to start learning QTP


Asked By: SHima | Asked On: Dec 19th, 2008 2 answers

Do we need to know vbscript to start working on QTP? What are the steps need to be followed to become an expert in QTP? Please guide me...
Answered by: lagoku08 on: Jun 3rd, 2009

In QTP, If you know about the concepts of QTP like Actions & seting, Prametaraization using (DataTable(global & Local), Environment & random value), chekpoints, output values, syncronizati...
Answered by: akothuru on: Dec 22nd, 2008

If you get the knowledge about following concepts, you will become an expert in QTPVB Scripting ConceptsQTP Record & PlaybackData ParameterizationActionsObject RepositoryCheck Points & Output ... Answer Question Select Best Answer

How many types of environment variables are there in QTP? What are they?
Asked By: lakshmareddy | Asked On: Sep 2nd, 2006 Answered by: priyankvyas on: May 18th, 2009 3 answers

There are tow types of environment variables in QTP :

System defined User defined (It is again two types )

1) Internal 2) External (it is uploaded from external XML file)


Answered by: srikanth kolli on: Sep 4th, 2006

we have two types of Environment variables in QTP:1. Builtin Environment Variables(also called system defined variables)2. User defined Environmental Variables (these are Two types Again) a. Use... Answer Question Select Best Answer

What are the check points can be inserted without recording?


Asked By: kesmad | Asked On: Mar 15th, 2006 Answered by: mathan_vel on: Apr 25th, 2009 5 answers

Database & XML Check Point

Answered by: sudhakar2068 on: Oct 23rd, 2006

Database check point & XML check point. sudhakar kolla, My email:kollasudhakar2005@yahoo.co.in. My number:09819859346 Answer Question Select Best Answer

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: mathan_vel on: Apr 25th, 2009 6 answers

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...
Answered by: tanuj joshi on: Feb 28th, 2007

The application you are working on is not supported by QTP. You need to call external DLL's to get the objects recognised or if it's a file that you are recording, then use FSO for the same. Answer Question Select Best Answer

Hi how can we test .Net application using QTP. Imean writing scripts in c#.Can we directly write .Net scripts in QTP,after recording the application can we enhance script using .Net??Can any one please...
Asked By: venky | Asked On: Feb 28th, 2006 Answered by: mathan_vel on: Apr 25th, 2009 3 answers

i think you wrongly thought that the scripts used in the QTP for Test will enhance with .Net application. which is wrong. QTP is an interactive tool to enhance the testing work automaticallly. which v...
Answered by: Ritik1008 on: Sep 28th, 2008

No we can not write C# or .NET code using QTP. Becuse QTP is only supports vbscript. For .NET Scripting you can use Test complete 6.4 another Automation tool. Answer Question Select Best Answer

What is the difference between run time object and test object in QTP?
Asked By: rajaneesh | Asked On: Oct 30th, 2007 Answered by: kalpana pol on: Apr 15th, 2009 3 answers

A test object is an object that Quick test creates in the test or component to represent the actual object in your application. Quick test stores information about the object that will help it identif...
Answered by: Sycho on: Nov 21st, 2007

Test Object:An objcet that resides in Object Repositry and which QTP use while running script is called Test Object.Run Time Objcet:An object that actually presents in the application is called Run Ti...

If you want to avoid using the object repository, how would you do it?
Asked By: pavan | Asked On: Jul 25th, 2007 Answered by: sahay.anamika on: Apr 11th, 2009 2 answers

Descriptive programming is the best ans

Answered by: hanumanthvm on: Jul 30th, 2007

use descriptive programming to avoid O.R Answer Question Select Best Answer

Checkpoints in functions

Asked By: wondergirl | Asked On: Feb 10th, 2008

3 answers

Can I use checkpoints in functions?Thanks.


Answered by: sivaraju.sateesh on: Mar 28th, 2009 Answered by: ganesh.kumar on: Apr 17th, 2008

When checkpoint is issued all the dirty blocks are written to the datafiles (disk). Yes.. But make sure that the Objects Info is present in the Object Repository and also the function is calling in the script where the Onjects info is stored Answer Question Select Best Answer

Keyword driven testing


Asked By: karunasri | Asked On: May 22nd, 2008 2 answers

What exactly do you mean by keyword driven testing?


Answered by: Anushesh on: Mar 9th, 2009

QTP deploys the concept of keyword-driven testing to enhance the test creation and maintenance. Keyword-driven testing is a technique that separates much of the programming work from the actual test s...
Answered by: swetapanigrahi on: Oct 1st, 2008

QTP has two views:1. Keyword view 2. Expert viewIn keyword view one can see the object, the operation performed on it and it's value. In keyword driven testing you use the recorded object to generate ... Answer Question Select Best Answer

Automation framework
Asked By: nvs.venkata | Asked On: May 28th, 2008 3 answers

Hi all,can anybody explain "what are the test automation frameworks and classify them?"
Answered by: daisymani on: Mar 5th, 2009

Automation Framework defines the concepts of Data Flow, Results Flow, Execution Methods, Recovery ,Error Handling Mechanisms, Pre-Execution Setup, Post-Execution Aspects, Mail Configurations etc, ...
Answered by: ssoma78 on: Oct 24th, 2008

Automation frame work is a set of guidelines given by experts to accomplish/complete a task in an efficient manner. Answer Question Select Best Answer

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: subbareddy.qtp on: Feb 20th, 2009 7 answers

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...
Answered by: santh_murthy12 on: Jul 31st, 2008

Keyword-driven testing is a technique that separates much of the programming work from the actual test steps so that the test steps can be developed earlier and can often be maintained with only minor... Answer Question Select Best Answer

QTP with terminal emulator add in


Asked By: sujathaV | Asked On: Jul 22nd, 2008

2 answers

Will QTP with terminal emulator add in support the application ibm (ibmpos)?How the te addin will be applied in QTP? Is there any other tool that support ibm applications?
Answered by: kondameedi on: Feb 12th, 2009

Only Terminal Emulator does not solve the problem. You will need to have the Attachmate Extreme inorder to automate the Mainframe application. This Attachmate software acts as a middleware for QTP in ...
Answered by: akothuru on: Nov 11th, 2008

QTP supports Terminal Emulator using Terminal Emulator Addin.In QTP 9.5 most of all addins available in the setup file. It is mandatory that to install Addins, select the option "Custom" ins... Answer Question Select Best Answer

XML checkpoint

Asked By: kaps_sachdeva | Asked On: Aug 18th, 2008 2 answers

Give a live example use of XML checkpoint. How do we check an XML file?
Answered by: mathan_vel on: Jan 5th, 2009

Checks the data content of XML documents. Note: XML file checkpoins are used to check a specified XML file; XML application checkpoints are used to check an XML document within a Web page.
Answered by: sandhya.v on: Nov 12th, 2008

XML checkpoint is used when we are working online project. We can connect through the main project by its path. then only we could have a view on xml checkpoint. Answer Question Select Best Answer

How to run QTP scripts recorded in internet explorer on a netscape or firefox browser?Nestcape tries to read the code this waywindow("netscape browser").Winobject("ns_ae_windowclass").Type "http;//servername:8080/trial/"whereas...
Asked By: mprashanthi | Asked On: Feb 9th, 2007 Answered by: mathan_vel on: Jan 2nd, 2009 2 answers

Hi Mprasanthi,Before running the script in QTP.*ensure that from which browser it is recored the scripts.*if you want to run the scripts in differnt browser. ensure that the browser should adopt to th...
Answered by: VK on: Jul 4th, 2007

Please check the Version of the Tool and Browser version. For Ex: if work with QTP 9.2 then Browser Netscape 7.0 or Later... My advise go lower versions and check it... Regards, vk Answer Question Select Best Answer

When a recovery scenario is set for an action, is that scenario behavior carried forward even when that action is called from another test or do we have to make any settings in order to do so? For e.G....
Asked By: andy1427 | Asked On: Dec 28th, 2006 2 answers

Answered by: mathan_vel on: Jan 2nd, 2009

The Action1 is carried out for the same object. The object(popup) also doing the same functionality as loading, selecting the items, reload, etc.. So the Action1 is doing the same functional call. the...
Answered by: anjalireddy on: Dec 29th, 2006

Recovery scenarios are used when you cannot predict at what step the error can occur or when you know that error won't occur in your QTP script but could occur in the world outside QTP, again the exam... Answer Question Select Best Answer

Do we have rapid test scrpit wizard in QTP.How to learn all the windows and objects in QTP
Asked By: vamsi.krishna09 | Asked On: Nov 13th, 2006 Answered by: forvanan on: Jan 2nd, 2009 1 answer

No QTP doesn't have this RTSW feature. Answer Question Select Best Answer

Explain what the difference between shared repository and per_action repository
Asked By: Interview Candidate | Asked On: Aug 4th, 2005 Answered by: SanthanCh on: Nov 22nd, 2008 9 answers

Per_Action Repository : It can be used within the test itself. Shared Repository : These can be used in any test. It is placed in central repository. by associating the shared repository, we can use.
Answered by: m.harish kumar on: Nov 12th, 2007

The difference between per-object repository and shared object repository is if we added the objects in the object repository and saved in the test,we can open a new test and go to test menu-->clic... Answer Question Select Best Answer

What is the difference between call to action and copy action.?


Asked By: Interview Candidate | Asked On: Aug 5th, 2005 Answered by: SanthanCh on: Nov 22nd, 2008 9 answers

Actions are three types: 1. Non - Reusable : These Actions are used in the Test itself. We Can't use it outside the test.2. Reusable : These are the reusable actions, we can use it outside of...
Answered by: Sateesh on: Sep 28th, 2007

When you talk about the difference, you have to consider lot of things One, If you are working in a test that using Per-action repository then you cannot copy this to the test which is using Shared O... Answer Question Select Best Answer

Analyse QTP results


Asked By: tina03 | Asked On: Sep 18th, 2008 2 answers

How will you analyse results in QTP?

Answered by: sivagarlapati on: Nov 13th, 2008

Expand the Tree format of Test Result window and check all the belowAfter you run a test, the Test Results window displays all aspects of the run session, including: a high-level results overview ...
Answered by: Madhavi_maya on: Sep 22nd, 2008

Test fusion display all the aspects of the test run: a high-level results overview, an expandable Tree view of the test sepcifing exactly where application failures occurred, test data used, applicati... Answer Question Select Best Answer

1. When will writing automation scripts starts, is it beforecoding phase? Or after coding phase?2.Without seeing the ui screens how will write automation scripts,isit possible to write test scripts without...
Asked By: njanareddy | Asked On: Mar 21st, 2006 Answered by: ssoma78 on: Oct 24th, 2008 3 answers

Once builds are get stabled and manual testing done, then we will go for automation testing.
Answered by: Murthi on: Mar 30th, 2006

2 Question Answer: Through descriptive programming we can write automation scripts. Answer Question Select Best Answer

What if storage limit of shared object repository exceeds its limit(2 mb).How this kind of situation can be handled?
Asked By: Beena | Asked On: Sep 16th, 2005 Answered by: sreenivas_nandam on: Sep 29th, 2008 6 answers

You can use descriptive programming.


Answered by: Ritik1008 on: Sep 27th, 2008

We have to divide existing scripts (actions) into two or more scripts and use action based object repository where each action has its own repository.So can we manage with storage limit of shared obj... Answer Question Select Best Answer

Which the object model the QTP uses for the object identify of an application ? Choices are 1.Dom,2.Dcom,3.Com,4.Rom .
Asked By: Debashish Samanta | Asked On: Mar 2nd, 2006 Answered by: Ritik1008 on: Sep 28th, 2008 3 answers

You can use the QuickTest Professional Automation Object Model to write programs that automate your QuickTest operations. The QuickTest Automation Object Model provides objects, methods, and properti...
Answered by: vknowth on: Mar 8th, 2006

Since For webbuilding DOM is used,it should be the same for QTP for Object identification Answer Question Select Best Answer

Explain as to how would you design the driver code for a keyword based test script.
Asked By: Rahu Rathan | Asked On: Sep 16th, 2005 Answered by: Ritik1008 on: Sep 27th, 2008 1 answer

The Test Automation Engineer takes the Keyword Name, Description, Parameters, Application Under Test, and Keyword development standards and constructs the Keyword. If there are any issues with the des... Answer Question Select Best Answer

How can u write a script without using a gui in QTP?


Asked By: deep | Asked On: Sep 30th, 2005 Answered by: Ritik1008 on: Sep 27th, 2008 5 answers

QTP provides the Active Screen Technology i.e it will take snapshots of the Application when you are going thru' the appl. by using the snapshots you will be able to write the script for that particul...
Answered by: Tejeswara Rao on: Oct 10th, 2006

we can write scripts in qtp by using logical names. It is just like a Descriptive Progarmming. Just spy on any object and find the tree structure, and identify the unique logical names.Example : ... Answer Question Select Best Answer

How to add my own function in QTP.When I run my function in QTP then its throw an error "error in library file. Your function library may not be valid.Do you want to continue running the test?"now how...
Asked By: rajivkumarnandvani | Asked On: Feb 16th, 2006 Answered by: govindraj on: Sep 11th, 2008 3 answers

Whatever function you write in vbs file , it might be possible some keyword are wrong or wrong property may be used.
Answered by: varija on: Feb 21st, 2006

First create a VB script file say "test.vbs" with the below function and save it on your desktop: function myfunc() msgbox "I am executing from vbscript... Answer Question Select Best Answer

How to delete 10 first mails by using QTP


Asked By: Malli143 | Asked On: May 29th, 2008 2 answers

How to delete 10 first mails by using QTPi need to delete 10 first mails from mail box by using QTP
Answered by: govindraj on: Sep 11th, 2008

Dim ifor i = 1 to 10 browser("Yahoo").page("Yahoomail").webtable("inbox(50)").childitem(i,1,"webcheckbox",0).set "ON"Nextbrowser("Yahoo&quo...


Answered by: venkatraj.banka on: Jul 3rd, 2008

Browser("Yahoo!").Page("Yahoo!").Link("Mail").Click Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit ("login").Set "venkatraj.ba...

What is the procedure to test flash applications using QTP?


Asked By: swapna | Asked On: Sep 22nd, 2005 6 answers

Can anyone please answer

Answered by: raveek299 on: Sep 9th, 2008

By using FLEX add in we can test flash Applications


Answered by: krishnagajula on: Jun 13th, 2007

Hey even QTP 9.2 is unable to test the application developed in the flash. Answer Question Select Best Answer

QTP database connectivity locks


Asked By: varsha.sarode | Asked On: Sep 8th, 2008 1 answer

Whick locks are used for database connectivity in QTP?


Answered by: niriha on: Sep 9th, 2008

ODBC (Open Database Connectivity) Default feature in Operating system DSN (Data Source Name) created by user for every database in system. Acts as identifier to database. Answer Question Select Best Answer

Selective recording mode


Asked By: balu_s | Asked On: Jul 21st, 2008 1 answer

Explain what is selective recording mode


Answered by: govindraj on: Sep 8th, 2008

In QTP three types of Recording modes1) Normal Mode or Selective mode, which is by default mode2) Analog Recording Mode3) Low Level Recording ModeAnalog Recording: we use this type of recording when w... Answer Question Select Best Answer

How and what kind of vb functions do u use in QTP?


Asked By: chaw | Asked On: Nov 8th, 2005 Answered by: govindraj on: Sep 7th, 2008 5 answers

We can use Predefined functions and User defined function. Predefined funtions are inbuilt in vbscript. Predefined functions are used directly by pre-defined name and user defined functions are d...
Answered by: emran on: Nov 26th, 2005

1. User Defined2. Pre Defined Answer Question Select Best Answer

How to apply regular expresions to a web page in QTP


Asked By: babulu | Asked On: Mar 26th, 2007 Answered by: NawabShaikh on: Sep 4th, 2008 1 answer

1. In the Object Repository File check for the Property of the WebPage2. In case that Property do have a varying text e.g. its URL & value is http:sitename1250pagename.htmlin the above case if 1250... Answer Question Select Best Answer

How to recall a function in QTP


Asked By: kumar | Asked On: Nov 7th, 2005 Answered by: ranganathyugandhar on: Sep 4th, 2008 10 answers

Function which we have to recall, we have to save it in in notepad as .vbs file and use EXECUTE FILE " C:[filename] "
Answered by: sreekanth chilam on: May 1st, 2007

Actually, there will be 3 types functions : --> Local script (Function definition and function call will be in script only ) --> Built functions (Predefined functions , only we have to ... Answer Question Select Best Answer

How does parameterization and data-driving relate to each other in QTP?


Asked By: Interview Candidate | Asked On: Aug 23rd, 2005 Answered by: neerajkumargarg on: Sep 2nd, 2008 6 answers

Testing the same set of functionality with different inputs is Data Driven test. This is done by using parameterization.
Answered by: Tirumalesh S on: Jul 4th, 2007

Parameterization done by selecting the particular parameter after the recording and specifies it change values indicting as data table the parameter will be appears on the data table we can give the d... Answer Question Select Best Answer

Database verification
Asked By: smitha27 | Asked On: Apr 20th, 2008 2 answers

What is database verification in QTP?

Answered by: dhanasekars on: Aug 28th, 2008

This is simlar to verification of data manually, instead here we use QTP to automate the process,This is done by connecting to DB using ADODB connection, used Record set collection to manipulate the d...
Answered by: Manoj.Srinivas on: Aug 27th, 2008

Use this piece of code:Set mConnection = CreateObject("ADODB.Connection")mConnection.Open "Provider=SQLOLEDB.1;Data Source=;Initial Catalog=CATALOG","USERNAME","PASSWORD"set rs = CreateObject("ADODB.r... Answer Question Select Best Answer

Shared object repository


Asked By: g_sure | Asked On: Jul 8th, 2008 1 answer

What if storage limit of shared object repository exceeds its limit(2 mb).How this kind of situation can be handled?
Answered by: angelatino on: Aug 5th, 2008

QTP version 8.2 can't handle this, find out if ver 9.5 does. Answer Question Select Best Answer

QTP menu item count/check short cuts


Asked By: murthymp | Asked On: May 8th, 2008 2 answers

Hi,i am working on QTP automation of a application which is Java based. I would like to count the submenu options available for one of the menu item (say for ex 'file' ) also I would like to verify he whether it has shot cuts (i.E alt+f for file). How can I proceed on this?Note : getitemproperty, getitemproperty(itempath,...
Answered by: amandeep.g on: Jul 31st, 2008

Public Sub MaximizeBrowser(test_object) browserHWND = test_object.GetROProperty("hwnd") Set BrowserWindow = Window("hwnd:=" & browserHWND) If BrowserWindow.GetROProperty("...
Answered by: rohan7142 on: Jun 20th, 2008

By using the method Set Item count we have to count the items of menu or combo box. Answer Question Select Best Answer

Relative path
Asked By: sahmad4 | Asked On: Jul 9th, 2008 3 answers

If the QTP tests saved on one drive i.E x drive (giving the absolute path), can those tests be run on y drive? Or need to be saved as a relative path to run on other drives
Answered by: kisskasa on: Jul 29th, 2008

First if u save the script in 'E:Kasa' drive and click 'Run' button, then 'Run' Pop-up window will be displayed, In 'Results Location' tab, under 'New run results f...
Answered by: akothuru on: Jul 10th, 2008

make sure the path of the associated files with the test script is correct so that while execution you would not get any issues. Otherwise your script cannot be executed successfully. Answer Question Select Best Answer

How can I run my own QTP scripts in remote system.Like rational test manager
Asked By: narendar | Asked On: Dec 28th, 2005 Answered by: narayyad on: Jul 28th, 2008 2 answers

You can access other sytem by remote access. presuming need to run a script from another system.Dim qtAppSet qtApp=CreateObject("QuickTest.Application","\10.37.11.112")qtApp.Launch...
Answered by: Anil_Sharga on: Feb 11th, 2007

QTP scripts can be run fromwith Quality center or test director other mercury products and not with rational tools. Answer Question Select Best Answer

Excel to QTP inbuilt data table


Asked By: acmanju | Asked On: Jul 20th, 2008 3 answers

How to fetch columns data from excel to QTP inbuilt data table, if there is a columns contains image type of data?
Answered by: acmanju on: Jul 23rd, 2008

First of all I would like tell u thanks, I know the answeres like u sent . but I am expecting a answer for to fetch Image data. let me know if anybody knows answer.
Answered by: akothuru on: Jul 21st, 2008

You can't able to import data related to Excel Object like Images/TextBoxes/Pie-charts.Only You can access cell data from Excel sheet, nothing else.Method 1: To access data from Excel sheet, use d... Answer Question Select Best Answer

If you giving priority as p0, as a developer if I give priority as p2, what happens?In user defind function check point intersection is possible or not?
Asked By: dinesh | Asked On: Oct 7th, 2007 Answered by: akothuru on: Jul 16th, 2008 1 answer

When tester files a new defect, he sets severity to the defect. Setting priority to the defect by tester is depending on the project manager or project lead of the project. If project manager or lead ... Answer Question Select Best Answer

Parametrization using file


How do we input values from file

Asked By: monika agrawal | Asked On: Jul 9th, 2008 2 answers Answered by: akothuru on: Jul 10th, 2008

Generally, QTP exports uses Excel file for data paramaterization. 1)Prepare test data in Excel sheet and import into QTP data table. Using DataTable methods, user can easily parameterize dat...
Answered by: akothuru on: Jul 10th, 2008

Generally, QTP exports uses Excel file for data paramaterization. 1)Prepare test data in Excel sheet and import into QTP data table. Using DataTable methods, user can easily parameterize dat... Answer Question Select Best Answer

QTP installation error


Asked By: mamannan2005 | Asked On: Jul 8th, 2008 1 answer

Hey guys,i have windows XP professional system in which I have installed QTP after disabling antivirus & firewalls.But the QTP tool is not getting started when I try to open it.Please tell me what exactly I can do to start my tool.I have finished installing QTP, I am not getting any error messege but...
Answered by: ramesh.natarajanm on: Jul 9th, 2008

Hey Buddy, Can u tell me bit briefly what u did in that?also can u uninstall & reinstall the s/w & let me knw ur comments? Which lisence ur using nw (cuncurrent / standalone)?? Thx, Ram~

Answer Question Select Best Answer

How to capture and display text check point value in message box without using o/p checkpoint
Asked By: swapna.pulliwar | Asked On: Jun 30th, 2008 Answered by: hoks on: Jul 8th, 2008 1 answer

Store display text in object repository and use the following code to read textMsgbox Brpwser("Browser").page("Page_Name").webelement("text").GetROProperty("innertex... Answer Question Select Best Answer

How do you check ticket cost and ticket number in flight application
Asked By: rag | Asked On: Aug 30th, 2007 Answered by: abusaud on: Jul 8th, 2008 5 answers

By using Data Drivven test in Win Runner we can check


Answered by: balu85 on: Jul 7th, 2008

using step genarator Answer Question Select Best Answer

How do we count links on the web page displayed?


Asked By: srisudha1846 | Asked On: May 29th, 2008 3 answers

Supposed there are some 2o links in web page how do we give count of themif the links AR there in an weblist object.Can we use getrop(itemcount)or how we vil put page check point,pls do me needful.Thankssudha
Answered by: venkatraj.banka on: Jul 3rd, 2008

Dim oLinksSet oLink = Description.Create()oLink("micclass").Value = "Link"oLink("html tag").Value = "A"Msgbox Browser("title:=.*").Page("title:=....


Answered by: Dipak123 on: Jun 24th, 2008

We can Count the number of links in a webpage in two ways1) Using the Description Object and ChildObjects MethodSet oDesc = Description.Create()oDesc("html tag").Value = "A"Set myl... Answer Question Select Best Answer

Explain the diff between the textarea & text points ,image & bitmap check points in QTP?
Asked By: kondal.quality | Asked On: May 23rd, 2008 Answered by: krishna1978 on: Jul 3rd, 2008 1 answer

Text area check point is used for checking the text present in a specified area.Text check point is used to check the text present in a specific object.Image check point is used to check the propertie...

QTP output parameters in the actions


Asked By: Punitha.R | Asked On: Apr 28th, 2008 1 answer

Hi,plz explain how I can create the output parameters in the actions.Plz explain with the flight reserVATion window application.Then I tried with the input parameter with call action methodlike using from action call properties..But I didn't get correct result..Plz help me to do these parameters.Thx...
Answered by: Dipak123 on: Jun 24th, 2008

Output Values: A step in which one or more values are captured at a specific point in your test and stored for the duration of the run session It is similar to GetROProperty Method but t... Answer Question Select Best Answer

QTP actions limit


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

How many actions can be created in a QTP script ?


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. ... Answer Question Select Best Answer

How do you data drive an external spreadsheet?


Asked By: Interview Candidate | Asked On: Sep 2nd, 2005 Answered by: atdhdrolla on: Jun 12th, 2008 6 answers

Just a lil change to Sivakumar's script dataSource = ExcelFilePath & ExcelFileNameSet oCon = CreateObject("ADODB.Connection")oCon.Provider = "Microsoft.Jet.OLEDB.4.0"oCon.C...
Answered by: sivaoff on: Aug 29th, 2007

hi sivakumar!I did the as u said but i got a error msg like"[microsoft][ODBC Excel Driver] The Microsoft Jet database engine could not find the object "Sheet1$".makesure the object exis... Answer Question Select Best Answer

How to instruct QTP to display errors and other description in the test results instead of halting execution by throwing error in the mid of execution due to an error (for example object not found)?
Asked By: shubhada | Asked On: Sep 12th, 2006 Answered by: akothuru on: Jun 11th, 2008 2 answers

Use "On Error Resume Next" statement at the beginning of your script/function and use the following statements at the end of script/function. If Err.Number <> 0 Then Er...
Answered by: Uday Kumar. A on: Sep 13th, 2006

1. Here if you want the error at result window, then you can see the resultant error by using Reporter.ReportEvent.The syntax is Reporter.ReportEvent EventStatus, ReportStepName, Details.EventStatus -... Answer Question Select Best Answer

Whats is the difference in testing .Net and Java applications using QTP?
Asked By: kishchilukuri | Asked On: May 3rd, 2008 2 answers

Could any one of you plz explain it soon as it is very urgent.Thanks in advance
Answered by: akothuru on: Jun 6th, 2008

Only the difference between .Net application and Java Appliaction is Controls/Objects(Textboxes, comboboxes etc...).by default QTP cannot recogize .Net or Java objects directly. So to access those obj...
Answered by: ananthkrmishra on: May 19th, 2008

As QTP is also a software and needs processing to be done on the software we are testing it needs to understand that particular software. The patform on which the s/w build is to b tested is a ma... Answer Question Select Best Answer

Quality central
Asked By: yathiraju | Asked On: May 22nd, 2008 1 answer

How to call QTP from quality central


Answered by: akothuru on: Jun 6th, 2008

In General, Users upload test scripts into Test Plan module in QC. open the script in QTP through QC1)Goto Test Plan2) Click on the test script you want to review, Test scri...

Answer Question Select Best Answer

How verify a particular row item in data grid control?


Asked By: kanta | Asked On: Feb 22nd, 2008 Answered by: akothuru on: Jun 6th, 2008 4 answers

QTP directly cannot support DataGrid object. For that, user need to install corresponding Add-ins for support. If you are accessing Java application , install Java addins and if .Net, i...
Answered by: NawabShaikh on: Mar 3rd, 2008

1. The Grid is not a Standard Object as Per QTP2. When QTP is identifying the whole Grid as One Object, please add it to OR and then try to fetch its data by the methods that are supported2.1 In Case ... Answer Question Select Best Answer

Function for key board entries

Asked By: SravantiK | Asked On: May 21st, 2008 1 answer

I would like to know how can I create a function for the key board entries like the f1, f2, f3....., alt+tab, shift+tab, etc. And can use it as a business or scripted component in qc?
Answered by: akothuru on: Jun 6th, 2008

Using SendKeys method, user can perform keyboard operations like Alf+F4 , Ctrl, Backspace etc in QTP... and it is a VB Script code'Create Shell object to access Sendkeys methodSet objShell = Creat... Answer Question Select Best Answer

I am using QTP testing tool,what is micclass? And how to refer the different dll\'s?
Asked By: Sreenivasa Murthy | Asked On: Dec 12th, 2005 Answered by: ramupalanki on: Jun 4th, 2008 3 answers

it is one class provided by the mercury. micclass-Mercury Interactive Constant Class this will be useful when we try to find childobjects

-----Ramu

Answered by: saurabhdeswaltavant on: Jan 28th, 2006

To make use of Dlls..CreateObject can be used. like ; set obj = CreateObject("mydll") mydll.customfunctions By Vknowth Answer Question Select Best Answer

Give an example of a regular expression,user-defined function and built-infunction?How to make a user-defined function reusable?
Asked By: Mann | Asked On: Jan 26th, 2006 Answered by: kavitamurala on: May 27th, 2008 2 answers

Hi...Regular Expression is a pattern matching, where we can test the number of combinations at a time,like for charcters [a-z/A-Z], for numbers [0-9],we can also take apecial charcters for other usage...
Answered by: Nageswara Rao G on: Jan 29th, 2006

Regular Expressions: These r enable QT to identify Objects and Text Strings with varying values.There r so many examples for Regular expressions . plz refer Visual Basic6.0 any reference book.For exam... Answer Question Select Best Answer

What is difference between client/sever , web server application in testing point of view ??
Asked By: kondal.quality | Asked On: May 23rd, 2008 Answered by: rameshn3 on: May 26th, 2008 1 answer

1.Client server applications have a controlled client.web applications are client server applications. The browser is a client and the webserver is a server2. Client server application is loaded at th... Answer Question Select Best Answer

Few basic questions on commonly used excel vba functions.


Asked By: Interview Candidate | Asked On: Aug 2nd, 2005 Answered by: manishgi on: May 22nd, 2008 5 answers

font color change? font size? how can we save data in excel file? how can we open excel file at run time? how can we fetch data from excel file?
Answered by: vishnureddy on: Oct 20th, 2006

Hi sriram , what are quetions briefly explain. Answer Question Select Best Answer

Explain the process of creating a test for an XML file which is uplaoaded in the application where it is validated?
Asked By: chaw | Asked On: Dec 4th, 2005 Answered by: sathispsg on: May 5th, 2008 2 answers

Hi ,Normally we test xml files either to ensure the elements are present or to check the values of the element ..This can be handeled in QTP using XML Checkpointswhere we can create a check point on a...
Answered by: Ravindranath on: Jan 26th, 2007

We can do this by 2 ways one is by xml checkpoint other is by cerating xmlutil object eg: set xml= xmlutil.createxml Answer Question Select Best Answer

How to pass variable in the SQL query when creating db checkpoint


Asked By: sairam100 | Asked On: Dec 21st, 2007 2 answers

How can we pass a variable while creating a db checkpoint. Is it even possible ?I would like to do something likeQTP scriptvariablename=somevaluedb checkpoint query:select * from table where col=variablenameinstead of doing select * from table where col=123thank yousairam
Answered by: amninder on: Apr 25th, 2008

Set con=createobject("ADODB.Connection")con.connectionstring="DSN=QT_Flight32;DBQ=C:Program FilesMercury InteractiveQuickTest Professionalsamplesflightappflight32.mdb;Driver=C:WINDOWSsy...


Answered by: ramugogurla on: Dec 23rd, 2007

hi sriram, i think we can pass variables from dataatble select* from table where datatable.value ("columnno",1) Answer Question Select Best Answer

How can you show the data from a particular row and a particular colum from data table in QTP
Asked By: melina | Asked On: Jan 20th, 2006 Answered by: amninder on: Apr 24th, 2008 4 answers

try this simple code:enter some values in datatable....a=inputbox ("Enter the row : ")b=inputbox ("Enter Column:")msgbox "Row:" & a & "Column:" & bd...
Answered by: Anil_Sharga on: Feb 11th, 2007

Data from a particular row can be shown by Test> Settings> Run selecting all rows or one row or a particular row. Data from a particular cell or column can be shown by enhancing script with table c... Answer Question Select Best Answer

How can we export the "test result" to any excel sheet automatically after completion of execution of test???
Asked By: Navan | Asked On: Dec 14th, 2006 Answered by: apchinni on: Apr 23rd, 2008 7 answers

Guys,Please read the documentation atleast once before you post any answers here.DataTable.Export statement is only useful to export the runtime datatable. You will see the data used at run time...
Answered by: newqtp on: Jan 14th, 2008

Hi Naresh, You can export your test result in html format or .XSL format .Correct me if i'm wronge. NewQTP Answer Question Select Best Answer

If a error occur during the excution of QTP script. How can we get the name of the current object that cause the error
Asked By: asha | Asked On: Sep 27th, 2005 Answered by: siraz_babu on: Apr 21st, 2008 4 answers

Hi friends, When we haven't used OnErrorResumeNext statement in the script, When ever error occurs one popup message will be displayed with er...
Answered by: krishnagajula on: Jun 13th, 2007

Or u can view details in Test Results Answer Question Select Best Answer

How can we do the frame work in QTP


Asked By: kalyan sekhar | Asked On: Sep 16th, 2005

Answered by: siraz_babu on: Apr 21st, 2008

5 answers

Hi friends, As per my knowledge framework is a standards or procedure to be followed to automate the actions or activities. Frame work is a generic code which...
Answered by: Ashok on: Oct 13th, 2007

Frame work nothing but QTP life cycle same as SDLC Frame work we are using are 1. Record- playback frame work. a. set environment to record. (create object repository) b. record ... Answer Question Select Best Answer

How to find the test result path at run time.


Asked By: akshayainbox | Asked On: Apr 16th, 2008 2 answers

Hi all,i would like to know, how to get test result path at run time, mean to say in descriptive programming, is there any method available for the same.I would be grateful to you for your help.Regards,akshaya madali
Answered by: goldvels on: Apr 18th, 2008

There is one "Built-in Environment variable in QTP called "ResultDir".We can Get the test result path as below...a = Environment.Value("ResultDir")Ans:for ex: result path will...
Answered by: NawabShaikh on: Apr 17th, 2008

Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" ' Instruct QuickTest to perform next step when error occurs Set qtResultsOpt = CreateObject("QuickTest.RunResultsOpt... Answer Question Select Best Answer

How does QTP identifies the test objects & run time objects
Asked By: Ramu Goud@919866178926 | Asked On: Apr 14th, 2007 1 answer

In what way QTP identifies the test objects & run time objects?What type of objects QTP identifies,is it run time objects or test objects?
Answered by: siraz_babu on: Apr 18th, 2008

Hi Ramu,As per my knowledge ,Test objects are the set of properties and their values of the objects stored in the object repository at the time of Recording These properties will not get changed unles...

How do you parametrize radio button?


Asked By: pashu | Asked On: Jul 31st, 2007 Answered by: sri_yarley on: Apr 16th, 2008 5 answers

Yes. You can parameterize the radio button through Object repository. Assume that you have three radio buttons r1, r2, r3 in a page. add one radiobuttion say r1 to the object repository. Now Select ...
Answered by: ManjuPillae on: Mar 26th, 2008

We can Parametrize Radio button in the Web page by using the name of the radio Button.If we have 5 sets of Radio Buttons, say RdBtn1, RdBtn2, RdBtn3, RdBtn4 and RdBtn5.We can add one RadioButton in Ob... Answer Question Select Best Answer

Debug QTP automation script


Asked By: maddali1982 | Asked On: Feb 22nd, 2008 2 answers

Have you *personally* debugged/developed any QTP/wr automation scripts using tsl from scratch? If yes explain
Answered by: ganesh.kumar on: Apr 17th, 2008

Yes..1. Use the breakpoint where u want to Debug either by pressing F9 Button or Click on 'Insert breakpoint' in the Debug menu2. Run the Script by pressing either Run button or f53. QTP ...
Answered by: NawabShaikh on: Feb 28th, 2008

Yes..1. Use the F9 button in QTP for setting up Debug point.2. While the script is executing it will stop at the debug point.3. Use the Expression/Variable window to get computation of Varibles and ex... Answer Question Select Best Answer

Keyword driven framework

Asked By: janaki.bayya | Asked On: Apr 16th, 2008 1 answer

Explain about keyword driven framework and it's industry usage with an example scenario
Answered by: NawabShaikh on: Apr 17th, 2008

All Generic GUI controls are Considered as KeyWords as in QTP. Routines are Present for Performing validations on these Controls. E.G DataBase with Object Repository TBL, Validation TBL regards, Nawab Answer Question Select Best Answer

How to retrive logo from pdf file using QTP script?


Asked By: sriramrks | Asked On: Feb 15th, 2008 Answered by: zareenaahmed on: Apr 16th, 2008 1 answer

open the pdf and create a virual object from Tools -> virtual object -> New Virtual object -> ans select the type of object and mark the logo.then record on the selected logo.and capture bitm... Answer Question Select Best Answer

How to pass a key in the query while creating a database check point?
Asked By: animesh_QTP | Asked On: Dec 3rd, 2007 6 answers

Hi, would be great if you could let me know how to pass a key in the query while creating a database check point? My key value is stored in a variable in the script.In short, what I want to know is:myvar='keyvalue'select * from mytable where mykey='keyvalue';instead of specifying the query like select...
Answered by: sri_yarley on: Apr 16th, 2008

While a database checkpoint is created, the select statement gets stored in "Source".So for parameterizing it, Create a checkpoint initially in the normal flow with a constant value.....and ...
Answered by: ManjuPillae on: Mar 26th, 2008

'Assume that 'key' values are present 'keyValues' column under the Local datasheetFor ...... DataTable("keyValues",dtLocalSheet)&... Answer Question Select Best Answer

myVar =

What is descriptive programming? Where we can use this descriptive programming in real time ?
Asked By: kvv satyanarayana | Asked On: Aug 27th, 2007 Answered by: ssk_pln on: Apr 14th, 2008 4 answers

Descriptive Programming shortly called as DP by QTP users is used in many places:1.When you have a huge Object Repository(OR),then it is generally advisable to use DP because if the number of objects ...
Answered by: ManjuPillae on: Mar 26th, 2008

It is the other way to identify the object in the application without adding the object to Object Repository, We can identify the object by help of mandatory properties and also associative properties... Answer Question Select Best Answer

How do you test a column weather it is sorted asc or desc in QTP ?


Asked By: vaibhav | Asked On: Apr 16th, 2007 Answered by: Anshoo_Arora on: Apr 2nd, 2008 3 answers

Vaibhav, you can also see this thread here: http://www.geekinterview.com/talk/10017-test-columnorder-sort.html


Answered by: Anshoo_Arora on: Apr 2nd, 2008

Im sure there are several ways to get this done, but right now, this one comes to mind: Since you have to compare different values in a column, let column be a constant; that is: Co... Answer Question Select Best Answer

How to use regular expression in any subscription form when registered. Script running successfully but it gives error on submission form- user already existing
Asked By: dj | Asked On: Apr 24th, 2007 Answered by: Anshoo_Arora on: Apr 2nd, 2008 2 answers

Well, if you are trying to register the same user twice, it shouldn't pass it. Have you parameterized your script with fresh data so the users in your DataTable aren't the ones that have been ...
Answered by: ManjuPillae on: Mar 26th, 2008

It throw an error message, may be the information that is passed through Subscription page may be voilating the unique value Constraint. Answer Question Select Best Answer

The input to a program is three integer values. The three values are interpreted as representing three sides of a triangle. The program prints a message that states whether the triangle is scalene, isosceles,...
Asked By: kiran | Asked On: Jun 8th, 2007 Answered by: mahendar1234 on: Mar 26th, 2008 2 answers

Dim a,b,ca=inputbox("enter a number")b=inputbox("enter a number")c=inputbox("enter a number")If (a=b and a<>c) or (a=c and a<>b) or (b=c and b<>a) Then&...
Answered by: ManjuPillae on: Mar 26th, 2008

'Lets take sideA, sideB and sideC as sides of Triangle.Dim sideA, sideB, sideCDim flagflag = 1sideA = inputBox("Enter The Side 1 Of Triangle", "Input")If ((isNumeric(sideA) = 0... Answer Question Select Best Answer

QTP : set the value to the winedit box in run time


Asked By: Punitha.R | Asked On: Nov 30th, 2007 2 answers

Hi,i want set the value to the winedit box in the run time.When I am save my file I want to give the name of each file in run time.Link first time I have save file 1next file 2next file 3next file 4 like this.But in this the numbers have to display in the run time and have the save the file.Like loop...
Answered by: ManjuPillae on: Mar 26th, 2008

You need to give save a files using different files names that are continous,say File1, File2 ...Then we have constant File and varying number.So, take fName as variableFor i = 1 to n ...
Answered by: Anshoo_Arora on: Dec 8th, 2007

I am not sure if I entirely understand what you are looking for. You might have to provide more information/detail. You wait to set some value in WinEdit then you talk about some file? You need to be ... Answer Question Select Best Answer

What is the difference between database check point and XML check point with examples?
Asked By: anvarma24 | Asked On: May 8th, 2007 Answered by: ManjuPillae on: Mar 26th, 2008 1 answer

Database Check point is used for comparing the values that are present in the Tables. We will validate the values that are present in the table during runtime.XML checkpoint is used to validate the ta... Answer Question Select Best Answer

How do you convert manual test cases to automated test cases. How do you create regression test packs how do you maintain your regression test packs when your requirement specification has gone obsolette...
Asked By: paray | Asked On: Jul 27th, 2007 Answered by: ManjuPillae on: Mar 26th, 2008 1 answer

How do you convert manual test cases to automated test cases?- We can convert by using 'Quality Center', but it will be in form of comments. Where a space will be left for scripting.How do you... Answer Question Select Best Answer

How to identify special character thru regular expression in QTP for Java based application
Asked By: srini_dg | Asked On: Dec 12th, 2007 1 answer

Hi every body,can any one help me on "how to identify special character thru regular expression in QTP for Java based application"?Thanks in advancesrini :)
Answered by: sushilsahu on: Mar 25th, 2008

You can use W for identifying special characters like !@#$% ^* in VB script,

Sushil Answer Question Select Best Answer

What are run time objects and what are test objects.
Asked By: sriram | Asked On: Sep 15th, 2007 Answered by: ManjuPillae on: Mar 26th, 2008 3 answers

Test Objects are the objects that are been added in OR by QTP.when we perform operation on a new object QTP will add properties into OR, and value will not be altered if the property of obje...
Answered by: saini on: Oct 18th, 2007

Run time objects are the objects which are present in the Aut(application under test) and Test object are the objects in the object repository which are used to recognise the Aut objects during r... Answer Question Select Best Answer

Vbscript for any functionality


Asked By: ramakrishnaqc | Asked On: Mar 6th, 2008 1 answer

Write a vbscript for any functionality in your project ?

Answered by: Anant_Raghute on: Mar 18th, 2008

This gives lot of flixibility to us. In such cases just write the standard connection to the database through VBscript. That is the most popular and easy way to do it. You can find the code in lot of ... Answer Question Select Best Answer

Why only QTP?


Asked By: ramakrishnaqc | Asked On: Mar 6th, 2008 1 answer

Why do you choose only QTP for your project automation among remaining tools like rational robot and silk test?
Answered by: Anant_Raghute on: Mar 18th, 2008

There can be many answers to this queston. But the most important is the availability of the trained resources to work on these tools.Almost all the tools solve the regression purpose and claim to do ... Answer Question Select Best Answer

Write vbscript without using QTP recording


Asked By: ramakrishnaqc | Asked On: Mar 6th, 2008 1 answer

Can you completely write vbscript for your project without using recording mode in QTP? If yes, illustrate with an example?
Answered by: NawabShaikh on: Mar 10th, 2008

Dim intCntDim oD, oDObj Set oD = Description.Create() oDObj = Desktop.C... Answer Question Select Best Answer

oD("micclass").value = "Browser"

Set

Stop QTP from recording mouse clicks


Asked By: hamid | Asked On: Nov 2nd, 2007 2 answers

How can I stop QTP from recording mouse clicks and window movement while testing .Net applications? Please answer.
Answered by: maheshbabbar on: Mar 7th, 2008

Go TO tools menu -> Options. Click the Web Tab and then on Advanced button.Check the use Standard windows mouse events and then uncheck the Onclick checkbox.
Answered by: NawabShaikh on: Feb 21st, 2008

Don't go for Analog Recording. regards Nawab Answer Question Select Best Answer

How to submit data from an external file to a url using QTP


Asked By: sairam100 | Asked On: Jan 10th, 2008 2 answers

Hi,i would like to submit/load test data from an external source like a flat file or excel (multiple test cases in a file) and submit that test data to a url (application that I am testing). I need to capture the response that I get back from the application. Can I do that using QTP ? Thankssai
Answered by: RicGupta1984 on: Mar 3rd, 2008

''creation of new sheet using import function:-'let say new sheet has two columns userid and password. v=DataTable.AddSheet ("newsheet").AddParameter ("ColumnName Time&...
Answered by: latamindq on: Feb 27th, 2008

We can submit the external file in the data table using the import , when we change the script at the values, then by using the output value u can get the result in the run-time data table.

Answer Question Select Best Answer

What is the difference between application testing and product testing?


Asked By: ganesh kumar22 | Asked On: Feb 21st, 2007 Answered by: latamindq on: Feb 27th, 2008 3 answers

For a product there will not be a customer..only users For application there will be customer
Answered by: janaki.bayya on: Feb 26th, 2008

a s/w developed based on customer requirements is called appn testing a s/w developed based on company requirements is called product testing

What is cmmp and cmmh?

Asked By: Sanmati | Asked On: Oct 13th, 2007 Answered by: ramu.makineni on: Feb 25th, 2008 1 answer

CMMP : Capability Maturity Module Plan (Software development process) Answer Question Select Best Answer

Database checkpoint

Asked By: aqila | Asked On: Dec 28th, 2007 1 answer

Does QTP supports database checkpoint for client server application.


Answered by: ramu.makineni on: Feb 25th, 2008

Yes,its only record n play plack back if any thing wrong please let me know thanks Ram Answer Question Select Best Answer

How do you open ADObe acrobat file in QTP and do some testing on that file ?
Asked By: mastani | Asked On: Aug 9th, 2007 Answered by: NawabShaikh on: Feb 25th, 2008 1 answer

1. InvokeApplication or SystemUtil.Run can be used to Invoke Acrobat. 2. Shell Programming is used for validaiting values on the Page.

regards Nawab Answer Question Select Best Answer

Descriptive programming in QTP for a website .


Asked By: taslim | Asked On: Nov 3rd, 2007 6 answers

How do you use descriptive programming technique for the following statement:browser("browser").Page("yahoo! Mail taslim123456@yah").Frame("frame").Webelement("webelement").Exist
Answered by: NawabShaikh on: Feb 22nd, 2008

Yes!!! If you have access to QTP Manual please cross-check Regards

Answered by: newqtp on: Feb 21st, 2008

is Object Identification box and object spy same ? As you have mentioned here ,This is spying Object property using object spy? Thanks a lot. Answer Question Select Best Answer

How to retrieve values, from different inactive textfields, and put all these under each other in a split, in an excel-table?
Asked By: fifou | Asked On: Nov 26th, 2007 Answered by: NawabShaikh on: Feb 21st, 2008 2 answers

'''Code to Capture the data in an array List''' Assuming all the Text Fields are in the same Frame 'Descriptive Programming for all the WebEdits Set ...
Answered by: Anshoo_Arora on: Dec 8th, 2007

You can retrieve values stored in WebEdit by using the GetROProperty: ObjValue=Browser("Browser").Page("Page").WebEdit("WebEdit").GetROProperty ("value") Answer Question Select Best Answer

SAP application automating using QTP


Asked By: sasmitabehera22 | Asked On: Oct 15th, 2007 2 answers

I am automating the SAP application using QTP.My query is when the SAP application gets upgraded to a new version then what could be the several reasons of failing of the scripts which were recorded on the older versions of SAP?For e.G-objects are missing or properties of the object get changed...So...
Answered by: NawabShaikh on: Feb 21st, 2008

Either the GUI or the Properties of Objects have undegone Changes. Regards Nawab

Answered by: kmunni on: Oct 18th, 2007

Here there is another reason that is Objects are not captured by QTP.some times qtp is not identifying the objectsfor example default mode is "context sensitive mode" it could not able to capture all ... Answer Question Select Best Answer

What is the size of the object repository ?


Asked By: Raj | Asked On: Sep 30th, 2007 Answered by: NawabShaikh on: Feb 21st, 2008 2 answers

I have the same Question, since in 8.2 we were facing issues in adding more Object to OR.... There must be a Definite Size of OR Especially in 8.2

Regards Nawab

Answered by: yanko20 on: Nov 19th, 2007

Object Repository is a placeholder for objects used to identify test elements. The size of Object Repository depends on the number of objects and the number of properties used per object. Answer Question Select Best Answer

If we put all properties in mandatory and assistive list of normal identification, do we still need smart identification? Why?
Asked By: Sunilkumar | Asked On: Aug 16th, 2007 Answered by: NawabShaikh on: Feb 21st, 2008 1 answer

At Runtime if the properties selected in QTP are suffice for identification of the Object then Smart Identification is not needed. regards Nawab Answer Question Select Best Answer

How to break the object spy ?


Asked By: romano | Asked On: Sep 25th, 2007 1 answer

When object spy is launched sometimes it freez, and windows doesn't respond any more.Is it a keyboard combination to break it down.
Answered by: newqtp on: Feb 12th, 2008

ctrl+alt+del then task manager end crvw.exe process.It will kill Qtp. Answer Question Select Best Answer

Checking background color and images using QTP


Asked By: vijay_baala | Asked On: Dec 28th, 2007 3 answers

How can I check background color , bitmap images , graph in my application...???I am using web application...
Answered by: newqtp on: Feb 12th, 2008

hi this property doesn;t exist in qtp.

Answered by: vijay_baala on: Dec 30th, 2007

hi anshoo i want to know how i will check a background color of a particular box in a window Answer Question Select Best Answer

What is the difference between GLobal function and reusable action?


Asked By: sateeshbabu | Asked On: May 31st, 2007 Answered by: kvns_kumar on: Feb 11th, 2008 3 answers

Hi, The reusable action contains Script,Object Repository information and one data table sheet. where as in global function, only the Script will be available. Suresh

Answered by: kapil.sethi on: Jan 8th, 2008

Difference in reusable actions and functions in QTP:1. We can open as many function libraries as we want, but we are still limited to one test. So, if we want to edit a reusable action in another... Answer Question Select Best Answer

How do you connect to database using vbscript ?

Asked By: ypraveen_77 | Asked On: Feb 15th, 2007 Answered by: kvns_kumar on: Feb 9th, 2008

7 answers

Hi, 'Sample code for Connecting to SQL SERVER Data Base & Fetch the Data from Data Base &...
Answered by: newqtp on: Jan 15th, 2008

Set FSO=CreateObject("Scripting.FileSystemObject")Set FSO = Createobject("ADODB.connection")Set B =Createobject("ADODB.RecordSet") FSO.connectionstring=&q... Answer Question Select Best Answer

If an application name changes frequently, i.E. While recording it has a name window1 and then while running it becomes window2. How does QTP handle this?
Asked By: ram | Asked On: Jun 6th, 2007 Answered by: kvns_kumar on: Feb 6th, 2008 6 answers

Go to Object Repository and select the Window1 object properties then click the configure the value icon at text property value. make it Window[0-9]click the check box Regular Expression then click OK...
Answered by: newqtp on: Feb 4th, 2008

use window.* regular expression change the tilte in OR to window.* and name too..this should work.. Answer Question Select Best Answer

Can any one pls tell me about how to configure the environment variables in QTP and how to use the variables, with example:
Asked By: Sats | Asked On: May 30th, 2006 Answered by: newqtp on: Jan 15th, 2008 6 answers

You can define a environment variable with any value as abelow environment.Value("MyVariable")=10 MyValue=Environment.Value("MyVariable") msgbox MyValue
Answered by: aarruunnaa on: Oct 11th, 2007

so the correct code is x=Environment.Value("OS") msgbox x Answer Question Select Best Answer

QTP descriptive program objects list


Asked By: kkkishore9999 | Asked On: Dec 4th, 2007 2 answers

How we can identify the descriptive program objects in gui map of QTP8.2 version
Answered by: newqtp on: Jan 14th, 2008

descriptivr program define object won't appear in GUI.


Answered by: Anshoo_Arora on: Dec 8th, 2007

Have you added those objects to the GUI Map? Or, they have only been described in DP. If you answer "yes" for the latter, they won't appear in the GUI Map. Answer Question Select Best Answer

How to save user defined data in GLobal data sheet


Asked By: sairam100 | Asked On: Dec 20th, 2007 6 answers

Hi,can I save my user defined variable value in a data sheet ?Dim textvaluetextvalue= browser("browser").Page("pag1").Webedit("webedit").Getroproperty("innertext")i want to save textvalue in a column in GLobal data sheet. Then I want to compare this column with another column.Is that possible ?Thankssairam
Answered by: newqtp on: Jan 13th, 2008

here is the code datatable("columnname",dtgolbal)=textvalue


Answered by: newqtp on: Jan 13th, 2008

Hi sai Try thisfor entering data at run time in your datatablec="somedata"datatable("name2",dtglobal)=cand compariing two column this will workDim A,BA=datatable.Value("Column... Answer Question Select Best Answer

How do you maintain share repository? How do you convert local repository scripts to shared repository,
Asked By: hetal desai | Asked On: Jun 29th, 2007 Answered by: newqtp on: Jan 13th, 2008 3 answers

Goto Resources ->Object Repository->File->Export Local Object will make you local object repository to shared OR you can later upload it to your test.
Answered by: kabirkhan on: Jan 8th, 2008

steps to convert local object repository into shared ......1.Record any small script, suppose the script is "TEST1" .2.save the script , now a local objec... Answer Question Select Best Answer

Differenced between quick test proffesional version 5.6 and 8.2


Asked By: James | Asked On: Nov 14th, 2005 2 answers

These are the new features which are available in QTP8.2 and which are not present in 6.5 version.Keyword view: lets you easily build and maintain tests without writingvbscripts.Autodocumentation: provides improved test clarity and the ability toview test steps in plain english.Step generator: allows...
Answered by: newqtp on: Jan 12th, 2008

Really great help,Thanks

Answered by: Anshoo_Arora on: Dec 17th, 2007

Thanks Answer Question Select Best Answer

What is the use of function and sub function in QTP?


Asked By: lija | Asked On: Jul 11th, 2006 Answered by: newqtp on: Jan 12th, 2008 3 answers

Function Returns value and Subroutine doesn't


Answered by: Anshoo_Arora on: Dec 17th, 2007

"Sub" is not "Function" A function returns a value, whereas a Subroutine doesn't. Answer Question Select Best Answer

How do you test dynamically changing links on a web site through QTP?
Asked By: Sumeet Pramar | Asked On: May 22nd, 2007 Answered by: kabirkhan on: Jan 8th, 2008 2 answers

we can select link using discriptive programming1.select at least two property of the link using 'GetRoproperty()' function.one of them should be constant every time , & second p...
Answered by: Srinivasaraomunagala on: Jul 31st, 2007

With the using of Index we can check it

How can I implement error handling in QTP


Asked By: sumanasateesh | Asked On: Sep 13th, 2006 Answered by: kabirkhan on: Jan 8th, 2008 3 answers

Some error like 'Dr. Watson ' error comes at the time of test execution this is QTPbased error when QTP takes more time to open the script then such kind of error occures. &nbs...
Answered by: minni_rec on: Aug 9th, 2007

Can you tell the error that is generated by QTP? You have explained the error handling for scripts and AUT but, Can I know what are the those generated by QTP? Answer Question Select Best Answer

How can you tell a particular script will work in all the browsers?
Asked By: Srinivasaraomunagala | Asked On: Jul 25th, 2007 Answered by: kabirkhan on: Jan 7th, 2008 2 answers

A perticular script can work in all browser by two way for example if we have 3 diffrent browser like in object repositoryBrowser(yaoo1).Page(yahoo1).frame(yaoo1).object Browser(yaoo2)...
Answered by: Anshoo_Arora on: Nov 14th, 2007

You can, by testing it against them. Answer Question Select Best Answer

What is the difference between gettoprperty and getroproperty?


Asked By: mann | Asked On: Jan 25th, 2006 Answered by: raama_k on: Jan 4th, 2008 1 answer

hope the following example would shed some light....msgbox browser("Google").Page("Google").WebEdit("q").GetTOProperty("outerhtml")browser("Google").P... Answer Question Select Best Answer

How to call a test from another test?


Asked By: Sasmita Behera | Asked On: Oct 3rd, 2007 2 answers

To be more descriptive how to call an action which is saved in one test, from another action without doing insert call to copy or existing action. Say for instance, my action is stored in one test in my local system and if someone else wants to call that action from his system, how will that be done...
Answered by: shumi on: Jan 3rd, 2008

either u can use "call to copy of action" or "call to existing action"


Answered by: Anshoo_Arora on: Dec 20th, 2007

RunAction [Name of the Action], (# of Iterations you want the Action to run)
Answer Question Select Best Answer

QTP script for runtime changing objects


Asked By: Punitha.R | Asked On: Dec 19th, 2007 4 answers

Hi,how I can write the script for the runtime changing objectsfor example my webtable name is "wtable"its containing n number of links "120 orders" "130 orders" "100 orders".......These orders text will dynamically changing like "120 orders" can be change as "121 orders"in this how can I write code...

Answered by: brainwood on: Jan 1st, 2008

I'd get all the link objects for the page, or object that match a certain criteria. In this case, all your order links match ".*orders", then run a loop to click each of themFor example:...
Answered by: ramugogurla on: Dec 22nd, 2007

Browser(B).Page(P).Link("120 orders").click (Runtime this text may change)here use getcelldata(row,column)a=Browser(B).Page(P).getcelldata(2,3)datatable.value("link",1)=aBrowser(B)... Answer Question Select Best Answer

What to do if the tree view is not recognised by the QTP?


Asked By: Srinivas reddy.B | Asked On: Dec 5th, 2005 Answered by: Anshoo_Arora on: Dec 20th, 2007 3 answers

How is it not recognized? (I am assuming that you are talking about the Keyword view)
Answered by: Anshoo_Arora on: Dec 17th, 2007

Tree view Answer Question Select Best Answer

How to write a function for maximising a browser in QTP ?


Asked By: PrabhuSparks | Asked On: Dec 11th, 2007 1 answer

Hi QTP experts, how to write a function for maximising a browser in QTP i'm already having function for that but it's taking very slow to access the browser im pasting my function belowhwnd = browser("...").Getroproperty("hwnd")window("hwnd:=" & hwnd).Maximize and also i'm having different function...
Answered by: Anshoo_Arora on: Dec 18th, 2007

It worked fine when I did it without Creatime Time. Answer Question Select Best Answer

How to recognize the page in QTP?


Asked By: Nitin_QTP | Asked On: Nov 30th, 2007 2 answers

Suppose there is a link on a web page. On clicking that link, 6 different web pages open in separate browser windows. The title of the page changes at run time. There is a text box on the sixth page. The name of the text box also changes at runtime.Requirement:write a piece of code to access the text...
Answered by: Anshoo_Arora on: Dec 18th, 2007

Try this:Browser("micClass:=browser").Page("micClass:=Page").WebEdit("name:=regex.*", "index:=0").Set "SomeValue"Substitute regex (regular expression)...


Answered by: siteuse on: Dec 12th, 2007

We can use regular expression to recognize the page as well as the object . Answer Question Select Best Answer

How can I implement error handling in QTP and how to recall a function in QTP
Asked By: raghu.ch | Asked On: Mar 22nd, 2006 Answered by: Anshoo_Arora on: Dec 17th, 2007 2 answers

1. Recovery Scenario 2. Recall? You can call a function from anywhere by: Call FunctionName()
Answered by: Murthi on: Mar 30th, 2006

Through exception handling we can implement error handle.In QTP we have four types of exception handles. we can call the function as below

function functionname (parameter1,parameter2,....) end function Answer Question Select Best Answer

What are the disadvantages of datadriver tests in QTP


Asked By: Geeta | Asked On: Feb 5th, 2006 Answered by: Anshoo_Arora on: Dec 17th, 2007 1 answer

Datadriver tests? Please clarify your question. Answer Question Select Best Answer

How I can get class name of test object by repository logical name?
Asked By: Freeman | Asked On: Jan 5th, 2006 Answered by: Anshoo_Arora on: Dec 17th, 2007 2 answers

Or, you can use ObjectSpy and click on the object on your AUT. The first field in ObjectSpy will be the Class Name.
Answered by: Nag on: Jan 7th, 2006

Right-click an object with the property or value you want to find in the Keyword View or Active Screen and choose Object Properties (or View/Add Object in the Active Screen), and then click the Reposi... Answer Question Select Best Answer

How can I call a external action which is not added external action of an action. Means I want to call actionc from actiona. But actionc is not an exteranl action of actiona. Thanks in advance
Asked By: rajan | Asked On: Nov 9th, 2005 Answered by: Anshoo_Arora on: Dec 17th, 2007 2 answers

"Reusable Actions"

Answered by: Anees(9899500654)Delhi on: Nov 17th, 2005

Yes u can do it by copying the Action c to Action A... In QTP 8.2 there is an menu called insert-Copy of Action... Answer Question Select Best Answer

How to delete a check points associated files in QTP


Asked By: PrabhuSparks | Asked On: Dec 11th, 2007 1 answer

Hi guys, im using checkpoints in my test(QTP 9.2) but sometimes I may delete the checkpoints by deleting the scripts is there any location for checkpoints files to be deleted even after deleting the scripts if so pls help me in this because its hiding in the obj repository thanks in advance,prabhu.R
Answered by: Anshoo_Arora on: Dec 12th, 2007

You don't have to delete the entire script to just remove the Checkpoint. You can go to the Expert view and comment out the line containing the Checkpoint. Also, QTP does not store checkpoints in ... Answer Question Select Best Answer

QTP check points


Asked By: Punitha.R | Asked On: Nov 29th, 2007 1 answer

Hi,i am using QTP 9.0 for web testing.I have local and online web pages. Ex. "http//local", "http//online"both are same web pagesnow I want to test these two web siteshow I use the check points for these purposehow I check the web pages images, links, navigation's , page load times and other thingsplz...
Answered by: Anshoo_Arora on: Dec 8th, 2007

How much of OR and DP are you using to do this?There are several ways of checking if objects exist on a page. If you are using the OR then you can simply create Text, Bitmap or Standard checkpoints th... Answer Question Select Best Answer

How can we capture a moving image in QTP


Asked By: Krishna | Asked On: Nov 27th, 2007 Answered by: prasad.devathi on: Dec 6th, 2007 1 answer

To capture dynamic images, first you have to get licence multimedia license and add to addin to QTP window. Answer Question Select Best Answer

How will you find the current time of the remote machine using QTP script?
Asked By: Ramaprasad | Asked On: Jul 13th, 2007 Answered by: Anoop P V on: Nov 26th, 2007 1 answer

It can be done using VBScript and if the script is being run on a remote machine using QTP. (Say you have launched the QTP Test from QC on a remote machine). The code is : Msgbox Time() Answer Question Select Best Answer

After doing parameterization can you remove it? How?


Asked By: prashantch | Asked On: Jul 24th, 2007 Answered by: Bushan on: Nov 24th, 2007 3 answers

Yes we can remove parameterization after parameterization some value by making that value as constant in keyword view or if you know descriptive programming you can do in expert view also.
Answered by: CPS on: Nov 20th, 2007

Yah we can remove parameterization after doing paramerterization. The same way wich we followed for doing paramterization. i.e. From Keyword View Answer Question Select Best Answer

What is a patch in QTP?


Asked By: Yogendra | Asked On: Jul 25th, 2007 Answered by: Bushan on: Nov 24th, 2007 1 answer

A build is released for testing & the tester as raised some errors & posted it to developer and the developer correct the error & gave immediately to tester without waiting for the next build then it ... Answer Question Select Best Answer

How to instruct QTP to display errors and ther description in the test results instead of halting execution by throwing error in the mid of execution due to an error(for example object not found)?
Asked By: Ram | Asked On: Oct 12th, 2005 Answered by: Punitha.R on: Nov 22nd, 2007 10 answers

Hi,I want to dispaly the error description and result value in the reporter event i tried to display using this codeif cnt = j thenreporter.reportevent 0, "Result Pass" &cnt & "...
Answered by: sri on: Apr 9th, 2007

There is a option Test->settings->goto RUN tab select proceed to next step in when error occurs during run session. Then u will escape fromthe error without doing any programming. Answer Question Select Best Answer

How to execute a parametrized SQL query in QTP script?


Asked By: mangipudi | Asked On: Mar 12th, 2006 Answered by: Richi on: Nov 16th, 2007 3 answers

Set dbexample = CreateObject("ADODB.Connection") dbexample.Open "dsn=;" & _ "uid=;" & _ "pwd=;" strRequiredNameCode = DataTable.Value("strRequiredN...
Answered by: kaushikrroy on: Mar 19th, 2006

Hi Narendra,Thanks for the information. Actually my requirement is, query should be parametrized. i.e, query should be in the script and also it should change dynamically. i.e I have to pass different...

Why QTP is termed as icon_based tool?


Asked By: siteuse | Asked On: Jul 23rd, 2007 Answered by: Anshoo_Arora on: Nov 14th, 2007 1 answer

Because of its Keyword view that has pre-defined icons for all parents/childs (hierarchical/collapsible) it records. Answer Question Select Best Answer

What is the difference between QTP 9.0 and QTP 9.2


Asked By: Ramya | Asked On: Jul 24th, 2007 Answered by: Anshoo_Arora on: Nov 14th, 2007 1 answer

9.2 has the Screen Recorder and can dynamically manage ORs Answer Question Select Best Answer

How do you handle runtime error in QTP when specified excel sheet specified in script does not exist
Asked By: jayamalekati | Asked On: Oct 31st, 2007 Answered by: AdvancedQTP on: Nov 13th, 2007 1 answer

You can wrap your code with error-handling code. This example pops an error message and exits the sub. You can change the code to fit your needs:Sub LoadExcel(sExcelFile, sSheetName) On Er... Answer Question Select Best Answer

Explain the difference between data driven testing and parameterization


Asked By: praveen | Asked On: Nov 3rd, 2007 Answered by: AdvancedQTP on: Nov 13th, 2007 1 answer

Data driven testing is a concept, or methodology.It demands for the same static code to run differently, according to the initial conditions that were inputed to it, or the ongoing conditions that wer... Answer Question Select Best Answer

Can we download the test cases which are present in test director to an excel sheet.. (if the number of test cases are say around 50)
Asked By: govardhan | Asked On: Aug 30th, 2006 Answered by: Lalatendu das on: Aug 6th, 2007 4 answers

Could you tell the steps? We know that we can save each testcase by using save as excel. We are talking of bulk export from TD to excel.
Answered by: ramesh on: Nov 23rd, 2006

hi can any one tell us how to import test cases say 100 from Test Director to Excel sheet.dont say it is in tutorial file , or some file in which it is told.furnish the process in your replywaiting fo... Answer Question Select Best Answer

While running a script on QTP 8.2 I got this run time error "general run error". What may be the cause for this error? And how to resolve this error?
Asked By: Shashi | Asked On: Mar 14th, 2006 Answered by: jasvant singh on: Nov 6th, 2007 7 answers

In have used code given below to identify all the child object of type 'Webelement'in a perticuler web table but In Line 4 i am getting genral error ,can you please let me know what is th...
Answered by: Gogo on: Oct 26th, 2006

Hi Friends,I got an general run error too. But it is really very, very weird.I just create a row of script by recording: SystemUtil.Run "explorer","","C:Documents and SettingsAdministrator",""But when... Answer Question Select Best Answer

How to check the web application for broken links using QTP?
Asked By: archana | Asked On: Sep 20th, 2006 Answered by: bhanu on: Oct 31st, 2007 9 answers

I have tried through accessability check point but I didn't get the count of the broken links etc using QTP but with rational site checker, I got that count upon entering the url name.How to do li...
Answered by: ramaraogoud on: Apr 14th, 2007

It is done by using Accessaility check point Answer Question Select Best Answer

What the differences are and best practical application of each.


Asked By: Interview Candidate | Asked On: Aug 4th, 2005 Answered by: ven on: Oct 29th, 2007 4 answers

BEST APPROACH IS TO USE SHARED OBJECT REPOSITORY.REASON: PROCESSOR SPEED IS GOOD IN SHARED OBJECT REPOSITORY, SINCE DIFFERENT BUSINESS OBJECTS CAN SHARE THE SAME OBJECT REPOSITORY.PER ACTION: IS GOOD ...
Answered by: RajaniKanth on: Apr 18th, 2007

Per Action: If we record the script by peraction the objecte repository used in that cannot be used and for shared its viceversa.The best approach is always reord Shared mode.Thanks and Regards,Rajani... Answer Question Select Best Answer

Explain the concept of how QTP identifies object.


Asked By: Interview Candidate | Asked On: Aug 5th, 2005 Answered by: abhilash on: Oct 26th, 2007 8 answers

At the time of Recording First Browser level or page level or frame level or object level. At the time of Running Mandatory Properties or Assistive Properties or Index or Location
Answered by: parusuram challa on: Sep 28th, 2007

Hi Kalpana, Our concept is ok as all others thinks but it the original process of identification is different . Object identification: QTP will identify the object in the following manner durin...

Answer Question Select Best Answer

Where can I get quck test pro(QTP pro) software.. This is just for information purpose only.
Asked By: Interview Candidate | Asked On: Jun 7th, 2005 5 answers

Introduction to quicktest professional 8.0, computer based training: please find the step to get quicktest professional 8.0 cbt step by step tutorial and evaluation copy of the software. The full cbt is 162 mb. You will have to create account to be able to download evaluation copies of cbt and software.Click...
Answered by: ven on: Oct 24th, 2007

One way is to download from mercury.com which is available. QTP9.2 demo is available for 14 days. But after that even changing system date it does not work. I too have the same problem co...
Answered by: mmythili on: May 11th, 2007

After 15 days the trial version will get expired. Will i be able to download the same after a month or 15 days after into same machine or Laptop ? Is that possible ? whther we have any other pos... Answer Question Select Best Answer

How does QTP identifies the object during run time?


Asked By: Pallavi | Asked On: Oct 8th, 2007 Answered by: saini on: Oct 11th, 2007 2 answers

First of all QTP will consider all the properties present in the object repository (i.e mandatory and assistive properties) except ordinal identifier and try to identify the object. if it fails then i...
Answered by: atchi on: Oct 9th, 2007

Hi pallavi, QTP ifentifies the objects during run time is nothing......Based on the Physical description properties like mandatry and assestive pr... Answer Question Select Best Answer

When object repository is huge, there is no space to add more features we had 5 more features are pending to add. How can we add this features for writing the scripts. Always descriptive programming...
Asked By: sasi | Asked On: Sep 11th, 2007 Answered by: raghuramgupta on: Oct 10th, 2007 4 answers

You can add those objetcs to a new repository and add that repository as assiciated repository to your test's repository,so that you can use both repositoriesThanks and RegardsRaghuramGupta....
Answered by: Nanda.D Reddy on: Sep 23rd, 2007

Hi, first remember one thing..there is no limited space for OR. issue occurs..we can add differe... Answer Question Select Best Answer

coming to ur question..if that

Anybody with an experience of testing mainframe applications. I usually check the activex and vb add-ins while launching the test. Also i'm wondering how would the object repository look when we ...
Asked By: Object not found | Asked On: Jun 21st, 2006 Answered by: Madhu on: Oct 6th, 2007 3 answers

Terminal Emulator Add-In provided by QTP supports Hummingbird 8.0 and 9.0 versions. But I need Terminal Emulator which supports Hummingbird 7.0. Its Urgent . Please respond ASAP
Answered by: harry on: Jul 18th, 2006

Even after u install the TE addin, if QTP identifies the screen objects in terms of x,y co-ordinates.its probably because ur host explorer is not compatible...for me its not working with hum...

Answer Question Select Best Answer

Explain me how to write the descritive programming in QTP using sample filght application?
Asked By: PrabhuSparks | Asked On: Aug 10th, 2007 Answered by: Jishnu on: Oct 4th, 2007 1 answer

Try this....invokeApplication"C:Program FilesMercury InteractiveQuickTest Professionalsamplesflightappflight4a.exe"window("text:=Login").Activatewindow("text:=Login").win... Answer Question Select Best Answer

How do you run alternate iterations from the data table


Asked By: MAndeepdaksh | Asked On: Feb 22nd, 2007 Answered by: aarruunnaa on: Oct 4th, 2007 2 answers

Hifirst fill some data in data table.next write the below codem=datatable.GetRowCountFor i=1 to m step 2 datatable.SetCurrentRow idialog("Login").WinEdit("Agent ...
Answered by: chanakya on: Mar 24th, 2007

Set your test settings to run for single iteration.. and use loops to run for all the rows and use code like below...set your first row to watever you want...Dim LastRow, currowcurrow = 1 ( or watver)... Answer Question Select Best Answer

What is called "smart identification" in QTP ? Briefly explain how to do it?


Asked By: Neyomal | Asked On: Sep 6th, 2007 Answered by: AK on: Oct 3rd, 2007 2 answers

When QTP runs through a application under test for the first time it captures the logical name and properties of the object and stores them as test object for future reference. QTP recognizes the ob...
Answered by: mynampatinaveen on: Sep 7th, 2007

Smart Identification is the process by which QTP recognises some objects which it cant by normal process. Answer Question Select Best Answer

How to handle Java tree in QTP


Asked By: Beena | Asked On: Sep 16th, 2005 Answered by: aarruunnaa on: Oct 3rd, 2007 2 answers

please explain what is the abbreviation and the meaning of DOM.why it is used for.

plz mail the answer to aru576@yahoo.co.in also


Answered by: siddhartha on: Sep 23rd, 2005

Hi, first of all we need to have a java add-in to handle a java tree.In tools option we have the "object identification" drop down list.There we have the java option to recognise the... Answer Question Select Best Answer

How to write regular expression with alpha numeric including special characters...
Asked By: sudeepth | Asked On: Sep 26th, 2007 Answered by: romano on: Sep 26th, 2007 1 answer

you can write for example : something 1484894_& something The regular expression would be : something W+ something Hope it will help Answer Question Select Best Answer

How to run QTP scripts recorded in internet explorer on a netscape or firefox browser.
Asked By: Sanketh D Shetty | Asked On: Sep 2nd, 2006 Answered by: jainbrijesh on: Sep 18th, 2007 6 answers

What if your netscape browser is not shown in browser list in QTP?


Answered by: sanketh on: Sep 5th, 2006

nestcape tries to read the code this wayWindow("Netscape Browser").WinObject("NS_AE_WindowClass").Type "http;//servername:8080/trial/"whereas for IEBrowser("Browser").Navigate (Datatable.Value("url","... Answer Question Select Best Answer

Can anyone tell me which is the best sdlc model from the qa's point of view?Or which sdlc model is the best and fast?
Asked By: Mann | Asked On: Feb 16th, 2006 Answered by: kumudbajaj on: Sep 14th, 2007 7 answers

It is a spiral model which is useful as it involves the risk analysis at all the steps and testing begins at early stage. So bug detection takes place at an early stage and thus produce an good as we...
Answered by: Vijay on: Mar 22nd, 2006

Agile is the best model !

How do you record a command prompt operation in QTP?


Asked By: sunnynaidu | Asked On: Aug 24th, 2007 Answered by: Deepak Kochhar on: Sep 12th, 2007 1 answer

You can't record the commpand prompt operation, only script it using the Windows Scripting Host shell object. The script can open the command window and then you can use the sendkeys met... Answer Question Select Best Answer

What is the similar for goto specific step or function in QTP


Asked By: Pradeep | Asked On: Jun 6th, 2007 1 answer

QTP does not support goto statement

Answered by: Niranjan Biswal on: Aug 29th, 2007

QTP does not support keywords like Goto or Continue. You'll have to use if and else intelligently to handle this kind of situation. You can use Exit Function sometimes if you want to goto the... Answer Question Select Best Answer

Is it possible to connect and test mainframe applications in QTP ?


Asked By: Mani | Asked On: Aug 28th, 2007 Answered by: balajimaddy on: Sep 3rd, 2007 1 answer

Yes, QTP supports MainFrame. If you install MainFrame add-ins. Answer Question Select Best Answer

If we want to run QTP tests thru qc(say it is on machine "a") on a different machine(say machine "b").Then do we need to have QTP installed on machine "b" or simply installing the remote agent will do?
Asked By: Ashish Kadam | Asked On: Aug 21st, 2006 Answered by: Kiran-QTP91 on: Aug 27th, 2007 3 answers

HiI have a QTP 9.1 installed on Machine "A" and I would like to run the test on Machine "B" which doesn't have QTP Installed...and I am not using Quality center available.Thank...
Answered by: Khamaj on: Aug 30th, 2006

So the deal isQTP scripts are stored in QC on machine A. Users want to kick off the QTP scripts and run them on machine B. QTP shd be installed on machine B.I tried doing it using the remote agent....... Answer Question Select Best Answer

What is the difference between "wait" statement and thinktime method services.
Asked By: Ashish Kadam | Asked On: Apr 25th, 2007 Answered by: sidinhere on: Aug 16th, 2007 1 answer

Think Time statement pauses the execution during a test run to simulate the time a real user pauses between actions. Generally used to check for the user intervention between tasks and generally with ... Answer Question Select Best Answer

How do you export object repository?


Asked By: cherian | Asked On: Mar 13th, 2006 Answered by: naags on: Aug 15th, 2007 5 answers

To report a repository file, follow this navigationOn the menubar select tools->object Repos ManagerIn obj reposManager window Click File->OpenThen Select a Repository file(.tsr) you Want to Export.In...
Answered by: swetha on: Jul 26th, 2006

Go to Test - settings - resource - select Per Action mode (by default selected) before you start recording the action. Now start recording and stop and after that click on Object repository tool and y... Answer Question Select Best Answer

How database testing is done using manual testing i.E., without using any automation tools
Asked By: Sekhar | Asked On: Aug 8th, 2006 Answered by: M.Praveen on: Aug 14th, 2007 9 answers

Hi, As per my knowledge, we have to verify & validate the data in the database table. To do so first of all record the data present in the table by firing the query for particular action. Then add/mo...
Answered by: Sanjeet on: Dec 15th, 2006

Database testing means to test 3 things:Answer Question Select Best Answer

1.Whether data is storing and retriving from ...

How to perform cross platform testing and cross browser testing using QTP?Can u explain giving some example?
Asked By: komal | Asked On: Jul 25th, 2006 Answered by: minni_rec on: Aug 12th, 2007 2 answers

What are corevalues? I have tried this but it is not working?

Answered by: Sridhar Mallepally on: Jul 25th, 2006

Cross Platform Testing:There is a provision of getting the Operating system in QTP by using the Built in Environment. Eg. Platform = Environment("OS"). Then based on the Platform you need to call the ... Answer Question Select Best Answer

What are the disadvantages by using database checkpoint in QTP?


Asked By: venkat reddy | Asked On: Jul 31st, 2007 Answered by: venkatesh on: Aug 7th, 2007 1 answer

For this question the answer is no dis-advantages of using data base check mpoints in QTP. The only dis-advantages in QTP is QTP takes very long to open huge tests. Also CPU utilization becomes 100%... Answer Question Select Best Answer

What is syntax for "sleep" and "suspend" in synchronization point?


Asked By: sur | Asked On: May 13th, 2007 Answered by: Srinivasaraomunagala on: Jul 31st, 2007 1 answer

Suspends script execution for a specified length of time, then continues execution set WshShell = WScript.CreateObject("WScript.Shell") WScript.Sleep 100 Answer Question Select Best Answer

What is the difference between functions and actions in QTP?


Asked By: Interview Candidate | Asked On: Nov 8th, 2006 Answered by: Srinivasaraomunagala on: Jul 31st, 2007 6 answers

The meager differences are: ActionsActions are completely related to QTPFrom Actions we can call the Library functions Library FunctionsLibrary functions are GeneralFrom Functions we can not call the ...
Answered by: anjalireddy on: Dec 29th, 2006

Action is a thing specific to QTP while functions are a generic thing which is a feature of VB Scripting. Action can have a object repository associated with it while a function can't. A function is j... Answer Question Select Best Answer

I am working as test enigneer.In our company we are doing manual testing .I am keen to learn QTP tool...I download QTP from net..While conducting data driven testing I am facing problemplease explain...
Asked By: mallikaneelam | Asked On: Mar 24th, 2006 Answered by: venkata ramana on: Jul 27th, 2007 4 answers

You can do data driven testing using this script,Here I am passing value fron text file for login window, and i am printing result in xls fileSet fso=createobject("scripting.filesystemobject")Set f1=...
Answered by: tony4jesus on: Jan 17th, 2007

answer Answer Question Select Best Answer

How to write QTP test results to an excel application, please provide the exact code if possible asapthanks in advance
Asked By: upatk | Asked On: May 19th, 2006 Answered by: venkata ramana on: Jul 27th, 2007 4 answers

I am writing one example.set fso=createobject("scripting.filesystemobject")set g=fso.createtextfile("c://results.xls",2,true)set k=fso.opentextfile("c://login.txt",1,true)while k.atendofline truej=k.r...

Answered by: avnsbabu on: Jun 27th, 2006

How to get the data from excel to script. Parameterizing fields Can you send me exact code. Thanks in advance avnsbabu Answer Question Select Best Answer

How many folders are created in one test case execution in QTP
Asked By: manjula bachina | Asked On: Jul 18th, 2007 Answered by: suji on: Jul 25th, 2007 1 answer

When you save a test with X name, in that automatically 2 folders will be created as action and results and in every folder subfolders will be generated. correct me if it is wrong Answer Question Select Best Answer

What is descriptive programming in QTP?


Asked By: ganesh | Asked On: Jun 21st, 2007 2 answers

Can we compare anything in silk test to that of this?


Answered by: suji on: Jul 25th, 2007

Creating the script without maintaining the repository and getting the complete info about object by using object spy. Descriptive is easily portable.
Answered by: BOB on: Jul 10th, 2007

It is nothing but you can create sripts with out object repository with knowing the property of the objects.for example:Systemutil.run"http://www.geekinterview.com/question_details/50508",&q... Answer Question Select Best Answer

What is the difference between action, procedure and function?


Asked By: Abhishek Menon | Asked On: Jun 26th, 2007 Answered by: GManohar on: Jul 20th, 2007 2 answers

Actions: By using Actions we can pass multiple number of input parameters at the same time it will returns multiple number of output parameters. Functions: But where as functions we can pass multip...
Answered by: Krishna on: Jun 27th, 2007

Action is a part of Function. Function is a Like a Functional Test case. Procedure is a process to perform the Different Actions Answer Question Select Best Answer

What is QTP frame work? When we prepare the data for data driven testing ?
Asked By: koraratnakar | Asked On: Apr 6th, 2006 Answered by: Shilpa.Patil on: Jul 18th, 2007 4 answers

There is no QTP framework as such. There are framework which can be used for QTP. I want to know data driven framework used for QTP. Can anyone send me the code for that.
Answered by: Yuvaraj on: Oct 7th, 2006

First of all there is nothing called QTP framework. Framework designed for QTP could be Data Driven, Key Word Driven, Test Script Modularity or a combination of these models which is Hybrid Framework.... Answer Question Select Best Answer

In how many ways parameterization can be done in QTP?

Asked By: hm2noor | Asked On: Aug 25th, 2006 Answered by: Deepak KN on: Jul 17th, 2007

3 answers

Test, action or component parameters enable you to use values passed from your test or component, or values from other actions in your test. Data Table parameters enable you to create a data-driven te...
Answered by: noor on: Aug 28th, 2006

Thanks Uday Could you please explain each step in details? Noor Answer Question Select Best Answer

What is description object?What are settoproperty, setroproperty, gettoproperty scripting?What is the difference between version 6.5 and 8.2?What is the difference between normal mode and fast mode?How...
Asked By: satish | Asked On: Jul 9th, 2007 Answered by: adisgee on: Jul 11th, 2007 1 answer

Following guidelines might help: 1. The description object enables descriptive programming, which is basically accessing GUI objects without actually recording / storing them in an Object Repository. ... Answer Question Select Best Answer

What is synchronisation?What is parametarisation?What is addin environment?


Asked By: JishaPrakash | Asked On: Jul 12th, 2007 Answered by: Aarthi Rajesh Khanna on: Jul 24th, 2007 1 answer

Synchronization is a property that enables to instruct QTP to wait for a state of a property on a particular object to change before preoceeding to the next step in the test case. It also enable...

If a script is recorded on an application as part of one browser, can it be played directly when the same application is opened in another browser without any changes ?
Asked By: Prabhjot Khandooja | Asked On: Jul 9th, 2007 Answered by: adisgee on: Jul 11th, 2007 1 answer

Ideally you should be able to replay it. Only the statement that invokes the browser needs to be changed appropriately. Though the answer might come only after you get a chance to run the application ... Answer Question Select Best Answer

Hi all,i am facing one problem in my .Net QTP application.In one page my script has to select order menu item from add dropdown menu ex:add->order.There is a bug in the page which opens up a pop up dialog...
Asked By: smitha | Asked On: Dec 6th, 2005 Answered by: jayashilpa on: Jul 11th, 2007 4 answers

You can use recovery manager and capture that error message. Instruct to do something when QTP finds that window.
Answered by: Ravindranath on: Jan 26th, 2007

First you spy the object, then you will able to see Answer Question Select Best Answer

Give one example where you have used regular expression?


Asked By: Bindu Puvvala | Asked On: Nov 4th, 2005 4 answers

While validating 'date format' .

Answered by: jayashilpa on: Jul 11th, 2007

In the sample "Flight" Appln, the fax order window has a title "Fax Order No: <number>". To identify this window we need to use Regular Expression
Answered by: raghavendar on: Dec 6th, 2005

hello Every one, generaly regular expressions r used when the data is dynamically changing .for example take a flights application in the QTP sam... Answer Question Select Best Answer

What is a run-time data table? Where can I find and view this table?
Asked By: Interview Candidate | Asked On: Aug 17th, 2005 Answered by: jayashilpa on: Jul 10th, 2007 8 answers

Run-Time data table stores the run-time values(output values). It can be viewed in Test reults window.
Answered by: montyjobs on: Jun 18th, 2007

1. While coding your script, table which u will see in QTP IDE is design time data table2. Data Table which is used by QTP at runtime to read parameter values is called Runtime data table.You can find... Answer Question Select Best Answer

How to invoke a databse application for database testing?


Asked By: Mann | Asked On: Jan 25th, 2006 Answered by: mckreddi on: Jul 8th, 2007 2 answers

Hi All,Set cnn=CreateObject("ADODB.Connection")cnn.Open("Connection String")set buffer1=cnn.execute("Querry")while not buffer1.eofvalue1=buffer1("Column_Name")-...


Answered by: saurabhdeswaltavant on: Jan 28th, 2006

testconnection("Select * from emptable")Function testconnection(query)Set cnn = CreateObject("ADODB.Connection")Set rs = CreateObject("ADODB.Recordset")cnn.ConnectionString ="DRIVER={Oracle in OraHome... Answer Question Select Best Answer

How can I get text on the object?What command can I close the web application?
Asked By: steven | Asked On: Mar 24th, 2006 Answered by: Shravan Kumar on: Jul 5th, 2007 3 answers

Hi, To close the application windows, you can use the following command: SystemUtil.CloseDescendentProcesses The above command closes all the open IE windows.
Answered by: Ganesh on: Apr 18th, 2006

To get the text from the object we can use getRoProperty. Ex: Window("Flight Reservation").WinEdit("Name:").GetROProperty("text") To Close the Web application we can use Browser("Google").Close Answer Question Select Best Answer

How many check points are available in QTP


Asked By: chandanam | Asked On: Jul 2nd, 2007 Answered by: chandanam on: Jul 4th, 2007 2 answers

But Page CheckPoint Image CheckPoint Bitmap CheckPoint Table CheckPoint come under Standard check point so do these come for counting
Answered by: Gaurav on: Jul 3rd, 2007

Hi,There are eleven checkpoints in QTP.(1)Standard CheckPoint.(2)Page CheckPoint(3)Image CheckPoint(4)Bitmap CheckPoint(5)Table CheckPoint(6)XML CheckPoint(7)DataBase CheckPoint(8)Text CheckPoint(9)Te... Answer Question Select Best Answer

If an application name changes frequently, i.E. While recording it has a name window1 and then while running it becomes window2. How does QTP handle this?
Asked By: Sudha Kasukhela | Asked On: Jun 7th, 2007 Answered by: Krishna on: Jun 27th, 2007 2 answers

Regular Expression is the Correct concept for handling multi window operation. Ex: window.* or (window.[0-100] if you know the no.of window) etc. More about refer the theory of computation.
Answered by: QA Dude on: Jun 21st, 2007

You would use a regular expression wherever the application name appears. Just change "window1" to "window.*", than "window" followed by anything would all work correctly... Answer Question Select Best Answer

What is reference path in QTP?And what is the way to get name of the browser at run time?
Asked By: ramaraogoud | Asked On: Jun 1st, 2007 Answered by: QTP77 on: Jun 5th, 2007 1 answer

I think reference path means relative path. We should add the actual path of all our actions in Tools -> Options -> Folders (QTP 9.0) so that when we want to call a reusable action from another actio... Answer Question Select Best Answer

Choosing appropriate scripting languages in QTP(Java scripts / vbscripts) and when/how to choose between the two.
Asked By: praveen gupta | Asked On: Mar 29th, 2006 Answered by: Sheelu on: Jun 2nd, 2007 4 answers

Nowhere i found this option. Can you please tell me specifically where we can opt for vb Script or JavaScript in either version of QTP 8.2/9.0
Answered by: kesmad on: Apr 4th, 2006

No need to install other scripts.By default QTP takes vbscript.But if you use java script also it will work. Answer Question Select Best Answer

I am using the QTPlus repositories merge utility to merge all my different repositories into a single one. After having merged some repositories, I notice that, from the test, you can't see the web objects...
Asked By: Shaun | Asked On: Sep 27th, 2005 Answered by: Vinay Kolluri on: Jun 2nd, 2007 2 answers

Hi, When you want to merge two repositories you have to make sure that any of the object properties(Properties or the name) in one repository does not m...
Answered by: Anna on: Nov 2nd, 2005

Merge Utility have a lot of problems, try don't use this for file biggest the 8 MB Answer Question Select Best Answer

How to set the object repository as shared/per action mode in QTP 9.1?
Asked By: uma sankar | Asked On: Apr 19th, 2007 Answered by: prasadgali on: May 30th, 2007 1 answer

Hi, I think there is no per action repository in QTP 9.0 and later Answer Question Select Best Answer

What are recovery exception?


Asked By: venkataramana | Asked On: May 3rd, 2007 Answered by: prasadgali on: May 30th, 2007 1 answer

HI , Expection is an unexpected error during run time.To handle this we use Recovery scenarios on QTP.We have 3 steps while doing this.1.Trigger events2.Recovery scenario3.Post recovery test runI... Answer Question Select Best Answer

What are smart identifiers in QTP?


Asked By: Sumeet Pramar | Asked On: May 22nd, 2007 Answered by: ksarath on: May 25th, 2007 1 answer

Application builds at times consists of objects with Special Properties or Advanced Technology objects or Non Standard objects. To recognize these objects either Smart Identification or low level... Answer Question Select Best Answer

How many types of recording are there in QTP?


Asked By: vinny | Asked On: Jan 25th, 2006 Answered by: surya on: May 24th, 2007 3 answers

They are three types of recording in QTP. General Recording: Recording mouse and key board operation with respective object. Analog Recording: Recording mouse pointer movement with respective d...
Answered by: sudhakar2068 on: Oct 23rd, 2006

They are three types of recording modes in QTP. They are three typesGeneral Recording:In this Mode QTP is Recording mouse and key board operation with respective object and windows in our application.... Answer Question Select Best Answer

How are objects captured by smart identifiers in QTP?


Asked By: Sumeet Pramar | Asked On: May 22nd, 2007 Answered by: Srinivasaraomunagala on: Jul 31st, 2007 1 answer

Smart Identification is useful only whenever QTP tool is not able to identify a perticular object or two objects are same in one screen Answer Question Select Best Answer

What is recovery manager and describe?


Asked By: Baba | Asked On: Jan 9th, 2006 Answered by: ramugogurla on: May 22nd, 2007 2 answers

When we run the application we will be getting runtime errorsthat means some time application will be behaving as non-active state instead of active state generally with QTP we can encounter 4 types o...
Answered by: sandeepvusala on: Jan 11th, 2006

hi,Recovery scenario manager is a wizard through we can recover the exception handling. In QTP for exception handling we will use the recovery scenario manager. We can handle pop-up exceptions, Applic... Answer Question Select Best Answer

How can we know the size of the object repository?


Asked By: Mann | Asked On: Feb 20th, 2006 Answered by: Praveen Kumar on: May 15th, 2007 5 answers

We can know the size of the object repository by checking the size repository file.. 1) If it is per action repository then check the size of the file named ".mtr" (module test repo...
Answered by: sowji on: Jun 3rd, 2006

Can anybody tell me the answer for How many objects can we store in object repository (or) What is the max size it supports. Answer Question Select Best Answer

Hi,what is the procedure of doing SQL/database testing?Is a tester suppose to create procedures,functions,views,triggers etc?
Asked By: mann | Asked On: Feb 13th, 2006 Answered by: srinivas on: May 15th, 2007 2 answers

We just check whether the SQL manipulations satisfy our requirements or not. We dont write any thing. We check the database by writing testcases using SQL queries as per our requirement.
Answered by: Asha on: Feb 14th, 2006

Hi Mann,Please refer the QuickTest Plus Helpfile and refer the linkLibraries Funtions->Microsoft Object>Database function collections here you would get database releated functions RegardsAsha ... Answer Question Select Best Answer

How many actions possible in QTP


Asked By: pavan | Asked On: Feb 28th, 2006 Answered by: Ramesh Kolla on: May 15th, 2007 4 answers

non-reusable actionan action that can be used only in the test in which it was created, and only once. reusable actionan action that can be called multiple times by the test in which it was crea...
Answered by: Purna on: Jun 7th, 2006

We can have as many actions as we want. But each action is associated with an action sheet. So the maximum action sheets taht can be shown are 255. More than that it is not possible to display ...

How do you retrieve run time data from QTP scripts if the run time properties are not available.
Asked By: Divya | Asked On: Apr 18th, 2007

1 answer

For eg I have 'window("Microsoft excel - pivottable67").Window("query refresh").ActiVATe'.I need to get the string 'Microsoft excel - pivottable67'.Can anybody tell me how to get that using regular expressions,getroproperty or some other technique
Answered by: rahmathk on: Apr 20th, 2007

Hi If u wnat to try "GetROProperty" then try this output='Window("Microsoft Excel PivotTable67").GetROProperty("Value")Variable "output &quo... Answer Question Select Best Answer

Where is the bitmap chekpoint information saved?


Asked By: upendra | Asked On: Jan 27th, 2006 Answered by: srikanth on: Apr 15th, 2007 2 answers

Bitmap check points are saved alog with the Actions script
Answered by: Nageswara Rao G on: Jan 29th, 2006

The Bitmap Check Point Information saved in the Below File:C:\Program Files \ Mercury Interactive\Quick Test Professional\Tests\Action Name\Res1 Answer Question Select Best Answer

What is a virtual object and how can we create one in QTP?


Asked By: swetha | Asked On: Aug 17th, 2006 Answered by: RamuGoud@919866178926 on: Apr 14th, 2007 9 answers

Hai Lakshmi, It is an automated tool provided by Mercury Intercative Inc., to overcome the Manual testing Problems, It is easy to learn All the Best Lakshmi
Answered by: vishnu on: Oct 20th, 2006

Hi laxmi, QTP is a automation testing tool. Answer Question Select Best Answer

This is the chain of question#: 15434what conditions we go for reusable scripts and how we create and call that into another script? Please provide sample script
Asked By: Magadala | Asked On: Jul 20th, 2006 Answered by: RamuGoud@919866178926 on: Apr 14th, 2007 10 answers

I think, it is called from Call to copy of action and call to existing action
Answered by: s.lakshmipriya on: Feb 11th, 2007

hai! i am not sure.by making callscript statement , we will reuse the scripts. first we have to create 2 scripts. one script captures object properties for example. another one is using mousemovement ... Answer Question Select Best Answer

What is environmental variable? Explain me with an example?


Asked By: asha | Asked On: Nov 2nd, 2006 Answered by: ramaraogoud on: Apr 14th, 2007 6 answers

Hai Ziauddin, Build In Functions means ,That are default Functions ,In this we Have 1)Action Iterations

2)Product Dir 3)Product Name 4)Product Version 5)Test Iteration etc

Answered by: atdhdrolla on: Mar 7th, 2007

A user-defined internal environment variable: These variables are saved with the test and are accessible only within the test in which they were defined. You can create or modify internal, user-defin... Answer Question Select Best Answer

Is it possible to test a web application(Java) with winrunner?Otherwise is it possible to check with QTP?Which one is best?
Asked By: sundar | Asked On: Jul 18th, 2006 Answered by: ramaraogoud on: Apr 14th, 2007 7 answers

Hai Sangeetha, In WinRunner,it is not able to identify the Web GUI objects
Answered by: R.Sureshkumar on: Sep 13th, 2006

Dear Ganesh Can you give me few examples of the difficulties in testing .Net application using QTP ? bye sureshkumar Answer Question Select Best Answer

How do you change the per-action object repository option to shard object repository option on the test settings dialog window on QTP?
Asked By: galnrao1980 | Asked On: Feb 14th, 2007 Answered by: ramaraogoud on: Apr 14th, 2007 7 answers

Please open a new test ,At this time don,t write any script in the test pane,Then go test --> Settings-->Resources-->select the what type of repository you want
Answered by: chanakya on: Mar 24th, 2007

As RaviQTP says..it is not allowed to change the repoitory type once the test is created. we have to create a new test to change the type of repository Answer Question Select Best Answer

How to handle the exceptions using recovery secnario manager in QTP?


Asked By: Interview Candidate | Asked On: Aug 31st, 2005 Answered by: Madhukar on: Apr 11th, 2007 4 answers

hi all, I followed the steps given this but my problem arises after when i try to use object state or test run error during trigger event an...
Answered by: Rituparna Ingawale on: Mar 17th, 2007

1. Go to TOOLS -> Recovery scenario manager.2. Select the trigger event that caused the error(it may be a pop up window).3. Identify the name of the window with the help of POINTING HAND.4. Choose ... Answer Question Select Best Answer

. How to work with controls without learning them into the object repository?A) you cannot work without object repositoryb) use gettoproperty to change the property of an object and identify the objeCTC)...
Asked By: Debashish_samanta | Asked On: Mar 3rd, 2006

Answered by: Tina on: Apr 11th, 2007

5 answers

You have to use descriptive programming and create the description for objects.
Answered by: Neo on: Oct 20th, 2006

It,s by using descriptive programming.......... but need to know all the properties of objects that qtp uses to identify... Answer Question Select Best Answer

QTP data table

Asked By: Sujatha Kandikonda | Asked On: Mar 18th, 2007 7 answers

When I run my test script, only the first row of the data table gets executed and the test results are shown up. Test script doesn't run through the other rows of the data table. I am using GLobal data table.Did anybody experience this kind of problem. If so, what could be the cause of it? Please share...
Answered by: cindrela on: Apr 10th, 2007

Hi Click on Action call Properties and check Run on all rows option.I faced a problem while using the local data sheet , I used the run on all rows option.But messgage displayed is object not found,Wh...
Answered by: chanakya on: Mar 24th, 2007

FOLLOW THE WIZARD..hez right and that dude muqbul also makes sense Answer Question Select Best Answer

Can any one tell me whether QTP is a compiler or interpreter


Asked By: Sreenivas | Asked On: Aug 28th, 2006 Answered by: ketan on: Apr 9th, 2007 3 answers

As it is scripting language.How can it be a compiler. it has to be an interpreter


Answered by: Srihari on: Aug 30th, 2006

Yes, QTP is a compiler. Bcz it shows all errors after compile all statements in the script. While WinRunner is interpretor. Answer Question Select Best Answer

How do you use recovery management in the QTP? Explain with an example usage?
Asked By: galnrao1980 | Asked On: Feb 14th, 2007 Answered by: SASY on: Apr 5th, 2007 2 answers

Here is the Steps to use Recovery Scenario Manager1.Click on Tools-->Recovery Scenario Manager2.Click on New scenario in the Recovery Scenario Manager 3.Click Next button4.Select ...
Answered by: rupa on: Feb 15th, 2007

There are 4 trigger events during a recovery should be activated.A pop up window appered in an opened application during test runA property of an object changes its state or value.A step in the test d... Answer Question Select Best Answer

What is the difference between data driven framework and keyword driven framework?
Asked By: mprashanthi | Asked On: Jan 17th, 2007 Answered by: NARAYNA on: Feb 13th, 2007 8 answers

Hi, Data driven Test:If want to run the one script with multiple sets of data that time we prefer Data Driven Test.Data Driven Frame work:If you want use the script multiple times ,that time you ar...
Answered by: dsharma on: Feb 1st, 2007

Sorry the format in which I wrote the answer is not very readable. So writing the answer again Keyword-driven testing is a technique that separates much of the programming work from the actual test ... Answer Question Select Best Answer

Even after deleting a previously called reusable action the local sheets dont disappear from the data table.. Is there any way of getting rid of these sheets.
Asked By: Ashish Kadam | Asked On: Aug 10th, 2006 Answered by: rr on: Apr 1st, 2007 3 answers

Hi,For the issue raised ,You will have to choose the main action in which you were interested in using the reusable actions.In that particular action,select the reusable action from the actions tab th...
Answered by: Raj Kamal on: Aug 18th, 2006

In Keyword View, when we select the reuable called action, rit click it and click on delete, then Delete Action dialog box popup. It has two options1. Delete the selected call to the action2. Delete t... Answer Question Select Best Answer

Discuss QTP environment.


Asked By: Interview Candidate | Asked On: Aug 4th, 2005 Answered by: venkaiah on: Mar 31st, 2007 4 answers

title bar-displays currently opned test detailsmenu bar-details of menus like file,edit,view,insert,test,debug,toolstest bar-test options like record,runfrom,stoptestpan-contains scripting progdebug v...
Answered by: priti on: May 4th, 2006

It contains the following key elements: Title bar, displaying the name of the currently open test Menu bar, displaying menus of QuickTest commands File toolbar, containing buttons to assist you in man... Answer Question Select Best Answer

How to run or call a test in QTP which is saved in unknown drive with unknown extension ,with name 'xyz"
Asked By: babulu | Asked On: Mar 12th, 2007 Answered by: msusmitha on: Mar 27th, 2007 4 answers

first you can not store the test with other extension, if you want to reuse/open that just you have to just first find the path in the pc and go to that path while in automation. automatical...
Answered by: subhas on: Mar 18th, 2007

by using SystemUtil.Run"file Name" for any file name extension for othe reference for .exe file use invoke application for .vbs file Execute file for detail 09989620592 Answer Question Select Best Answer

Color comparison test in QTP


Asked By: naresh reddy | Asked On: Mar 9th, 2007 3 answers

How QTP compares the 2 colors.( suppose we have two pages of bg color one is pink and the other is blue.When we inserted the checkpoint to check these two pages the test will fail. My question is how does the QTP know the color comparison.) (1.One answer may be pixel checking). Plz think...
Answered by: msusmitha on: Mar 27th, 2007

hi

why writing the script put the checkpoint and just drag the place which you want to check the colour while putting the bitmap checheck point.

susmitha

Answered by: siva on: Mar 13th, 2007

I agree with the previous answer. Also we can do so by using Text Area check point. Answer Question Select Best Answer

How to get the value of a disabled edit box in QTP. What is the winrunner" edit get info " equivalent function in QTP.
Asked By: rahmathk | Asked On: Feb 8th, 2007 Answered by: Guest on: Mar 24th, 2007 4 answers

Dont use the TO property if ur trying to get the current value....use the RO property...even though it is disabled, the data could be changing at run time... object.GetROProperty("value")

Answered by: narasimha.rao on: Feb 13th, 2007

Syntax for GetTopropertyBrowser(...).page(...).weblist(..).GetToproperty(value) Answer Question Select Best Answer

How to handle QTP generated run time errors through recovery manager
Asked By: purushothan | Asked On: Mar 8th, 2007 Answered by: sreekanthbs on: Mar 21st, 2007 1 answer

HiPlease follow the below steps to handle the qtp generated runtime errorsgoto File>Settings>Run(tab)There is a dropdownlist for the actions when there is a runtime error.select your option and click ... Answer Question Select Best Answer

I want to write a script in expert view in case of QTP. For this I need to add all the required objects to the repository.How can I add each and and every object before writing the script ?
Asked By: OB | Asked On: Jul 3rd, 2006 Answered by: Rreddy on: Mar 20th, 2007 1 answer

Go to Resources->Object repository->object->Addobjtolocal this is QTP9.0

Recently I was asked at an interview like this. When two parameters say a,b with specific values are defined in action1 and in action2 need to use those values in C say c=a+b. How do you do that in scriptting

Asked By: indhiroh | Asked On: Feb 19th, 2007 Answered by: Bharani M on: Mar 19th, 2007

4 answers

Action1(output parameter a,b with type NUMBER)dim a,bparameter("a")=10parameter("b")=20call to new actionRunAction "Action2", oneIteration,parameter("a"),parame...
Answered by: sri on: Mar 8th, 2007

Hi Suresh,It was really good.Everythng is clear.still I am unable to execute this exactly.when i am executing action1,showing empty boxes(i used msgbox for a n b).when i am executing action2 it is sho... Answer Question Select Best Answer

How to run a script in QTP without storing the properties in object repository?
Asked By: gardekp | Asked On: Feb 23rd, 2007 Answered by: vijay on: Mar 16th, 2007 5 answers

By descriptive programing. Describing the information about objects in the script itself is called descriptive programming
Answered by: mm.achar on: Mar 12th, 2007

For example if you want to create an object which is an edit box,Set object_edit_box = description.Createobject_edit_box("swftypename").value = "..."object_edit_box("swfname p... Answer Question Select Best Answer

What is the process to follow between writing the test cases & then automating it?
Asked By: gardekp | Asked On: Feb 23rd, 2007 Answered by: ramakrishna on: Mar 15th, 2007 4 answers

generally test cases are designed and run in the first cycle of the testing.then only, in the following cycles you can automate the testcases that are manually tested atleast once.for automating the p...
Answered by: ramesh_raj on: Mar 13th, 2007

Generally Writing a testcase is the manual process from given requirement and selecting the right testcase for Automation and automating the testcase. Answer Question Select Best Answer

How to record a script using the cmd (windows command line shell) ?
Asked By: cadux0812 | Asked On: Mar 7th, 2007 2 answers

I tried to record it as a winapp but it wont recognize any interaction with the cmd window
Answered by: raghuramgupta on: Mar 14th, 2007

If you want to run a command on CMD using QTP, u have to create an object set cmd=createobject("wscript.shell") cmd.run "cmd /k cd c:raghu"
Answered by: mm.achar on: Mar 12th, 2007

Can you explain in detail what were you trying to do? Answer Question Select Best Answer

What is the difference in input/output parameter using at the following options. 1) test->setting->parameter (tab) 2) step->action properties->parameter (tab)and when and why? We use (1) and (2) ?
Asked By: bakumar | Asked On: Feb 27th, 2007 Answered by: mm.achar on: Mar 12th, 2007 1 answer

The input and output parameter defined in Test>Setting>Parameter (tab) can be used as parameters using Parameter Utility Object. For example,If I want to search for orders in a date range, and w...

Answer Question Select Best Answer

QTP function question

Asked By: puja123 | Asked On: Feb 25th, 2007 4 answers

In my interview, I was given a screen shot for user name, password, date, transfer amount etc and was asked to write as many test cases as possible in terms of QTP.I don't know how to write function to check the date. Please some one help with some sample test cases that are used in real time QTP. Thank...
Answered by: mm.achar on: Mar 12th, 2007

First capture the value of date that has been entered or selected. This can be done by date_var = Editbox.GetROProperty("text) or date_var = Combobox.GetROProperty("text)Then use the functio...
Answered by: gvssumankumar on: Mar 9th, 2007

if we take the date field u check the whether it is combobox or text box.in the case of text box if u enter the date in that field .in qtp we write in vbedit(), if date is in combo box we can write in... Answer Question Select Best Answer

What is QTP batch testing tool?


Asked By: gardekp | Asked On: Feb 23rd, 2007 Answered by: kotaramamohana on: Mar 12th, 2007 6 answers

we will create individual Tests in QTP after that we will open the Test batch runner. it is a tool . by using this we can run all tests .
Answered by: sriprakash on: Mar 6th, 2007

yup multitest manager is a very good tool compared to batch runner Answer Question Select Best Answer

How many ways you can execute test script?


Asked By: naveen | Asked On: Feb 27th, 2007 Answered by: kotaramamohana on: Mar 12th, 2007 1 answer

two ways 1 is by pressing F5 key 2) is by clicking Test menu->Run test Answer Question Select Best Answer

How to instruct QTP to display errors and other description in the test result instead of haulting execution by throwing error in the mid of the execution due to error? For eg:object not found
Asked By: Sakthi Sankar | Asked On: Oct 26th, 2006 Answered by: atdhdrolla on: Mar 7th, 2007 5 answers

I don't the nature of your application but you can always Use Exit statement to come out of a function, Component, local action or global action.
Answered by: raghu on: Jan 3rd, 2007

You can use the statement "On Error Resume Next" when ever an error occurs qtp ignores the step and moves to next step, if you want to see the error number and description use the codeif Err.Number<... Answer Question Select Best Answer

Is it possible to use start-up scripts in QTP as in winrunner


Asked By: Shrikanth Bhosale | Asked On: Nov 9th, 2006

Answered by: atdhdrolla on: Mar 7th, 2007

6 answers

A Startup script to launch QTP, Open the test , Create a result folder and run the test may look like this:Dim App Set App = CreateObject("QuickTest.Application") &nb...
Answered by: RAJAGOPAL REDDY on: Dec 14th, 2006

Yes,We can put start applications URL/Address/Exe file path in the default record or run settings for Windows/WEB. Once opens QTP immediately that particular application or URL will open.ThanksRAJAGO... Answer Question Select Best Answer

Is it possible to add objects to the object repository during runtime


Asked By: Raghu | Asked On: Feb 1st, 2007 Answered by: atdhdrolla on: Mar 7th, 2007 7 answers

yes it is possible to add objects during RuntimeFor QTP version 8.2 Step->Object RepositoryIt will open the object repository; please click on Repository and use add objects button to add required ...
Answered by: Mandeep on: Feb 22nd, 2007

Yes you can add objects in the object repository during runtime.. Answer Question Select Best Answer

How to find the ordinal position of an item in weblist without using array or instr function.Ex:assume I have 5 items in weblist like us,uk,india,canada,france.I want to know position of uk in list
Asked By: selva | Asked On: Feb 1st, 2007 Answered by: atdhdrolla on: Mar 7th, 2007 1 answer

ExpectedItem = "UK"WebListItemCount = Browser(....).Page(...).WebList(...).GetROProperty("items count")For i = 0 To (WebListItemCount - 1)ItemFromList = Browser(....).Page(...).Web... Answer Question Select Best Answer

What is the QTP environment


Asked By: thirumalreddy | Asked On: Jan 4th, 2007 Answered by: Kiran H H on: Mar 7th, 2007 3 answers

This is nessesary set up which has be done before test run. So that test run is carried out with any issues.Settings would be.Global Wait.Image capture while through out test run or On error or On Err...
Answered by: naveen on: Feb 27th, 2007

QTP environment means what are the environment it support to do testing. Ex: Windows, Java Applications.Environments are depending on the Add-ins and purchased add-ins Answer Question Select Best Answer

Please explain difference b/w function and action?


Asked By: lata_115 | Asked On: Feb 21st, 2007 Answered by: sriprakash on: Mar 6th, 2007 3 answers

Main difference is action written in one script can be called in another script if we make it as a external reusable.Where as function written in 1 script cannot be called in another scriptregardssrip...
Answered by: Anil_Sharga on: Feb 27th, 2007

In Keyword view, when QTP interacts with application under test it stores in the form of action. while in expert view QTP records scripts in the form of functions ( VB Script). Answer Question Select Best Answer

Explain about descriptive programming with an example usage ?

Asked By: dave1969 | Asked On: Feb 22nd, 2007 Answered by: sriprakash on: Mar 6th, 2007

1 answer

hi,here is the example for descriptive programmingset obrowser=description.Create()obrowser("name").value="Welcome to Gmail"set opage=description.Create()opage("title").v... Answer Question Select Best Answer

What is the difference between keyword view and expert view?


Asked By: kvsaran | Asked On: Feb 20th, 2007 Answered by: Anil_Sharga on: Feb 27th, 2007 3 answers

Interaction with application under test in the Key word view records in the form of Actions. Key word view is meant for those testers who do not know any thing about VB scripts.while QTP records scrip...
Answered by: Anupama on: Feb 22nd, 2007

In EXpertview we can view the script and write the script In Keywordview, which shows the graphical representation of the script. Answer Question Select Best Answer

How to retrieve a output data value stored in a data table of a test by a different test and parametrize to a step? How?
Asked By: rameshkumars | Asked On: Feb 1st, 2007 Answered by: rameshkumars on: Feb 22nd, 2007 2 answers

yeah........ thank u......

Answered by: bakumar on: Feb 18th, 2007

first export to a file datatable.export"path" and then import from the file datatable.import"path" that's it I believe u got. Answer Question Select Best Answer

Among all the check points what is the most important checkpoint?
Asked By: Uday Kumar.A | Asked On: Nov 2nd, 2006 Answered by: Ankush on: Feb 22nd, 2007 5 answers

The following two are the most Importtanta) Standard CheckPoint as it is mostly used. Also it covers everything including "Text Checkpoints" "Page CheckPoints" &quo...
Answered by: Nadeem Sharifuddin on: Jan 2nd, 2007

Standard check point, as it is mostly used. Answer Question Select Best Answer

What is the difference between test and a business component in QTP?


Asked By: Varsha Santosh | Asked On: Feb 5th, 2007 Answered by: indhiroh on: Feb 22nd, 2007 6 answers

1.both tests/component have these test object and run time objectsA test object is an object that QuickTest creates in the test or component to represent the actual object in your application. QuickTe...
Answered by: Anupama on: Feb 22nd, 2007

Test object is The object present in the "Object repository".It is reference to the actual object.Business object is Runtime object ,QTP performs operations on those object while it is runni... Answer Question Select Best Answer

What is meant by test frame


Asked By: subhashini.lutimath | Asked On: Jan 5th, 2007 Answered by: Anupama on: Feb 22nd, 2007 5 answers

Framework is nothing but Here we create a folder structure for reuasable perpose.We are creating the scripts and stroes it in one folder. In future we need we use that folders.Here in QTP we have 3 fr...
Answered by: romi on: Feb 9th, 2007

hi, Test frame is a test methodology. Here we can add test data to test clusters and we can execute those in QTP or other tools to automate.

What is an data driven extensoin in QTP scrpit?


Asked By: gaddam raghunath | Asked On: Jan 30th, 2007 Answered by: MAndeepdaksh on: Feb 22nd, 2007 2 answers

.ddt is the extension in qtp script.....


Answered by: aparna_susarla on: Jan 31st, 2007

.ddt Answer Question Select Best Answer

What is wait technique and GLobal technique in QTP?


Asked By: sadhana.mishra84 | Asked On: Feb 1st, 2007 Answered by: Anupama on: Feb 22nd, 2007 2 answers

Wait techinique :IT will make the tool to wait upto maximum time elapsed Global technique:It will make the tool to wait upto the object properties are matched,That is sync..
Answered by: narasimha.rao on: Feb 6th, 2007

Here 2 ways to give a sync :- 1st one is :- "wait" function Wait (..)2nd one is :- "Sync" function This is Global Techniqe for Wait for loading the web application. ... Answer Question Select Best Answer

Where do you use browser(pploginbrowser).Dialog(securityalertdialog).Exist


Asked By: Ravibabu | Asked On: Feb 20th, 2007 Answered by: Shillu on: Feb 21st, 2007 1 answer

Used to check the existence of Security alert pop up Answer Question Select Best Answer

I have encountered a problem while working on QTP 8.2.I am not able to view/modify the QTP scripts in expert view as the expert view gets disabled.The scenario is like:- open any existing script, it is...
Asked By: abhayd | Asked On: Feb 3rd, 2006 Answered by: jalendrahv on: Feb 21st, 2007 3 answers

Hi While saving the script make sure that it is save as reusable action otherwise when you open again it ll be masked you cannot modify
Answered by: SMC on: Jan 6th, 2007

I too have similar problem expert view gets disabled( expert view screen turns grey) switching between keyword and expert view. What is the solution??? Answer Question Select Best Answer

How do you automatically update image checkpoint through script?


Asked By: mprashanthi | Asked On: Feb 9th, 2007 1 answer

Answered by: bakumar on: Feb 18th, 2007

hi fren,one can update the image checkpoint. for that one needs to keep the cursor on the checkpoint script, then right click on that and then select the option update checkpoint n do the desired upda... Answer Question Select Best Answer

How to open multiple tests in QTP?


Asked By: rahmathk | Asked On: Feb 16th, 2007 Answered by: Impala on: Feb 17th, 2007 2 answers

It is no way to open multiple tests in QTP


Answered by: Dani Vainstein on: Feb 17th, 2007

You can't from version 9.0 you can open multiple functions libraries Answer Question Select Best Answer

What are the advantages and disadvantages of GLobal data sheet and local action sheet?
Asked By: Mann | Asked On: Jan 26th, 2006 Answered by: Anil_Sharga on: Feb 11th, 2007 4 answers

Global action sheet belongs to current test script. Local action sheet comes into picture when using multiple action and if you want to run a copy of an existing action differently than other actions ...
Answered by: vidyank on: Feb 23rd, 2006

You store data in the Global tab when you want it to be available to allactions in your test and you want the data to control the number of testiterations. You store data in the actions tab when you ... Answer Question Select Best Answer

In winrunner some gui functions are there (like gui_load) so in QTP what r the methods r there?
Asked By: Rajesh Kumar | Asked On: Feb 15th, 2006 Answered by: mcamadhubabu on: Feb 9th, 2007 2 answers

The code is not working in QTP 9.0. But it worked fine in QTP 8.0. Please suggest something how to add the repository at run time in QTP 9.0 Set QtApp = CreateObject("QuickTest.Application") Set Q...
Answered by: esaiesai on: Feb 21st, 2006

yes, we have few methods to load object repository file into object repository file into object repository. try with this code to load object repository file in to object repository.set a=createo... Answer Question Select Best Answer

How do you load selective 20 records out 50 records from xls sheet?
Asked By: galnrao1980 | Asked On: Feb 1st, 2007 Answered by: rajuvo on: Feb 9th, 2007 3 answers

Select Test > Setting > Run Here in Data Table Iterations you will get 3 options like1. Run one iteration only2. Run on all rows3. Run from ___ to rows ___So for your question, you go for third option...
Answered by: Anil_Sharga on: Feb 5th, 2007

By going to test >settings>selecting number of iterations Answer Question Select Best Answer

What is the winrunner "prinntf" equivalent QTP command?


Asked By: rahmathk | Asked On: Feb 8th, 2007 Answered by: mprashanthi on: Feb 8th, 2007 1 answer

"printf" in WR is equivalent to "msgbox" in QTP

Answer Question Select Best Answer

How will you check XML exceptions in QTP?(here it is XML exception, not check point)
Asked By: Uday Kumar. A | Asked On: Oct 12th, 2006 Answered by: mprashanthi on: Feb 7th, 2007 3 answers

XML checkpoint Checks the data content of XML documents. Note:-XML file checkpoints are used to check a specified XML file; XML application checkpoints are used to check an XML document within a Web p...
Answered by: sudhakar2068 on: Dec 15th, 2006

An XML checkpoint checks the contents of individual XML data files or XML documents that are part of your Web application. A database checkpoint checks the contents of databases accessed by your... Answer Question Select Best Answer

How to write scenario in QTP?


Asked By: sarathy | Asked On: Nov 1st, 2006 Answered by: mprashanthi on: Feb 7th, 2007 4 answers

A Test Scenario ia s set of test cases that ensure that the business process flows are tested from end to end. They may be independent tests or a series of tests that follow each other, each dependent...
Answered by: Nadeem Sharifuddin on: Jan 2nd, 2007

Hi,Scenario are sub set of one test case with same start , but different paths and same end.We can use If else condition, Select Case , (conditional statements).Test Case : Login, Close Main Applicati... Answer Question Select Best Answer

What is the difference between image & bitmap checkpoint in QTP


Asked By: govind | Asked On: Feb 4th, 2007 Answered by: Ramesh kolla on: Feb 7th, 2007 3 answers

Image checkpoints : It check the values of image in our web or application


Answered by: narasimha.rao on: Feb 6th, 2007

Image Check Point :- In the Web Page All buttons are treated as Images, so We can using Image check point. we can check the Properties of that objects.Bitmap Check Point :- using Bit map check we can... Answer Question Select Best Answer

Explain about output values in run time mode


Asked By: sunitha | Asked On: Jan 18th, 2007 Answered by: dsharma on: Feb 1st, 2007 3 answers

Output values enable to view the values that the application takes during run time. When parameterized, the values change for each iteration. Thus by creating output values, we can capture the values ...
Answered by: msusmitha on: Jan 22nd, 2007

the out put values will be maintained in the run time data table, only the object properities only stored in the object repository. this is a temporary file. the global sheet cant effected while runni... Answer Question Select Best Answer

1. What is the QTP environment


Asked By: Mathan | Asked On: Jan 9th, 2007 Answered by: dsharma on: Feb 1st, 2007 3 answers

QTP Environment 1. Keyword View - Graphical view of objects and steps added2. Expert view - Scripting area of the objects. 3. Datatable - for parameterization of values in and out from the object prop...
Answered by: Guest on: Jan 25th, 2007

QTP is a functional tool . it is used for automation testingthat isa automated toolit is the environement divided into 5 partstest paneactive screendata tabledebug viewer panetool optionsit is not cal... Answer Question Select Best Answer

Is it possible to compare the actual result with the database using QTP
Asked By: subhashini.lutimath | Asked On: Jan 3rd, 2007 Answered by: Lokesh Tewathia on: Jan 31st, 2007 6 answers

This code can be used for DB connectivity and verification of data from DBSet Conn=CreateObject("ADODB.Connection") Set rs =CreateObject("ADODB.Recordset")conn.open= "DSN=;UID=;PWD=;DATABASE=" ...
Answered by: ankush on: Jan 29th, 2007

Hi neeraj, Lets suppose that I am entering a value in a textbox and after clicking Ok I want to check that whether that Value has been inserted in that textbox or not then.. what you suggest that shou... Answer Question Select Best Answer

How QTP handles customised object


Asked By: venu | Asked On: Dec 7th, 2006 Answered by: Yahya on: Jan 27th, 2007 5 answers

Hi, I had a similar problems while accessing a menu button which opens Sub menus, Please use the "OnContextMenu" expBrowser("a").page("A").button("mnu").FireEvent "onContextmenu" Hope this help. T...
Answered by: chinna_thavva on: Jan 8th, 2007

This is regrding how to learn the customized objects in QTP and how to use. Actually I have to write scripts to automate our applicaton. Our web application has several features which acan be accessed... Answer Question Select Best Answer

What are add-ins why they are needed ?When should I select active x add-in ?
Asked By: subhashini.lutimath | Asked On: Jan 8th, 2007 Answered by: msusmitha on: Jan 25th, 2007 2 answers

Add in manager is a gate keeper of QTP.whenever u enter in to the QTP it will ask for the the Add inif u specify it will make QTP compatible with that environmentBy default it is having 3 addinsactive...
Answered by: thirumalreddy on: Jan 8th, 2007

add-ins are used to store library files of corresponding applications.if u working on web application u have to select web add insbefore entering into qtp u will get add-in manager dialogbox,in that u... Answer Question Select Best Answer

Hai,can any one explain how to call a winruner script from QTP?Can we execute QTP scripts from test director.
Asked By: sreelu_22 | Asked On: Feb 7th, 2006 Answered by: deeps on: Jan 23rd, 2007 3 answers

Hi ,V can call winrunner scripts from QTP by using RunTest method.TslTest.RunTestEx Testpath,Runminimized,Closeapplication [parameters]Testpath----path of the fileRunminimzed----indicates to open an...
Answered by: asha on: Feb 11th, 2006

Hi Gopal It is given in the help fiel of QTP itselg so through it Answer Question Select Best Answer

How do you test dll files using QTP?

Asked By: thotaravikiran | Asked On: Jun 9th, 2006 Answered by: sri on: Jan 22nd, 2007

2 answers

Hi Vasavi, i didn't get u .please explain clearly. Thanks sri


Answered by: vasavi on: Aug 25th, 2006

What all u need to do is to create an object for that DLL.Suppose take DLL as "Excel application".First find the registry entry in the System Registry files and create an object using CreateObject fun...

How can we use debug viewer in QTP.What is the use of that?


Asked By: LAKSHMINARAYANA | Asked On: Nov 8th, 2006 Answered by: tarunpandey4 on: Jan 22nd, 2007 4 answers

Go to View option click on Debug viewer. This will activate ur debug viewer. Use F11 to debug ur code. Thanks Tarun Pandey
Answered by: anjalireddy on: Dec 29th, 2006

While debugging your script ,using command tab you can execute a line of script to change or set the current value of a variable or object.Further execution of your test will use the changed value Answer Question Select Best Answer

Is it necessary to have QTP installed machine "a" where we intend to run tests from machine "b" having qc or only installing remote agent on machine "a" should be enough?
Asked By: Ashish Kadam | Asked On: Aug 10th, 2006 Answered by: ella on: Jan 21st, 2007 4 answers

are you saying that by installing both VMware client and server you can run test script remotely with fair qulaity with execution bypassing machine specific locks?
Answered by: Pranaya on: Aug 31st, 2006

Hi,If he Map to His mach must have QTP.Example:Manager-- Mach A-- no QTP instEmp1--- Mach B-QTP instEmp2-- Mach C-- QTP instScen 1: If Manager want to Run the script He can Map To ... Answer Question Select Best Answer

Can we use QTP 8.2 with testdirector 7.2


Asked By: ravi | Asked On: Oct 6th, 2006 Answered by: Priya on: Jan 20th, 2007 3 answers

We can use QTP 8.2 with testdirector 8.0. I have used in my last project.
Answered by: cool_2006 on: Nov 28th, 2006

Which version of QTP can be used with Testdirector? Thanks Answer Question Select Best Answer

What is the automation frame work


Asked By: sivareddy2000 | Asked On: Sep 3rd, 2006 Answered by: sri on: Jan 18th, 2007 2 answers

HiFramework is support structure by which other software projects can be organized and developed.Application Framework is set of classes and libraries that can be used for implementing standard ...
Answered by: qtptester on: Sep 7th, 2006

STAF is an Open Source automation framework designed around the idea of reusable components. It is intended to make iteasier to create automated testcases and workloads. STAF can help you increase the... Answer Question Select Best Answer

How long have you used the product?


Asked By: Interview Candidate | Asked On: Jul 30th, 2005 Answered by: saradhiraj on: Jan 17th, 2007 1 answer

HI everybody, It will depend upon the licence of the product. Answer Question Select Best Answer

Why QTP is becoming more popular tool compared to other tools ?


Asked By: subhashini.lutimath | Asked On: Jan 2nd, 2007 Answered by: santoshsunkoji on: Jan 9th, 2007 2 answers

Hi,QTP is becoming more popular tool compared to other tools because QTP supports all type of technologies and it mainly used for functional testing of window based and webbased applications,and it is...
Answered by: Nadeem Sharifuddin on: Jan 2nd, 2007

QTP is a better tool for management , it has Keyword view for managers information and expert view for expert tester.VB Script is used in QTP, which is easy and nearer to normal english language and e... Answer Question Select Best Answer

What is the difference between test object and runtime object?


Asked By: sekhar | Asked On: Jan 2nd, 2007 Answered by: santoshsunkoji on: Jan 9th, 2007 3 answers

HiThe difference between TestObject and RuntimeObject is that the Object which is learnt by Qtp and who's information is maintained in the ObjectRepository is called TestObjectand The RunObject is the...
Answered by: anjalireddy on: Jan 5th, 2007

A test object is an object that QuickTest creates in the test to represent the actual object in your application. QuickTest stores information on the object that will help it identify and check the ob... Answer Question Select Best Answer

How to find load time,how to check font size,& gui application & how to import datasheet pls tell me step by step
Asked By: Interview Candidate | Asked On: Jan 4th, 2007 Answered by: santosh on: Jan 9th, 2007 1 answer

Hi,To import Datasheet in Qtp we have method like Importsheet,Thi smethod is used to import the contents of specified sheet of excel file to the specified sheet of the Data Table.syntax: DataTab... Answer Question Select Best Answer

How to identify an object which is not in the object repository


Asked By: madhavi.agastya | Asked On: Dec 4th, 2006 5 answers

By creating the object description object and read its contents by childitem method

Answered by: Anil Pal on: Jan 8th, 2007

Hi ,you can identify using descriptive programming using the object physical properties.for Eg.Use spy to see what are the properties of the object.msgbox Browser("name:=browsername").page("title:=pag...
Answered by: schittoor on: Dec 20th, 2006

Through Descriptive Programming we can identify the objects without object repository. Thanks srinivasulu.Chittoor Answer Question Select Best Answer

What programing languages can be used as scripting languages


Asked By: Interview Candidate | Asked On: Dec 19th, 2006 Answered by: Vijay Patil on: Jan 4th, 2007 10 answers

We can use VB script and Java Script


Answered by: raghu on: Jan 3rd, 2007

We can use vbscript, jscript in Q.T.P. But we mostly use VBScript Answer Question Select Best Answer

How to use virtual object in my script? I had created one virtual object through using virtual object wizards.It is created successfully.After that I dont know how to use that object in my script.If any...
Asked By: Nupur | Asked On: Mar 17th, 2006 Answered by: Anushka on: Jan 4th, 2007 3 answers

After Creating virtual object , close QTP , again open QTP and then record the object
Answered by: Deepak Kumar on: Oct 2nd, 2006

Use ".webelement()" and specify the peroprties you configured for the virtual object in order to use descriptively...if that is your question. Thanks. Answer Question Select Best Answer

Did you use flatfiles in your projects? at what situation you used it? how can you upload flatfiles?
Asked By: megana | Asked On: Dec 11th, 2006 Answered by: honey on: Jan 4th, 2007 3 answers

Reading flat filesSet fso=createobject("scripting.filesysytemobject")set f=fso.open textfile ("give the path of the nate pad in quotes",1), \ 1-for reading, 2- for writing, 8- append) while...
Answered by: muthukumaar.cs on: Dec 17th, 2006

flat files are simply like a notepad fiel with an extension filename.db these files are created[ application specific ] by an application when an backend like oracle , sqlserve... Answer Question Select Best Answer

What are the different ways of parameterising in QTP ?


Asked By: subhashini.lutimath | Asked On: Jan 2nd, 2007 Answered by: honey on: Jan 4th, 2007 2 answers

There are six different types of parameterization 1. Data Table 2. Environment variabls 3. Random Number 4. Action Table 5. Through flats files 6. Through Excel sheet

Answered by: anjalireddy on: Jan 3rd, 2007

There are four types of parameters: Test, action or component parameters enable you to use values passed from your test or component, or values from other actions in your test. Data Table parameters e... Answer Question Select Best Answer

Dear friends,,,kindly clarify my doubts... 1) how can I save the snapshots in a specified folders using scripting in QTP?Kindly help me out...Regardsindu
Asked By: Indulekha | Asked On: Oct 25th, 2006 Answered by: raghu on: Jan 3rd, 2007 2 answers

You can create a folder in runtime using VBScript and save active screens in that folderSet fol=createobject("scripting.filesystemobject")Set myfol=fol.createfolder("c:raghu") <object hierarch...
Answered by: KodumuruRamesh on: Oct 26th, 2006

Hi We can save the Snapshot in particular folder or location by using CaputureBitmap.Syntax: Object.CaptureBitmap "C:deskt... Answer Question Select Best Answer

How to open notepad without recording and without using system.Util.Run command?
Asked By: Sakthi Sankar | Asked On: Oct 25th, 2006 Answered by: raghuramgupta on: Jan 3rd, 2007 8 answers

You can use the filesystem objectset fso=createobject("scripting.filesystemobject")set myfile=fso.opentextfile("c:raghu.txt",mode,true)mode=1 if we want to open in read modemode=2 if we want to open i...
Answered by: Bharathi on: Dec 22nd, 2006

Write a VBS, to create a instance for the Shell object we can call Notepad Answer Question Select Best Answer

What are difference between QTP 8.2 and QTP 9.0?


Asked By: Nitish Hiremath | Asked On: Sep 20th, 2006 Answered by: Kishor on: Jan 3rd, 2007 4 answers

QTP 8.01 object repository per script.Object Repository can loadad dynamically.Not Supports OR to EXPort/Imporrt in XML FormatSupports only on script can be accessed.No Block CommentingQTP9...
Answered by: Deepak Kumar on: Oct 3rd, 2006

QTP 9.0 is capabale of testing Power Builder and Flash applications unlike its earlier versions. Answer Question Select Best Answer

In QTP, which are the concepts are needed to do functional testing and regression testing?
Asked By: asha | Asked On: Oct 27th, 2006 Answered by: Nadeem Sharifuddin on: Jan 2nd, 2007 2 answers

I am surprised by question. However, QTP is totaly a funcational and regression testing tool, therefore all concepts in QTP are used for functional and regression testing.
Answered by: Kumar L S on: Dec 13th, 2006

Hi Asha,In QTP, Batch Testing Concept is required for doing Regression Testing.In Batch Testing, we pick some test scripts and run it as a whole to check any changes made to the application is causing... Answer Question Select Best Answer

Q. The object synchronization timeout (test > settings > run tab) setting is set to 20,000 milliseconds (20 seconds).Consider the following statement: Javawindow("trade manager").Javadialog("trade entry").Javabutton("enter").Exist...
Asked By: LJ | Asked On: Oct 6th, 2006 Answered by: Nadeem Sharifuddin on: Jan 2nd, 2007 5 answers

QTP will wait for maximum 30 seconds before show error , if button does not exist.
Answered by: muralisqa on: Oct 11th, 2006

Hi 1). If u specify timeout value 10 sec after exit command it waits for 10 seconds only.Eg: JavaWindow("Trade Manager").JavaDialog("Trade Entry").JavaButton("Enter").Exist 102). If the time out ... Answer Question Select Best Answer

What is the repository for objects in QTP?


Asked By: hariprasady | Asked On: Oct 28th, 2006 6 answers

Hai friendsobject repository is a file which contains all the objects of aut. We can add objects to or EIther by recording or by adding particular objects to or using add objects button in or dialogue box.Or are of two types1)peraction2)sharedfor more details mail to mehari_ste@yahoo.Comyourshariprasad
Answered by: Nadeem Sharifuddin on: Jan 2nd, 2007

Hi,Object repository is a physical location for saving/recording "Physical description" of objects with a logical names of objects; which QTP read during recording.During running tests in QTP , Q...
Answered by: sudhakar2068 on: Dec 15th, 2006

Quick Test has two types of object repositories for storing object information: shared object repositories and action object repositories. You can choose which type of object repository you want... Answer Question Select Best Answer

What are the most frequent errors you faced while executing your scripts?
Asked By: Uday Kumar.A | Asked On: Nov 2nd, 2006 Answered by: Nadeem Sharifuddin on: Jan 2nd, 2007 2 answers

- Syncronization errors. - Object identification errors.

Answered by: smartmanoj on: Nov 13th, 2006

The most frequent error is 'Object cannot be found'. becoz, the object description might have been changed in the development environment and hence the description is no longer unique and u might not ...

What is paramerization in QTP and tell me how to parameterize the tests.Could u please explain with an example.
Asked By: brahma | Asked On: Nov 7th, 2006 Answered by: anjalireddy on: Dec 29th, 2006 4 answers

When you test your application, you may want to check how it performs the same operations with multiple sets of data. For example, suppose you want to check how your application responds to ten ...
Answered by: suresh babu muppasani on: Dec 24th, 2006

Parametarization : passing the run time input values with the help of datatable or datesource is called parametarization.Note : parametarization is possible in keyword view only. or by... Answer Question Select Best Answer

What is the difference between table check point and database check point in QTP
Asked By: VAMSI | Asked On: Nov 13th, 2006 Answered by: anjalireddy on: Dec 29th, 2006 2 answers

A table checkpoint checks information within a table on a Application A database checkpoint checks the contents of databases accessed by your web site
Answered by: Hemant Basaiwala on: Nov 14th, 2006

HiThe table checkpoint is used basically to check the contains of webtable where database checkpoint is used to check the cotents of databaseThanks Answer Question Select Best Answer

What is bpt?
Asked By: gopi | Asked On: Dec 15th, 2006 Answered by: anjalireddy on: Dec 29th, 2006 4 answers

BPT is known as busines Process Testing with BPT addin.One can create reusable component.Its very similar to re-usable action in terminology.But it is very user friendly and non-technical ...
Answered by: anjalireddy on: Dec 29th, 2006

BPT is known as business Process Testing with bpt addin.One can create reusable component.It's very similar to re-usable action in terminology.But it is very user friendly and non technical person can... Answer Question Select Best Answer

In my interview, I was asked to "write up of your testing methods including QTP highlights"in a word document and submit. How should I begin and end it. Can anyone tell me the answer or e-mail the document
Asked By: ram | Asked On: Dec 20th, 2006 Answered by: haribabu on: Dec 28th, 2006 2 answers

there r mainly two scripting laguages used in qtp.they are 1. vbscript 2.javascript
Answered by: naveen on: Dec 28th, 2006

testing method r 3 like 1:black box testing Answer Question Select Best Answer

...

Multiple instances of same browser is getting created in shared object repository .Please tell how to avoid this ?Example :original : web_page (view companyfirst instance web_page (view company_2as per...
Asked By: Anand | Asked On: Sep 30th, 2006 Answered by: Ragha on: Dec 22nd, 2006 5 answers

Hi.. If my understanding is right, do the following:Goto Tools>Options>Page/Frame options>Select Different test object descriptions radio button on both and click OK.Sorry, If Iam wrong...
Answered by: Nawab Shaikh on: Dec 8th, 2006

Once you have recorded one instance of the browser.Do change the property for eg URL and customize it to a regular expression it will do eg : if browser url is www.gmail.com/instanceID = 10you may set... Answer Question Select Best Answer

How to use GLobal variables in QTP,what are user-defined envoirnment variables?


Asked By: Ashish Kadam | Asked On: Aug 10th, 2006 Answered by: Bharathi on: Dec 22nd, 2006 2 answers

Either we can write a vbs for global variables or Create environment variables [user defined variabled] which can used across various tests.
Answered by: Ashpaq on: Aug 29th, 2006

User-defined envoirnment variables :User can define its enviornment variables which can be used throughout the script. Generally values like Temporary Path, enviornment variables are stored.It ca... Answer Question Select Best Answer

What is difference between reusable actions and functions in QTP(functionality wise)


Asked By: Ashish Kadam | Asked On: Aug 12th, 2006 Answered by: Bharathi on: Dec 22nd, 2006 3 answers

Reusable actions: If we want to use actions across various tests in QTP, we mark it as a reusable action.Functions are part of the action, if we call a vbs in then we can use the functions in an...
Answered by: Mike Adams on: Sep 6th, 2006

The other big difference is that you cannot pass objects to the re-usable actions when you can to functions. Answer Question Select Best Answer

What are the addins we use for mainframes environment for QTP?How did u write macros?What is the main importance of vb macros in testing environment?
Asked By: megana | Asked On: Oct 31st, 2006 Answered by: Bharathi on: Dec 22nd, 2006 2 answers

RTE addin is used for MainFrame testing

Answered by: Amit Wadhwa on: Nov 14th, 2006

Terminal Emulator is the Add in used mainframes environment for QTP. Answer Question Select Best Answer

What is the difference between table checkpoint and database checkpoint in QTP
Asked By: vamsi.krishna09 | Asked On: Nov 13th, 2006 Answered by: Bharathi on: Dec 22nd, 2006 3 answers

Table checkpoints are used for verifying the data in the HTML tables Database checkpoints are used for verifying the data in the Database
Answered by: smartmanoj on: Nov 14th, 2006

Vamsi,Table checkpoint lets u verify the table values in the front end where as database checkpoint lets u verify the table values in the back end. For database checkpoint u should create the da... Answer Question Select Best Answer

How to report defects using QTP if we do not have quality center server?
Asked By: cool_2006 | Asked On: Nov 27th, 2006 Answered by: Guest on: Dec 20th, 2006 6 answers

See it is possible with out test director connection.After executing the script u got results in the results window, while executing the script u will write a script one test is pass that result will ...
Answered by: msarkar on: Dec 17th, 2006

Can please describe how to do it? Answer Question Select Best Answer

What is the scope of a variable in an action?

Asked By: avs | Asked On: Aug 7th, 2006 Answered by: Kaivalya on: Dec 20th, 2006

3 answers

Hi,1)You can add user-defined environment variables and these you can use any where in your script.2)Create .vbs and define these variables there and then you can use it anywhere in your script.Thanks...
Answered by: avssri on: Aug 11th, 2006

How do u declare global variables. Explain Answer Question Select Best Answer

How do we capture web table and write a script for webtable using QTP 8.2
Asked By: Nitish Hiremath | Asked On: Aug 25th, 2006 Answered by: Kaivalya on: Dec 20th, 2006 2 answers

Hi, Apply standard checkpoint on the webtable. Now this will add statement in QTP. Remove checkpoint function and use any other functions like childitems for that webtable. Thanks and Regards, Kaivalya
Answered by: Uday Kumar. A on: Aug 28th, 2006

We can capture the web table creating standard checkpoint in QTP.This check point will compate the present data in the web table, and the data at run time.To view the individual elements in a web tabl... Answer Question Select Best Answer

Wat is meant by batch testing


Asked By: ramakrishna.p | Asked On: Oct 5th, 2006 7 answers

Group of tests executing sequentially one by one is called batch testing.


Answered by: Nadeem Sharifuddin on: Dec 19th, 2006

batch testing is done during regression testing. when tester runs different test scripts in a sequence while using driver script in QTP.The result of one Script failure or pass , fials or passes the w...
Answered by: prasad on: Oct 28th, 2006

Batch_test means tests the several tests one after the other without inturruption to the tester. when you are running the tests in batch mode , it will compress the user messages, s... Answer Question Select Best Answer

If you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?
Asked By: shubhada | Asked On: Sep 12th, 2006 Answered by: Kaivalya on: Dec 19th, 2006 3 answers

Hi,In this case you can either the output values from drop down boxes in datatable and then use if else construct to validate the data.Another thing is you can put a standard checkpoint on properties ...
Answered by: peter on: Nov 8th, 2006

can u please explain it with example? Answer Question Select Best Answer

How to write the script to check the properties of ok button in 10 different forms?Hello friends,if I have 10 forms where in each form consists of ok button.Now I want to test the properties of ok button...
Asked By: Murali | Asked On: Aug 21st, 2006 Answered by: Kaivalya on: Dec 19th, 2006 4 answers

Hi,If you have added all the OK buttons in object repository then check the heirarchy of all of them. They should be under different forms and all the forms should have different properties. If the fo...
Answered by: akashintouch on: Nov 8th, 2006

why dont u go thru virtual object wizard thru it u can easily recognize each and every object separately even if qtp is treating all the objects as similar Answer Question Select Best Answer

What is the difference between a test and a business component?Is it necessary to use business component while testing an application in the real time?
Asked By: asha | Asked On: Nov 1st, 2006 Answered by: RAJAGOPAL REDDY on: Dec 15th, 2006 1 answer

On the basic idea a test is the combination of steps grouped by test cases.Whether you can run the test (steps) manualy/automated by adding in test lab.In Business prosess testing the combination... Answer Question Select Best Answer

If one string in a sentence dynamically changes, u can define output value summary using text after, text before in text output value. Suppose if more than one strig dynamically changes in a sentence,...
Asked By: smartmanoj | Asked On: Nov 8th, 2006 Answered by: RAJAGOPAL REDDY on: Dec 14th, 2006 1 answer

While putting the out put value assign the out put value to a Enironment variable Ex: Environment("aaaaaaa"), and use that Environment("aaaaaaa") as a global variable across the all actions.Thank... Answer Question Select Best Answer

How did you write macros? What is the main importance of vb macros in testing environment?
Asked By: megana | Asked On: Nov 15th, 2006 Answered by: RAJAGOPAL REDDY on: Dec 14th, 2006 1 answer

Hi,A macro is a series of commands that any tool or application(VB, Editors, Textpad etc) executes automatically. You create a macro by recording it or writing it yourself. When you "play ba... Answer Question Select Best Answer

What is the difference between low level recording and analog recording mode when it will be enabled.Please let me know
Asked By: naveen | Asked On: Nov 10th, 2006 Answered by: Kumar L S on: Dec 13th, 2006 3 answers

Hi Jaya,The main difference between Analog and Low-Level Recording is,Analog Recording enables you to record with respect to Screen Co-ordinates.Low Level Recording enable you to record on any object ...
Answered by: Anil on: Nov 13th, 2006

Analog Recordingenables you to record the exact mouse and keyboardoperations you perform in relation to either the screen or the applicationwindow. In this recording mode, QuickTest records and track... Answer Question Select Best Answer

Hai avs,iam not agree with you, because we can change form shared repository to per action repository viceversa.

Asked By: suresh0249 | Asked On: Aug 16th, 2006 Answered by: vasavi on: Dec 13th, 2006

2 answers

Sorry in the previous message i typed wrongly unintensionally the Last step. If you want to save the Object Repository as Shared save as .tsr else save as .mtr Regards, Vasavi
Answered by: vasavi on: Dec 8th, 2006

Hi,We can change the shared repository to Action based and Action based to Shared by just going to Tools Menu-->Object Repository--->click on Save As,if you want to save it as shared repository ...

How to get the cell value from virtual table?


Asked By: Nitish Hiremath | Asked On: Sep 20th, 2006 Answered by: Gkeerthi on: Dec 12th, 2006 1 answer

We can get the cell data value from the virtual table by the commanddim xx=Browser("broesername").Page("pagename").Getcelldata(row,column)msgbox xWhere row and column are the specified row and column ... Answer Question Select Best Answer

What is a active x control?Can any one brief me about active x controls


Asked By: vamsi.krishna09 | Asked On: Dec 8th, 2006 Answered by: Nagaraju on: Dec 12th, 2006 2 answers

Active X control is a set of rules for how applications should share information.Programmers can develop ActiveX controls in a variety of languages, including C,C++, Visual Basic, and java.
Answered by: Naveen on: Dec 11th, 2006

Active X control is a generic component which can be used for both web based and windows based applications. The 'Print' window in MS Excel, MS Word etc is a good example for Active X control Answer Question Select Best Answer

Maximum synchronizing time out in QTP


Asked By: Kamalapriya | Asked On: Nov 2nd, 2006 Answered by: Ravi Konka on: Dec 12th, 2006 9 answers

Hi All, Good.. but i think this is right one... If Browser("Browser").Page("Page").WebEdit("userName").Exist(999999999) then msgbox "sairam" else msgbox "ravi" end if Ravi Konka Bangalore
Answered by: smartmanoj on: Nov 13th, 2006

hi kodumururamesh,I didnt give false answer. u can check it in this way:* Go to Settings option under Test Menu* Choose Run Tab in the Test Settings dialog box.* The field named 'Object synchron... Answer Question Select Best Answer

Can we perform performance testing by QTP?


Asked By: ramakrishna.p | Asked On: Oct 5th, 2006 6 answers

No we cannot perform performance testing by QTP we perform it by manually,but we can perform load testing by QTP by using multiple users using tool.
Answered by: BK on: Dec 12th, 2006

Hi,According to my knowledge we can make use of QTP for performance testing more effectively in few ways.we can use QTP to generate one instance of our application & by using start & end trans...
Answered by: akashintouch on: Nov 7th, 2006

yes we can do performance testing thru QTP the way is start transaction and end transaction. Navigation: Insert -> Start Transaction Insert -> End Transaction Answer Question Select Best Answer

What is the procedure to use Javascript in QTP?


Asked By: akashintouch | Asked On: Nov 7th, 2006 Answered by: Chinna on: Dec 11th, 2006 2 answers

How we can run this script in QTP using host script engine?
Answered by: Suresh Babu Lingam on: Nov 14th, 2006

Hi, You can run your java script (.js) and vbscript (.vbs) using Windows Script Host engine. Cheers Suresh Babu.L Answer Question Select Best Answer

Explain the concept of object repository & how QTP recognises objects?
Asked By: Debashish_samanta | Asked On: Mar 7th, 2006 Answered by: Santosh16 on: Dec 11th, 2006 3 answers

Hi,This is Santosh, here I am trying to give you complete process of Object identification.....Please go through it. If you got any doubts, let me know i will clear that...Object Identification While ...
Answered by: Pradeep Barre on: Apr 19th, 2006

Object Repository is a central reservoir which contains a collection of object properties & values that QTP creates at the time of recording.These objects stored in object repository called ... Answer Question Select Best Answer

If winrunner and QTP both are functional testing tools from the same company.Why a separate tool QTP came into picture.Enchanments can be implemented in the winrunner and release a new winrunner version.
Asked By: Padmavathi | Asked On: Jun 9th, 2006 Answered by: NATARAJ PATIL on: Dec 11th, 2006 5 answers

hi,becuase winrunner having disadvantages- itsupports only IE and Netscape ( not others)- no detail results-it won't supports dot net applications-it is not user friendly- it won't supports ...
Answered by: venkat on: Oct 27th, 2006

it is happy to have such a good answer in a different angle to know Answer Question Select Best Answer

In QTP for shared repository the extention is .Tsr and per action repository is .Mtr,but iam getting peraction repository is .Tsr and shared repository is .Tsr.Lck and iam getting .Mtr for both repository...
Asked By: koteswarrao | Asked On: Nov 10th, 2005 2 answers

Answer

Answered by: vasavi on: Dec 8th, 2006

Hi,In QTP it is not possible to get for per Action as .tsr extension.If it is per Action it will be saved with .mtr only at any cost and for Shared it will be saved as .tsr.Please verify in the "Objec...
Answered by: kesmad on: Apr 10th, 2006

for both shared and per action file extension is .tsr Answer Question Select Best Answer

What is wiagentie.Dll

Asked By: pankaj | Asked On: Aug 31st, 2006 Answered by: Marianne on: Dec 5th, 2006 1 answer

I just ran a google search on this dll and came across your posting.My organization has QTP in house and I receive an Internet Explorer error when accessing parts of one of our web applications. ... Answer Question Select Best Answer

What is the difference between window command and dialog command


Asked By: sureshbabu.m | Asked On: Nov 16th, 2006 2 answers

Windowbox:1.Menu bars are available.2.Toolbars are available.3.It looks like a parent.4.It is possible to drag the sizes manually.Dialogbox:1.We never get menu bars.2.Tool bars are not available.3.It is a child object.4.It is not possible to drag sizes manully.
Answered by: hari on: Dec 5th, 2006

what is the difference between window command and dialog command window command work with only window in your application, but dialog command should work with window command.ex.window("shopp...
Answered by: Avra on: Nov 21st, 2006

Windows command are generally follow the whole path...I mean if you are going to select a particular menu item then you have to follow the Window("A").WinMenu("B").WinMenu("C")....SelectBut the same i... Answer Question Select Best Answer

How to import data from a spreadsheet to test director?


Asked By: mann | Asked On: Jan 31st, 2006 Answered by: Narender Reddy on: Dec 4th, 2006 5 answers

in Test Director 8.0 there is a option called import data from Excel Sheet from that we can import data to Test Director
Answered by: Pawan on: Feb 8th, 2006

To import data from a spreadsheet to Test Director, you first need to install add-in to Export MS-Excel data to TD, which is available on mercury website.Then from Tools-->Export to Test Direc... Answer Question Select Best Answer

What are the disadvantages of datadriven tests in QTP


Asked By: Geeta | Asked On: Feb 6th, 2006 Answered by: Jayalakshmi on: Dec 3rd, 2006 2 answers

Assume you have created 5 actions and each actions as it own DataTable and now you are creating Main actions and calling the 5 sub actions that you are created, on that time it will throw errors.So no...
Answered by: vidyank on: Feb 23rd, 2006

I think u want to ask what r the advantages of data drive tests? Answer Question Select Best Answer

How do we record a pop up window in QTP


Asked By: anil kumar | Asked On: Dec 15th, 2005 Answered by: Seetha Lakshmi on: Nov 21st, 2006 3 answers

We can use .Exist method to record a pop-up window Example: If window("name"). Exits then Statement(1) ...... statement(n) else statement(1) ...... statement(n) End if
Answered by: sudhakar2068 on: Oct 23rd, 2006

We can record a pop up window in QTP by using Recovery Sceniore manager.we can use Recovery Sceniore manager in the following wayoption--->Tool menu in QTPsudhakar kolla,My email:kollasudhakar2005@... Answer Question Select Best Answer

1)how to capture screen shots of errors/exceptions during runtime?2).In which folder the snapshots are stored in QTP?3).Wat is the use of accessbility checkpoint a).To check access to the files ...
Asked By: muralisqa | Asked On: Oct 11th, 2006 Answered by: Ahalya on: Nov 17th, 2006 4 answers

Hi,Accessability CheckPoints are used to check whether the WebPage is satisfing the W3C (World Wide Web Construction) compliance. This CheckPoint can only be used for wed pages.There is no limitation&...
Answered by: Ashish Nainwal on: Nov 13th, 2006

Hi Ramesh,Can you please elaborate your answer. I have used following piece of VBScript codeDialog("Login").WinEdit("Agent Name:").Set "ashish"Dialog("Login").WinEdit("Password:").SetSecure "455943eb... Answer Question Select Best Answer

What is the difference between window command and dialog command


Asked By: ferozbm | Asked On: Nov 14th, 2006 Answered by: sureshBabu Muppasani on: Nov 16th, 2006 1 answer

WindowBox:It looks like a parent.Menubars are avalable.Toolbars are available.It is possible to drag the size.DialogBox:It looks like a child.Menubars are not avalable.Toolbars are not available.It is... Answer Question Select Best Answer

How to use windows API's in the QTP scripts?What are the advantages of using API'splease provide sample code
Asked By: Ashish Kadam | Asked On: Oct 18th, 2006 Answered by: mahesh on: Nov 15th, 2006 1 answer

first we have to declare the API function by extern.declare plz look into the QTP help for extern Answer Question Select Best Answer

I need some coding help:i have a section of my application that looks up legal case numbers. So for example, I type 04tr000001 as my case number click go and it will open the appropriate case.I have a...
Asked By: waynehazle | Asked On: Apr 3rd, 2006 Answered by: ABC on: Nov 14th, 2006 4 answers

I have a Query. Pls Help meI have a combo Box "Country". Before this combo box the label exist by the name Country : * combo boxNow where '*' exist I want to generate a message.I dont want t...
Answered by: D.V.Narasimha Rao on: Apr 5th, 2006

Hi Murthy,For getting the string in the brackets, there are several logics...one of them is code: Dim st,st1,len,i,jst="India is (developing) country"l1=instr(1,st,"(")l2=instr(1,st,")")st... Answer Question Select Best Answer

Procedure to write and run a vbscript file to test applications using QTP if possible please explain with an example thanks in advance
Asked By: kishore | Asked On: Nov 10th, 2006 Answered by: Suresh Babu Lingam on: Nov 13th, 2006 2 answers

Hi, Sorry the command to run VB script file in QTP is Executefile"Path of the file" Cheers Suresh Babu.L
Answered by: Suresh Babu Lingam on: Nov 13th, 2006

Hi, you can write a seperate VB Script file and save it VIZ xyz.vbs and call it in the QTP.The command to call VB Script in to QTP isExecutablefile"c:Document and settingDesktopxyz.vbs" Above is the p... Answer Question Select Best Answer

Can we call QTP test from another test using scripting.Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in QTP?
Asked By: Manav | Asked On: Jul 19th, 2006 Answered by: Alain on: Nov 12th, 2006 3 answers

This, in effect, should be: RunAction "Action# [TestName]", oneiteration


Answered by: Uday Kumar. A on: Sep 28th, 2006

We can call any action in any test. For this, the called action should be Reusable action or External action.The syntax for calling other actions in a test is:RunAction "ActionName[TestName]"Ex: RunAc... Answer Question Select Best Answer

What do you mean by low level recording in QTP?


Asked By: raju | Asked On: Sep 23rd, 2006 Answered by: Naveen on: Nov 10th, 2006 5 answers

Low-Level Recording - enables you to record on any object in yourapplication, whether or not QuickTest recognizes the specific object or thespecific operation. This mode records at the object level an...
Answered by: akashintouch on: Nov 8th, 2006

I want to correct u SudhakarLow Level Recording is used to recognize any particular object which is not recognized by QTP because sometimes QTP couldnt recognize object via standard recording mod...

In QTP, I have knowledge of actions, parametrization, checkpoints, output values, regular expressions and virtual objects.What are the concepts that I have to study yet, to test any real time project?Can...
Asked By: asha | Asked On: Oct 26th, 2006 Answered by: Naveen on: Nov 10th, 2006 5 answers

Try to learn the Vb scripting functions. Regards Naveen


Answered by: Ravikumar on: Oct 31st, 2006

call to this number i will explain u bye 9849164411 regards ravi Answer Question Select Best Answer

How to pass parameters from one action to another action.


Asked By: Ashok | Asked On: Jul 26th, 2006 Answered by: sai on: Nov 9th, 2006 7 answers

You can add output values to your test. An output value is a value capturedduring the test run and entered in the run-time Data Table for use at anotherpoint in the test run. When you create an ...
Answered by: nandish on: Nov 1st, 2006

Can we pass parameters without using the run time data table....i mean, is there anyway by scripting that we can pass parameters between actions.assuming the variables have been set as output and inpu... Answer Question Select Best Answer

How QTP 8.2 recogonizes or differentiates two "ok" button . Pls tell me the distingushing feature.
Asked By: kumar sundaram | Asked On: Aug 21st, 2006 Answered by: akashintouch on: Nov 8th, 2006 5 answers

Use Virtual Object Wizard for recognizing two similar objects separately Navigation: Tools ---> Virtual Object ---> Virtual Object Manager
Answered by: vani on: Sep 26th, 2006

An ordinal identifier assigns a numerical value to a test object that indicates its order or location relative to other objects with an otherwise identical description (objects that have the same valu... Answer Question Select Best Answer

How can I implement error handling in QTP


Asked By: NaliniKumari | Asked On: Sep 15th, 2006 Answered by: akashintouch on: Nov 8th, 2006 3 answers

I want to add something to the answer of Harish:QTP uses Recovery Scenario Manager to implement error handlingRecover Scenario Manager uses 4 triggers to implement error handling:1. PopUp Trigge...
Answered by: Harish on: Oct 18th, 2006

Assume vbscript is used in creating QTP scripts.Use On Error Resume Next as the error handling statement. Exceptional handling in vbscript is done using the above statement and the same holds good eve... Answer Question Select Best Answer

What is the difference between select cell and actiVATe cell?


Asked By: Nitish Hiremath | Asked On: Sep 20th, 2006 Answered by: akashintouch on: Nov 8th, 2006 2 answers

SelectCell Method: Used to select the specified cell in Virtual Table or Active X TableSyntax: Object.SelectCell Row,Col Object is Acx...
Answered by: Seetha Lakshmi on: Oct 10th, 2006

ActivateCell method activets the specified cell in the virtual table. SelectCell method selects the specified cell in the virtual table. Answer Question Select Best Answer

A colleague has written a block of quicktest pro code to compare two account values. If the values match, the script should simply use the reportevent method to report a pass status for the step. If the...
Asked By: LJ | Asked On: Oct 6th, 2006 Answered by: akashintouch on: Nov 7th, 2006 3 answers

Answer: D Error will be : Expected Then in the if statement


Answered by: Senthil Kumar P on: Oct 11th, 2006

The answer is D syntax error n above statment .The syntax for if condition is If condtions then your statments else your statments endif Answer Question Select Best Answer

What are types of ordinal identifier?


Asked By: anand83 | Asked On: Oct 5th, 2006 Answered by: prabha on: Nov 7th, 2006 2 answers

3 types of ordinal identifiers are available1.Index-it provides the unique identification2.Location:it is used for identify the physical location of the object3.Creation time-it provides how much time...
Answered by: satyendra22 on: Oct 5th, 2006

There are three types of ordinal identifiers that QuickTest can use to identify an object: IndexIndicates the order in which the object appears in the application code relative to other objects with ... Answer Question Select Best Answer

What is virtual object? Plz explain me with an example?


Asked By: Asha | Asked On: Oct 17th, 2006 Answered by: prabha on: Nov 7th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 3 answers

Virtual object is not a real object, we can make the QTP to treat some area of the window as a object.

Some time the QTP is not able recognize advanced technology in our application build.To recognize these objects also forcefully Test engineers are using Virtual object concept.Navigatiion->Tool Men... Answer Question Select Best Answer

What is source control?

Asked By: Sk | Asked On: Oct 26th, 2006 Answered by: KodumuruRamesh on: Nov 6th, 2006 4 answers

hi source ia a property. Source propertry:


Answered by: KodumuruRamesh on: Nov 6th, 2006

&n...

Hi Source is a property.Source Property:Identifies the COM object responsible for causing the script error.Syntax: Object.Source -->it returns a string.Example: Err.Sourcekodum... Answer Question Select Best Answer

How to record objects of windows taskbar


Asked By: Ashish Kadam | Asked On: Oct 28th, 2006 Answered by: KodumuruRamesh on: Nov 6th, 2006 2 answers

Hi The best way to record the windows taskbar is "Analog Recording Mode". Recording enables u to record...
Answered by: KodumuruRamesh on: Nov 6th, 2006

Because the Analog

Hi The best way to record the windows taskbar is "Analog Recording Mode".Because the Analog Recording enables u to record the exact mouse & key board opertions u perform in relation to either the scr... Answer Question Select Best Answer

How will you load few objects in active screen?Assume in a screen I have lots of objects, if all these objects are loaded in activescreen, then my memory and processing speed will be decreased. How to...
Asked By: Uday Kumar. A | Asked On: Nov 1st, 2006 Answered by: KodumuruRamesh on: Nov 6th, 2006 2 answers

hi

Answered by: KodumuruRamesh on: Nov 6th, 2006

Yes,we control the Active Screen.Navigation:

Tools-->Options-->Active Screen tab-->pre...

Hi we can get this by following this procedure Navigation Tools-->Options-->Active Screen(tab)-->press "Custom level" button.A dialogbox will appear - select the option or goto reset to(i.e combo bo... Answer Question Select Best Answer

Application is installed in one drive,how we can execute that application in another drive?
Asked By: sreelatha | Asked On: Nov 1st, 2006 Answered by: Manish Verma on: Nov 2nd, 2006 1 answer

For running an application we use SystemUtil.Run command. syntax : SystemUtil.Run "c:program Filesmozilla Firefoxfirefox.exe",url,"C:","open" Second last command specifies the drive where to run... Answer Question Select Best Answer

What is description of object?

Asked By: prasanna | Asked On: Sep 27th, 2006 Answered by: Seetha lakshmy on: Nov 2nd, 2006 2 answers

The description of the object is known as object physical description ie properties of the object. For example.... HTMLTAG(<INPUT>) is one of the physical property of webedit object.
Answered by: Nawab.Shaikh on: Oct 2nd, 2006

If you don't want to have any thing in your OR and the Scenario is that you have Thousands of Object you can use the Properties of the Object.That is Descrpitive way of Performing Operation on the Obj... Answer Question Select Best Answer

When task gets repeated what do you do. / how to handle dynamic objects,when task is repeated in multiple scripts what u do
Asked By: chicago prince | Asked On: Oct 18th, 2006 Answered by: Seetha lakshmy on: Nov 2nd, 2006 2 answers

Using regular expression we can check only the pattern of the text of dynamic objects. Using "Outputvalue" we can handle all the properties of dynamic objects.
Answered by: naresh on: Oct 23rd, 2006

hi all,well to handle dynamic objects in qtp, u can apply regular expersion. First take the resuable script, parameterize it. now go to the object repository, select the dynamic object . click on cons... Answer Question Select Best Answer

Does the candidate prefer keyword processing or expert processing and why?
Asked By: Renuka | Asked On: Oct 17th, 2006 Answered by: KodumuruRamesh on: Nov 1st, 2006 1 answer

Hi It depends upon candidate.If candidate have some knowledge in VB he can perfer Expert processing.Or If candidate have no knowledge in VB he can perfer Keyword processing.kodumurur... Answer Question Select Best Answer

How do we do parameterization in QTP to insert values from a file?


Asked By: rthatiper | Asked On: Oct 23rd, 2006 Answered by: Ravikumar on: Oct 31st, 2006 3 answers

HI Renuka,we can do parametreization by three ways1.first record the script and goto tools options select datawizard and u see the list there for total possible parametrised statements ara...
Answered by: rthatiper on: Oct 24th, 2006

Thanks for help,but I am new to this QTP. Do we need to write any code for File System Object. Answer Question Select Best Answer

How to check whether 'x' (for closing window or dialog) icon exists for a .Net based application using QTP
Asked By: deepadg | Asked On: Oct 16th, 2006 Answered by: KodumuruRamesh on: Oct 30th, 2006 1 answer

Hi We can check this by using below scriptFirst all of right click on Desktop->select "properties"Script:Dialog("Display Properties").ActivateDialog("Display Properties").CloseIf... Answer Question Select Best Answer

What is QTP environment variable? What is its use?


Asked By: nvs.venkata | Asked On: Oct 27th, 2006 Answered by: Nagendramusham on: Oct 28th, 2006 1 answer

Enviroment variable are 2 types 1.Bulit-in,2.userdefine.use the Enviroment run the application any system... Answer Question Select Best Answer

How much time take for automation one integration test cases using QTP
Asked By: satyasheel | Asked On: Oct 13th, 2006 Answered by: nagaprakash on: Oct 28th, 2006 3 answers

hi ,U can learn QTP easily as it is easier than WR . Go through the QTP help quite and learn the important topics which used in the realtime .
Answered by: Bhamavathi on: Oct 13th, 2006

Hello Friends, I am new to QTP testing tool, can you please guide me how to go about learning this tool effectively. Also can you send me Faq'a with answers.Also I want to know, in the organ... Answer Question Select Best Answer

What are the coding standards for automation using QTP ?


Asked By: vaishalisamant | Asked On: Mar 3rd, 2006 Answered by: cynthia speelman on: Oct 27th, 2006 5 answers

You mentioned a link for naming standards for QTP, but did not include the link. Can you please send it to me?
Answered by: chvenu on: Mar 31st, 2006

At top of the script, Option Explicit should be there,because if you forget the any variable declaration it forcebuly declare the variable by you.

What is virtual object in QTP? Explain me with an example?


Asked By: asha | Asked On: Oct 17th, 2006 Answered by: asha on: Oct 26th, 2006 3 answers

Thanks a lot.

Answered by: sudhakar2068 on: Oct 23rd, 2006

Some time the QTP is not able recognize advanced technology in our application build.To recognize these objects also forcefully Test engineers are using Virtual object concept.Navigatiion->Tool Men... Answer Question Select Best Answer

What is terminal emulator? What is it used for in QTP? What is its purpose?
Asked By: priya | Asked On: Sep 28th, 2006 Answered by: KodumuruRamesh on: Oct 26th, 2006 2 answers

Hi

Answered by: ramkumary on: Sep 29th, 2006

Terminal emulator, terminal application, term, or tty for s...

TE in used to record the Mainframe systems objects. before that you have to purchase and install the TE Addins from Mercury. Warm Regards Ram ramyoganathan@aim.com Answer Question Select Best Answer

How to get the consolidated test result in QTP


Asked By: Anitha | Asked On: Oct 17th, 2006 Answered by: KodumuruRamesh on: Oct 24th, 2006 1 answer

Hi, Consolidated Test ResultsThis is the one of way to get the consolidated test results (1)Create a new test & generate the script and make it as reusable action & save the t... Answer Question Select Best Answer

What is sceinario ,how many types are available with examples explain to me I have recorded a signature in context sensitive mode but how to we over come on it
Asked By: sudheer | Asked On: Oct 10th, 2006 Answered by: KodumuruRamesh on: Oct 24th, 2006 3 answers

hi,

Answered by: appu78 on: Oct 11th, 2006

For recording the signature best option is Analog Recording.Analog Recording:

...

hey swarna,i want to correct u regadg the types of recording modes in QTP:standard recording mode,lowlevel recording mode,analog recording mode.For signatures in QTP we use analog recording mode.thank... Answer Question Select Best Answer

What is database check point.


Asked By: Lija | Asked On: Jul 11th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 4 answers

Back end testing is also a part of functionality testing. QTP allows you to automate Back end testing using data base check point.In this Back end testing test engineers are vaildating the impact of f...
Answered by: Guest on: Oct 23rd, 2006

Back end testing is also a part of functionality testing . QTP allows you to automate Back end testing using data base checkpoint. In the Back testingtest engineers are vaildating the impact of front ... Answer Question Select Best Answer

How many number of actions possible in QTP?


Asked By: chvenu | Asked On: Mar 31st, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 9 answers

There are 3 types of actions available in QTP Reuseable non-reuseable extern Action sudhakar kolla, My email:kollasudhakar2005@yahoo.co.in. My number:09819859346
Answered by: SREEDHAR on: May 9th, 2006

There are three types of actions are present in qtp .They are1 Non reusable action2 reusable action3 external actionthere is a possibilty to have n number of action in qtp strict there in no limitatio... Answer Question Select Best Answer

What are different execution modes available in QTP & explain them.
Asked By: Rohit | Asked On: Jun 17th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 4 answers

Run modes in QTPVerify mode (Default) - here when the script is run, it compares the expected result with the actual result and gives the test reuslt as Pass/Fail.Update mode - here it updates the exp...
Answered by: swetha on: Aug 4th, 2006

Run modes in QTP: Verify mode (Default) - here when the script is run, it compares the expected result with the actual result and gives the test reuslt as Pass/Fail. Update mode - here it updates th... Answer Question Select Best Answer

What is action split and the purpose of using this in QTP? Also please explain calling an action. How is this done and why is it done?
Asked By: swetha | Asked On: Aug 4th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 2 answers

split action is mainly used for re-usability of the application.action split is nothing but spliting a action in to two parts separatelly.on calling an action go 2 call action properties and select ca...
Answered by: suresh0249 on: Aug 9th, 2006

split action is mainly used for re-usability of the application.action split is nothing but spliting a action in to two parts saperatelly.on calling an action go 2 call action properties and select ca... Answer Question Select Best Answer

Explain in detail the concept of synchronization.


Asked By: swetha | Asked On: Aug 4th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 4 answers

Synchronization point means waiting property the back ground application performs untill the execution of the test script.synchronization point work's only while you recording a...
Answered by: vasanthan on: Aug 23rd, 2006

synchronization is nothing but execute the script in a sequenze Answer Question Select Best Answer

In what instancesdo we use virtual object wizard?


Asked By: charm | Asked On: Mar 17th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 3 answers

when QTP fails to identify the object(non recognizable object)we use Virtual Object wizard.Virtual Object wizard record objects x and y co-ordinates and give it logical name.so we Test engineers...
Answered by: pratibha on: Mar 29th, 2006

when QTP fails to identify the object(non standerd object)we use Virtual Object wizrd.Virtual Object wizard record objects x and y co-ordinates and give it logical name.so we can refer that logical ... Answer Question Select Best Answer

What are envirnment variables in QTP?


Asked By: sonu | Asked On: Apr 1st, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 8 answers

Builtin, User-defined internal and User-defined these are the 3 types of environment var in qtp. environment var action like global variables.sudhakar kolla,My email:kollasudhakar200...
Answered by: rajesh on: Jun 16th, 2006

.ini stands for Initialization/Configuration File ,Various programs use this extension; Take clues from the location of the file as a possible pointer to exactly which program is producing ... Answer Question Select Best Answer

Can we change name of checkpoint? If yes how?


Asked By: kiran | Asked On: Mar 26th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 3 answers

In Current version 9(just released) it is possible.but not in previous versions is not possible. sudhakar kolla, My email:kollasudhakar2005@yahoo.co.in. My number:09819859346
Answered by: Madhu on: Apr 13th, 2006

In version 9(just released) it is possible.but not in previous versions Answer Question Select Best Answer

What is meant by source control?


Asked By: Zaheer | Asked On: Apr 26th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 2 answers

Reducing the amount of materials entering the waste stream from a specific source. Action to prevent pollution at its origin. sudhakar kolla, My email:kollasudhakar2005@yahoo.co.in. My number:09819859346
Answered by: amar_win on: Apr 28th, 2006

the practice of tracking changes made to code is called source Control Familiar Source control Tools CVS, VSS, ClearCase etc Answer Question Select Best Answer

What is descriptive programming?


Asked By: Raj | Asked On: Apr 24th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 3 answers

To do any thing with qtp we need OR. But if we use Descriptive program we can work with the objects which are not there in Object Repository.If we use descriptive program we can reduce the size of obj...
Answered by: madhu on: Apr 29th, 2006

.Doesn't use Object Repository.We need to write properties and values that describes the object within the statement or can assign to a description object and that object name in statemnet.I... Answer Question Select Best Answer

What are limitation of QTP?


Asked By: rupesh | Asked On: May 3rd, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 3 answers

Should know VBScript in order to program at all. Every one able to program in VBScript in order to implement the real advance testing tasks and to handle dynamic situations. sudhakar kolla,...
Answered by: Leena Saraf on: May 16th, 2006

Must know VBScript in order to program at all. Must be able to program in VBScript in order to implement the real advance testing tasks and to handle dynamic situations. Answer Question Select Best Answer

What is the best way to do regression testing using QTP.


Asked By: Krish | Asked On: May 11th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 3 answers

Regression testing is not tool dependent. Firstly there should a regression test stratergy, based on this stratergy you can group functional test cases to form regression test suites. T...
Answered by: Venkat on: May 16th, 2006

HiFirst shortlist all the test steps/cases which need to be automated.Search for the tool which best fits for your requirement(WR,QTP,QARun,Roboto)Have a best practices/strategy before startingStart a... Answer Question Select Best Answer

What is the use functions in QTP. Public, priVATe


Asked By: rekha | Asked On: May 10th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 3 answers

Public : In any testing tool not only the QTP if we declare as a Public then we can use that variable to any function within the scriptPrivate : we can use that variable within the function ...

Answered by: Leena Saraf on: May 16th, 2006

Functions are basically to perform specific task..suppose you have large segment of code and you need to use it in recursive manner,then functions might be useful. Answer Question Select Best Answer

Can we call a QTP script from a main script without making it reusable?
Asked By: saket kumar | Asked On: May 23rd, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 5 answers

if a script is not reusable then u can call it in other script by using call to copy action. sudhakar kolla, My email:kollasudhakar2005@yahoo.co.in. My number:09819859346
Answered by: Guest on: Jul 21st, 2006

Yes. We can call but the thing is main script and call script both will be the same test. This are treated as Non-Resualble Actions. Do you clarify or not. you need more information about this contact... Answer Question Select Best Answer

Difference between text and textarea checkpoints in QTP


Asked By: shyam | Asked On: Jun 20th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 5 answers

Text Check Point only validates the values of specified object.Text area searches the entire length of the selected area and validates the screen value. It's a good...
Answered by: kallol raha on: Jul 19th, 2006

Text checkpoint both can check the whole string which u can do by using standard checkpoint. difference is that if u want to validate that a particular string has to come within a defined area then us... Answer Question Select Best Answer

How can I insert database checkpoint in QTP-6.5


Asked By: prabhakar_palem | Asked On: Jun 19th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 3 answers

Go to insert menu select check point , select database checkpoint, enter dsn name ands sql query and click ok sudhakar kolla, My email:kollasudhakar2005@yahoo.co.in. My number:09819859346
Answered by: uday on: Sep 21st, 2006

Go to insert menu select check point , select database checkpoint, enter dsn name ands sql query and click ok

What are advantages and disadvantages between internet explorer and netscape navigator (or) internet explorer vs netscape navigator
Asked By: gudlaashok | Asked On: Jun 22nd, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 2 answers

These two major browsers are coming closer to each other regarding the DHTML effects possible towards newer versions. However you will need to remember that IE is more flexible than Netscape and due t...
Answered by: Ravikanth Putta on: Jul 12th, 2006

These two major browsers are coming closer to each other regarding the DHTML effects possible towards newer versions. However you will need to remember that IE is more flexible than Netscape and due t... Answer Question Select Best Answer

How can we insert text check point and bit map check point ? If provide example script, it is greatefull
Asked By: Magadala | Asked On: Jul 13th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 4 answers

To insert Text Check point we have two ways 1.While Recording 2.After Recording1.While recording Insert->Checkpoint->Text Checkpoint is activatedFor Example lets work on mercury tours site...
Answered by: Rajiv on: Jul 31st, 2006

Text check point is inserted to check static data in the page but for checking dynamic data like Date we can't use Text Check point. Answer Question Select Best Answer

What is difference between GLobal sheet anh action sheet?


Asked By: chicken | Asked On: Jul 26th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 4 answers

Action sheet datatable parameters are for that particular action only & can't create for shared object repository. where global sheet parameters we can use in any action.For each row in action she...
Answered by: suri on: Jul 30th, 2006

A Test is comprised of 1 or more actions. The Global sheet can be accessed by all the Actions in the Test. An action sheet is local to the particular action. The action sheet is named after the name o... Answer Question Select Best Answer

How to connect the database through QTP


Asked By: kotesh | Asked On: Jul 22nd, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 7 answers

Here is the sample code to access the resultant values in a DB:connStr="driver=sql server;server=ServerName;database=DBName;uid=sa;pwd=sa"sqlQry="select stdname from studentdetails"Dim cmdObj,rsObjSet...
Answered by: Uday Kumar. A on: Sep 28th, 2006

Here is the sample code to access the resultant values in a DB:connStr="driver=sql server;server=ServerName;database=DBName;uid=sa;pwd=sa"sqlQry="select stdname from studentdetails"Dim cmdObj,rsO... Answer Question Select Best Answer

What are the types of exception handling available in QTP and what is the difference between winrunner and QTP exception handling
Asked By: jagan mohan rao | Asked On: Aug 4th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 3 answers

There are four types pop up exception test run error object state application crash sudhakar kolla, My email:kollasudhakar2005@yahoo.co.in. My number:09819859346
Answered by: Srinivasan on: Aug 17th, 2006

Winrunner does not have "Application Crash" whereas QTP has this option in Recovery scenario manager. Answer Question Select Best Answer

What is meant by source control?


Asked By: shubhada | Asked On: Sep 14th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 1 answer

Revision control is an aspect of documentation control wherein changes to documents are identified by incrementing an associated number or letter code, termed the "revision level", or simply "revision... Answer Question Select Best Answer

What is component...??

Asked By: Rajat | Asked On: Sep 22nd, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 1 answer

A component is a retrievable object associated with a package or module. Examples of module components are Source, Fullsource (source plus dependencies), Documentation, and Example. Available componen... Answer Question Select Best Answer

What is the repository for objects in QTP


Asked By: Guest | Asked On: Oct 19th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 2 answers

Test object is created by QTP in object Repository to identity runtime object during execution time.Object Repository types: (1)Peraction: &n...
Answered by: KodumuruRamesh on: Oct 20th, 2006

Hi Test object is created by QTP in object Repository to identity runtime object during execution time.Object Repository types: (1)Peraction: ... Answer Question Select Best Answer

What are the lOOPS used in quick test professional ?


Asked By: raj | Asked On: Dec 22nd, 2005 Answered by: sudhakar2068 on: Oct 23rd, 2006 4 answers

The loops in Quick Test Professional are the following like as Win Runner.They are the followingIf condition:If condition----------------------------end IfIf else:If condition then-----------else If c...
Answered by: ujwal kandimalla on: Aug 7th, 2006

see we can use syntices in Vb script for loops ex: for loop for i=1 to 10 then end for ok so...on u can have Answer Question Select Best Answer

What is analog recording,what is the difference between analog recording and low level recording
Asked By: Lija | Asked On: Jul 12th, 2006 Answered by: sudhakar2068 on: Oct 23rd, 2006 4 answers

In this Mode QTP is recording mouse pointer movement with respective desktop co-ordinates. The difference between Analog and low level recording selection is only appicable after starting Record...
Answered by: swetha on: Aug 3rd, 2006

Nomal rec mode (by default rec mode is normal)- it captures objects in GUI format and object repository is created with object and its properties stored during recoding time. Mouse movements are not c...

Answer Question Select Best Answer

Can u explain QTP arcitecture,what are the terms in QTP architecture?


Asked By: ramakrishna.p | Asked On: Oct 5th, 2006 Answered by: KodumuruRamesh on: Oct 23rd, 2006 1 answer

Hi, QTP Arcitecture: QTP architecture contains 3 terms namely (1)Linear driven test (2)Modular driven test (3)Keyword driven testLinear driven test: ... Answer Question Select Best Answer

After importing external .Xls datasheet in to datatable of QTP, how to set no of iterations run for all row in the datatable? I mean we dot know how many rows are existed before importing the .Xls sheet...
Asked By: Venkat | Asked On: Jun 8th, 2006 Answered by: Adil Anees on: Oct 22nd, 2006 4 answers

HiI use external xls file to import the data into local sheet.It gets Imported sub sequently.When you say run from "AllRows" or "Run from 1- 5" It holds only the first row.and runs only the first iter...
Answered by: Yogi on: Aug 30th, 2006

hi,Just right click on actionIn keyword viewafter the .xls. then select action Call properties, a dilouge box will open ,there u can select One iteration ,all rows or specifying the row nos. okEn... Answer Question Select Best Answer

Is it possible to change from shared object repository to per action repository or vice verse. If yes then how
Asked By: Ashok | Asked On: Aug 7th, 2006 Answered by: Viral Sheth on: Oct 20th, 2006 5 answers

You can change the object repository type for the test only if the test doesnot include any steps or any objects and the test does not call any externalactions.Once objects or steps have been added to...
Answered by: Kalyani on: Sep 19th, 2006

Guys i think it is possible to change Peraction repository to shared ....Open the per-action repository file in that click export button it will ask the location to save.After saving that file open ne... Answer Question Select Best Answer

How to check text of a tool tip for .Net based application in the QTP.
Asked By: deepadg | Asked On: Oct 13th, 2006 Answered by: Ravindra on: Oct 20th, 2006 3 answers

Hi all Please send some questions and answers on Qtp as early as possible. with regards Ravindra
Answered by: Reshma on: Oct 18th, 2006

Hi, Please explain the code above in breif..I did not get code. Regards, Reshma. Answer Question Select Best Answer

How can I add an action (external action) programmatically?


Asked By: Ashvini | Asked On: Oct 18th, 2006 1 answer

Answered by: vinodbhaskar.m on: Oct 20th, 2006

I think u can call an external call by using the " Run Action ActionName ,"IterativeQuantity" function Answer Question Select Best Answer

How can you delete the results file (xml)QTP


Asked By: Priya | Asked On: Oct 11th, 2006 Answered by: Priya on: Oct 19th, 2006 2 answers

Thanks Murali..thats really help full

Answered by: muralisqa on: Oct 12th, 2006

Hi Priya,we can delete the result xml files using TestResults Deletion tool .It is available in startmenu->programs-->Quicktestprofessional-->tools-->Testresultsdeletion toolWe can delete... Answer Question Select Best Answer

Question 1: does the candidate prefer keyword processing or expert processing and why?Question 2. What problems have they encountered with the product? What areas are most difficult for them to implement.Question...
Asked By: rthatiper | Asked On: Oct 18th, 2006 Answered by: KodumuruRamesh on: Oct 19th, 2006 1 answer

Hi, QTP contains Keyword view & Expert view.The name it self indicates meaning for it.coming to description on it.Keyword view: ... Answer Question Select Best Answer

How can we convert the QTP test result and snaphots into a pdf file .
Asked By: Anitha | Asked On: Oct 17th, 2006 Answered by: KodumuruRamesh on: Oct 18th, 2006 1 answer

hi Yes, we can save the test results & snapshots into PDF format.like thisNavigation:(1)record/Edit/Debug/run(2)go to the results page or window right click on second pane,a pop m... Answer Question Select Best Answer

Q. Consider the following list:i. Tests that will be executed for each build of an applicationii. Emergency tests that must be tested immediatelyiii. Tests that use many data values, but perform the same...
Asked By: LJ | Asked On: Oct 6th, 2006 Answered by: Ashish on: Oct 12th, 2006 5 answers

I. Tests that will be executed for each build of an applicationII. Emergency tests that must be tested immediatelyIII. Tests that use many data values, but perform the same actionsIV. Tests that verif...
Answered by: Deepak on: Oct 11th, 2006

1 Question = Answer = E 2. Question = Answer = A Answer Question Select Best Answer

How to do link testing in a web application using QTP?


Asked By: archanam | Asked On: Sep 20th, 2006 Answered by: Uday Kumar. A on: Oct 12th, 2006 7 answers

You can check statistical information about your Web pages by adding page checkpoints to your test or component. These checkpoints check the links and the sources of the images on a Web page. You can ...
Answered by: priya on: Oct 11th, 2006

Can u pls tell me (describe) how can we keep page check points in qtp ? thanks, regards, priya

What is the use of peoplesoft add-in in QTP?


Asked By: RajatT | Asked On: Sep 26th, 2006 Answered by: muralisqa on: Oct 12th, 2006 1 answer

Hi Using people soft addin we can test peoplesoft applications Answer Question Select Best Answer

For clicking on calendar dates from calendAR,how do we capture it in object repository and write scripts?
Asked By: Nitish Hiremath | Asked On: Aug 25th, 2006 Answered by: Deepak KN on: Oct 11th, 2006 2 answers

If Date field is editable in you application, try this below code to select date, insted of clicking on calender iconwe can directly insert date in to date fieldDim pStdtpStdt = "04/19/2006"Set Start_...
Answered by: akj on: Sep 19th, 2006

Lets suppose u want to click/capture calender dates e.g 14 sep 2006 from calender from any applicationFirst u have to add required date in object repository manually and then date would be added as li... Answer Question Select Best Answer

Can we use QTP(8.2 or 9.0) with test director?


Asked By: satya | Asked On: Oct 5th, 2006 Answered by: cjayadas on: Oct 10th, 2006 6 answers

Ofcourse.. you can very well use QTP 8.2 with the Test Director with the help of Quality Center.
Answered by: bharathp on: Oct 7th, 2006

HI The latest Version of QTP is 9.0 we can use Test Director in in QTP 8.2,9.0 versions by connecting in to the quality centre Here Quality Centre nothing but Test Director Thanks&Regards, Bharath.P Answer Question Select Best Answer

What is the differance between resuable action & library file?


Asked By: Interview Candidate | Asked On: Aug 28th, 2006 Answered by: umashankar on: Oct 10th, 2006 2 answers

Hi, Can anyone tell me when we go for QTP and when we go for winrunner. Umashankar.
Answered by: Ashpaq on: Aug 29th, 2006

Hi,Reusable Action :-Reusable Action can be called from another action in QTP script.Reusable action contains reused action e.g login to portal.Library File:-Library file contains function which can b... Answer Question Select Best Answer

Q. Given the tasks below (listed in random order): i. recognize the object type ("class")ii. use a pre-defined set of properties (mandatory properties) to create a unique object descriptioniii. use assistive...
Asked By: LJ | Asked On: Oct 6th, 2006 Answered by: LJ on: Oct 9th, 2006 2 answers

Thank you Uday

Answered by: Uday Kumar. A on: Oct 8th, 2006

The answer for the above question is E.Here is my notes for the above question:QuickTest uses the below method when it learns objects during the recording process.First, it "looks" at the object on wh... Answer Question Select Best Answer

Hi, I am having trouble recording in QTP. I am testing webbased product, and this happens especially when I try to cancel a window or something on the browser, everything I record after that doesnt get...
Asked By: femon | Asked On: Oct 4th, 2006 Answered by: femon on: Oct 6th, 2006 2 answers

Thanks. I think it worked.

Answered by: satyendra22 on: Oct 5th, 2006

pls clear the scenario?you try with low level recordingthanx satya Answer Question Select Best Answer

Explain about smart identification with a simple example


Asked By: avssri | Asked On: Aug 7th, 2006 Answered by: suresh on: Oct 5th, 2006 4 answers

Hi swetha, U said that if objects r not identified by qtp then we hav to use smart card identification.one doubt.is it like virtual object
Answered by: venki on: Aug 21st, 2006

Hi Swetha Thanks for good ans but one thing Wen u r select Smart idetification that time its show Base filter properities and Optional Filter Properties Answer Question Select Best Answer

What is the difference between index and location in object identification in QTP
Asked By: Ranganadh | Asked On: Oct 4th, 2006 Answered by: satyendra22 on: Oct 5th, 2006 2 answers

In addition to recording the mandatory and assistive properties specified in the Object Identification dialog box, QuickTest can also record a backup ordinal identifier for each test object. The ordin...
Answered by: Uday Kumar. A on: Oct 5th, 2006

If QTP does not identify the object by mandatory properties and assistive properties, then it will go for selectors. Here the selectors are two types:1.Index and 2.Location.By using Index, QTP addes t... Answer Question Select Best Answer

What is the use of "operation" which comes under "insert" menu of QTP 9.0,how to enable it
Asked By: neha | Asked On: Sep 27th, 2006 Answered by: sandeep on: Oct 3rd, 2006 1 answer

"qtp->insert->operation" is used in BPT(business process testing).For this you have to connect to the QualityCenter server.Go to File->Quality Center Connection->give the QC server IP addr... Answer Question Select Best Answer

What is the use of descriptive programming?


Asked By: shubhada | Asked On: Sep 12th, 2006 Answered by: Deepak Kumar on: Oct 3rd, 2006 2 answers

The advantages:1. One can start creating the scripts early in the Sofware Development even when the Application GUI is not avaliable for recording and play.2. It is an ideal approach if the applicatio...
Answered by: Sharath Goud on: Sep 14th, 2006

Main advantages of Descriptive programming are :-1)There is no need of Object Repository to store objects.2)Object properties can be given with in the Script and we can see properties there ... Answer Question Select Best Answer

How do I use text checkpoint in QTP as everytime I use this checkpoint in the excel sheet and highlight the text I want to check, the results will always display fail even tough the string can be found...
Asked By: Margaret | Asked On: May 18th, 2006 Answered by: Deepak Kumar on: Oct 2nd, 2006 2 answers

Instead try usign the Text Area Checkpoint, if that might be applicable in your case. Thanks.
Answered by: bharathi9d on: Jun 29th, 2006

Using GetROProperty get text from the object store it in variable and get text from the excel store it in one variable. Use Trim method to those variables and try to compare those two variables.... Answer Question Select Best Answer

Hi,i am new to QTP, please tell me how to invoke an application in QTP.Forexample:in winrunner we use syntax's like "web_url_valid, web_browser_invoke", like the same way I want in QTP.Else please let...
Asked By: ganesh | Asked On: Nov 17th, 2005 3 answers

Answer?

Answered by: Deepak Kumar on: Sep 30th, 2006

Use "InvokeApplication" or "CreateObject" methods for a different approach.


Answered by: RAJIVKUMARNANDVANI on: Feb 16th, 2006

U can use this way SystemUtil.Run"application_path" example : SystemUtil.Run"http://www.geekinterview.com/question_details/18308/reply" SystemUtil.Run"C:\Program Files\1-Click Answers\answers.exe" Answer Question Select Best Answer

How can an object from a per action repository be called to another per action repository?
Asked By: chaw | Asked On: Nov 21st, 2005 Answered by: Deepak Kumar on: Sep 30th, 2006 2 answers

Alternatively, one can merge the ORs using the OR Merge Utility after installing the QTP Plus.
Answered by: krishnaamandali on: Jan 20th, 2006

It is possible through shared only Karuna Das. Kurasala Answer Question Select Best Answer

Generally what object repository mode is preferred?Generally in real time projects we use shared object repository file.
Asked By: hariprasad | Asked On: Sep 23rd, 2006 Answered by: ramkumary on: Sep 29th, 2006 2 answers

Agarwal You are correct. But based on the performance wise we should not suggest the shared object reposidary. Because if you recored all the object from login to logout , when you use shared it will ...
Answered by: Nik_Agarwal on: Sep 27th, 2006

Saving objects in "Shared Object Repository" is the preffered way for the experienced tester, because if there is a change in any object of the application,you need to change the object description at... Answer Question Select Best Answer

How to fetch test data from database by using QTP?


Asked By: vijaykumary | Asked On: Sep 18th, 2005 2 answers

In order to fetch test data from database we have to create a ADObdb connection object to connect with data base. The syntax is .... >createobject("ADOdb.Connection").
Answered by: ramkumary on: Sep 29th, 2006

Hai Const adOpenStatic = 3Const adLockOptimistic = 3Const adUseClient = 3Set objCon=CreateObject("ADODB.Connection") Set objRec=CreateObject("ADODB.Recordset")objCon.Open "DRIVER={Oracle in OraHome92}...
Answered by: annjose on: Dec 26th, 2005

right click ont he database table. sheet->import->database create the connection write the sql ann jose Answer Question Select Best Answer

How to call a funtion present in dll file in QTP script.


Asked By: Ashok | Asked On: Jul 9th, 2006 Answered by: Uday Kumar. A on: Sep 28th, 2006 3 answers

We can call the functions in .vbs file by using ExecuteFile method. Here is the example: Assume in my .vbs file i have function called Printing, thenpublic function Printing() msgbox("Hello Uday"...
Answered by: prasanna82 on: Jul 20th, 2006

Hi mahesh, Could you please tell me how can we execute this step in qtp Answer Question Select Best Answer

How to get the column count and column name from resultset in database connction program?
Asked By: shashi | Asked On: Jun 28th, 2006 Answered by: Uday Kumar. A on: Sep 27th, 2006 2 answers

Here is the solution to find the number of columns in record set and column headings:conStr="driver=sql server;server=DT-CORP-ASTR-19;database=test;uid=sa;pwd=sa;"qryStr="select * from empTable"Set co...
Answered by: T.Gopi Chand on: Jul 20th, 2006

i am giveing examples so that u can under sand easily.1).example for recordcountSet dbconn=createobject("adodb.connection")dbconn.open "dsn=xxx"Set objRecordset=createobject("ADODB.Recordset") &n...

Answer Question Select Best Answer

What is the pre-requisites for XML check point and database check point in QTP,and what should checked, plz need clear description with an example
Asked By: rajkumar | Asked On: Mar 17th, 2006 Answered by: siva koty on: Sep 26th, 2006 1 answer

data must be present in both of them Answer Question Select Best Answer

How can we validate any date format like todays date(02/15/06)?


Asked By: charu | Asked On: Feb 15th, 2006 Answered by: srinivas on: Sep 22nd, 2006 4 answers

m=month(date)msgbox m

Answered by: sunilcg on: May 4th, 2006

I think this would help U people MyArray = Split(now," " , -1, 1) msgbox MyArray(0) Answer Question Select Best Answer

Generally what object repository mode is preferred?


Asked By: archana | Asked On: Sep 18th, 2006 Answered by: Neeraj sharma on: Sep 22nd, 2006 4 answers

Generally there are two types of object repositeries used in qtp 1) Shared object 2) Preaction object
Answered by: Jitesh on: Sep 22nd, 2006

Hi, Generally Shared Object Reporsitory is preferred, because it is same as Global GUI map in Win Runner.., its helpful for professional env Jitesh

Advantage of using mercury quality center over test director


Asked By: RamP | Asked On: Jun 5th, 2006 Answered by: Jitesh on: Sep 22nd, 2006 1 answer

Subject TestDirector 8.0 Quality Center 8.0 Technology C++IISCOMBack-end is Java basedRuns on application serversOperating Systems Microsoft Windows Microsoft WindowsRed Hat LinuxSolarisClustering Sin... Answer Question Select Best Answer

Can we mask a code in .Vbs file so that it is not viewable to others?


Asked By: alok | Asked On: Jul 12th, 2006 Answered by: Uday Kiran on: Sep 21st, 2006 3 answers

We can mask the code by locking ie stor object repositary file ie .tsr in some other path
Answered by: Mike Adams on: Sep 6th, 2006

If you want to mask all the data in a vbs file, you want to use the script encoder.example usage screnc origfile.vbs encodefile.vbs Answer Question Select Best Answer

We are trying to avoid that anybody see our script after we wrote it. Did anybody know how to do this? Is there any tool/way to read an .Exe or .Dll so we can make our script then compile it and then include...
Asked By: Rodolfo | Asked On: Jun 19th, 2006 Answered by: Uday Kiran on: Sep 21st, 2006 2 answers

it is easy remove object repository file i.e .tsr from the folder where u are saving the script so that when ever user open u'r code in Qtp it will say that code is locked
Answered by: sreedhar on: Jun 20th, 2006

Hi this is a new feature which is present in qtp 9.0 silent runner .if we have a good knowledge of qtp we can run the qtp as silent in 8.2 also Answer Question Select Best Answer

How to add run-time parameter to a datasheet?


Asked By: shubhada | Asked On: Sep 12th, 2006 Answered by: swarna on: Sep 20th, 2006 1 answer

go to step-action properties-parameter in inputparameters addgive the name of the parameter and in default value give the path of the excel sheet ex D:swarnadatasheet.xls likei will explain this using... Answer Question Select Best Answer

How to do regression testing using QTP


Asked By: sravan kumar | Asked On: Sep 10th, 2006 Answered by: hariprasad on: Sep 18th, 2006 1 answer

First we need to parameterize the test data and then we need to execute already existing scripts on modifies Build Answer Question Select Best Answer

How good is QTP for testing siebel applications?Whether QTP recognizes siebel objects or something else is needed?
Asked By: omprakr | Asked On: May 18th, 2006 Answered by: Akashhp on: Sep 18th, 2006 3 answers

Hi, How do identify test cases for one the entity in siebel application
Answered by: Dhayanethi on: Jul 11th, 2006

Yes! QTP supports siebel Application. It is the best Automated tool which supports SIEBEL Application. For more details pl's send ur queries to me... Answer Question Select Best Answer

How to load the *.Vbs or test generating script in a new machine?


Asked By: shubhada | Asked On: Sep 12th, 2006 Answered by: srikanth N. on: Sep 16th, 2006 1 answer

!! very simple !! Add the line to your script ExecuteFile "Path of the *.Vbs File" Say ExecuteFile "D:VBScript.vbs" Answer Question Select Best Answer

How can I execute PL/SQL stored procedure (with parameters) thorough vbscript?
Asked By: Hasan | Asked On: Sep 14th, 2006 Answered by: Uday Kumar. A on: Sep 15th, 2006 1 answer

Hi,You can call the SPs in your DB, through VBScript.Here is the code:conStr="driver=sql server;server=servername;database=test;uid=sa;pwd=sa"Set cmdObj=createobject("adodb.command")Set recObj=createo... Answer Question Select Best Answer

When there is a task that gets repeated in multiple scripts, what do you do in QTP?
Asked By: shubhada | Asked On: Sep 12th, 2006 Answered by: sreedhar_katkam on: Sep 13th, 2006 1 answer

When the same task is being repeated many times then create a action for that and make it reusable and call the action when and where ever required Answer Question Select Best Answer

How and what kind of vb functions do u use in QTP?


Asked By: sumanasateesh | Asked On: Sep 13th, 2006 Answered by: sreedhar_katkam on: Sep 13th, 2006 1 answer

Mostly all the vb function can be used in QTP As basically qtp uses the vb script as its scripting language Answer Question Select Best Answer

How can you write a script without using a gui in QTP?


Asked By: shubhada | Asked On: Sep 12th, 2006 Answered by: Uday Kumar. A on: Sep 13th, 2006 1 answer

Yes, we can write scripts without Object repository by using Descriptive programming.We can achieve this in two ways:1. By creating properties collection object for the description, likeDim ObjDescset... Answer Question Select Best Answer

How do u ignore exceptions raised by a procedure or function within a package.Ex: package a { proc1; func1; ---- raised an exception proc2; proc3; }note : even if func1 raises an...
Asked By: Uday Sharma | Asked On: Dec 29th, 2005 Answered by: Mike Adams on: Sep 6th, 2006 1 answer

You can fix the function by adding On error resume next. At the end of the function you want this line to reset the error handling.On error go to 0 Answer Question Select Best Answer

What r the good practices,coding conventions to follow while working on a QTP project
Asked By: Ashish Kadam | Asked On: Aug 10th, 2006 Answered by: Dharmesh Jasani on: Sep 6th, 2006 1 answer

That depends on your group what you decide,Here are some of them,Should declare variable before using them.Should create some scripting standards, templates, headers for script.Should use version cont...

Answer Question Select Best Answer

How can we do block commenting in QTP?


Asked By: jyothi | Asked On: Jun 29th, 2006 Answered by: Mike Adams on: Sep 6th, 2006 4 answers

In 8.2 and before you can do a simple if false then 'code to comment hereend if
Answered by: upendar adepu on: Jul 28th, 2006

Hi to all, As Venu said there is no option available for Block commenting up to QTP 8.2 version. But as Prudvi said it is available in QTP 9.0. Thanks Prudvi. regards upendae Answer Question Select Best Answer

What is the difference between winrunner and QTP?Winrunner doent support .Net applications?
Asked By: sreekar | Asked On: Oct 17th, 2005 Answered by: Anand on: Sep 5th, 2006 2 answers

Winrunner doesnt support .net, multimedia, animation application etc but QTP supports .Net, animation, mulimedia application.
Answered by: nagarjuna on: Jun 6th, 2006

In win runner we cannot test the web pages up to maximum extent and it will not support the broswer windows that meens GUI will not learn the objects of browser window, win runner supports olny ... Answer Question Select Best Answer

What is the extension for QTP script file?Is there any extension at all?
Asked By: avssri | Asked On: Aug 10th, 2006 Answered by: srikanth kolli on: Sep 5th, 2006 2 answers

Hi The QTP Script File Extrension Is .mts Batch File Extension Is .mtb Recovery Scenario File Extension Is .qrs Shared Object Repository File Extension Is .tsr Per Action Repository File Extension Is .mtr
Answered by: anandvp2006 on: Aug 13th, 2006

Hi, The Extension of code file is .mts Answer Question Select Best Answer

What is remote agent in QTP


Asked By: Ashish Kadam | Asked On: Aug 14th, 2006 Answered by: Himu on: Sep 1st, 2006 3 answers

Thanks Soniya Humayun

Answered by: soniya on: Aug 23rd, 2006

When you run Quick Test (QT) test from Quality centre, the QT Remote Agent opens on the QT computer. The QT Remote Agent determines how the QT behaves when a test is run by a remote applicationm such ... Answer Question Select Best Answer

How can we recognize objects in flex application using QTP? When I record scripts, it takes all objects as winobjects whether they are cjheckboxes or hyperlinks? Can anyone pls help me in this
Asked By: dsharma | Asked On: Jun 15th, 2006 Answered by: srinivas on: Sep 1st, 2006 4 answers

HiThere can be 6 steps 1. Low Level recording2. Virtual Object concept3. Analog Recording4. Using Keyboard keys like, If i want to press enter button which is in Flex, we have to press tabs until it r...
Answered by: Luke on: Jun 28th, 2006

Any suggestions on how to do this then? Thanks Answer Question Select Best Answer

How to ceate a shared reposi. In QTP9.0


Asked By: Ashish Kadam | Asked On: Aug 12th, 2006 Answered by: pranaya on: Aug 31st, 2006 1 answer

Hi, QTP 9.0 ObjRep Concept entertly Different.If you want to ObjRep Go to Object Rep and Export the Obj Rep and save in some location.When u want to use these rep .go to Resources --> Obj Rep ... Answer Question Select Best Answer

How to parameterize checkpoints?


Asked By: ashwin | Asked On: Aug 28th, 2006 Answered by: Rashi Wdahwa on: Sep 1st, 2006 1 answer

Yes, we can parameterized the check points.For this, First Insert a check point at any of the object. Then right click on "Check Check point" and goto Checkpoint properties.With this a Checkpoin...

What is an automation frame work??? Explin some types.....Pls


Asked By: Geetha | Asked On: Aug 12th, 2006 Answered by: srujan on: Aug 25th, 2006 3 answers

Automation Frame work is nothing but this is a Test Plan to automation process. as u know what test plan describes as in the same way it describes the points like what areas automation process has to ...
Answered by: suresh0249 on: Aug 22nd, 2006

An automation frame work / Architecture can be defined as a suitable "testing process" in order to automate the testing part in any application.*Linear Frame Work*F.D(Functional Decomposition) Frame w... Answer Question Select Best Answer

How to handle an exception in a script without using recovery manager?


Asked By: Mann | Asked On: Jan 30th, 2006 Answered by: Vijesh Nambiar on: Aug 24th, 2006 3 answers

Hi Could you please write little brief about the "err" object.Ho to handle/get the errors(err no) if it occurs when running the script,without raising the error by code. Thanks,

Vijesh

Answered by: GGkeerthi on: Mar 22nd, 2006

With out recovery scenario manager,we can handle exxeption part in qtp through error object and on error resume next statement which is provided by vbscript.On Error Resume Next : causes execution to ... Answer Question Select Best Answer

Can we create test scripts in QTP without using object repository or objects
Asked By: s | Asked On: Aug 15th, 2006 Answered by: suman sekhar on: Aug 17th, 2006 3 answers

Yes. we can do it by using "Descriptive programming".but its necessary to know the properties of object.for example, Dialog box has properties like Class Name,Text,x,y,etc. and Textbox has prope...
Answered by: Ashish Kadam on: Aug 16th, 2006

you can create test scripts without using object repository. you can do that by using "descriptive programming". Answer Question Select Best Answer

What is the use of command tab in debug viewer ?Can we execute any user defined queries
Asked By: Lija | Asked On: Jul 12th, 2006 Answered by: anandvp2006 on: Aug 13th, 2006 4 answers

Hi prasanna, Can u give me an exp and explain? Anand

Answered by: prasanna82 on: Jul 20th, 2006

while debugging your script, using command tab you can execute a line of script to change or set the current value of a variable or object. Further execution of your test will use the changed value. Answer Question Select Best Answer

How to identify a 'web element' class object while recording and running in 'event' mode of settings. I'm able to run EIther a mouseover operation or an event but not both as per the requirement...
Asked By: aditya | Asked On: Jun 27th, 2006 Answered by: Aditya on: Aug 11th, 2006 2 answers

Thanks Bharthi that u cared to answer my query. I have tried it but could not succeed by only adding the inner text and the html tag to the web element. The script doesn't go ahead with 'Event' select...
Answered by: bharathi9d on: Jun 29th, 2006

Add html tag and innertext properties to the web element. Remove all other properties to that object in object repository. Answer Question Select Best Answer

How many types object repository in QTP?


Asked By: sudhakarbs | Asked On: Aug 9th, 2006 Answered by: avssri on: Aug 10th, 2006 3 answers

There are 2 types of object repositories:1. Local (Per Action) object repository ( has extension .mtr)2. Shared object repository (has extension .tsr)A shared object repository can be used in multiple...
Answered by: avssri on: Aug 10th, 2006

There are 2 types of object repositories:1. Local (Per Action) object repository ( has extension .mtr)2. Shared object repository (has extension .tsr)A shared object repository can be used in multiple...

Answer Question Select Best Answer

1.How can we use input and output parameters in QTP ?2. Howcan we write descriptive programming?3.Howcan we insert check points?
Asked By: ch.raju | Asked On: Nov 28th, 2005 Answered by: Ashish Kadam on: Aug 10th, 2006 1 answer

as far as descriptive programming goes you simply bypass the object repository an supply the properties required for object identification in the script itself eg. Window(Login).winbutton("text:=... Answer Question Select Best Answer

1. How to open multiple instances of an application from QTP? 2. How to recognize each instance and setting values and triggering events in a particular application?
Asked By: Ravooo | Asked On: Jul 21st, 2006 Answered by: suresh0249 on: Aug 9th, 2006 1 answer

Up to my Knowledge we cant open multiple instances at once. and For recognization we must have to add each instance in the repositary. if there is any mistake please reply me. Answer Question Select Best Answer

What are the new features available in QTP 8.2 compared with earlier versions?
Asked By: Aravind Reddy | Asked On: Jun 26th, 2006 Answered by: chaitra on: Aug 7th, 2006 2 answers

In QTP 6.5 version there are 2 views1.tree view2,expert viewIn QTPP8.21,keyword view2.expert view
Answered by: shankar M on: Jul 6th, 2006

setting parameters to the actions step->action properties->parameters tab here we can set the input and output parameters. Answer Question Select Best Answer

What is the best way to test UNIX (qtp, winrunner or xrunner)? If QTP supports let me know the brief process?
Asked By: Kris | Asked On: Jun 23rd, 2006 Answered by: james on: Aug 6th, 2006 1 answer

Hi, For UNIX and LINUX we will use only Xrunner and QTP won't supports these operating systems Answer Question Select Best Answer

Wat is XML schema validation and how to perform schema validation for a file.Wat is *.Xsd extention
Asked By: shreyas | Asked On: May 23rd, 2006 Answered by: deeapk on: Aug 4th, 2006 1 answer

wat is xml schema validation ?XML (Extensible Markup Language) is a meta-markup language for text documents that is endorsed as a standard by the W3C. XML makes the complex data structures portable be... Answer Question Select Best Answer

How is automation used in QTP for regreession testing. Please give me a sample script.

Asked By: Krish | Asked On: May 17th, 2006 Answered by: swetha on: Aug 4th, 2006

1 answer

In simple terms Regression Testing is re-execution of a modified build. In QTP when you use 2 builds of the same application, it is regression testing. We are checking if the tests (for eg. using ch... Answer Question Select Best Answer

How to use different debuging modes in QTP


Asked By: Ashwin | Asked On: Aug 3rd, 2006 Answered by: Deepak on: Aug 4th, 2006 1 answer

Step INtoTo run only the current line of the active tesdt or component.Step OutStep Out runs to the end of the called action or user-defined function, then returns to the calling action and pauses the... Answer Question Select Best Answer

How do I create an action sheet and ensure each row in the action sheet is executed in a single test iteration?
Asked By: Mugdha | Asked On: Aug 1st, 2006 Answered by: Craig on: Aug 3rd, 2006 1 answer

Unlimited. Although I believe it will only support up to 255 excel documents. It then becomes a question of how much memory your system has... Answer Question Select Best Answer

For the as/400 application that takes data only thru the keyboard input and not even single mouse click how to write the code in QTP to automate
Asked By: kannan | Asked On: Jun 14th, 2006 Answered by: srikanth on: Jul 28th, 2006
For this case, Analog or low level recording can be a better option. Please anyone let us know whether this understanding is right?

1 answer

Answer Question Select Best Answer

Is there any function to double click a particular row in a webtable?


Asked By: kiran | Asked On: Jul 12th, 2006 Answered by: srikanth on: Jul 28th, 2006
particular object. set tbl = browser( ).page().childitem().click

3 answers

There is something called as childitem using that make a webtable as an object and then use the row and column number to click a

Answered by: krish on: Jul 19th, 2006

I don't think ACTIVATE method is used for webtable but it can be used with activex table or virtualtable. Answer Question Select Best Answer

Hi forum. Could any body tell me what is amdocs, and what are its models ? Best regrds.
Asked By: obied | Asked On: Jun 26th, 2006 Answered by: Dan on: Jul 24th, 2006 1 answer

Third-part software that is supplying their standard Telco Billing functionality (including customer management and accounts receivable), customized Billing functionality, and Order Management. Answer Question Select Best Answer

What is the recovery scenerio can apllied for any telephone line connection(ex:bsnl,airtel etc
Asked By: Ashok | Asked On: Jun 22nd, 2006 Answered by: veeravsk on: Jul 21st, 2006 1 answer

That's depending on the functionality of that application. what ever plotform that is folloing the recovery scenorio method is same. Answer Question Select Best Answer

How to call from one action to another action in QTP?


Asked By: ramesh.b | Asked On: Jul 2nd, 2006 Answered by: kishore on: Jul 20th, 2006 4 answers

The syntax for calling an Action in another Action is Call RunAction("Action2", oneIteration)
Answered by: umashanker on: Jul 19th, 2006

We can call an action either by using "call to existing action" and "call to copy action" also, both are are available in the Insert menu.(Right click also will give the options)The difference between... Answer Question Select Best Answer

What is the method used to focus on particuler field.I need the script.I will give example.I flights application login page by default the focus is on username field. For this I will check the focus was...
Asked By: jyothi | Asked On: May 24th, 2006 Answered by: kallol raha on: Jul 19th, 2006 3 answers

to explicitly set focus on a control use .object.focus


Answered by: sreepalgummalla on: Jun 8th, 2006

hi guyss.....What is the method used to focus on particuler fie...?getroproperty: retrives the pericula property.setroproperty: set the property to perticula object.... to focus to the perti...

How to schedule tests in QTP?


Asked By: sai | Asked On: Jun 27th, 2006 Answered by: kallol raha on: Jul 19th, 2006 2 answers

I hope u know that how to schedule any task in general(not hinting at QTP). Create a .vbs file and write a program in it that will call QTP and the scripts. Then the steps u will follow in general&nbs...
Answered by: Pruthvi on: Jun 29th, 2006

I dont think we can schedule tests in QTP. But We can schedule tests in Quality center. Answer Question Select Best Answer

I have n iterations of test run in QTP. I want to see the results of not only the latest (nth) iteration but also all the previous iterations (1to [n-1]th)
Asked By: Ramnaresh | Asked On: Jul 6th, 2006 Answered by: kallol raha on: Jul 19th, 2006 4 answers

In test results window just open the test for which u have n iterations. there will be a combo that will show u the iterations. select the desired iteration and the result for that particular iteratio...
Answered by: nagarjuna on: Jul 12th, 2006

For this i am sending simple answer that is Click on the icon of tree view it shows all the results of all iterations Answer Question Select Best Answer

1. How to write QTP scripts?2. Any related website resource to learn QTP?3. What steps the to be follwed to write scipts in QTP?4. Is their any automation framework?
Asked By: shyam | Asked On: Jun 28th, 2006 Answered by: nagarjuna on: Jul 12th, 2006 2 answers

If you know the process of win runner qtp resumbles same as that only
Answered by: bharathi9d on: Jun 29th, 2006

How to write QTP scripts?First try to record any of the web application like google. So that, you will be understanding the syntax of the the script and try to learn basics of the VB script.Any ... Answer Question Select Best Answer

How to test dynamic web pages using QTP


Asked By: suman | Asked On: Jun 7th, 2006 Answered by: sema on: Jun 30th, 2006 3 answers

I did'nt get your solution. Can you please be clear


Answered by: zia_pasha on: Jun 8th, 2006

using smart identification e can test dynamic eb pages Answer Question Select Best Answer

What is the hotkey that can be used for hitting spacebar?


Asked By: Sushma | Asked On: Jun 20th, 2006 Answered by: Pruthvi on: Jun 29th, 2006 1 answer

There is no Hot key for space bar. U can use (Type" ") command Answer Question Select Best Answer

How do you retrieve the class name of a test object programmatically from within a script?
Asked By: mg6821 | Asked On: Jun 23rd, 2006 Answered by: bharathi9d on: Jun 29th, 2006 2 answers

msgbox Browser("QTP : How do you retrieve").Page("QTP : How do you retrieve").Frame("google_ads_frame").Link("Fast Object Db/ODBMS").GetROProperty("micclass")
Answered by: pruthvi on: Jun 29th, 2006

Use GetROProperty() function Answer Question Select Best Answer

What is difference between window(" ") and dialog(" ") in QTP while creating script?
Asked By: ramesh.b | Asked On: Jun 26th, 2006 Answered by: Pruthvi on: Jun 29th, 2006 1 answer

Window is a seperate window that appears on clicking on a particular link on which we can perform actions like edit the content etc.This will contain many objects like chkbox,edit box, combo box etc.D... Answer Question Select Best Answer

How can I execute QTP scripts through commandprompt?


Asked By: kesmad | Asked On: Mar 2nd, 2006 Answered by: Blessy on: Jun 23rd, 2006 1 answer

Here it goes:"C:Program FilesMercury InteractiveQuickTest PlusUtilitiesCommandLineQuickTestLauncher.exe" /t "C:Automated ScriptsRegressionReg_Drilling" /r "D:results1" /logThe Syntax will be:"" /t "" ... Answer Question Select Best Answer

How do we connect to Oracle database from QTP ?


Asked By: Murali | Asked On: Jun 2nd, 2006 Answered by: Radhamohan on: Jun 22nd, 2006 4 answers

'---------------------------------------------------------------------------------------'Name: OpenConnection'Function: Opens a connection to the required database'Input Parameter: strDriver, st...
Answered by: syamkumar on: Jun 11th, 2006

Hi Can u please send me the sample code, I Checked the entire help but I didn't found for functions available to connect backend in the QTP. Answer Question Select Best Answer

What is expert view in QTP?Can you explain with example?


Asked By: sujatha | Asked On: May 15th, 2006 Answered by: Ganga Bhavani on: Jun 21st, 2006 3 answers

hello , in QTP we use vbscript not TSL.

Answered by: Leena Saraf on: May 16th, 2006

expert view is actually script Editor,there are two views in Qtp is one is keyword view and second is expert view. in keyword view actually you can view your test in keyword driven,modular,table ... Answer Question Select Best Answer

How do we test links using quick test professional and confirm that the page we are requesting is seen after clicking?
Asked By: shyam | Asked On: Jun 9th, 2006 Answered by: sridhar on: Jun 20th, 2006 2 answers

Hi Click the link and put one check point on any one standard object in the page if the link does not display the message then it will show an error ok
Answered by: srinivasulub1981 on: Jun 15th, 2006

The links are tested using the property of 'href' and 'url' of that link. Here the link can be image or any. If the link is an image then the image has the properties as follows.Href or URL : check... Answer Question Select Best Answer

How to handle dynamic weblist in QTP...Values in weblist are different


Asked By: Shivaram | Asked On: Jun 20th, 2006 Answered by: rzelser on: Jun 20th, 2006 1 answer

HiLook at qiuck test plus with searching the word dynamic (i will give u apaste)Using Property Pattern to Identify ObjectsIf certain object property values in your Web site or application are gen... Answer Question Select Best Answer

1)what is the advantage and disadvantage of using virtual object wizard?2) how efficiently we can use virtual object wizard in QTP?
Asked By: RamP | Asked On: May 23rd, 2006 3 answers

Answered by: kalyan on: Jun 20th, 2006

by using Virtual object Wizard we can map Custom Objects(objects which are not recognized by QTP) to Standard Class. this help to insert checkpoints and for doing DDT for that objects
Answered by: Rams on: Jun 5th, 2006

the answer is not clear... Answer Question Select Best Answer

How to write recovery scenario for below questions and what are the steps we will follow?If I click save button.It is not saving I want to write recovery scenario how?
Asked By: satya | Asked On: Jun 9th, 2006 Answered by: mab29 on: Jun 20th, 2006 2 answers

To write Recovery scenario u must 1st stop recording when u get an error then from Tools menu-> select Recover Scenario Manager when Recover Scenario Manager window is opened u can follow the steps...
Answered by: Subha on: Jun 13th, 2006

Trigger Event Pop up window or Test Run Error can be used for the above situation. If no error message pops up, then Test Run Error can be used. Answer Question Select Best Answer

How to write QTP test results to an excel application


Asked By: Gurava reddy | Asked On: Jun 13th, 2006 Answered by: Guest on: Jun 18th, 2006 3 answers

In addition to the creation of the excel object, you can use the ADO concept as well as the inbuit dataexport function of QTP.1) ADO : In this , you have to create one DSN through ODBC for the Microso...
Answered by: Debashish on: Jun 16th, 2006

I am Sending a sample example to this QS Set Excelsheet=CreateObject(Excel.sheet) Excelsheet.Visible=True Excelsheet.Activesheet.Cells(1,1).Value=Variable Excelsheet.Saveas"C:C.xls" Set Excelsheet=Nothing Answer Question Select Best Answer

I am trying to use a template file (containing reference to settings file, comments etc..,). I have created 'actiontemplate.Mst' in the \'dat' folder .But when I open a new test file the template is not...
Asked By: SG | Asked On: Mar 6th, 2006 Answered by: rajesh singh on: Jun 16th, 2006 6 answers

When we save any file , a small pop up box opens up, which asks us to specify the Filename, then we can select the extension of the file which we want and the third option is Encoding , this is a kind...
Answered by: kalswe99 on: May 8th, 2006

in the above example....fourth point im not able to understand....how to select unicode...pls tell me Answer Question Select Best Answer

Recently I was asked this question in one interview .Can someone throw some light please..You are buying items from some online retail selling store.Letus say you are buying items from amazon.Com. You...

Asked By: babuda | Asked On: Apr 5th, 2006 Answered by: rzelser on: Jun 10th, 2006

4 answers

Hi Ravi Enabling and Disabling Smart Identification u can make with checkpoint properity a Smart Identification. For example:separate the products that costs and who didnt cost.and mak...
Answered by: Ravi on: Jun 8th, 2006

Thanks to all the members who have viewed the question, thought abt the same and answered it . Answer Question Select Best Answer

What are the limitations for XML checkpoints in QTP 8.0?


Asked By: Rashmi | Asked On: May 19th, 2006 Answered by: koti on: Jun 8th, 2006 1 answer

It is basically a document in which a limited data can be stored in a generic format. Answer Question Select Best Answer

How to record flex (1.0) objects using QTP?Post the code which works for this.
Asked By: Roopa | Asked On: Jun 5th, 2006 Answered by: rzelser on: Jun 8th, 2006 1 answer

Hi my friend. I think u can use with new virtual object method to write an object flex grid. Please let me know if its true. thanks Ronen Zelser Answer Question Select Best Answer

Can any body expalin me the differences between a reusable and a external action with example?
Asked By: sridhar_katkam | Asked On: May 22nd, 2006 Answered by: sreepalgummalla on: Jun 8th, 2006 4 answers

reusesable action : we can call reuseable action to any test. like in your application diff module are there login is common for all the modules.we can call the test any called test .external test isn...
Answered by: karuna on: May 30th, 2006

A test has these actionsLoginSome actionlog outif you make Login as a reusable... it is reusable actionAny Reusable action (lets say Login) that is called in other test is called an external acti...

You are trying to test a web based application. You invoked QTP from td to test the web application. While the td itself runs on a browser, how do you ensure that these two browsers do not clash?
Asked By: babuda | Asked On: Apr 5th, 2006 Answered by: dsharma on: Jun 1st, 2006 5 answers

TD & QTP will clash. So the wayout is use CreationTime property with assigned value 1. This will ensure that the browser which was opened second(maybe by the test) will be tested upon.
Answered by: Bhavani on: May 31st, 2006

hello , plz make it clear.whether it will clash or not. because we don't which is right!so plz confirm. Answer Question Select Best Answer

Hi,i was set the repository as per test mode and recorded my script. Now I wana to change the repository to shared. But in the settings these options are disabled.Is there any other way to change the per...
Asked By: bhaskara reddy | Asked On: May 6th, 2006 Answered by: vijay lankipalli on: May 30th, 2006 2 answers

hai, once urecorded script in per action mode, after that u want to change the object repository to shared. it is not possible.u have to do from scratch. once u opened the qtp u have to select sharedd.
Answered by: sarada on: May 17th, 2006

GO to Test--->settings--->resources.There u have option like Choose repository 1)per-action 2)shared Go and select there Answer Question Select Best Answer

I need information on using fso(file system object) also its significance


Asked By: Ashish Kadam | Asked On: May 20th, 2006 Answered by: aa2901 on: May 30th, 2006 1 answer

kindly refer vb script help which comes as a prt of qtp help Answer Question Select Best Answer

How to use a data driver in QTP?


Answered by: zia on: May 29th, 2006

Asked By: ramashyam | Asked On: May 24th, 2006 1 answer

record events on your application stop recordinggo to tools menuslect data driverand data driven wizardpass parametres using step by stepclick nextclick parametrize radio buttonand parametrize yr scri... Answer Question Select Best Answer

What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements?
Asked By: Nicki | Asked On: May 25th, 2006 Answered by: kapil on: May 26th, 2006 1 answer

Hello u have asked a very big question in a single line ...... transfering ur testing from Manual to Automation depends upon lot of factors.Depending upon these factors u decide the 'Framework'. Frame... Answer Question Select Best Answer

How can I import and/or merge an existing repository into my current test?
Asked By: bhaskarareddy | Asked On: May 7th, 2006 Answered by: chvenu on: May 24th, 2006 3 answers

where can i download the merge tool


Answered by: venkat on: May 16th, 2006

Hi Download Merge Tool Venkat Answer Question Select Best Answer

1) using the single script in QTP, how could you know the proper tab index order of the consicutive four edit boxes which are in a web page ? 2) a project is crashed frequently before you are taking that...

Asked By: ami_joy77 | Asked On: Mar 17th, 2006 Answered by: ANTONY A on: May 19th, 2006

2 answers

hi rudeshau can do this thro this codingFor i= 0 to till max limitmsgbox i &"- " & Browser("Flexcube Retail").Page("Flexcube Retail").Frame("fraTxn").WebElement("html tag:=TD","index:="&i)...
Answered by: rudresha on: Mar 19th, 2006

U need to give index number for each edit box from index 0 to index 3. Answer Question Select Best Answer

Explain the concept of checkpoint declaration in the QTP for objects, pages, text and tables ?
Asked By: shivanibehere | Asked On: May 17th, 2006 Answered by: leena saraf on: May 18th, 2006 1 answer

Check point declaration is basically compare two values and give the result..Suppose For Standard checkpoint I have given Text for username should be Leena,so if any other text appers in that feild ,s... Answer Question Select Best Answer

How to retrive/update database by writing code in expert viewin my case database is accessmy dsn name="try"database name="employee.Mdb"
Asked By: chandrahar | Asked On: May 8th, 2006 Answered by: suresh on: May 15th, 2006 1 answer

Dim samp Set samp=createobject("ADODB.Connection") samp.ConnectionString="DSN=try" samp.open strQuery="Select * from employee" Set sampresults=samp.execute(strQuery) a=sampresults.fields.count Do... Answer Question Select Best Answer

When a script is recorded in quick test for connecting 10 rows in the database, can we change script later for 20 rowseither using vbscripting or from front-end can we make that particular change? If 'yes'...
Asked By: Din Shaw | Asked On: May 6th, 2006 Answered by: amar_win on: May 14th, 2006 1 answer

yes, parmetrize the SQL statement Answer Question Select Best Answer

What is difference between stub and driver?


Asked By: tambireddy | Asked On: Apr 27th, 2006 Answered by: L.N.Aravind kumar on: May 9th, 2006 3 answers

STUB: Normally in top to down approach of integration when the child modules are integrated.some of the child modules are missing that causes abstruction for the integration among these modules.H...
Answered by: rahulshevkar on: Apr 28th, 2006

stub - it tempory progam which is use at time of there is no ready of sub modules of project. Driver - it tempory program which is use at time of there is no any main program is ready and other sub mo... Answer Question Select Best Answer

What is the architecture of QTP?


Asked By: chvenu | Asked On: Mar 31st, 2006 Answered by: prasad on: May 8th, 2006 1 answer

plz send this answer

Answer Question Select Best Answer

What are the disadvantages or drawbacks in QTP?


Asked By: upendra | Asked On: Apr 11th, 2006 Answered by: bhaskarareddy on: May 6th, 2006 6 answers

"VB script or any scripting language supporting by qtp should be learn by the tester"I won't agree with the above as a disadvantage. To customize testing process, a language is necessary for any ...
Answered by: phani on: Apr 22nd, 2006

Hello, 1. QTP takes more memory interms of storing Active screens which consists of screens of applications which will takes more memory. 2.Also VB script or any scripting language supporting by ... Answer Question Select Best Answer

How to change the object repository mode using code? Ie from shared to peraction.
Asked By: Nagelli Anil Kumar | Asked On: Mar 28th, 2006 Answered by: chandrahar on: May 3rd, 2006 4 answers

Dear SirI had tried your script but it is not working and give error as Object doesn't support this property or method: 'qApp.Test.Settings.Resources.ObjectRepositorytype'
Answered by: madhu on: Apr 13th, 2006

You can import from datatable .right click at the box and select import or sheet. Answer Question Select Best Answer

What is logical name of the object


Asked By: sabitha | Asked On: Mar 16th, 2006 Answered by: Samyukta on: Apr 29th, 2006 4 answers

Most of the Times Logical Name will be the Physical Description of the Object
Answered by: Pradeep Barre on: Apr 17th, 2006

Logical name is a name or description given by the tool while creating an object to uniquely identify it from other objects in the application.This name would be used by the tool to identify the objec... Answer Question Select Best Answer

I'm facing problem while executing QTP recorded scripts in SAP transactions.Please let me know if someone is working on QTP for SAP testing.
Asked By: Sulakshna | Asked On: Mar 14th, 2006 Answered by: shahid on: Apr 26th, 2006 1 answer

u need to have a supporting files of sap n your system. or select taht files while installing to access from net while installing itself Answer Question Select Best Answer

What is the difference between winrunner & QTP?What is the advantage of using QTP then winrunner?
Asked By: naveengiriya | Asked On: Mar 18th, 2006 Answered by: shahid on: Apr 26th, 2006 7 answers

Document Object Module

Answered by: sarithanamineni on: Apr 3rd, 2006

DOM - Document Object Model Answer Question Select Best Answer

What is keyword driven testing please give process one example.What is the different between datadriven and keyword driven testing
Asked By: koraratnakar | Asked On: Apr 1st, 2006 Answered by: kawal on: Apr 21st, 2006 4 answers

Hi,Keyword Driven : In the Keyword Driven testing, user can defined screen objects. Suppose, user is adding page title, label name. when scripts are running...these objects will be verify with th...
Answered by: mohit_mair on: Apr 21st, 2006

Can some one elaborate more on this pls? Answer Question Select Best Answer

I have faced one question in interviewhe has given one screen with one bitmap and one edit box.The original bitmap is in data base.Question is first we get the bitmap from database and compare with the...
Asked By: chvenu | Asked On: Apr 9th, 2006 Answered by: mohit_mair on: Apr 21st, 2006 1 answer

Try using Database checkpoint here. Answer Question Select Best Answer

I m trying to add one new property in webeditbox. It is added successfully. After that I m trying to access from my script but it is not identified my run-time property value for that new property.If any...
Asked By: Nupur | Asked On: Mar 17th, 2006 Answered by: nupur.p on: Apr 20th, 2006 3 answers

Hi Uma Shankar,I had tried same statements whatever you had mention. but still it is not identified new property which i had added.Can you pls tell me in details.In any web based application, for Webe...
Answered by: madhu on: Apr 13th, 2006

how did u add ie from where? Try changing the property of that editbox in ObjectRepository also.

What qt plus ? How we merge the files in QTP?What is feasibility study in automation?
Asked By: koraratnakar | Asked On: Apr 6th, 2006 Answered by: kiran1 on: Apr 18th, 2006 1 answer

The QuickTest Plus is a Toolkit which contains extra utilities, documents, and code samples that expand available functionality. The toolkit provides addedflexibility for power users and enables ... Answer Question Select Best Answer

1. What are the actions available in QTP?2. What is environmental variable? How many types available in QTP?
Asked By: Trushar Shah | Asked On: Mar 4th, 2006 Answered by: rathi on: Apr 18th, 2006 5 answers

As u said, Environment Variable acts globally.. Then the same action can be done by use of "Global Sheet " also. Isnt it?.If so Then Specifically wats the use of Env. Variable
Answered by: Pavan on: Apr 7th, 2006

Hi Swapna, Could you please explain Userdefined external environment vars??? Pavan. Answer Question Select Best Answer

When I try to record a report application, when I run report data report is displayed in new window. QTP doest recognise record this new window. How to know whether data is there in new window or not.
Asked By: naeem | Asked On: Feb 24th, 2006 Answered by: MADHU on: Apr 14th, 2006 2 answers

Your question is little bit confusing. try while recording new window in Analog record mode.(Test-->Analog recording) This may help you.
Answered by: soumya_dev on: Feb 27th, 2006

have QTP to learn the new report window. Answer Question Select Best Answer

What is the best way to run the applications in QTP. "not preferred record/playback".Normally people will run from the 'excel'.Can you please give me the best idea for this.
Asked By: RAM | Asked On: Mar 23rd, 2006 Answered by: ram on: Apr 6th, 2006 4 answers

hi normally people will run from the excel right. can you please tell me steps. how to bring i mean run from the excel sheet.
Answered by: Sun on: Mar 29th, 2006

What is the functional difference between Winrunner and QTP Answer Question Select Best Answer

I have a list box control displayed in the .Net application. Each and every items of this list box is a combination of check box and label to its side. QTP is recognising an item selected on record in...
Asked By: kraha | Asked On: Mar 7th, 2006 Answered by: Pavan on: Apr 5th, 2006 4 answers

Hi, You can do this using Virtual objects. I tried it and worked. What I did was I created virtual objects Like, one virtual object for ListBox and selected the total ListBox a...
Answered by: Chander on: Mar 27th, 2006

Actually the Webcheckbox is within a table. So we cannot directly access the checkbox using GetCellData. So we have to identify it as a checkbox object and then parameterize the object using the datat... Answer Question Select Best Answer

How yo get the path dynamically in QTP?


Asked By: chvenu | Asked On: Mar 31st, 2006 Answered by: Pavan on: Apr 5th, 2006 4 answers

Hi, If you are asking for the path where the application is... you can get this by using the "TestDir" built-in environment variable. Pavan.
Answered by: kesmad on: Apr 4th, 2006

I think we can get path by using path finder object. Answer Question Select Best Answer

I am create the test script in QTP.?When I am open the it is telling reADOnly mode now I want to modify the script?Can any one explain the process.

Asked By: bhargava | Asked On: Mar 14th, 2006 Answered by: Narendra on: Apr 4th, 2006

2 answers

Go to path where u saved your script, right click on that particular script and then uncheck read only property.
Answered by: ramakrishna on: Mar 19th, 2006

while opening the test the open dialog box opens there is check box like as read only as it is on then the test is read only "while open the test uncheck the read only" Answer Question Select Best Answer

What is the advantage of using action button in you presentation?


Asked By: aden | Asked On: Mar 24th, 2006 Answered by: shreyashi on: Mar 31st, 2006 2 answers

Action button is used to split ur recored script this reduces complexcity of script.we can make actions of 2 type reusable action and non reusable action.by creating reusable action&nb...
Answered by: pratibha on: Mar 29th, 2006

Action button is used to split ur recored scriped into number of action.this help to reduce complexcity of ur script. Scripts are divided in to action at the time of recording or after the complettion... Answer Question Select Best Answer

What is the difference between QTP script and vb script


Asked By: poornima | Asked On: Mar 20th, 2006 Answered by: pratibha on: Mar 29th, 2006 1 answer

QTP uses vbscript for recording.all the features ( functions) of vbscript are supported by QTP script.QTP scrips consist of checkpoint,synchronization,DDT functions , iteration repeat statements,ac... Answer Question Select Best Answer

What is the function for loading a repository in QTP


Asked By: Tulasiram | Asked On: Mar 14th, 2006 Answered by: Konka Ravi Krishna on: Mar 24th, 2006 3 answers

hi,You have button called SetAsDefault in Test > Settings > Resources. Create the shared repository and click on the button when ever you open new script it will load shared repository...
Answered by: Thulasi ram on: Mar 19th, 2006

But you have a function in win runner to load a gui file like "gui_load". Answer Question Select Best Answer

What is a runtime datatable ?A) it is datatable created at runtimeb) it is the same datatable associated with a script and displays runtime datac) there is no runtime datatable concept in QTPd) runtime...
Asked By: Debashish | Asked On: Mar 6th, 2006 Answered by: tina_kaul on: Mar 20th, 2006 4 answers

During the run session, QuickTest creates a run-time Data Tablea live version of the Data Table associated with your test or component. During the run session, QuickTest displays the run-time data in...
Answered by: swapna01101981 on: Mar 14th, 2006

answer b is correct answer, the test retrieves a value at specified point during the test run ad stores it in a column in the curent row of the run-time data table. when the value is needed ;eater in ...

Answer Question Select Best Answer

We have reADOnly mode I want to modify my script I want to change it to writeonly mode can anyone give me the process.
Asked By: sunitayatham | Asked On: Mar 15th, 2006 Answered by: madhava on: Mar 17th, 2006 1 answer

HI, Open the test & select 'Save As' Option from File menu..then edit the test. -Madhava Answer Question Select Best Answer

While opening a large script which contains call to external actions QTP hangs. The same problem iam facing when I call an external action. I want a solution to this problem
Asked By: kraha | Asked On: Mar 7th, 2006 Answered by: Kallol Raha on: Mar 16th, 2006 4 answers

Swapna the variable declarations are correct. We have raised this issue with mercury. They has given some solution such as running .BAT file. We have also deleted the defaut.xls file and created a new...
Answered by: swapna01101981 on: Mar 14th, 2006

might be there is a problem with the variable declaration make sure the declarations correct. try it Answer Question Select Best Answer

How to test the flash objects in QTP? Whether we should add any add-ins for that? If yes where we will get that?
Asked By: Prashanth Kumar | Asked On: Feb 23rd, 2006 Answered by: swapna01101981 on: Mar 14th, 2006 3 answers

you need to select multimedia add-in to test flash objects in your test at start menu , or else id you are already opened qtp and want to enable or to load multimedia ad-in, you goto or sle...
Answered by: kassim on: Mar 3rd, 2006

u can test flash using qtp only when u install add-in - Multimedia Answer Question Select Best Answer

Is QTP able to recognize objects in applications like photo-shop?I want to record, run & edit actions in photo shopapplabs
Asked By: AVS | Asked On: Mar 5th, 2006 Answered by: Kalyan on: Mar 14th, 2006 2 answers

QTP is Not recognize Font Size in Adobe Photoshop....Do you have any idea....?
Answered by: Jayanthi.Nagaram on: Mar 6th, 2006

Photoshop is a .Net application and QTP does recognises the objects of a .Net application Answer Question Select Best Answer

What is the difference between these three debugging modes1.Stepinto2.Stepout3. Stepover ?


Asked By: Debashish_samanta | Asked On: Mar 7th, 2006 Answered by: swapna on: Mar 14th, 2006 1 answer

step into: the functional key F11 can also use to enable step into mode:It runs only current line of the test script. If the cuurent line calls a method, the method(or function, any reusab... Answer Question Select Best Answer

What is the limitation to XML checkpoints?


Asked By: Debashish_samanta | Asked On: Mar 7th, 2006 Answered by: narendra simha.talluri on: Mar 13th, 2006 1 answer

Mercury has determined that 1.4 MB is the maximum size of a XML file that QTP 6.5 can handle. Answer Question Select Best Answer

How can I break a test if a bitmap-checkpoint fails ?


Asked By: Jacob Kreuzfeld | Asked On: Jan 26th, 2006 Answered by: ARamu on: Mar 8th, 2006 2 answers

Assign the value of the checkpoint result to a variable. Chek the variable and if it is true, Use ExitTest to exit the testResult=Browser(...).Page(...).CHeck(Checkpoint(<checkpointname>))If Res...
Answered by: tahnu on: Feb 2nd, 2006

if a check point fails qtp interuppts the executions and waits for user interaction . it displays a window which contains various options like stop,skip,debug...by clicking stop u... Answer Question Select Best Answer

Hi,how can we test a stored procedure ?


Asked By: CHARU | Asked On: Feb 15th, 2006 Answered by: deepak1507 on: Mar 8th, 2006 2 answers

Hi, I think question is not related to Procedure -i think it's related to stored procedure = Set of SQL statement
Answered by: D.V.Narasimha Rao on: Feb 23rd, 2006

Hi Charu,After writing ur function and save it asa .vbs file.U double click on it and make it error free.Then in QTP , you go to Test->Settings->Resources.. and then click on the "+" symbol and ... Answer Question Select Best Answer

Out if the given solution which is the way to find a window is minimized or nota) get the abs_x " and "abs_y runtime values and check if they are equal to 3200 b) icheck weather the window exist...
Asked By: Debashish_samanta | Asked On: Mar 3rd, 2006 Answered by: Kumar on: Mar 8th, 2006 1 answer

A would be the right approach to do that

I have a list box in my .Net application. This list box is having some items. Each item is a check box and to its side a label. When I record such a object QTP understands the item selected in terms of...
Asked By: Kallol Raha | Asked On: Mar 7th, 2006 Answered by: Padma on: Mar 7th, 2006 1 answer

I have the same type of the application.I used Object property for the list box to know the status of the check box in side the list and selected/deselected according to my testing. Answer Question Select Best Answer

What is the difference between image check point and bit map check point
Asked By: AVS | Asked On: Mar 5th, 2006 Answered by: Jayanthi.Nagaram on: Mar 6th, 2006 1 answer

Image checkpoint :Checks the property values of an image.

Bitmap Checkpoint:Checks an area of a webpage or application after capturing it as a bitmap Answer Question Select Best Answer

Where is the bitmap checkpoint information saved? A) in temporary folder b) in resource.Mtr under action folder c) in the script.Mts folder under the action folder ...
Asked By: Debashish_samanta | Asked On: Mar 3rd, 2006 Answered by: Jayanthi.Nagaram on: Mar 4th, 2006 1 answer

In resource.mtr action folder Answer Question Select Best Answer

How to create database checkpoint while testing any web application


Asked By: shital | Asked On: Feb 18th, 2006 Answered by: Nag on: Feb 28th, 2006 2 answers

the syntax of Database Check point is DbTable.check checkpoint("DbTable") DbTable is nothing but Data Table which contains all info.regarding database Regards Nag
Answered by: Asha on: Feb 21st, 2006

Hi sheetal it is gievn clearly in the help file of QTP. where exactly you got stuck let me now. Regards Asha Kataria Answer Question Select Best Answer

How do I prepare report after completion of test in QTP and how to explain this to the senior test engineer?
Asked By: pjchary | Asked On: Jan 5th, 2006 Answered by: D.V.Narasimha Rao on: Feb 23rd, 2006 1 answer

Hi Chary, If u dont like the report generated by QTP,U can write ur own report by writing Reporter.ReportEvent .. This will print ur own report Go To help..U will know it Otherwise mail me Narasimha Rao Answer Question Select Best Answer

1.Is there a debugging option in QTP while running the scripts? Where is it? 2.What kind of support is present for scripted components? 3.Can you store different versions of the script? Where can it be...
Asked By: Arun | Asked On: Jan 31st, 2006 Answered by: Pawan on: Feb 18th, 2006 3 answers

Hi To Debug QTP Script first install the Microsoft Script Debugger in your machine then you can debug the script. To install this Microsoft Script Debugger in Control Panel -> Add\Remove Programs -...
Answered by: Asha on: Feb 11th, 2006

yes for debugging facility you need to require install the debugging facility present during installation. once done you can debug the code using F11 key it would execute the code one step at time and... Answer Question Select Best Answer

How can QTP understand virtual objectsand can it reusable


Asked By: senthil | Asked On: Jan 20th, 2006 Answered by: shiva on: Feb 17th, 2006 1 answer

Actually in QTP we have an option called virtual object manager , by this we can map the objects (virtual objects) and assign the coordiantes to them and by this we can make it as a standard obje... Answer Question Select Best Answer

How to click on the link available in the web table ?


Asked By: ravi kumar manne | Asked On: Jan 4th, 2006 2 answers

Link is an item in web table and link is not static, I mean it can be any where, you can not guess?Here , there are two actions, one is to capture the newly added item and than clicking on it....
Answered by: vknowth on: Feb 13th, 2006

You can use Method "ChildItemCount" in WebTable to return the number of objects of a specified type.ex:for loop <rows>for loop<cols>if Browser("ss").page("SSS").webtable("ssss").childitemc...
Answered by: Mercy on: Jan 17th, 2006

U can use description method. For more about this method see QTP help. I had used the same for the same issue, but not as different Actions. U still can try this. Answer Question Select Best Answer

What are the advantages and disdavantages of shared object repositry and per action repository?
Asked By: Mann | Asked On: Jan 25th, 2006 Answered by: asha on: Feb 14th, 2006 2 answers

Share Object Repository Advantage1 Only one instance of the object in the repository so reduce the repetitions2 one time change to the object properties would bring change in every script using the ob...
Answered by: Siddik Khan on: Feb 14th, 2006

The advantage of shared object repositary(SOR) is disadvantage in per action repositary(PAR) and its vise versa.Comming to the pont,The main advantage of SOR is, if u made any modification to the obje... Answer Question Select Best Answer

How to call an external and built-in-function in a script using vb script statements?


Asked By: Mann | Asked On: Jan 30th, 2006 Answered by: vknowth on: Feb 13th, 2006 1 answer

Built-in-functions:dim myleftnamemyleftname = "Vinothkumar"msgbox left(myleftname,6)External Functions ;This requires the user to add the library in the Test >> settings >> Resources and c... Answer Question Select Best Answer

Can we record an application running on a remote machine using QTP


Asked By: siddu | Asked On: Jan 31st, 2006 Answered by: asha on: Feb 13th, 2006 1 answer

Hi sidhi,Ya you can record remote application provided if accessing application through the local browser not through remoter like in case of citrix but still if you are unable to record then it advis... Answer Question Select Best Answer

How to record and identify recurrsive hyperlinks? I mean, I have set of links in the first page(the only page I record), on clicking each link, I navigate to next page(s), which in turn has set of hyperlinks...
Asked By: Kannan | Asked On: Feb 2nd, 2006 Answered by: vknowth on: Feb 12th, 2006 2 answers

I think it might be a Pagination ..rite !This can be handled with a For loop ..for ex:Searching a entity throughout multiple pages for i = 0 to lastpage<your search code>Browser("ss"...
Answered by: asha on: Feb 11th, 2006

could you send more detail and snapshot so that i can under stand in a better way Regards Asha Answer Question Select Best Answer

Does QTP allows us to execute SQL statements(like select..) with the help of any vb functions? Winrunner does this with the help of db_connect(),db_execute_query(),db_write_records().
Asked By: thanu | Asked On: Feb 9th, 2006 Answered by: vknowth on: Feb 12th, 2006 2 answers

yeah, We can have through ADODB Engine for ex;code like this..Function Connect_to_db() CreateObject("ADODB.Connection") Set rs = CreateObject("ADODB.Recor...
Answered by: asha on: Feb 11th, 2006

Set cnn =

Ya QTP has this facility for this u r require to create dsn and then recordset for more information refer QTP plus help file it contain code how to write SQL statment for the QTPmeans "database connec... Answer Question Select Best Answer

How to import data for data driven test?


Asked By: mann | Asked On: Jan 26th, 2006 Answered by: Nageswara Rao on: Jan 30th, 2006 2 answers

DataTable.ImportSheet(FileName, SheetSource, SheetDest) FileName (String): The full path of the Excel table from which you want to import a sheet. SheetSource (Variant): The name or index of the sheet...
Answered by: Nageswara Rao G on: Jan 29th, 2006

DataTable.ImportSheet(FileName, SheetSource, SheetDest) FileName (String): The full path of the Excel table from which you want to import a sheet. SheetSource (Variant): The name or index of the... Answer Question Select Best Answer

How to change a name of an object in a application?


Asked By: Mann | Asked On: Jan 26th, 2006 Answered by: Nageswara Rao G on: Jan 29th, 2006 1 answer

as a tester u only check the functionalities of the ojects. Developes can do that one. okthe blow answer gives u a good idea.When recording an object QuickTest Professional uses one of the object's pr... Answer Question Select Best Answer

When there is a task that gets repeated in multiple scripts, what do you do in QTP?
Asked By: damo | Asked On: Oct 24th, 2005 Answered by: saurabhdeswaltavant on: Jan 28th, 2006 2 answers

Task can be a Function and can invoke them any no of times if the task is applicable to a single action.Else..can be made as 'Reusable action.'

Vinoth.

Answered by: santaji Nanavare & Sanjeev Prabhudesai on: Oct 26th, 2005

Split the action related to that task, make it Reusable & then call that Action as many times as needed. Answer Question Select Best Answer

What is meant by external files in QTP.


Asked By: ashokkumarreddy | Asked On: Dec 1st, 2005 Answered by: saurabhdeswaltavant on: Jan 28th, 2006 2 answers

.Vbs,Excel,dlls and any other files that for importing,Processing and Resulting can be treated as External files in QTP By Vinoth,
Answered by: angiemercy1 on: Jan 17th, 2006

.vbs files are called as external files. Answer Question Select Best Answer

How can I write a script to automate the page which contains random questions with corresponding answers as radio buttons eg:questions1............A b C dquestion 2a ...
Asked By: srikanth | Asked On: Dec 30th, 2005 Answered by: saurabhdeswaltavant on: Jan 28th, 2006 1 answer

how can i write a script to automate the page which contains random questions with corresponding answers as radio buttons eg:questions1............a b c dquestion 2a b c d.............. ACTUAL_ANS(0) ... Answer Question Select Best Answer

How do you test siebel application using QTP?


Asked By: Interview Candidate | Asked On: Aug 7th, 2005 Answered by: Learner on: Sep 21st, 2005 2 answers

In SWE section u need to add AutomationEnable = TRUE and at the same time you need to use SWECmd= AutoOn in the URL
Answered by: Siebel Dude on: Sep 19th, 2005

This answer is relevant to Siebel 7.7, and QTP 8.0. To test Siebel using QTP, you will need two components.1. The Siebel Addin from Mercury for QTP (install this on the system with QTP on it).2. ... Answer Question Select Best Answer

How can we test datareports through QTP


Asked By: parvej ahmad | Asked On: Jan 4th, 2006 Answered by: lokesh kumar on: Jan 17th, 2006 1 answer

we can test data reports by using descriptive programming

Explain the need to use analog recording in QTP?


Asked By: sonuraja | Asked On: Dec 22nd, 2005 Answered by: Vipul on: Dec 24th, 2005 1 answer

This mode records exact mouse and Key Board operations you perform in relation to the screen /Application Window. This mode is useful for the operation which you can record at Object Level, such... Answer Question Select Best Answer

What's the difference between GLobal data sheet & action datasheet?

Asked By: rajeshrs | Asked On: Oct 10th, 2005 Answered by: rani on: Dec 23rd, 2005

1 answer

global sheet like public any where you can acess. action is local per specific action onely u can uase that data. Answer Question Select Best Answer

How to make QTP to recognise the activex controls


Asked By: Srinivas reddy.B | Asked On: Dec 5th, 2005 Answered by: gsdgsefhg on: Dec 14th, 2005 1 answer

In the Expert View, you can use the Object property to activate the method for an ActiveX control. The list of available methods depends on the ActiveX control. Answer Question Select Best Answer

How you write scripts in QTP? What's the main process in QTP? How do you run scripts in QTP?
Asked By: manish | Asked On: Nov 19th, 2005 Answered by: potluven on: Dec 6th, 2005 1 answer

Main process in QTP is Recording, stores the properties in object repository then Running the script and then Test Results.Recording: QTP 'looks' at the object on which we are recording and stor... Answer Question Select Best Answer

If you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?
Asked By: damo | Asked On: Oct 24th, 2005 Answered by: anilkumarm on: Nov 29th, 2005 2 answers

record the 7 test objects and parameterize them with the 70 values either by using data table option if all 70 has to be executed or by choosing random variable option if it needs to be cjhecked by ra...
Answered by: anthony porch on: Nov 1st, 2005

Record the 7 test objects (dropdown boxs) and there will be many 70 properties ( and their associated bvalues) Drop Down Box 1 Answer Question Select Best Answer

Can we update the database though QTP.


Asked By: vinay | Asked On: Sep 30th, 2005 2 answers

How

Answered by: emran on: Nov 26th, 2005

yes u can but it will be done thru scripting.


Answered by: Wasim on: Nov 10th, 2005

Ofcourse u can if u have authority to do so.set ObjConn=CreateObject("ADODB.Connection")set ObjRec=CreateObject("ADODB.Recordset")ObjConn.open "DriverName","UserId","Password","Server"set ObjRec.activ... Answer Question Select Best Answer

How can I implement error handling in QTP .?


Asked By: lakshmi narasimham | Asked On: Nov 8th, 2005 1 answer

I know with recovery manager but how plz give me detailed to how to handle giving an example?
Answered by: Anees(9899500654)Delhi on: Nov 17th, 2005

U can do it thru Recovery Manager..Eg...Suppose there is an Edit box called Uname n PWD...Just type in uname n don't enter in PWD..It displays a pop up msg called plz,,enter PWD...Then stop recording.... Answer Question Select Best Answer

What is meant by source control ?


Asked By: kumar_ls08 | Asked On: Nov 9th, 2005 Answered by: Anees on: Nov 17th, 2005 1 answer

It is used to hold all the bulids of diff versions Answer Question Select Best Answer

Describe basic flow of automation with conditional and programatic logic?


Asked By: chaw | Asked On: Nov 8th, 2005 Answered by: RamBhupalReddy on: Nov 18th, 2005 1 answer

Hai Chaw,====I think ur Question is Executing of operators flow in the automation code if the question is that then my answer is ===For example: z = 78 * (96 + 3 + 45)There are five operators in this ... Answer Question Select Best Answer

How to load the *.Vbs or test generating script in a new machine?


Asked By: ramesh | Asked On: Oct 9th, 2005 Answered by: Subha on: Nov 16th, 2005 2 answers

Execute File statement can be included as part of the test script inorder to execute the vbs files.
Answered by: sanjeev prabhudesai on: Oct 26th, 2005

You can use the any one of the following two methods:1. goto : Tools --->settings --->Resources and add the .vbs file2. in the QTP script u can write : Dim App 'As ApplicationSet App = CreateObjec... Answer Question Select Best Answer

QTP interview advice needed


Asked By: sanjana | Asked On: Oct 13th, 2005 2 answers

I have an interview in QTP..Please could any one give me the hints what will they ask in interview..This is the first interview for me. Thanks in advance
Answered by: nandakumarge on: Oct 18th, 2005 Answered by: Madhava on: Oct 14th, 2005

Atten as many interviews be clear with the project shown in the resume hi, do not worry abt interview, just go & take up the interview, do not expect any thing & complete the interview. this would be an experience if you fail -madhava Answer Question Select Best Answer

What projects have you used winrunner on? Tell me about some of the challenges that arose and how you handled them.
Asked By: Interview Candidate | Asked On: Aug 5th, 2005 Answered by: priya on: Aug 5th, 2005 1 answer

pbs :WR fails to identify the object in gui. If there is a non std window obk wr cannot recognize it ,we use GUI SPY for that to handle such situation Answer Question Select Best Answer

Can you do more than just capture and playback?


Asked By: Interview Candidate | Asked On: Aug 31st, 2005 Answered by: Rajesh on: Aug 31st, 2005 2 answers

Yes you can do more than capture/playback. Descriptive Programming is the answer to this question. We can write scripts without recording and it would still work fine.
Answered by: Poonam on: Aug 4th, 2005

I have done Dynamically capturing the objects during runtime in which no recording, no playback and no use of repository is done AT ALL. -It was done by the windows scripting using the DOM(Docume... Answer Question Select Best Answer

If we use batch testing.The result shown for last action only.In that how can I get result for every action.
Asked By: Interview Candidate | Asked On: Sep 2nd, 2005 Answered by: raj on: Sep 1st, 2005 1 answer

u can click on the icon in the tree view to view the result of every action Answer Question Select Best Answer

How to do the scripting. is there any inbuilt functions in QTP as in QTP-s. whatz the difference between them? how to handle script issues?
Asked By: Interview Candidate | Asked On: Sep 6th, 2005 Answered by: Mercy on: Sep 6th, 2005 1 answer

Yes, there's an in-built functionality called "Step Generator" in Insert->Step->Step Generator -F7, which will generate the scripts as u enter the appropriate steps. UNANSWERED

Xpath and CSS object identification.


Asked By: ramana.m | Asked On: Feb 8th, 2012

Hi. can any one help me how to identify objects using CSS and xpath in QTP 11. 0 version and how firefox is supporting to QTP11. 0 trail version . Please any one help me . It is necessary for me. thanks m.Venkataramana. Answer Question

HTML pages through QTP


Asked By: ramana.m | Asked On: Feb 7th, 2012

Hi. Any one please tel me how to display HTML pages in explorer using QTP. Answer Question

How to display HTML pages through QTP in explorer


Asked By: ramana.m | Asked On: Feb 7th, 2012

Answer Question

XML file compare - ignoring file structure


Asked By: ffavini | Asked On: Jan 26th, 2012

I am looking for a generic way to compare the information in 2 separate (xml) files regardless of the structure of the files. what I need is a way to check the two files. Evaluate if the data is equal and reflect (report) only the discrepancies. e.G. file 1============ dear john reminder do not... Answer Question

What are the best suitable automation tools available for applications developed on ibm websphere portal
Asked By: Interview Candidate | Asked On: Jan 13th, 2012

What are the best suitable automation tools available for applications developed on ibm websphere portal. we have considerable amount of dynamic data in the website. It would be great if some one can give me the feasibility check list as well. Answer Question

Sample test plan for automating websites


Asked By: jayavanitha | Asked On: Jan 8th, 2012

Hi, I have just started my carrier on automation for web sites for news. Can anyone please provide me the sample test plans and give me a guidance what do you think can be automated as everyone is aware that the contents in the sites keeps changing every hour sometimes. Answer Question

Add values during runtime


Asked By: pete01 | Asked On: Dec 20th, 2011

I have two for loop, first for loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes... Answer Question

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... Answer Question

How to delete a list of transaction on search page of a gui application?


Asked By: Shankha Suvra Mondal | Asked On: Nov 20th, 2011

Hi, i want a script to delete transaction from a list of txns on search page of a gui application. no transaction id generated date and pid visible need the same thing to do on p comm - mainframe as well. reply awaited. Answer Question

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 Answer Question

What is the sales force crm add-in in QTP 11?


Asked By: satya prakash | Asked On: Jul 12th, 2011

Need the add-in detail for sales force crm add-in in QTP. Answer Question

Record movie clips of run session in QTP


Asked By: kranjikrish | Asked On: May 18th, 2011

Hi,i got to know about recording movie clips of run session can be done only through the 'tip' provided when my test failed. Can anyone tell me how to record the movie clips of run sessions?Tip: to better

understand the cause of failed steps, you can record movie clips of run sessions and view them together... Answer Question

How to configure the pcomm?


Asked By: Tkk | Asked On: Apr 22nd, 2011

Know that is an add-in but once I saw that the pcomm was using in a priVATe library I mean they create the library and into there was a code regarding the pcomm directing to the name of the mainframe session, with this kind of code we avoid the use of an terminal emulator and permits to QTP identify... Answer Question

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? Answer Question

Gettextlocation method is not working properly


Asked By: simanta.adhikary | Asked On: Oct 15th, 2010

I am searching a word "dr" withing a winobjetc by using the below given code;window("job console").ActiVATestrfind=window("job console").Winobject("windowsforms10.Window.8.App.0.").Gettextlocation("dr",l,t,r,b)if strfind=true then msgbox "coordinates are:"& l & "," & t & "," & r & "," & b window("job... Answer Question

Javaw.Exe files creating while Oracle application testing with QTP


Asked By: Manoj Kattamanchi | Asked On: Oct 2nd, 2010

Hi I am manoj, working as automation test engineer automating the Oracle applications,i have an issue while automating the Oracle applications. When I select responsibility->functions some times forms are not opening because of Javaw.Exe file created in task manager when I try to close i,t objects are... Answer Question

Design a framework

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

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

How to record the QTP run session using vb script?


Asked By: kp.naravi | Asked On: Jun 5th, 2008

Hi all,i am using vb script to run QTP scripts. Code isset qtapp= createobject("quicktest.Application")qtapp.Launchqtapp.Visible = falseqtapp.Open "path of the script"qtapp.Test.Runthis vbscript will run the selected QTP script. While QTP runs the selected script, is there any option to record the run... Answer Question

Does QTP supports applications build in unIFAce (4gl) ?


Asked By: dolly0706 | Asked On: May 28th, 2008

I would like to know whether QTP supports unIFAce applications or not? Does it require plugins? Any problem encountered? Please help me in finding right tool for unIFAce and HTML applications.Any answer would be appreciatedthanks in advance Answer Question

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.

Getting problem while playback QTP scripts


Asked By: abhi1 | Asked On: Apr 23rd, 2008

While play backing the QTP scripts on Java application I am facing the different kind of problem.The data is not getting entered into the cells of a particular table which is in application.Ex: Javawindow("organization editor").JavaTable("record 1 of 1").Doubleclickcell"#1","note","lEFT"set wshshell=createobject("wscript.Shell")wshshell.Sendkeys... Answer Question

Introduce new software


Asked By: smitha27 | Asked On: Apr 20th, 2008

As a qa tester how do introduce your new software? Answer Question

QTP bitmap checkpoint

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

Where is the bitmap checkpoint information saved? Answer Question

Entering data problem during playbacking the scripts


Asked By: abhi1 | Asked On: Apr 18th, 2008

I am getting problem while getting scripts updating on new build. The scripts are been recorded in 8.2 QTP version. Now I am using 9.2 QTP version.My qus is while playbacking the scripts on new build data in not getting entered in some cell for ex I hv scripts like Javawindow("settings").JavaTable("record... Answer Question

Export data sheet from QTP to quality center


Asked By: nalla | Asked On: Jan 30th, 2008

I have all my data in local sheet. I wan to export that sheet to quality center attachments.We can do it by exportsheet method. Syntax for this method is "datatable.Exportsheet(filename, dtsheet)". Here filename is nothing but path for that excel file. For qulaity center what is the path ? Answer Question

If you are given a chance to improve QTP tool what changes will you do?
Asked By: minni_rec | Asked On: Aug 25th, 2007

Answer Question

Microsoft has developed a clock application which converts digital display to analog display. The end user of the application can change / update / modify the time from the digital panel of the clock....
Asked By: kiran | Asked On: Jun 8th, 2007

Answer Question

What are the challenges you have faced while testing web based application using the automation tools
Asked By: sujatha | Asked On: May 25th, 2007

Answer Question

How many strings can we declare in an array in QTP?


Asked By: Ramu Goud | Asked On: Apr 14th, 2007

Answer Question

What are functional testing features or enhancement in QTP? How to create function libraries in QTP?What is step recording in QTP?What is meant customized keywords in QTP?What is customized functions in...
Asked By: Padma | Asked On: Apr 10th, 2007

Answer Question

Explain about descriptive programing for time filed using regularexpressions?


Asked By: G.Prasad | Asked On: Apr 10th, 2007

Answer Question

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


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

Answer Question

How to do concurrency testing with QTP.


Asked By: Bhuvanesh Singh | Asked On: Apr 3rd, 2007

Can we login with more than 3 users simultaneously and click on a link. Or can a single script use more than one data file and pass the data to multiple browser simultaneously ?? Answer Question

QTP code for running stored procedure


Asked By: nootanrajput | Asked On: Mar 17th, 2007

I want to execute a database procedure in QTP, the connection I am able top make but I am not able to execute the procedure and get the response from it.Also mention how to get response if out parameter is not in the procedure but is there in package somewhere. Answer Question

Upgrading QTP scripts question


Asked By: abhychar07 | Asked On: Feb 26th, 2007

I have script recorded in QTP 8.2 and objects recorded in QTP 9.1 then tell me how to update the script from QTP 8.2 to QTP 9.1 so that all recorded objects are also identified in updated script(QTP 9.1). I tried before but in some objects are not identified. Please help.Regardsabhy Answer Question

How do you fetch data from search results grid using vb script. Is there any method to fetch value from grid.
Asked By: ypraveen_77 | Asked On: Feb 19th, 2007

Answer Question

How to write the script for upload file by using browse button into the web application?
Asked By: galnrao1980 | Asked On: Feb 1st, 2007

Answer Question

Hi, I would like to know to do functional testing on mq through QTP do I need a Java add-in or what's the recommendation? Thanks
Asked By: Richi | Asked On: Dec 8th, 2006

Answer Question

What files are created in QTP?


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

Answer Question

Can we pass an array to a reusable action as an argument


Asked By: Ashish Kadam | Asked On: Oct 20th, 2006

How to map custom objects in the .Net base application using QTP.
Asked By: deepadg | Asked On: Oct 16th, 2006

Answer Question

How can I identify a combobox on print window in an excel sheet


Asked By: Nagababu | Asked On: Oct 11th, 2006

Answer Question

How is batch testing related to interface testing?


Asked By: LJ | Asked On: Oct 9th, 2006

Answer Question

Q. You create quicktest pro scripts for an application that performs a great deal of server-side processing which causes synchronization issues when the scripts are run. The only indication that the system...
Asked By: LJ | Asked On: Oct 6th, 2006

Answer Question

Can you record right click and the menu appearing after right clicking on any of the links in the browser...??If yes then how...??
Asked By: sri | Asked On: Oct 3rd, 2006

Yes,we can right click and select the links from menu.Example:if u want to right click on the link usebrowser(objbrowser).Page(objpage).Link(objtext,objtype).Fireevent "oncontextmenu"this will opens the menu.If u want to click on any link in that menubrowser(objbrowser).Page(objpage).Webelement(objtext,objtype).Click Answer Question

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

Answer Question

How can u describe the basic flow of automation with conditional and programmatic logic?
Asked By: shubhada | Asked On: Sep 14th, 2006

Answer Question

How can I call an external action, which is not added external action of an action?
Asked By: sumanasateesh | Asked On: Sep 13th, 2006

Answer Question

How to select particular value from the combo box in the current page which is entered in the previous page edit box after parameterization?
Asked By: Sumana | Asked On: Sep 12th, 2006

Answer Question

Give one example where you have used regular expression?


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

Answer Question

How can I implement error handling in QTP and how to recall a function in QTP
Asked By: Sumana | Asked On: Sep 12th, 2006

Answer Question

How and what kind of vb functions do u use in QTP? And how can u describe the basic flow of automation with conditional and programmatic logic?
Asked By: Sumana | Asked On: Sep 12th, 2006

Answer Question

How can I call an external action, which is not added external action of an action and what is meant by source control?
Asked By: Sumana | Asked On: Sep 12th, 2006

Answer Question

1. How we can automatically update image checkpoint through script? 2. How we can covnvert diseble sub-menu button into enble button?
Asked By: Jitender Kumar | Asked On: Sep 4th, 2006

Answer Question

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... Answer Question

What is desired machine and n/w config while integrating qc with QTP
Asked By: Ashish Kadam | Asked On: Aug 14th, 2006

Answer Question

What are the disadvantages of checkpoints?


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

Answer Question

Explain windowbase & webbased application?


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

Answer Question

1. How to open multiple instances of an application from QTP? 2. How to recognize each instance and setting values and triggering events in a particular application?
Asked By: Ravooo | Asked On: Jul 21st, 2006

Answer Question

How to check an XML schema (XML schema validation--from XML file)? Ttell me about .Xsd file format.
Asked By: shreyas | Asked On: Jun 28th, 2006

Is addins enough to work in flex based applications? Or do we have to get a licence for multimedia for addins.When I record the application the script is not coming. QTP 9.0 trial version is not able...
Asked By: sankar_nice | Asked On: Jun 27th, 2006

Answer Question

How adn where can we set time in QTP for a test to run at a specific time?
Asked By: charm | Asked On: Jun 12th, 2006

Answer Question

Can we execute stored procedures using wr/qtp? If yes how?


Asked By: Nagaraju | Asked On: Jun 9th, 2006

Answer Question

How many folders and files are created when we create a test script in QTP?
Asked By: ram | Asked On: Jun 7th, 2006

Answer Question

How to run a script recorded in english flavor of my application and re-run the same script on different language like dutch.I tried modifying object properties in object identification dialog and also...
Asked By: kvrrao77 | Asked On: May 19th, 2006

Answer Question

Explain modular programming concept in QTP with an example


Asked By: taj | Asked On: May 18th, 2006

Answer Question

How can we validate the pdf file recognization and its content with the help of mercury product QTP(quick test professional)?
Asked By: ravi | Asked On: May 16th, 2006

Answer Question

How to automate editing an XML file .Because when I record the editing on an XML file and run it,some other field gets edited while running the script and not the one I tried to edit.Please help.
Asked By: charm | Asked On: Apr 24th, 2006

Answer Question

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


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

Answer Question

How can we test pdf without validating in text streams?


Asked By: vknowth | Asked On: Feb 13th, 2006

Answer Question

How to make an user-defined function reusable?


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

Answer Question

How to get a cell from database,particular text from a listbox,edit in a test box?
Asked By: mann | Asked On: Jan 25th, 2006

Answer Question

How to import data for data driven test?


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

Answer Question

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


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

Answer Question

Wait,wait property,exist syntaxes with examples.


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

Answer Question

How do you code error handling in QTP ?


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

BEST ANS

What is the file extension of the code file & object repository file in QTP?
Asked By: Interview Candidate | Asked On: Sep 10th, 2005 136 answers

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: prasanna kamath on: Jan 7th, 2012

File extension of code file in QTP is .mts


Answered by: your.heer on: Jul 2nd, 2010

The extension of the code is ".qlf" and the extension of the object repository is ".tsr". Improve Answer

Recovery scenario and on error resume next


Asked By: aditya_12 | Asked On: Dec 1st, 2009 4 answers

What is the difference between 'recovery scenario' and 'on error resume next'? Read Best Answer

Editorial / Best Answer


Answered by: swapna.raut
Member Since Dec-2009 | Answered On : Dec 10th, 2009

"On Error Resume Next" is used when you are sure about the step where the error can occur. Whereas, Recovery Scenario can be used to handle unxpected event or error.
Answered by: Basanagouda on: Jul 20th, 2011

Adding to aditya_12 answer If known errors we need to handle using line code (and code becomes lengthy) and same cannot be used in other part of script (unless made it as function) but recovery scen...
Answered by: PravatInfinite on: Jan 26th, 2010

Recovery Scenario: When Unexpected events, errors, and application crashes during a run session can disrupt your run session and distort results. On error Resume Next: When you want to flip the error ... Improve Answer

Explain in brief about the QTP automation object model.


Asked By: Interview Candidate | Asked On: Aug 17th, 2005 41 answers

Read Best Answer

Editorial / Best Answer


Answered by: Venkat Potluri Answered On : Jul 28th, 2005 Essentially all configuration and run functionality provided via the QuickTest interface is in some way represented in the QuickTest automation object model via objects, methods, and properties. Although a one-on-one comparison cannot always be made, most dialog boxes in QuickTest have a corresponding automation object, most options in dialog boxes can be set and/or retrieved using the corresponding object property, and most menu commands and other operations have corresponding automation methods. You can use the objects, methods, and properties exposed by the QuickTest automation object model, along with standard programming elements such as loops and conditional statements to design your program
Answered by: santoshnathan on: Aug 12th, 2008

Actually, QTP Framework is divided into 2 parts. They are 1. BPT (Business process testing) Framework and 2. Keyword Driven Framework.In detail: 1. BPT: to use this Framework License is necessary...
Answered by: svapatil on: Jun 6th, 2008

Firstly there are two things one is QTP oject Model & QTP Automation Object Model.The QTP object Model is the One by using which we can have the control on the QTP tool. We can Launch the QT... Improve Answer

What are the features & benefits of quick test pro(qtp)..?


Asked By: Interview Candidate | Asked On: Aug 27th, 2005 35 answers

Operates stand-alone, or integrated into mercury business process testing and mercury quality center. Introduces next-generation zero-configuration keyword driven testing technology in quicktest professional 8.0 allowing for fast test creation, easier maintenance, and more powerful data-driving capability... Read Best Answer

Editorial / Best Answer


Answered by: praveena Answered On : Sep 21st, 2005 qtp is mainly used for functionality testing.qtp is user friendly both technical and non technical users can easily access.qtp has two views

keyword view and expert view in keyword view when u record a test it genarates the script in tree format.it is very easy to understand.if u want to view the vbScript use the expert view. qtp has active screen using that u can enhance the script with out navigating to the application.like u can insert checkpoints and synchonization points. qtp has automated documentation.when u start recording it genarates the autodocumentation in plain english. using qtp we can parametarize objects,checkpoints,datadriventables.this will give more flexibility.
Answered by: rajeswarirayala on: Nov 18th, 2010

QTP has one of the best option Object spy.Using these we can find the actual name of the execution file. If we don't have this option we cannot write script manually.That means when we write script ma...
Answered by: rajeswarirayala on: Nov 18th, 2010

QTP is one of the automation tool.Using thes eassy to test the application.It is a licenced version.It provide the service.It has so many options.And it support visual Basic programs. It is eassy to w... Improve Answer

What is a file system object in QTP


Asked By: vamsi.krishna09 | Asked On: Nov 22nd, 2006 8 answers

Read Best Answer

Editorial / Best Answer


Answered by: chitta10
Member Since Jul-2009 | Answered On : Mar 29th, 2010

File system object is to create a file where you can store your informations and also read. Have a look to my exemple I think you can understand it. SystemUtil.Run "iexplore.exe","","C:Documents and Settingsuser18Desktop","" Browser("Google").Page("Google").Link("Gmail").Click Browser("Google").Page("Gmail: Email from Google").Sync Dim x,y Set x = CreateObject("Scripting.FileSystemObject") Set y = x.Createtextfile("d:testfile.xls",true) If Browser("Google").Page("Gmail: Email from Google").Exist Then y.writeline("step1 login details is pass") else y.writeline("step1 login details is fail") End If Browser("Google").Close Thanks and regards, CHITTA.
Answered by: chitta10 on: Mar 29th, 2010

File system object is to create a file where you can store your informations and also read. Have a look to my exemple I think you can understand it. SystemUtil.Run "iexplore.exe",""...
Answered by: brainwood on: Feb 13th, 2008

Question: How do we load a text file from QC?Answer:strFilePath = PathFinder.Locate("[QualityCenter] SubjectFolderNameAttachmentName.txt") Const ForReading = 1, ForWriting = 2&nb... Improve Answer

How to add a failure from a vbscript function to the results. How can I implement the functionality of checkpoint functionality from by vbscript. For ex: I want to record a failure if some calculations...
Asked By: Ashok | Asked On: Feb 10th, 2006 2 answers

Read Best Answer

Editorial / Best Answer


Answered by: Guest Answered On : Feb 12th, 2006 Put a Function in the Library and call this : Write_result Browser("sss").page("sscs").webElement("sss").check (checkpoint),"your step details" For Ex: Function Write_result(Flag,steps) Select Case Flag Case "True" Reporter.ReportEvent 0,"Debugger",steps Case "False" Reporter.ReportEvent 1,"Debugger",steps Case 2 Reporter.ReportEvent 2,"Debugger",steps Case 3 Reporter.ReportEvent 3,"Debugger",steps Case 4 Reporter.ReportEvent 4,"Debugger",steps Case Else Reporter.ReportEvent 1,"Debugger","Data entry error in the calling command" End Select End Function
Answered by: Guest on: Feb 12th, 2006

Put a Function in the Library and call this :Write_result Browser("sss").page("sscs").webElement("sss").check (checkpoint),"your step details"For Ex:Function Write_result(Flag,steps) Selec...
Answered by: asha on: Feb 11th, 2006

Take the evaulation result in some varaible and now depending upon the result send the response in the result file through "Reporter function" of QTP Improve Answer

Can any one explain in detail abt how to handle virtuall objects in QTP 8.2
Asked By: senthil.k | Asked On: Feb 1st, 2006 1 answer

Read Best Answer

Editorial / Best Answer


Answered by: Kodati Answered On : Feb 7th, 2006 through virtual object wizard you can define an object. Tools->virtual object wizard->new virtual object.. It is a 4 step process in which you can define an unknown object to user defined class.
Answered by: Kodati on: Feb 7th, 2006

through virtual object wizard you can define an object. Tools->virtual object wizard->new virtual object.. It is a 4 step process in which you can define an unknown object to user defined class. Improve Answer

How do you test Oracle application using QTP?


Asked By: kalyani | Asked On: Jan 28th, 2006 2 answers

Read Best Answer

Editorial / Best Answer


Answered by: Nageswara Rao G Answered On : Jan 29th, 2006 With Help of Below Commands, first u launch the Oracle Applications and then Test with the help of Data Driven and DML and DDL commandsqtApp.Test.Settings.Launchers("Oracle 8i").Active = TrueqtApp.Test.Settings.Launchers("Oracle 8i").CommandLine = qtApp.Test.Settings.Launchers("Oracle 8i").WorkingDirectory =
Answered by: Brian on: Feb 6th, 2006

For testing Oracle Apps with QTP, I would suggest you define your test cases using MS Word documents. Then categorize them by complexity into low, med and high. After that, I would target your low com...
Answered by: Nageswara Rao G on: Jan 29th, 2006

With Help of Below Commands, first u launch the Oracle Applications and then Test with the help of Data Driven and DML and DDL commandsqtApp.Test.Settings.Launchers("Oracle 8i").Active = TrueqtApp.Tes... Improve Answer

How to use the object spy in QTP 8.0 version?


Asked By: Interview Candidate | Asked On: Jul 29th, 2005 15 answers

Read Best Answer

Editorial / Best Answer


Answered by: sivaprasad Answered On : Jul 29th, 2005 There are two ways to Spy the objects in QTP 1) Thru file toolbar ---In the File ToolBar click on the last toolbar button (an icon showing a person with hat).

2) Tru Object repository Dialog ---In Objectrepository dialog click on the button"object spy..." In the Object spy Dialog click on the button showing hand symbol. the pointer now changes in to a hand symbol and we have to point out the object to spy the state of the object if at all the object is not visible..or window is minimised then Hold the Ctrl button and activate the required window to and release the Ctrl button.

Answered by: ssoma78 on: Oct 24th, 2008

The object spy is very much useful while identifying the properties of objects while writing the descriptive program.
Answered by: venkateshgurramkonda on: Aug 18th, 2008

Object spy is a future provided by QTP which shows object information like list of properties, list of methods, syntax of methods,description of methods both text object as well as runtime object. Improve Answer

How to make QTP understand the difference with same type of objects
Asked By: geekarijit | Asked On: Sep 29th, 2008 3 answers

Suppose there are 10 of check boxes in a page and I have to choose the 6th one, how to do that through script? Read Best Answer

Editorial / Best Answer


Answered by: researchingmiddleware
Member Since Oct-2008 | Answered On : Oct 8th, 2008

Use the Ordinal identifiers (index) property...each of the objects will have a different index value
Answered by: dabas_rajender on: Jun 28th, 2010

We can use the descriptive programming for identifying the 6th checkbox from a bunch of checkboxes on a page.Dim obj_ChkDescSet obj_ChkDesc=Description.Createobj_ChkDesc(html tag).value ...
Answered by: priyankvyas on: Feb 14th, 2009

QTP identifies the object in following manner- 1) First with mandatory and assistive property. If these are not sufficient then "Ordinal Identifier" 2) By using "Smart Identificati... Improve Answer

QTP regular expression


Asked By: rashidansari1 | Asked On: Apr 2nd, 2009 11 answers

What is the significance of regular expression in QTP? Read Best Answer

Editorial / Best Answer

Answered by: priyankvyas


Member Since Dec-2008 | Answered On : May 6th, 2009

Regular expression is always used to make our search globalize. To execute the test in QTP every object is searched in the object repository (OR). In real time applications some object's properties always keep changing, so at the time of execution script fails. To overcome it we use "regular expression" for that particular object's property. For example: 1) Record a test where you are inserting one order and than faxing the same order. 2) The order number that is generated during recording may 21 and "Fax Order window title" is generated and saved into OR as "Fax Order No. 21" 3) Now execute the same test, the script will fail because this time order no is modified as 22 and accordingly "Fax Order window title" is modified as "Fax Order No. 22". 4) This time the object "Fax Order No. 22" is not identified or you can understand object is not matched (find) into OR. 5) To make this search better we modify the text property of object into OR as "Fax Order No.*" this will search all the occurrences of window that has text as "Fax Order No" 6) We can also write it as "Fax Order No. [0-9]" because fax order no is a numerical value and this will search only numbers after "Fax Order No. " So this is the purpose of regular expression in QTP.
Answered by: PravatInfinite on: Jan 26th, 2010

Also Regular Exp is used for pattern matching and replacing of a string. * : Matches the preceding character zero or more times. . : Matches any single character except a newline character.
Answered by: aarati on: Nov 9th, 2009

Using RE we can make the QTP to recognize same object with its varying name.For example, a window having title as "Employee NO. 7"If I want to pass data to multiple Employee No. Windows, So I have to ...

Vous aimerez peut-être aussi