InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Is Application Map? |
|
Answer» An Application MAP Provides NAMED References for GUI COMPONENTS. Application Maps are NOTHING but "Object Repositry" An Application Map Provides Named References for GUI Components. Application Maps are nothing but "Object Repositry" |
|
| 2. |
What Is A Keyword ? |
|
Answer» Keyword is an ACTION that can be PERFORMED on a GUI Component. Ex . For GUI Component TEXTBOX some Keywords ( Action) would be InputText, VerifyValue, VerifyProperty and so on. Keyword is an Action that can be performed on a GUI Component. Ex . For GUI Component Textbox some Keywords ( Action) would be InputText, VerifyValue, VerifyProperty and so on. |
|
| 3. |
Give An Example For Folder Structure? |
|
Answer»
1. ObjectRepository
4. TestData Folder Structure: 1. ObjectRepository 4. TestData |
|
| 4. |
What Is Folder Structure? |
|
Answer» In order to create, store, organize and manage files, a WELL defined folder structure is required. Folder structure is a MANDATORY element of any framework, but folder names MAY vary from one framework to another and company to another. In order to create, store, organize and manage files, a well defined folder structure is required. Folder structure is a mandatory element of any framework, but folder names may vary from one framework to another and company to another. |
|
| 5. |
What Are The Key Elements Of Automation Framework? |
Answer»
|
|
| 6. |
What Are The Important Keywords That We Use In Qtp? |
| Answer» | |
| 7. |
What Is Keyword? |
|
Answer» Any word used as the KEY to a CODE A reserved word used to identify a SPECIFIC COMMAND or function or method or statement or OPERATOR or object etc. Any word used as the key to a code A reserved word used to identify a specific command or function or method or statement or operator or object etc. |
|
| 8. |
What Is Keyword Driven Approach? |
|
Answer» In this APPROACH KEYWORDS can be USED for creating and EXECUTING tests. In this approach keywords can be used for creating and executing tests. |
|
| 9. |
What Are The Different Types Of Tasks To Be Performed During Test Automation? |
|
Answer» Tasks to be performed: a) Analyzing the application in terms of Object Identification: we have to analyze the AUT in terms of Object Identification. Basically, QTP is an Object based test tool, here first we have to confirm if the QTP is recognizing all the objects in our application or not. To do this, we can follow one or more below given methods...
We can segregate Software Objects in 3 categories...
Note: We can handle dynamic Objects using Regular expressions and handle duplicate Objects using "Index" property. b) Selecting Areas/Test Cases for Automation Overview: 100% test automation is not possible, we can go for MAXIMUM automation. Generally we select below type of Tests for Automation:
c) Planning (Effort estimation, Schedule, Work allocation and Automation Framework implementation) Overview: After selecting some areas for Automation, we have to estimate the efforts in terms of Scope of the Project, time and resources(Environmental and Human) To estimate efforts, we can follow an one of the below given methods:
d) Creating Generic and project specific functions. e) Creating required Automation resources(Functions, Object repository Files, Environment variable files---etc) f) Creating Tests(Using Object Repository or Descriptive Programming) g) Enhancing Tests(Inserting Checkpoints, Output Values, Transaction points, Flow Control Statements, Synchronization, Parametrization---etc ) h) Debugging and running tests(Individual test execution, Test Batch execution --etc) i) Defining and exporting test results j) Analyzing results k) Defect Reporting using Our Company defect management system. l) Modifying resources and tests (if required) m) Performing Re and regression testing n) Maintaining Automation Resources Tasks to be performed: a) Analyzing the application in terms of Object Identification: we have to analyze the AUT in terms of Object Identification. Basically, QTP is an Object based test tool, here first we have to confirm if the QTP is recognizing all the objects in our application or not. To do this, we can follow one or more below given methods... We can segregate Software Objects in 3 categories... Note: We can handle dynamic Objects using Regular expressions and handle duplicate Objects using "Index" property. b) Selecting Areas/Test Cases for Automation Overview: 100% test automation is not possible, we can go for maximum automation. Generally we select below type of Tests for Automation: c) Planning (Effort estimation, Schedule, Work allocation and Automation Framework implementation) Overview: After selecting some areas for Automation, we have to estimate the efforts in terms of Scope of the Project, time and resources(Environmental and Human) To estimate efforts, we can follow an one of the below given methods: d) Creating Generic and project specific functions. e) Creating required Automation resources(Functions, Object repository Files, Environment variable files---etc) f) Creating Tests(Using Object Repository or Descriptive Programming) g) Enhancing Tests(Inserting Checkpoints, Output Values, Transaction points, Flow Control Statements, Synchronization, Parametrization---etc ) h) Debugging and running tests(Individual test execution, Test Batch execution --etc) i) Defining and exporting test results j) Analyzing results k) Defect Reporting using Our Company defect management system. l) Modifying resources and tests (if required) m) Performing Re and regression testing n) Maintaining Automation Resources |
|
| 10. |
What Is Hybrid Framework? |
|
Answer» It is a COMBINATION of 2 or more approaches Ex: Modular framework and Data driven framework Drawbacks:
It is a combination of 2 or more approaches Ex: Modular framework and Data driven framework Advantages: Drawbacks: |
|
| 11. |
What Is Keyword Driven Framework? |
|
Answer» In this APPROACH tests can be CREATED and EXECUTED USING KEYWORDS In this approach tests can be created and executed using keywords |
|
| 12. |
What Is Data Driven Framework? |
|
Answer» Description: In this APPROACH tests can be executed using multiple sets of test data
Disadvantages:
Description: In this approach tests can be executed using multiple sets of test data Advantages: Disadvantages: |
|
| 13. |
What Is Modular Framework? |
|
Answer» Description: In this approach tests can be created and EXECUTED using reusable components. Advantages:
Disadvantages:
Description: In this approach tests can be created and executed using reusable components. Advantages: Disadvantages: |
|
| 14. |
What Is Record/playback Or Linear Framework? |
|
Answer» Description: In this approach tests can be created and executed using RECORDING feature. Advantages:
Disadvantages:
Description: In this approach tests can be created and executed using recording feature. Advantages: Disadvantages: |
|
| 15. |
What Are The Different Types Of Automation Frameworks Available In The Industry? |
|
Answer» AUTOMATION Framework is not a QTP Tool feature, it’s a 3rd party concept. And this is purely local concept.(framework may vary from one company to another and One PROJECT to another)
Automation Framework is not a QTP Tool feature, it’s a 3rd party concept. And this is purely local concept.(framework may vary from one company to another and One project to another) |
|
| 16. |
What Are The Different Types Of Files To Be Created And Executed During Test Automation Using Qtp Tool? |
|
Answer» Files to be used:
Files to be used: |
|
| 17. |
Why Automation Framework? |
|
Answer» In one project test automation we CREATE and use DIFFERENT types of files and we perform different types of tasks, in order to ORGANIZE and manage them all, a systematic approach (Automation FRAMEWORK) is REQUIRED. In one project test automation we create and use different types of files and we perform different types of tasks, in order to organize and manage them all, a systematic approach (Automation Framework) is required. |
|
| 18. |
What Is Automation Framework? |
|
Answer» A SET of guidelines, ASSUMPTIONS and process developed by experts in ORDER to PERFORM a TASK(s) in an effective, efficient and optimized way. A set of guidelines, assumptions and process developed by experts in order to perform a task(s) in an effective, efficient and optimized way. |
|