41
QTP Interview Questions 1. What are the different scripting languages you could use when working with QTP ? 2. How do you test a column weather it is sorted asc or desc in QTP ? 3. How to use regular expression in any subscription form when registered. script running successfully but it gives error on submission form 4. 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, or equilateralScalene all three sides are of the triangle have different lengthsIsosceles any two sides of the triangle have same lengthsEquilateral all the three sides have equal lengths Write test cases (i.e., specific sets of data) that you feel would adequately 5. How to Count No. of Check Boxes in a web page by using Descriptive programming? 6. QTP : Web table objects are not counted in the run time 7. Synchronization points 8. How to pass a key in the query while creating a database check point? 9. QTP : Set the value to the winedit box in run time 10. What is the difference between Database Check point and XML check point with examples? 11. 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 i.e what do you do when you have a new version of reqt spec. How do you maintain the regression test pack when code changes in the application. How do you substitute hard coded values in the automated script with user defined data values from excel spreadsheet. 12. How to identify special character thru regular expression in QTP for Java Based application 13. How do we pass values between actions in one test other than by action call? 14. what are run time objects and what are Test objects. 15. How do you check ticket cost and ticket number in flight application

QTP Interview Questions

Embed Size (px)

Citation preview

QTP Interview Questions

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

2. How do you test a column weather it is sorted asc or desc in QTP ?

3. How to use regular expression in any subscription form when registered. script running successfully

but it gives error on submission form

4. 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, or

equilateralScalene – all three sides are of the triangle have different lengthsIsosceles – any two sides of

the triangle have same lengthsEquilateral – all the three sides have equal lengths Write test cases (i.e.,

specific sets of data) that you feel would adequately

5. How to Count No. of Check Boxes in a web page by using Descriptive programming?

6. QTP : Web table objects are not counted in the run time

7. Synchronization points

8. How to pass a key in the query while creating a database check point?

9. QTP : Set the value to the winedit box in run time

10. What is the difference between Database Check point and XML check point with examples?

11. 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 i.e what do you do when you have a new version of reqt spec. How do you maintain the

regression test pack when code changes in the application. How do you substitute hard coded values in

the automated script with user defined data values from excel spreadsheet.

12. How to identify special character thru regular expression in QTP for Java Based application

13. How do we pass values between actions in one test other than by action call?

14. what are run time objects and what are Test objects.

15. How do you check ticket cost and ticket number in flight application

16. What is Descriptive Programming? Where we can use this Descriptive PRogramming in real time ?

17. 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 printer fails

and QTP execution stops. iN order not to stop execution or to run the script what will be your approach ?

18. How do you parametrize radio button?

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

20. Open QTP on Network

21. VBscript for any functionality

22. Why only QTP?

23. Write VBscript without using QTP Recording

24. stop QTP from recording mouse clicks

25. How to Submit data from an external file to a url using QTP

26. Compare UAT with Production Web Page

27. How verify a particular row item in data grid control?

28. Debug QTP Automation Script

29. What is the difference between application testing and product testing?

30. What is CMMP and CMMH?

31. database checkpoint

32. How do you open adobe acrobat file in QTP and do some testing on that file ?

33. Descriptive programming in QTP for a website .

34. Checkpoints in functions

35. How to retrieve values, from different inactive textfields, and put all these under each other in a split,

in an excel-table?

36. SAP application automating using QTP

37. What is the size of the Object Repository ?

38. If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart

Identification? Why?

39. How to upload excel files into Quality Center using QTP Script and how to delete excel files from

Quality Center using QTP Script?

40. Can a QTP script have two OR's, if so while using one OR sheet, how do you associate the 2nd OR.

42. what is a file system object in QTP

43. QTP not getting the object

44. How to break the object spy ?

45. QTP data table question

46. checking background color and images using QTP

47. what is the difference between global function and reusable action?

48. How do you connect to database using vbscript ?

49. How to handle dynamic objects in QTP?

50. What are the properties you would use for identifying a browser

51. how to capture the dynamically changing datas in web page thru QTP coding?any sample coding for

the above

52. 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?

53. Export data Sheet from qtp to quality center

55. Can any one pls tell me about how to configure the environment variables in qtp and how to use the

variables, with example:

56. How QTP identify the system time that's changes every seconds?

57. how can we export the "test result" to any excel sheet automatically after completion of execution of

test???

58. QTP Descriptive Program Objects List

59. How to save User Defined Data in Global Data Sheet

60. How do you maintain share repository? How do you convert local repository scripts to shared

repository,

61. differenced between quick test proffesional version 5.6 and 8.2

62. What is the use of function and sub function in QTP?

63. How do you test dynamically changing links on a web site through QTP?

64. How can I implement error handling in QTP

65. How can you tell a particular script will work in all the browsers?

66. how many types of recording modes in QTP?describe each type with an example where we use

them?

67. How to call a test from another test?

68. QTP Script for runtime changing objects

69. QTP : Import data from a data source at run time

70. How to Pass variable in the sql query when creating DB Checkpoint

