QTP Interview Questions
Questions Answers Views Company eMail

Deal All, Recently i face one interview question in one company. str="test12@#3456" In This i want to print like special character and numeric ,word in one script please tell me how to write the code for this Thanks Balaji

1 573

What will be happen if i load object repository at run time, but it has already associated.

NTT Data,


There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code


could any help me please, how to work on visual foxpro application using UFT



Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

Value Labs,


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression


UFT 12.02 which ALM version will support


Hi All, How to get repeated word in string . Thanks Balaji


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji


Reverse string without mid or streverse function.


1 442

Count the number of radio buttons and randomly select one.


1 124

how to associate object repository during runtime in qtp


1 147

why is execute file used.


1 248

Connect to QC using AOM.



Get the count of files of similar types from a folder.



Post New QTP Questions

Un-Answered Questions { QTP }

In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?


Step 3&4 are repeated until an the object in recognised uniquely.


Hi Samrat, Thank u very much, what u said it is right.


What is the architecture of your project? Can any one answer for this question plz........


what testplan contents and what test strategy contents,what is the diff b/w them


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)


in a web page How to check and display a particular word from a paragraph?


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com


How can we disable popup blocker?


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?


Which functionalities of QTP used in banking project?


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com


Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain