SlideShare a Scribd company logo
1 of 9
1. How do you hide the Add-In Manager so that it will not be displayed while launching QTP?Answer: a) Uncheck “Show on Startup” checkbox in the Add-In Managerb) Uncheck “Display Add-In Manager on Startup” in the General tab of Options dialog box.2. How do you display the DataTable or Active screen if they are not shown by default?Answer: In Menu choose View -> Active Screen or View -> Data Table.3. What are the default add ins provided by QTP?Answer: ActiveX, Visual Basic, Web.4. What is the default location of DataTable for any QTP script?Answer: Script Folder Test Folder (folder with the name of the test where all test files are stored)5. What is QTP workflow Phases: Create, Display, Verify and Enhance, Integrate.??????Alternative answer: Create test suite, Create an engine, Automate test cases, Debug the script, Deploy the script to QA team.6. Low level Recording is used to record?Answer: To record actual keyword objects or ignore Object identification capabilitiesAnswer: To record your clicks and keyboard input based on coordinates.7. What are the conditional statements provided in QTP?Answer: For..Next, While….wend, For……loop, Do….. While, If… Else…. End If, Select…. Case.Answer: If… Else…. End If, Select…. Case.8. What is the first step to change the logical name of the object recorded by Quick Test?Answer: Identify the instances of the object in the script. {S1, S2…S10 – OR}Alternative answer: Identify the instances of the object in the Object Repository{S_1, S_2…S_10}.9. Where can you find the result of an output parameter?Answer: Runtime Datasheet in Results10. Where do you set action iterations for a specified action?Answer: Action call Properties in Action0 Script11. Which of the following is created by default with new action?Answer: Action Properties, LocalSheet of Data Table12. Which source property specifies that data is retrieved from database?Answer: Output type13. Local object Repository is used for Single action tests. TRUE/FALSEAnswer: TRUE14. Shared object Repository is created in Object Repository Manager.Answer: Question looks like an answer itself15. Which tool is used to merge two shared object repositories?Answer: Merge Tool in Object Repository Manager.16. Virtual objects are stored in?Answer: dat folder of QTP Installation17. How do you create a Template for every Actions?Answer: Write the template script as “ActionTemplate.mst” in DAT folder of QTP Installation18. Bitmap checkpoint takes into considerationAnswer: Image size and pixel match19. Breakpoint is used for?Answer: Pauses the test execution at Current Step and then proceed to next step when instructed.20. When using recovery scenario wizard, the first phase is to specify?Answer: Triggered Events21. What all the types of Triggred Events :Answer: popup window, object state, test run error, application crash22. GetTOProperty is used to?Answer: Getting the test object properties i.e property from Repository.Answer: Returns the value of the specified property from the test object description.23. Give me 2 examples of ADODB objects?Answer: QuickTest?, Recordset and Connection.24. Close method is used to close the database session. –It is unclear what they mean because the question was altered: Close can be used to close a window or dialog too.25. Exportsheet is used for?Answer: Exports a specified sheet of the run-time Data Table to the specified file.26. Recovery scenario: is used to handle exceptions i.e. unpredictable actions/Errors.Answer: Question looks like an answer itself27. Step Generator is used for?Answer: Adding Steps to scripts without recording using the Repository/Utility Objects etc.28. Information pane and missing resource used for?Answer: The Information pane provides a list of syntax errors in your test or function library scripts.The Missing Resources pane provides a list of the resources that are specified in your test but cannot be found, such as missing calls to actions, unmapped shared object repositories, and parameters that are connected to shared object repositories.29. Where do you enable smart identification?Answer: Object Identification.Answer: Check box in the Run tab of Test Settings dialog box.30. What are the environment variable types?Answer: User defined and built-in.31. One more area to look into is Menu options i.e., where to look to enable or disable different features of QTP .There are around 4 to 5 questions covering the same.Answer: can’t be given32. By which type, procedure parameters passes the values to script?Answer: ByRefAnswer: String, Boolean, Date, Number, Password, Any.33. If we create a procedure under any test/script, Where we can use it?Answer: Procedure can be used only in the Test/script in which it is created, not callable from other testAnswer: If Action containing a procedure is reusable, it may me used in another tests.34. If we create a procedure under function library, how does it save with which extension:Answer: .QFL/VBS/TXT35. What is the difference between function and subroutine?Answer: function can return a value, where as subroutine cannot.36. What are the different STEP commands?Answer: Step Into, Step Out, Step Over37. Which keyword is used for counter increment Under For…Next loop?Answer: Step38. In Do Loop, at which point the condition is checked to proceed for next iteration?Answer: End of the loop, minimum one iteration will execute39. What is the first step to use the low level recording mode?Answer: Open in Normal modeAnswer: Normally start recording.40. How do register a procedure/function to a test object :Answer: RegisterUserFunc statement41. How do you bypass the object repository?Answer: Descriptive Programming or Programming Desc42. Where do you set the action as reusable action?Answer: Action Properties43. Global Data sheet is having one record and Local Data sheet is having two records, how many times the test executes by default?Answer: One timeAnswer: It also depends on record and run settings: in this question they assume “Run on all rows” radiobutton selected.44. Test -->Settings --> Run tab belongs to which sheet:Answer: Global45. Global Data sheet is having no records and Local Data sheet is having two records, how many times the test executes?Answer: One time46. How do you find the number of columns in database table?Answer: Fields.Count or Get the array size of the Record Set object. i.e upper limit.Answer: Use GetParameterCount method of DTSheet object47. What will return for ChildObjects method?Answer: Returns the collection of child objects contained within the object.48. Where can you set the smart identification quot;
ONquot;
:Answer: Check “Enable Smart Identification in the Object Identification dialog.49. How can we release the database after its use?Answer: Close the connection and Recordset objects; then set the object of quot;
ADODB.Connectionquot;
 type to “Nothing”50. How can u link individual actions to shared repository?Answer: Resources>Associate repositories51. Which object properties are shown in object identification box?Answer: Mandatory and Assistive52. Where can we disable the virtual object recognition?Answer: Toolsà Options à General à check “Disable Virtual Object Recognition” checkbox53. How to associate a procedure to a test object class?Answer: Use RegisterUserFunc statement.54. Which object is used in sending information to the test results?Answer: Reporter55. What is default identifier type for web objects?Answer: IndexAnswer: CreationTime56. Test object properties are:Answer: those mentioned in object identification box and in object repository57. Which object is used to read from text file?Answer: “Scripting.FileSystemObject”58. A dot followed by object in expert view displays?Answer: Child objects and methods59. While merging the two object repositories, what are the filter options available for target object repository?Answer: Show all objects & show only objects with conflicting descriptions60. How to declare a constant?Answer: Const name = value61. The method used to retrieve data from the weblist object is?Answer: GetItem method62. What is the method used to get the object name from a Web table cell?Answer: ChildItem63. How do you know the no of links in a web page?Answer: Page Check point, ???Answer: a set of statements:Set PageDesc = Description.CreatePageDesc(“Class Name”).Value = “Link”Set Pages = Browser(quot;
Mercury Interactivequot;
).Page(quot;
Mercury Interactivequot;
).ChildObjects(PageDesc)Number_of_pages = Pages.CountIf Number_of_pages = 0 ThenReporter.ReportEvent micDone, “No links was found in the web page, “”End If64. What will change using update run mode?Answer: The test updates the test object descriptions, the expected results of check pts and Active screen images and values.65. If virtual objects are available at your machine, but you don't want to consider the virtual objects what you will do?Answer: In Toolsà Options à General, we will configure to ignore the Virtual Objects by changing “Disable recognition of virtual objects while recording”.66. What is the default “Ordinal Identifier”?Answer: Location67. What is the default property of ordinal identifier when using smart identification?Answer: Mandatory and assistive properties.Answer: Properties displayed in the Base Filter Properties list.68. How to declare constant variables?Answer: Const Name = [value]69. How did you find whether script used the smart Identification or not?Answer: It will show in the test result pane as a Warning70. What is the first step in editing an object in the object repository?Answer: Enable Editing<br />
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2

More Related Content

What's hot

Sample Chapter of Practical Unit Testing with TestNG and Mockito
Sample Chapter of Practical Unit Testing with TestNG and MockitoSample Chapter of Practical Unit Testing with TestNG and Mockito
Sample Chapter of Practical Unit Testing with TestNG and MockitoTomek Kaczanowski
 
Simple Unit Testing With Netbeans 6.1
Simple Unit Testing With Netbeans 6.1Simple Unit Testing With Netbeans 6.1
Simple Unit Testing With Netbeans 6.1Kiki Ahmadi
 
How the PVS-Studio analyzer began to find even more errors in Unity projects
How the PVS-Studio analyzer began to find even more errors in Unity projectsHow the PVS-Studio analyzer began to find even more errors in Unity projects
How the PVS-Studio analyzer began to find even more errors in Unity projectsAndrey Karpov
 
2013 DevFest Vienna - Bad Tests, Good Tests
2013 DevFest Vienna - Bad Tests, Good Tests2013 DevFest Vienna - Bad Tests, Good Tests
2013 DevFest Vienna - Bad Tests, Good TestsTomek Kaczanowski
 
J unit a starter guide
J unit a starter guideJ unit a starter guide
J unit a starter guideselfishson83
 
GeeCON 2012 Bad Tests, Good Tests
GeeCON 2012 Bad Tests, Good TestsGeeCON 2012 Bad Tests, Good Tests
GeeCON 2012 Bad Tests, Good TestsTomek Kaczanowski
 
Test driven development - JUnit basics and best practices
Test driven development - JUnit basics and best practicesTest driven development - JUnit basics and best practices
Test driven development - JUnit basics and best practicesNarendra Pathai
 
Confitura 2012 Bad Tests, Good Tests
Confitura 2012 Bad Tests, Good TestsConfitura 2012 Bad Tests, Good Tests
Confitura 2012 Bad Tests, Good TestsTomek Kaczanowski
 
Qtp 8.0 basic
Qtp 8.0 basicQtp 8.0 basic
Qtp 8.0 basicmedsherb
 

What's hot (20)

Junit tutorial
Junit tutorialJunit tutorial
Junit tutorial
 
Junit With Eclipse
Junit With EclipseJunit With Eclipse
Junit With Eclipse
 
JUnit 5
JUnit 5JUnit 5
JUnit 5
 
Sample Chapter of Practical Unit Testing with TestNG and Mockito
Sample Chapter of Practical Unit Testing with TestNG and MockitoSample Chapter of Practical Unit Testing with TestNG and Mockito
Sample Chapter of Practical Unit Testing with TestNG and Mockito
 
JUnit Pioneer
JUnit PioneerJUnit Pioneer
JUnit Pioneer
 
Qtp questions
Qtp questionsQtp questions
Qtp questions
 
JUNit Presentation
JUNit PresentationJUNit Presentation
JUNit Presentation
 
ikp321-04
ikp321-04ikp321-04
ikp321-04
 
Simple Unit Testing With Netbeans 6.1
Simple Unit Testing With Netbeans 6.1Simple Unit Testing With Netbeans 6.1
Simple Unit Testing With Netbeans 6.1
 
How the PVS-Studio analyzer began to find even more errors in Unity projects
How the PVS-Studio analyzer began to find even more errors in Unity projectsHow the PVS-Studio analyzer began to find even more errors in Unity projects
How the PVS-Studio analyzer began to find even more errors in Unity projects
 
Junit
JunitJunit
Junit
 
2013 DevFest Vienna - Bad Tests, Good Tests
2013 DevFest Vienna - Bad Tests, Good Tests2013 DevFest Vienna - Bad Tests, Good Tests
2013 DevFest Vienna - Bad Tests, Good Tests
 
Qtp 11 notes
Qtp 11 notesQtp 11 notes
Qtp 11 notes
 
J unit a starter guide
J unit a starter guideJ unit a starter guide
J unit a starter guide
 
Test driven development
Test driven developmentTest driven development
Test driven development
 
GeeCON 2012 Bad Tests, Good Tests
GeeCON 2012 Bad Tests, Good TestsGeeCON 2012 Bad Tests, Good Tests
GeeCON 2012 Bad Tests, Good Tests
 
Test driven development - JUnit basics and best practices
Test driven development - JUnit basics and best practicesTest driven development - JUnit basics and best practices
Test driven development - JUnit basics and best practices
 
Confitura 2012 Bad Tests, Good Tests
Confitura 2012 Bad Tests, Good TestsConfitura 2012 Bad Tests, Good Tests
Confitura 2012 Bad Tests, Good Tests
 
Qtp 8.0 basic
Qtp 8.0 basicQtp 8.0 basic
Qtp 8.0 basic
 
Java Unit Testing
Java Unit TestingJava Unit Testing
Java Unit Testing
 

Viewers also liked (19)

Dominer din niche med Google+ (Update)
Dominer din niche med Google+ (Update)Dominer din niche med Google+ (Update)
Dominer din niche med Google+ (Update)
 
Vol24ju
Vol24juVol24ju
Vol24ju
 
Ex met junio2004 ppl
Ex met junio2004 pplEx met junio2004 ppl
Ex met junio2004 ppl
 
Xanthi
XanthiXanthi
Xanthi
 
Wingate Learner Analysis
Wingate Learner AnalysisWingate Learner Analysis
Wingate Learner Analysis
 
Donaciones equipamiento en Salud
Donaciones equipamiento en SaludDonaciones equipamiento en Salud
Donaciones equipamiento en Salud
 
trabajo primer bimestre 2
trabajo primer bimestre  2trabajo primer bimestre  2
trabajo primer bimestre 2
 
Domingo 6º ciclo b 2015
Domingo 6º ciclo b 2015Domingo 6º ciclo b 2015
Domingo 6º ciclo b 2015
 
Trabajos TéMpera SíVori
Trabajos TéMpera SíVoriTrabajos TéMpera SíVori
Trabajos TéMpera SíVori
 
Evoluciontecnologicadelosbarcos 120913094327-phpapp01
Evoluciontecnologicadelosbarcos 120913094327-phpapp01Evoluciontecnologicadelosbarcos 120913094327-phpapp01
Evoluciontecnologicadelosbarcos 120913094327-phpapp01
 
Evolução urbana
Evolução urbanaEvolução urbana
Evolução urbana
 
Rirkrit Tiravanija
Rirkrit TiravanijaRirkrit Tiravanija
Rirkrit Tiravanija
 
Us exam 1 study guide
Us exam 1 study guideUs exam 1 study guide
Us exam 1 study guide
 
Lucy’s pillow
Lucy’s pillowLucy’s pillow
Lucy’s pillow
 
Jumping Stocks
Jumping StocksJumping Stocks
Jumping Stocks
 
IxDA Toronto Show and Tell - RWD - Walmart Redesign by Eiko Kawano
IxDA Toronto Show and Tell - RWD - Walmart Redesign by Eiko KawanoIxDA Toronto Show and Tell - RWD - Walmart Redesign by Eiko Kawano
IxDA Toronto Show and Tell - RWD - Walmart Redesign by Eiko Kawano
 
RISE Application
RISE ApplicationRISE Application
RISE Application
 
Które opony wybrać?
Które opony wybrać?Które opony wybrać?
Które opony wybrać?
 
Sylvia hipaa powerpoint presentation 2010(1)
Sylvia hipaa powerpoint presentation 2010(1)Sylvia hipaa powerpoint presentation 2010(1)
Sylvia hipaa powerpoint presentation 2010(1)
 

Similar to Quick test professional certifcation questions and tutorial2

Qtp Interview Questions
Qtp Interview QuestionsQtp Interview Questions
Qtp Interview Questionskspanigra
 
Qtp certification questions
Qtp certification questionsQtp certification questions
Qtp certification questionsRamu Palanki
 
Qtp certification questions
Qtp certification questionsQtp certification questions
Qtp certification questionsRamu Palanki
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3Ramu Palanki
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3Ramu Palanki
 
Qtp material for beginners
Qtp material for beginnersQtp material for beginners
Qtp material for beginnersRamu Palanki
 
Qtp certification questions and answers
Qtp certification questions and answersQtp certification questions and answers
Qtp certification questions and answersRamu Palanki
 
Qtp sample certification questions and answers
Qtp sample certification questions and answersQtp sample certification questions and answers
Qtp sample certification questions and answersRamu Palanki
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtpRamu Palanki
 
Qtp 9.2 Tutorial
Qtp 9.2 TutorialQtp 9.2 Tutorial
Qtp 9.2 Tutorialguest37ae7f
 
Qtp 92 Tutorial769
Qtp 92 Tutorial769Qtp 92 Tutorial769
Qtp 92 Tutorial769subhasis100
 
qtp 9.2 features
qtp 9.2 featuresqtp 9.2 features
qtp 9.2 featureskrishna3032
 
Qtp 92 Tutorial
Qtp 92 TutorialQtp 92 Tutorial
Qtp 92 Tutorialsasidhar
 
Qtp 92 Tutorial769
Qtp 92 Tutorial769Qtp 92 Tutorial769
Qtp 92 Tutorial769subhasis100
 
Qtp 92 Tutorial Anil
Qtp 92 Tutorial AnilQtp 92 Tutorial Anil
Qtp 92 Tutorial Anilguest3373d3
 

Similar to Quick test professional certifcation questions and tutorial2 (20)

Qtp Interview Questions
Qtp Interview QuestionsQtp Interview Questions
Qtp Interview Questions
 
Qtp certification questions
Qtp certification questionsQtp certification questions
Qtp certification questions
 
Qtp certification questions
Qtp certification questionsQtp certification questions
Qtp certification questions
 
QTP Faqs
QTP FaqsQTP Faqs
QTP Faqs
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
 
Qtp material for beginners
Qtp material for beginnersQtp material for beginners
Qtp material for beginners
 
Qtp faqs
Qtp faqsQtp faqs
Qtp faqs
 
Qtp certification questions and answers
Qtp certification questions and answersQtp certification questions and answers
Qtp certification questions and answers
 
Qtp sample certification questions and answers
Qtp sample certification questions and answersQtp sample certification questions and answers
Qtp sample certification questions and answers
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtp
 
Qtp 9.2 Tutorial
Qtp 9.2 TutorialQtp 9.2 Tutorial
Qtp 9.2 Tutorial
 
Qtp 92 Tutorial769
Qtp 92 Tutorial769Qtp 92 Tutorial769
Qtp 92 Tutorial769
 
Qtp 92 Tutorial769
Qtp 92 Tutorial769Qtp 92 Tutorial769
Qtp 92 Tutorial769
 
qtp 9.2 features
qtp 9.2 featuresqtp 9.2 features
qtp 9.2 features
 
Qtp 92 Tutorial
Qtp 92 TutorialQtp 92 Tutorial
Qtp 92 Tutorial
 
Ppt Qtp
Ppt QtpPpt Qtp
Ppt Qtp
 
Qtp 92 Tutorial769
Qtp 92 Tutorial769Qtp 92 Tutorial769
Qtp 92 Tutorial769
 
Qtp 92 Tutorial Anil
Qtp 92 Tutorial AnilQtp 92 Tutorial Anil
Qtp 92 Tutorial Anil
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
 

More from Ramu Palanki

Qtp realtime scripts
Qtp realtime scriptsQtp realtime scripts
Qtp realtime scriptsRamu Palanki
 
Qtp questions and answers
Qtp questions and answersQtp questions and answers
Qtp questions and answersRamu Palanki
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questionsRamu Palanki
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answersRamu Palanki
 
Qtp complete guide for all
Qtp complete guide for allQtp complete guide for all
Qtp complete guide for allRamu Palanki
 
Qtp compare two xml files
Qtp compare two xml filesQtp compare two xml files
Qtp compare two xml filesRamu Palanki
 
Qtp change excel cell color with condition
Qtp change excel cell color with conditionQtp change excel cell color with condition
Qtp change excel cell color with conditionRamu Palanki
 
Qtp certification questions and tutorial
Qtp certification questions and tutorialQtp certification questions and tutorial
Qtp certification questions and tutorialRamu Palanki
 
Qtp certification questions2
Qtp certification questions2Qtp certification questions2
Qtp certification questions2Ramu Palanki
 
Qtp automation estimation techniques
Qtp automation estimation techniquesQtp automation estimation techniques
Qtp automation estimation techniquesRamu Palanki
 
Qtp 11 new enhacements in
Qtp 11 new enhacements inQtp 11 new enhacements in
Qtp 11 new enhacements inRamu Palanki
 
Qtp passing parameters between actions
Qtp passing parameters between actionsQtp passing parameters between actions
Qtp passing parameters between actionsRamu Palanki
 
Qtp wsh scripts examples
Qtp wsh scripts examplesQtp wsh scripts examples
Qtp wsh scripts examplesRamu Palanki
 
Quality center certification questions
Quality center certification questionsQuality center certification questions
Quality center certification questionsRamu Palanki
 
Qtp+real time+test+script
Qtp+real time+test+scriptQtp+real time+test+script
Qtp+real time+test+scriptRamu Palanki
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtpRamu Palanki
 

More from Ramu Palanki (20)

Qtp realtime scripts
Qtp realtime scriptsQtp realtime scripts
Qtp realtime scripts
 
Qtp questions and answers
Qtp questions and answersQtp questions and answers
Qtp questions and answers
 
Qtp presentation
Qtp presentationQtp presentation
Qtp presentation
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
 
Qtp complete guide for all
Qtp complete guide for allQtp complete guide for all
Qtp complete guide for all
 
Qtp compare two xml files
Qtp compare two xml filesQtp compare two xml files
Qtp compare two xml files
 
Qtp change excel cell color with condition
Qtp change excel cell color with conditionQtp change excel cell color with condition
Qtp change excel cell color with condition
 
Qtp certification questions and tutorial
Qtp certification questions and tutorialQtp certification questions and tutorial
Qtp certification questions and tutorial
 
Qtp certification questions2
Qtp certification questions2Qtp certification questions2
Qtp certification questions2
 
Qtp best tutorial
Qtp best tutorialQtp best tutorial
Qtp best tutorial
 
Qtp basic stuff
Qtp basic stuffQtp basic stuff
Qtp basic stuff
 
Qtp automation estimation techniques
Qtp automation estimation techniquesQtp automation estimation techniques
Qtp automation estimation techniques
 
Qtp 11 new enhacements in
Qtp 11 new enhacements inQtp 11 new enhacements in
Qtp 11 new enhacements in
 
Qtp sample resume
Qtp sample resumeQtp sample resume
Qtp sample resume
 
Qtp passing parameters between actions
Qtp passing parameters between actionsQtp passing parameters between actions
Qtp passing parameters between actions
 
Qtp wsh scripts examples
Qtp wsh scripts examplesQtp wsh scripts examples
Qtp wsh scripts examples
 
Quality center certification questions
Quality center certification questionsQuality center certification questions
Quality center certification questions
 
Qtp+real time+test+script
Qtp+real time+test+scriptQtp+real time+test+script
Qtp+real time+test+script
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtp
 

Quick test professional certifcation questions and tutorial2

  • 1. 1. How do you hide the Add-In Manager so that it will not be displayed while launching QTP?Answer: a) Uncheck “Show on Startup” checkbox in the Add-In Managerb) Uncheck “Display Add-In Manager on Startup” in the General tab of Options dialog box.2. How do you display the DataTable or Active screen if they are not shown by default?Answer: In Menu choose View -> Active Screen or View -> Data Table.3. What are the default add ins provided by QTP?Answer: ActiveX, Visual Basic, Web.4. What is the default location of DataTable for any QTP script?Answer: Script Folder Test Folder (folder with the name of the test where all test files are stored)5. What is QTP workflow Phases: Create, Display, Verify and Enhance, Integrate.??????Alternative answer: Create test suite, Create an engine, Automate test cases, Debug the script, Deploy the script to QA team.6. Low level Recording is used to record?Answer: To record actual keyword objects or ignore Object identification capabilitiesAnswer: To record your clicks and keyboard input based on coordinates.7. What are the conditional statements provided in QTP?Answer: For..Next, While….wend, For……loop, Do….. While, If… Else…. End If, Select…. Case.Answer: If… Else…. End If, Select…. Case.8. What is the first step to change the logical name of the object recorded by Quick Test?Answer: Identify the instances of the object in the script. {S1, S2…S10 – OR}Alternative answer: Identify the instances of the object in the Object Repository{S_1, S_2…S_10}.9. Where can you find the result of an output parameter?Answer: Runtime Datasheet in Results10. Where do you set action iterations for a specified action?Answer: Action call Properties in Action0 Script11. Which of the following is created by default with new action?Answer: Action Properties, LocalSheet of Data Table12. Which source property specifies that data is retrieved from database?Answer: Output type13. Local object Repository is used for Single action tests. TRUE/FALSEAnswer: TRUE14. Shared object Repository is created in Object Repository Manager.Answer: Question looks like an answer itself15. Which tool is used to merge two shared object repositories?Answer: Merge Tool in Object Repository Manager.16. Virtual objects are stored in?Answer: dat folder of QTP Installation17. How do you create a Template for every Actions?Answer: Write the template script as “ActionTemplate.mst” in DAT folder of QTP Installation18. Bitmap checkpoint takes into considerationAnswer: Image size and pixel match19. Breakpoint is used for?Answer: Pauses the test execution at Current Step and then proceed to next step when instructed.20. When using recovery scenario wizard, the first phase is to specify?Answer: Triggered Events21. What all the types of Triggred Events :Answer: popup window, object state, test run error, application crash22. GetTOProperty is used to?Answer: Getting the test object properties i.e property from Repository.Answer: Returns the value of the specified property from the test object description.23. Give me 2 examples of ADODB objects?Answer: QuickTest?, Recordset and Connection.24. Close method is used to close the database session. –It is unclear what they mean because the question was altered: Close can be used to close a window or dialog too.25. Exportsheet is used for?Answer: Exports a specified sheet of the run-time Data Table to the specified file.26. Recovery scenario: is used to handle exceptions i.e. unpredictable actions/Errors.Answer: Question looks like an answer itself27. Step Generator is used for?Answer: Adding Steps to scripts without recording using the Repository/Utility Objects etc.28. Information pane and missing resource used for?Answer: The Information pane provides a list of syntax errors in your test or function library scripts.The Missing Resources pane provides a list of the resources that are specified in your test but cannot be found, such as missing calls to actions, unmapped shared object repositories, and parameters that are connected to shared object repositories.29. Where do you enable smart identification?Answer: Object Identification.Answer: Check box in the Run tab of Test Settings dialog box.30. What are the environment variable types?Answer: User defined and built-in.31. One more area to look into is Menu options i.e., where to look to enable or disable different features of QTP .There are around 4 to 5 questions covering the same.Answer: can’t be given32. By which type, procedure parameters passes the values to script?Answer: ByRefAnswer: String, Boolean, Date, Number, Password, Any.33. If we create a procedure under any test/script, Where we can use it?Answer: Procedure can be used only in the Test/script in which it is created, not callable from other testAnswer: If Action containing a procedure is reusable, it may me used in another tests.34. If we create a procedure under function library, how does it save with which extension:Answer: .QFL/VBS/TXT35. What is the difference between function and subroutine?Answer: function can return a value, where as subroutine cannot.36. What are the different STEP commands?Answer: Step Into, Step Out, Step Over37. Which keyword is used for counter increment Under For…Next loop?Answer: Step38. In Do Loop, at which point the condition is checked to proceed for next iteration?Answer: End of the loop, minimum one iteration will execute39. What is the first step to use the low level recording mode?Answer: Open in Normal modeAnswer: Normally start recording.40. How do register a procedure/function to a test object :Answer: RegisterUserFunc statement41. How do you bypass the object repository?Answer: Descriptive Programming or Programming Desc42. Where do you set the action as reusable action?Answer: Action Properties43. Global Data sheet is having one record and Local Data sheet is having two records, how many times the test executes by default?Answer: One timeAnswer: It also depends on record and run settings: in this question they assume “Run on all rows” radiobutton selected.44. Test -->Settings --> Run tab belongs to which sheet:Answer: Global45. Global Data sheet is having no records and Local Data sheet is having two records, how many times the test executes?Answer: One time46. How do you find the number of columns in database table?Answer: Fields.Count or Get the array size of the Record Set object. i.e upper limit.Answer: Use GetParameterCount method of DTSheet object47. What will return for ChildObjects method?Answer: Returns the collection of child objects contained within the object.48. Where can you set the smart identification quot; ONquot; :Answer: Check “Enable Smart Identification in the Object Identification dialog.49. How can we release the database after its use?Answer: Close the connection and Recordset objects; then set the object of quot; ADODB.Connectionquot; type to “Nothing”50. How can u link individual actions to shared repository?Answer: Resources>Associate repositories51. Which object properties are shown in object identification box?Answer: Mandatory and Assistive52. Where can we disable the virtual object recognition?Answer: Toolsà Options à General à check “Disable Virtual Object Recognition” checkbox53. How to associate a procedure to a test object class?Answer: Use RegisterUserFunc statement.54. Which object is used in sending information to the test results?Answer: Reporter55. What is default identifier type for web objects?Answer: IndexAnswer: CreationTime56. Test object properties are:Answer: those mentioned in object identification box and in object repository57. Which object is used to read from text file?Answer: “Scripting.FileSystemObject”58. A dot followed by object in expert view displays?Answer: Child objects and methods59. While merging the two object repositories, what are the filter options available for target object repository?Answer: Show all objects & show only objects with conflicting descriptions60. How to declare a constant?Answer: Const name = value61. The method used to retrieve data from the weblist object is?Answer: GetItem method62. What is the method used to get the object name from a Web table cell?Answer: ChildItem63. How do you know the no of links in a web page?Answer: Page Check point, ???Answer: a set of statements:Set PageDesc = Description.CreatePageDesc(“Class Name”).Value = “Link”Set Pages = Browser(quot; Mercury Interactivequot; ).Page(quot; Mercury Interactivequot; ).ChildObjects(PageDesc)Number_of_pages = Pages.CountIf Number_of_pages = 0 ThenReporter.ReportEvent micDone, “No links was found in the web page, “”End If64. What will change using update run mode?Answer: The test updates the test object descriptions, the expected results of check pts and Active screen images and values.65. If virtual objects are available at your machine, but you don't want to consider the virtual objects what you will do?Answer: In Toolsà Options à General, we will configure to ignore the Virtual Objects by changing “Disable recognition of virtual objects while recording”.66. What is the default “Ordinal Identifier”?Answer: Location67. What is the default property of ordinal identifier when using smart identification?Answer: Mandatory and assistive properties.Answer: Properties displayed in the Base Filter Properties list.68. How to declare constant variables?Answer: Const Name = [value]69. How did you find whether script used the smart Identification or not?Answer: It will show in the test result pane as a Warning70. What is the first step in editing an object in the object repository?Answer: Enable Editing<br />