71. Using QTP to test Adobe Flex

72. what to do if the tree view is not recognised by the QTP?

73. how to write a function for Maximising a Browser in QTP ?

74. How to recognize the page in QTP?

75. How can I implement error handling in QTP and How to recall a function in QTP

76. What are the disadvantages of datadriver tests in QTP

77. How i can get class name of test object by repository logical name?

78. How can i call a external action which is not added external action of an action.

79. Explain the concept of object repository & how QTP recognises objects?

80. Give me an example where you have used a COM interface in your QTP project?

82. How to Delete a check points Associated files in QTP

83. Explain "QTP using different development techniques (not just Record and Playback)", this is the

requirement one client to recruit QTP Tester.

84. QTP Check Points

85. How can we capture a moving image in QTP

86. QTP : Inserting a text into a cell of an excel sheet

87. How will you find the current time of the remote machine using QTP script?

88. After doing parameterization can you remove it? How?

89. What is a Patch in QTP?

90. What is Associate Repository in QTP 9.2

91. What feature would you use in QTP to find out the name for an element on the HTML page we want

to test? Subscribe

92. what is the automation frame work?

93. 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)?

94. What is the difference between run time object and test object in QTP?

95. Can you record right click and the menu appearing after right clicking on any of the links in the

browser...??If YES then HOW...??

96. How to execute a Parameterized SQL query in QTP script?

97. Why QTP is termed as icon_based tool?

98. What is the difference between QTP 9.0 and QTP 9.2

99. How do you synchronization point through DP?

100. How do you handle runtime error in QTP when specified excel sheet specified in script does not exist

101. Explain the difference between data driven testing and parameterization

102. Explain what the difference between Shared Repository and Per_Action Repository

103. 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)

104. How do you send email with attachment from outlook using qtp ?

105. 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?

106. Explain the keyword createobject with an example.

107. What is the use of Text output value in QTP?

108. How to check the web application for broken links using QTP?

109. What the differences are and best practical application of each.

110. Explain the concept of how QTP identifies object.

111. Where can I get Quck Test pro(QTP Pro) software.. This is Just for Information purpose Only.

112. How can we do the Frame work in QTP

113. How does QTP identifies the object during run time?

114. How the exception handling can be done using QTP

115. 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

is not a good solution and we dont want to go for that also, Version of the QTP tool is QTP 9.0

116. 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?

117. 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

actually select the Terminal Emulator add-in and record the sript.Will it only record the Terminaal

Emulator as the Object or will it record all it 's children, i mean the fields on the GREEN SCREEN.Let's

discuss.

118. What are the Features & Benefits of Quick Test Pro(QTP)..?

119. Explain me how to write the Descritive programming in qtp using sample filght application?

120. How do you run alternate iterations from the data table

121. What is called "Smart Identification" in QTP ? Briefly explain how to do it?

122. how to handle java tree in QTP

123. What is the difference between Call to Action and Copy Action.?

124. How to use the Object spy in QTP 8.0 version?

125. How to write Regular Expression with alpha numeric including special characters...

126. How to run QTP scripts recorded in Internet Explorer on a Netscape or FireFox browser.

127. How to select particular value from the combo box in the current page which is entered in the

previous page edit box after parameterization?

128. Can anyone tell me which is the best SDLC model from the QA'S point of view?or which SDLC mode

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?

129. What is the difference between check point and output value.

130. How do you record a command prompt operation in QTP?

131. How do you data drive an external spreadsheet?

132. What is the similar for Goto specific step or function in QTP

133. Is it possible to connect and test Mainframe applications in QTP ?

134. 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?

135. what is the difference between "Wait" Statement and ThinkTime Method Services.

136. How do you export object repository?

137. How database testing is done using manual testing i.e., without using any automation tools

138. 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?

139. 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

140. How to perform Cross platform testing and Cross browser testing using QTP?Can u explain giving

some example?

141. How can we write scripts without having GUI(means u dont have any GUI and u want to write a

script in QTP)?

142. How to call the library file into the script, without hard coding the path in the script?

143. What are the disadvantages by using database checkpoint in QTP?

144. what is the difference between bitmap checkpoint and image checkpoint . Explain specific real time

usage of bitmap checkpoint and image checkpoint

145. What is meant by Keyword driven testing and what is Data Driven testing?kindly tell me the

meaning with actual differences

146.

What are the advantages of descriptive programming over record and play back, explain with an

example.

147. What is syntax for "sleep" and "suspend" in synchronization point?

148. What is the difference between functions and actions in QTP?

149. What is the difference between libraries and actions in QTP

150. If you want to avoid using the Object Repository, How would you do it?

151. What is descriptive programming?

152. 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 me how to paramaterize ,how to perform data driven testing

153. How to write QTP test results to an Excel application, Please provide the exact code if possible

ASAPThanks in advance

154. How many folders are created in one test case execution in QTP

155. What is descriptive Programming in QTP?

156. What is the Difference between Action, Procedure and Function?

157. What is QTP frame work? When we prepare the data for data driven testing ?

158. In how many ways parameterization can be done in QTP?

159. 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 do you invoke the application through QTP?How do you close the Task Manager through

QTP?How will you load the object during run time?How will you handle the situation when object is not

captured during record?

160. What is Synchronisation?What is Parametarisation?What is addin environment?

162. 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 box saying

163. Give one example where you have used Regular Expression?

164. What is the command in QTP to invoke IE Brow?

165. What is a Run-Time Data Table? Where can I find and view this table?

166. how to invoke a databse application for database testing?

167. How can I get text on the object?what command can I close the web application?

168. 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 for IEBrowser("Browser").Navigate

(Datatable.Value("url","Global"))so when i run the IE script on netscape it fails.

169. How many check points are available in QTP

170. How does Parameterization and Data-Driving relate to each other in QTP?

172. 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?

173. Differentiate the two Object Repository Types of QTP.

174. how many maximum actions can be performed in a single test

175. if a error occur during the excution of QTP script. how can we get the name of the current object

that cause the error

176. What is the procedure to test flash applications using QTP?

177. 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.

Moreover, this is the only way; the end user can change the time.Whenever the end user modifies the

time in the digital panel, the hours, minutes and seconds hands will move accordingly – as shown in the

three figures above.The end user can change the time by directly clicking in the digita

178. What is Reference path in QTP?And what is the way to get name of the browser at run time?

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

180. Choosing appropriate Scripting Languages in QTP(Java Scripts / VBScripts) and When/How to

choose between the two.

181. 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

that were merged into the reposotory.If you open the merged repository in the Merge Utility, the web

objects appear there.Has anyone encountered this problem? Am I missing something obvious? Does

anyone have a solution?Thanks in advance.

182. what if storage limit of shared object repository exceeds its limit(2 MB).how this kind of situation

can be handled?

183. How to set the object repository as shared/per action mode in QTP 9.1?

184. What are Recovery Exception?

185. how to test minimum balance of an account while we transfer amount from one account to another

account using QTP?

186. What are smart identifiers in QTP?

187. what are the challenges you have faced while testing web based application using the automation

too

what are the challenges you have faced while testing web based application using the automation tools

188. How many types of recording are there in QTP?

189. What is the Difference Between Bit map Check point & Image Check pointPlease explain in

detailText & text area check point?

190. How are objects captured by smart identifiers in QTP?

191. What is recovery manager and describe?

192. What is 'sleep' in sync point?

193. how can we know the size of the object repository?

194. how do you measure transaction time in QTP other than start and End transaction

195. Hi,what is the procedure of doing SQL/database testing?Is a tester suppose to create

procedures,functions,views,triggers etc?

196. How many Actions possible in QTP

197. Why QTP is called A "Keyword Driven Test Tool"?

198. How to recall a function in QTP

199. How to add run-time parameter to a datasheet?

200. How many types of Actions are there in QTP?

202. How do you validate alternate text appearing in FireEvent?

203. How do you retrieve run time data from QTP scripts if the run time properties are not available.

204. Write QTP Script for scroll bar in application?

205. How to get a text from a list box,a cell from a table,and edit a text box?

206. Where is the bitmap chekpoint information saved?

207. How many strings can we declare in an array in QTP?

208. what is a virtual object and how can we create one in QTP?

209. 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

210. What is environmental variable? Explain me with an example?

212. Is it possible to test a web application(java) with winrunner?otherwise is it possible to check with

QTP?which one is best?

213. How do you change the Per-action Object repository option to shard object Repository option on the

Test settings dialog window on QTP?

214. How does QTP identifies the Test objects & Run time objects

215. How to handle the exceptions using recovery secnario manager in Qtp?

216. . . 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) Run the script in update mode and let the objects get updated automaticallyd) Use descriptive

programming

217. 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 QTP?

218. QTP Data table

219. Explain about descriptive programing for time filed using RegularExpressions?

220. How to test a date with QTP ?

221. can any one tell me whether QTP is a Compiler or Interpreter

222. How do you load existing object repositery in a newly created script? Is there any "Load" equivalent

winrunner function available in QTP?

223. How to create a popup object in QTP?

224. How do you use recovery management in the QTP? Explain with an example usage?

225. what is the difference between data driven framework and keyword driven framework?

226. how many modes are there in QTP ? describe about them ?

227. How to do concurrency testing with QTP.

228. 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.

229. Discuss QTP Environment.

230. How do you count items from a listbox using qtp

231. How to run or call a test in QTP which is saved in unknown drive with unknown extension ,with

name 'xyz"

232. Color comparison test in QTP

233. How to apply Regular expresions to a web page in QTP

234. How to get the value of a disabled edit box in QTP. What is the Winrunner" edit get info " equivalent

function in QTP.

235. 1. You create a suite of scripts which use a shared object repository. One of the objects, the status

bar on your application’s main window, is named AFX4450. The object appears in many scripts and is

causing confusion because of its non-intuitive name. You are asked to rename the object Status

