Interview question in different company

Adobe Selenium question:
  • Different between RC and web driver
  • Page object frame work
  • Handle unwanted pop up
  • Send request to server through RC and web driver
  • Why java is important to coding in web driver not other language 
  • Different Between String and String Buffer
  • Multiple alert accept
Data base question
  • Unique key and primary key different
  •  Different between Inner join and left outer join
QTP
1. Explain QTP automation framework.
2. What is HYBRID framework?
3. What are the Features & Benefits of QTP?
4. What are the types of Object Repositories in QTP?
5. Which object repository we use in real time and can we merge 2 object repostiory and
how?as said there r 2 types of object repository i.e.
1) per action 2) shared mode by default its per action but in real time we use shared mode.
yaa we can merge two obj rep by an option " merge object repositories in Quick Test Plus.
6. Explain the concept of object repository.
7. How QTP recognizes objects? 
8. WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?1)the use of functional generator in
qtp is which lists out the all the built in functions in qtp and helps you to write the vb script for un known objects. 2)it is also used to reduce the typing mistakes & synta errors
9. What is User defined function in QTPuser defined function is nothing but ,u can define ur own
fuction for particular functionality. Normaly we will create user defined functions for the reusable functionality(which is available in ur application) 10. How we can add actions in the test using QTP?there four actions call to action ,copy of
action,call to exesitng action,call to winner,split action just right click on any one select it
Page 1 of 6
11. How to write script in qtp(vbscript), I mean without application deployed..and how to call
script1 into script2?runaction actionname(iteration mode,iteration
range,parameters)
12What is the differnce between action & script?A script can have multiple actions.
A script is a test case which have multiple actions. For an example, for an functional testing you can single action which can be considered as a script For integration testing ­you can add multiple actions which is also considered together as a script
12. what will happen in object repository(shared) if we call an existing action from an
external action? and what happen in object repository(per action)if we call an existing
action from an external action?
13. Suppose I have 5 Actions in my Test script. Out off which i want to make 3rd action as
my start-up action. How should i make it?
14. What is the difference between Call Run action and copy of action?
15. What are reusable actions?
16. What is the difference between functions and actions in QTP?
17. What is the difference between function and sub-routine.?
18. What is batch testing?
19. HOW TO DO THE BATCH TESTING USING QTP?
20. In how many ways you perform batchtesting?
21. Write a sample script/ small code snippet to COUNT TOTAL NUMBER OF HYPERLINKS on
a webpage.
22. Write a sample script/ small code snippet to select any radio-button or checkbox on a
webpage.
23. What is descriptive programming.? What are it’s pros and cons.?
24. Have you ever written a compiled module? If yes tell me about some of the functions that you wrote.
Ans: I Used the functions for Capturing the dynamic data during runtime. Function used for Capturing Desktop, browser and pages.
Page 2 of 6
25. Can you do more than just capture and playback in QTP?
26. What is the difference between check point and output value.
27. Discuss QTP Environment.
28. Differentiate the two Object Repository Types of QTP.
29. How to handle dynamic objects in QTP?
30. How many checkpoints can be used in QTP.?
31. Is it possible to connect QTP with QC.? If Yes then how.?
32. Can the defects be logged automatically in QC for a script getting failed of a testcase.?
If Yes then how.?
33. What is a Run-Time Data Table? Where can I find and view this table?
34. What is the difference between image checkpoint and bitmap checkpoint 
35. What is the concept of checkpoint declaration in the QTP mainly for the Objects, Pages,
Text and Tables ?
36. What is the limitation to XML Checkpoints?
37. What is the use of Accessibility check point?
38. Where is the bitmap checkpoint be saved?
39. In how many ways we can add check points to an application using QTP.?
40. What is the difference between Table checkpoint and Database checkpoint in QTP?
41. What is parameterization? How we can implement it in QTP.?
42. In how many ways does parameterization can be done in QTP?
43. How does Parameterization and Data-Driving relate to each other in QTP?
44. What are the properties you would use for identifying a browser & page when using
descriptive programming ?
45. What are the different scripting languages you could use when working with QTP ?
46. Explain the keyword createobject with an example.
47. How to handle the exceptions using recovery secnario manager in QTP?
48. How to use the Object spy in QTP? 49. what is the use of Text output value in Qtp? 50. What is the file extension of the code file & object repository file in QTP? 51. Can we merge two object repositories.? If Yes then How.?
Page 3 of 6
52. How to make arguments optional in a function? 
53. How to covert a String to an integer? 
54. Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why?
55. How to supress warnings from the "Test results page"? 
56. When we try to use test run option "Run from Step", the browser is not launching automatically why? 
57. Does QTP is "Unicode" compatible? 
58. How to "Turn Off" QTP results after running a Script? 
59. How to verify the Cursor focus of a certain field? 
60. How to handle Run-time errors in QTP? 
61. How to change the run-time value of a property for an object?
 62. How to retrieve the property of an object? 
63. How to open any application during Scripting?
64. How to use Environment variable?
Some Advance level QTP / UFT interview question
What is the extension of Local object repository file ?.mtr
What is the extension of Shared object repository file ?.tsr
Apart from VB script What are the fundamental criteria to gain the knowledge to write QTP script without OR and recording ?
What is the extension of action script template?.mts
How to get number of columns and rows from an Excel sheet?
How to merge object repositories in qtp for N different applications ?
How to create an instance in QTP?
Write the regular expression for date format of mm/dd/yy?
Write script to read and write data from file ?
What is FSO? File system object
Write script for finding number of broken links in web page?
Is it possible to change the date format like MM/DD/YY into DD/MM/YY through script in QTP?
In qtp how you can retrive from a browser how many links are there.(means total no of links used in a browser)
A webPage has a ComboBox with 10 values in it. Write a script to select 4 vales from it using CTRL key
A dialog is diplays " Transaction 254689 has been successfully completed" How to get the transaction ID from the message ?
Ans:= sre="Transaction 254689 has been successfully completed"
a=mid(sre,13,6)
msgbox a
how qtp will recognise if application is run on many browsers ?
Write the vb script to sort array in ascending and descending Order ?
What is the difference between Mandatory and BaseFilter Properies ?
What is the difference between Systemutil.run and Navigate?
Where do you define the objects as regular expression when you are using regular expressions.
How to find the OS name by using QTP script?
Script to Open the Text file and Read the line then write the line to another file
How do we Access, retrieve and edit the runtime objects in Automation Testing using QTP
How to load a object repository in QTP during runtime?
How to Add libraries in QTP during runtime?
If there are seven browsers with same name open. I want to close one particular browser thru QTP. how can I do this?
Why do we use both location and index identifier?
How can we redirect QTP results in to a excel sheet after the execution
What is difference b/w AOM,DOM,COM Have u ever is used ny of the models.If so why?
Check if a string is alphanumeric or not
What is Dif between Test parameters and action parameters ?
Explain Redim and Preserve with example.

Company
netsity systems pvt ltd

hcl technologies

infosys

chetu interview question

mindtree careers

SQL Oracle Mysql Mongo DB







No comments:

Post a Comment