Tuesday, 6 July 2021

UFT Interview questions

QTP/UFT Questions:
1. What is Object Repository, and Types?
2. What is Descriptive Programming?
3. Different Types of Frameworks and Approach?
4. How can we identify whether the test case can be automated or not / Factors to be considered for automation of any test cases?
5. What is the difference between function and procedure?
6. Difference between Action and Function?
7. Different types of actions?
8. How can you handle dynamically changing object properties?
9. What is the difference between absolute and relative path?
10. Types of Recovery Scenarios?
11. How do your convert Local Repository to Shared repository?
12. How do you invoke application using utility object (Invoke application and SystemUtil.Run)? What is the difference between them?
13. Types of Loops and Conditional statements in VB Scripting?
14. What is option explicit?
15. Difference between conditional statements(If else and Switch case), which one is preferred?
16. Types of Environment variables and differences between them?
17. Difference between Local repository and Shared Repository?
18. If two objects in AUT are having the same object properties, how QTP identify the objects?
19. In an general scenario if a screen having five objects, what is your approach to automate that screen(what type of framework you are going to implement)?
20. Difference between For and For each?
21. Can u pass values from action to functions by using arguments and vice versa?
22. List some of the critical challenges you encountered in your current framework. Explain the resolution for the challenges?
23. In a web table, there are object classes like Radio Buttons, Checkboxes, and Buttons etc. How do you get the count of Radio Buttons exists in that web table?
24. Please explain one best user defined recovery scenario & exception handling cases in your current framework?
25. There are 2 library files and a function with name “Login” is available in both the library files. When we call the function from an action, from which library file the function will be executed?
26. How do you get the properties of an object in run time without using ‘GetORProperty’
27. There is an Object on application and its properties are dynamically changing. None of the properties are constant. In this situation, what is your approach to identify the object?
28. There is a string VAM391#@. How do you get number of characters, numeric & special characters exists in the string?
29. What is the significance of EVAL method in VB Scripting?
30. List some of the precautions you will take for successful batch execution?
31. How do you overcome Sync issues without using hard coded wait statements?

Database Questions:
1. Types of joins and differences between them?
2. What is the difference between Primary Key and Unique Key?
3. Difference between Foreign and Primary key?
4. Explain about Sub Queries and Union All command?
5. What is Normalization? Different types of Normalizations?
6. What is Referential Integrity?
7. How to establish connection to Database?
8. Explain about Select Queries with Where Clause, Having, GroupBy and Order by

In a recent interview:
1. What is a framework?
2. Why do we use Arrays?
3. How to capture the length of a string?
4. How do we capture properties of an object at Run time?
5. Explain about a Defect that you found using scripts?
6. How do you handle object properties that change?
7. Explain difference between if and Case statement

No comments:

Post a Comment