Bar.Which answer best describes what must be done to rename the object and ensure that all scripts in

which the object appears execute without error?A. Only rename the object in the object repository

236. How to handle QTP generated run time errors through Recovery Manager

237. 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

238. QTP code for running stored procedure

239. how to run a script in QTP without storing the properties in object repository?

240. what is the process to follow between writing the test cases & then automating it?

241. How to record a script using the CMD (windows command line shell) ?

242. what is the difference in input/output parameter using at the following options. 1) test->setting-

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) ?

243. QTP Function Question

244. what is QTP batch testing tool?

245. how many ways you can execute test script?

246. How to read data from runtime PDF documents

247. 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 bject not found

248. 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 anything. GetROProperty("size") is also not working.Please let me know which run time

property I have to check.

249. IS it possible to use Start-up Scripts in QTP as in Winrunner

250. Is it possible to add objects to the Object Repository during runtime

251. 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

252. What is the QTP environment

253. How do you call functions in QTP Project without adding test settings, resources(library functions)

How do you call functions in QTP Project without adding test settings, resources(library functions).Is

there any other way around?

254. Please Explain difference b/w function and Action?

255. Explain about Descriptive programming with an example usage ?

256. In QTP when recording, no script is generated, neither in the tree view nor in the expert view. What

could be the problem?

257. What is the difference between keyword view and expert view?

258. Upgrading QTP Scripts Question

259.

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?

260. Among all the check points what is the most important checkpoint?

261. What is the difference between Test and a Business Component in QTP?

262. what is meant by test frame

263. what is an data driven extensoin in QTP scrpit?

264. What is Wait technique and Global technique in QTP?

265. Where do you use Browser(ppLoginBrowser).Dialog(SecurityAlertDialog ).Exist

266. 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

displayed in Keyword as well as Expert view.- Now either switch over to Keyword view or any other

application.- Now again switch over to Expert view of QTP.The Expert view is disabled, i cannot even

view the script, but the script is displayed in keyword view.If you or any other person has any id

267. How do you fetch data from search results grid using vb script. Is there any method to fetch value

from grid.

268. How do you automatically update image checkpoint through script?

269. How to open multiple tests in QTP?

270. how to execute sql query using qtp ? Explain with sample code.

271. How can i run my own qtp scripts in remote system.like rational test manager

272. How can you show the data from a particular row and a particular colum from Data Table in QTP

273. what are the advantages and disadvantages of global data sheet and local action sheet?

274. In WinRunner some GUI functions are there (like GUI_load) so in QTP what r the methods r there?

275. How do you load selective 20 records out 50 records from xls sheet?

276. What is the Winrunner "prinntf" equivalent QTP command?

277. How will you check XML Exceptions in QTP?(Here it is XML Exception, not check point)

278. how to write scenario in QTP?

279. what is the difference between image & bitmap checkpoint in qtp

280. Explain about output values in run time mode

281. 1. What is the QTP environment

282. How to write the script for Upload file by using browse button into the web application?

283. is it possible to compare the actual result with the database using QTP

284. how qtp handles customised object

285. Explain the process of creating a test for an xml file which is uplaoaded in the application where it is

validated?

286. what are add-ins why they are needed ?when should i select active x add-in ?

287. Hai,Can any one explain how to call a winruner script from qtp?can we execute qtp scripts from test

director.

288. How do you test DLL files using QTP?

289. what is use of regular expression in qtp ?

290. How can we use debug viewer in QTP.What is the use of that?

292. can we use qtp 8.2 with testdirector 7.2

293. what is the automation frame work

294. How long have you used the product?

295. why QTP is becoming more popular tool compared to other tools ?

296. what is the difference between test object and runtime object?

297. how to find load time,how to check font size,& GUI application & How to import datasheet pls tell

me step by step

298. how to identify an object which is not in the object repository

299. what programing languages can be used as scripting languages

300. 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 one

know then pls tell me.

301. Did you use flatfiles in your projects? At what situation you used it? How can you upload flatfiles?

302. What are the different ways of parameterising in QTP ?

303. 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

304. How to open notepad without recording and without using system.util.run command?

305. What are difference between QTP 8.2 and QTP 9.0?

306. 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.

307. In QTP, Which are the concepts are needed to do Functional testing and Regression testing?

308. 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 10What is the maximum amount of time

the statement will wait for the specified object to appear?A 20 seconds B 10 seconds C 30 seconds D 10

milliseconds E 20,010 milliseconds

309. What is the repository for objects in QTP?

310. What are the most frequent errors you faced while executing your scripts?

311. What is the Test Object model in QTP?

312. what is paramerization in qtp and tell me how to parameterize the tests.could u please explain with

an example.

313. what is the difference between table check point and database check point in QTP

314. What is BPT?

315. 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. if a

pop up is handled using scenario1 within an action1 of TEST 1 and if the action1 is called from TEST2,

will the same pop up be handled in the called action? It could be called as an existing or a copy of action.

316. 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

317. 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 QTP Help file : By default, the name assigned to the Browser test object in the object

repository is always the name assigned to the first page recorded for the browser object. The same test

object is used each time you record on a browser with the same ordinal ID in future recording sessions.

318. how to use global variables in QTP,What are user-defined envoirnment variables?

319. What is difference between Reusable Actions and functions in QTP(functionality wise)

320. 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?

322. How to access values from Unix OS and how to write command in the unix OS through QTP?

323. How to resolve, When QTP throws: verify that parent properties match an object currently displayed

in your application.I would appreciate your early replys

324. How to report defects using QTP if we do not have Quality Center Server?

325. what is the scope of a variable in an action?

326. How do we capture Web table and write a script for Webtable using QTP 8.2

327. wat is meant by Batch Testing

328. 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

329. If you have the same application screen with 7 drop down boxes and approximately 70 values how

do you test with QTP?

330. 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

in all the 10 forms,like the x coordinate,y coordinate,width,height,text etc.can anyone tell me how to

write the script for this.Itries to run by writing the script but i am getting the same value for all the OK

buttons even though there are some differences.The script is considering all the

332. 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?

333. 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,

how will u define output value summary?

334. How did you write macros? What is the main importance of VB macros in testing environment?

335. What is the difference between low level recording and analog recording mode when it will be

enabled.Please let me know

336. hai AVS,iam not agree with you, because we can change form shared repository to per action

repository viceversa.

337. How to get the cell value from Virtual Table?

338. what is a active x control?can any one brief me about active x controls

339. Maximum synchronizing time out in QTP

340. can we perform performance testing by qtp?

341. What is the procedure to use JavaScript in QTP?

342. Explain the concept of object repository & how QTP recognises objects?

343. 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.

344. What is wiagentie.dll

345. what is the difference between window command and dialog command

346. How to import data from a spreadsheet to Test director?

347. What are the disadvantages of Datadriven tests in QTP

348. how do we record a pop up window in QTP

349. 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

B).To check tool tips c).To check the links D). To check the database.4).Does QTP supports Unix

Environment?5).Which object model doesnt supported by QTP?a)DOM b)DECOM c).COM d).DCOM6).Wat

are the maximum actions we can create in QTP?a)255 b)256 c)No Limit

350. what is the difference between window command and dialog command

351. How to use Windows API's in the QTP scripts?What are the advantages of using API'splease provide

sample code

352. 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

data sheet with a parameter CASENUM and it has about 50 case numbers I now need to be able to verify

the right case has opened. There is a bunch of case header information that comes up when a case is

opened. It includes for example: -------------------------------------------------------------

353. Procedure to write and run a vbscript file to test applications using QTP if possible please explain

with an example thanks in advance

354. 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?

355. what do you mean by low level recording in QTP?

356. 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 any one suggest me regarding to this?

357. How to pass parameters from one action to another action.

358. how qtp 8.2 recogonizes or differentiates two "OK" button . pls tell me the distingushing feature.

359. How can I implement error handling in QTP

360. What is the difference between Select Cell and Activate Cell?

361. 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

account values do not match, the script should report a FAIL status for the step and increment the

error_count variable by one. You review your colleague’s script shown below:expected_account_balance

= 5000actual_account_balance = 5500If (actual_account_balance = expected_account_balance)

362. what are types of ordinal identifier?

363. What is Virtual Object? Plz Explain me with an example?

364. What is source control?

365. How to record objects of Windows taskbar

366. 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

load a specified part in my screen so that, that part only will be displayed in active screen.

367. Application is installed in one drive,how we can execute that application in another drive?

368. What is description of Object?

369. When task gets repeated what do you do. / how to handle dynamic objects,when task is repeated in

multiple scripts what u do

370. Does the candidate prefer Keyword processing or Expert processing and why?

371. How do we do parameterization in QTP to insert values from a file?

372. Can we use Perl and Shell scripting in QTP?

373. How to check whether 'X' (for closing window or dialog) icon exists for a .NET based application

using QTP

374. What is QTP Environment variable? What is its use?

375. How much time take for automation one Integration Test Cases using QTP

376. What are the coding standards for automation using QTP ?

377. What is Virtual Object in QTP? Explain me with an example?

378. what is terminal Emulator? What is it used for in QTP? What is its purpose?

379. How to get the Consolidated Test Result in QTP

380. 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

381. what is database check point.

382. How many number of actions possible in QTP?

383. What are different execution modes available in QTP & explain them.

384. 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?

385. Explain in detail the concept of synchronization.

386. What are the check points can be inserted without recording?

387. In what instancesdo we use virtual object wizard?

388. what are envirnment variables in qtp?

389. Can we change name of checkpoint? if yes how?

390. What is meant by Source Control?

391. What is descriptive programming?

392. What are Limitation of QTP?

393. What is the best way to do regression testing using QTP.

394. what is the use functions in QTP. public, private

395. Can we call a QTP script from a main script without making it reusable?

396. Difference Between text and Textarea checkpoints in QTP

397. how can i insert database checkpoint in qtp-6.5

398. what are advantages and disadvantages between internet explorer and netscape navigator (or)

Internet Explorer Vs netscape Navigator

399. How can we insert Text check point and Bit map check point ? if provide example script, it is

greatefull

400. What is difference between global sheet anh action sheet?

401. how to connect the database through QTP

402. what are the types of exception handling available in QTP and what is the difference between

winrunner and QTP exception handling

403. What is meant by Source Control?

404. What is Component...??

405. What is the repository for objects in QTP

406. What are the loops used in Quick Test Professional ?

407. What is Analog recording,What is the difference between analog recording and low level recording

408. can u explain qtp arcitecture,what are the terms in qtp architecture?

409. 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

410. Few basic questions on commonly used Excel VBA functions.

411. Is it possible to change from Shared Object Repository to Per Action Repository or vice verse. if Yes

then How

412. How to check text of a tool tip for .NET based application in the QTP.

413. Can we pass an array to a reusable action as an argument

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

415. How can you delete the results file (XML)QTP

416. 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 3. Have they used the suite in a collaborative team environment? What did they

dislike and find difficult to accomplish within the group? What did they like about that environment? How

difficult was it for them to deal with less experienced team members? Why?Question 4: When Scripting

417. how can we convert the QTP test result and snaphots into a pdf file .

418. how to map custom objects in the .NET base application using QTP.

419. 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 actionsIV. Tests that verify an application’s usabilityV. Tests that are executed infrequentlyVI.

Critical tests that are tedious to perform manuallyWhich of the above represent types of test cases that

are typically good candidates for automation?A I, III B III, VI C I, IV, V D II, III,

420. How to do link testing in a web application using QTP?

421. What is the use of PeopleSoft Add-in in QTP?

422. For Clicking on Calendar dates from Calendar,How do we capture it in Object Repository and write

scripts?

423. Can we use QTP(8.2 or 9.0) with Test Director?

424. how can u write a script without using a GUI in QTP?

425. What is the differance between resuable action & library file?

426. 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 properties or an ordinal identifier to create a unique object descriptionIV. Assign a logical name

to the objectWhich answer describes the correct order of tasks that are performed by QuickTest Pro

during recording to create a unique identity for an object?A IV, I, II, III B IV, I

427. How is batch testing related to interface testing?

428. 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 is busy processing is an animated image of a flashing red light. Each time the system is finished

processing, the image is returned to a static image of a green light. Assume that none of the image’s

properties available to QuickTest Pro indicate whether or not the system is busy.What i

429. 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 recorded. Can anyone help me?

430. What is BPT in QTP and how to create reuseable component in BPT?

431. Explain about Smart Identification with a simple example

432. What is the difference between Index and Location in Object Identification In QTP

433. what is the use of "operation" which comes under "insert" menu of qtp 9.0,how

what is the use of "operation" which comes under "insert" menu of qtp 9.0,how to enable it

434. Can you record right click and the menu appearing after right clicking on any of the links in the

browser...??If YES then HOW...??

435. What is the use of descriptive programming?

436. 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

in the excel sheet.

437. How would u manipulate the script so that when the test is run it takes a new login name?

438. 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 me know where can i find these syntaxs in QTP.

439. How can an object from a per action repository be called to another per action repository?

440. Generally what object repository mode is preferred?Generally in real time projects we use Shared

Object Repository file.

441. how to fetch test data from Database by using QTP?

442. How to call a funtion present in dll file in QTP Script.

443. How to get the column count and column name from resultset in database connction program?

444. 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

445. how can we validate any date format like todays date(02/15/06)?

446. Generally what object repository mode is preferred?

447. Without recording objects in Object Repository are we able to run scripts?

448. Advantage of using Mercury Quality Center over Test Director

449. Can we mask a Code In .vbs file so that it is not viewable to others?

450. 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 in a QTP script and not allow anybody to see our code?

451. How to add run-time parameter to a datasheet?

452. how to do regression testing using qtp

453. how good is QTP for testing siebel applications?whether QTP recognizes siebel objects or something

else is needed?

454. How to load the *.vbs or test generating script in a new machine?

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

456. How can I execute PL/SQL stored procedure (with parameters) thorough VBScript?

457. How can u describe the basic flow of automation with conditional and programmatic logic?

458. When there is a task that gets repeated in multiple scripts, what do you do in QTP?

459. How and what kind of VB functions do u use in QTP?

460. 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)?

461. How can you write a script without using a GUI in QTP?

462. How do u ignore exceptions raised by a procedure or function within a package.Ex: Package a {

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 exception proc2 and proc3

must be excecuted.

463. what r the good practices,coding conventions to follow while working on a QTP project

464. How can we do block commenting in QTP?

465. What is the extension for QTP Script file?Is there any extension at all?

466. How many types of environment variables are there in QTP? what are they?

467. 1. How we can automatically update image checkpoint through script? 2. How we can covnvert

diseble sub-menu button into enble button?

468. How to parameterize checkpoint ?

469. what is Remote Agent in QTP

470. 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

471. how to ceate a shared reposi. in QTP9.0

472. How to parameterize checkpoints?

473. What is an Automation Frame work??? Explin some Types.....

474. How to handle an exception in a script without using Recovery Manager?

475. Can we create test scripts in QTP without using object repository or objects

476. what is desired machine and n/w config while integrating QC with QTP

477. what is the use of command tab in Debug viewer ?can we execute any user defined queries

478. How to create the dynamic object repository in QTP?

479. how to identify a 'web element' class object while recording and running in 'Event&#

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...

480. How many types object repository in QTP?

481. 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?

482. What are the new features available in QTP 8.2 compared with earlier versions?

483. What is the best way to test UNIX (QTP, Winrunner or Xrunner)? If QTP supports let me know the

brief process?

484. wat is xml schema validation and how to perform schema validation for a file.wat is *.XSD extention

485. How is automation used in QTP for regreession testing. Please give me a sample script.

486. How to use different debuging modes in QTP

487. How do I create an Action Sheet and ensure each row in the Action Sheet is executed in a single

test iteration?

488. What is the new Version of QTP which is recently released in the Market?

489. For the AS/400 application that takes data only thru the keyboard input and not even single mouse

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

490. Is there any function to double click a particular row in a webtable?

491. Hi forum. Could any body tell me what is AMDOCS, and what are its models ? Best regrds.

492. What is the Recovery Scenerio can apllied for any telephone line connection(Ex:BSNl,Airtel etc

493. How to call from one action to another action in QTP?

494. 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 there

or not by using getroproprty method but if focue is not there which method i need to use.

495. How to schedule tests in QTP?

496 I have n iterations of test run in QTP. I want to see the results of not only the latest (‘n’th) iteration

but also all the previous iterations (1to ‘[n-1]’th)

497. 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?

498. what is keyword driventest ?

499. How to test Dynamic web pages using QTP

500. What is the Hotkey that can be used for Hitting spacebar?

501. How do you retrieve the Class name of a Test Object programmatically from within a script?

502. What is difference between window(" ") and dialog(" ") in QTP while creat

What is difference between window(" ") and dialog(" ") in QTP while creating script?

503. How to check an XML schema (XML Schema Validation--from XML file)? Ttell me about .XSD file

format.

504. 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 to

recognise the objects.

505. How can i execute QTP scripts through commandprompt?

506. How do we connect to Oracle database from QTP ?

507. What is Expert view in QTP?Can you explain with example?

508. How do we test Links using Quick Test Professional and confirm that the page we are requesting is

seen after clicking?

509. How to Handle dynamic WebList in QTP...Values in Weblist are different

510. what is the advantage and disadvantage of using Virtual Object wizard?2) How efficiently we can

use Virtual object Wizard in QTP?

511. 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?

512. How to write QTP test results to an Excel application

513 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

created.

514. 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

bought cell phone and put in the cart then you find some shipping cost associated with it.You bought

another item and put in the cart and notice that it is free shipping.You decided to check out and at the

time of checkout you see the shipping costs got reversed for the two items.You are already r

515. What are the limitations for XML Checkpoints in QTP 8.0?

516. How to record Flex (1.0) objects using QTP?Post the code which works for this.

517. Can any body expalin me the differences between a reusable and a external action with example?

518. How to customosize QTP?

519. 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?

520. 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 test mode to shared.

521. I need information on using FSO(file system object) also its significance

522. How to use a data driver in QTP?

523. What is the process for creating an automated test script using QTP assuming you have reviewed

the manual test case and understand the requirements?

524. How can I import and/or merge an existing repository into my current test?

525. 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

project for automation testing. On that time, What would be your desicion as automation test engineer ?

526. 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

used Run Update but was not clear how to modify properties usage in Object Identification so can you

please clarify which sort of properties can be used to do so for Web Objects?????

527. Explain the concept of checkpoint declaration in the QTP for Objects, Pages, Text and Tables ?

528. How can we validate the PDF file recognization and its content with the help of Mercury product

QTP(Quick Test Professional)?

529. how to retrive/update database by writing code in expert viewIn my case database is Accessmy dsn

name="try"database name="employee.mdb"

530. How can we return values from userdefined function? anybody provide code with small example its

great for me.

531. 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'

how?

532. what is difference between stub and driver?

533. What is the Architecture of QTP?

534. What are the disadvantages or drawbacks in QTP?

535. How to change the Object Repository Mode using CODE? ie from Shared to PerAction.

536. what is logical name of the object

5371. 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. Is

this possible in QTP? can anyone help me?2. Makes sense the parameterize concept ... but If you want to

run the same sequence 1000 times ... using the same parameters. Is it possible? I'm looking for

something to test the performance also.

538. 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.

539. what is the difference between Winrunner & QTP?what is the advantage of using QTP then

winrunner?

540. 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.

541. What is keyword driven testing please give process one example.what is the different between

datadriven and keyword driven testing

542. 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 screen bitmapHow we can get the bitmap from database.

543. 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 one

know pls let me know

544. What qt plus ? How we merge the files in qtp?What is feasibility study in automation?

545. 1. what are the actions available in QTP?2. What is environmental variable? How many types

available in QTP?

546. 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.

547. 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.

548. 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 terms of

coordinates. I want to know that how can i make QTP identify the selection so that i can go for

parameterization.

549. How yo get the path dynamically in QTP?

550. 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.

551. what is the advantage of using action button in you presentation?

552. 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 GUI Map file(WR) or Objecttest repository(QTP

553. what is the difference between qtp script and vb script

554. what is the function for loading a repository in QTP

555. 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 datatable accesses data from other datatables at runtime

556. We have readonly mode I want to modify my script I want to change it to writeonly mode can

anyone give me the process.

557. 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

558. How to test the Flash Objects in QTP? Whether we should add any Add-ins for that? If yes where

we will get that?

559. 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 give

me an idea, or send me any links.

560. Is QTP able to recognize objects in applications like Photo-Shop?I want to record, run & edit actions

in Photo shopApplabs

561. 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 interviewer, thats it.)

562. What is the difference between these three debugging modes1.Stepinto2.Stepout3. Stepover ?

563. What is the limitation to XML Checkpoints?

564. How can i break a test if a bitmap-checkpoint fails ?

565. Which the Object Model the QTP uses for the Object identify of an application ? Choices are

1.DOM,2.DCOM,3.COM,4.ROM .

566. Hi,How can we test a stored procedure ?

567. 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 or

notc) Try to click on a control in a window and if it fails, assume that the window is minimizedd) There is

no option to check whether a window is minimized or not

568. 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

coordinates. How do i make QTP recognise such a object.

569. how to pass parameters from one test to another test in QTP

570. What is the difference between Image Check point and Bit map check point

571. Where is the bitmap checkpoint information saved? a) In Temporary folder b) In

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 d) In the checkpoint.usr file

572. Is QTP supports the reports(Business Objects) to automate.

573. Which Object Model is used by QTP to identify the object property of an application

?1.DOM2.DCOM3.COM

574. how to create database checkpoint while testing any web application

575. How do I prepare report after completion of test in QTP and how to explain this to the senior test

engineer?

576. 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 to

add library file & which file. DO u have any example of function how to write in QTP

577. have you ever written a compiled module? If yes tell me about some of the functions that you

wrote.

578. 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

stored? If in the server does it require mapping to client? 4.Can QTP integrate with outside version

control systems? 5.What are the installation prerequisites for QTP?

579. How can QTP understand virtual objectsand can it reusable

580. How to click on the link available in the web table , 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....

581. what are the advantages and disdavantages of shared object repositry and per action

repository?which

582. How to call an external aand built-in-function in a script using VB script statements?

583. How can we test PDF without validating in text streams?

584. can we record an application running on a remote machine using QTP

585. 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

and so on till the last page.

586. 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() .

587. 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

evaluate to false.

588. can any one explain in Detail abt how to handle virtuall objects in QTP 8.2

589. How do you test oracle application using qtp?

590. how to import data for data driven test?

591. how to change a name of an object in a application?

592. Give an example of a regular expression,user-defined function and built-in-function?how to make a

user-defined function reusable?

593. When there is a task that gets repeated in multiple scripts, what do you do in QTP?

594. what is meant by external files in QTP.

595. I am using QTP testing tool,What is micclass? and how to refer the different DLL\'s?

596. 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..............

597. How do you test siebel application using qtp?

598. how can we test datareports through QTP

599. Explain the need to use analog recording in qtp?

600. How to make QTP to recognise the activeX controls

601. How you write scripts in QTP? What's the main process in QTP? How do you run scripts in QTP?

602. How to make QTP to recognise the activeX controls.

603. If you have the same application screen with 7 drop down boxes and approximately 70 values how

do you test with QTP?

604. Can we update the database though Qtp.

605. 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?

606. how and what kind of Vb functions do u use in qtp?

607. HOW CAN I IMPLEMENT ERROR HANDLING IN QTP,I KNOW WITH RECOVERY MANAGER BUT HOW

PLZ GIVE ME DETAILED TO HOW TO HANDLE GIVING AN EXAMPLE?

608. what is the descrirptive progrmaing?.what is the use of descriptive programing?

609. what is meant by SOURCE CONTROL ?

610. CAN SOMEONE ANSWER THIS:how can u discribe the basic flow of automation with conditional and

programatic logic?

611. How can i add a action (external action) programatically?

612. 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.......

613. how to load the *.vbs or test generating script in a new machine?

614. 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.

615. What projects have you used WinRunner on? Tell me about some of the challenges that arose and

how you handled them.

616. Can you do more than just capture and playback?

617. IF we use batch testing.the result shown for last action only.in that how can i get result for every

action.

618. 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?

619. Explain as to how would you design the driver code for a keyword based test script.

Read more: http://www.placementpapers.us/automated_testing_tools/126-

qtp_interview_questions.html#ixzz0qoJNI9O8

Under Creative Commons License: Attribution