2023 2024 EduVark > Education Discussion > General Discussion


  #1  
June 22nd, 2016, 12:08 PM
Super Moderator
 
Join Date: Mar 2013
Bank of America QTP Interview Questions

Hello sir I want to prepare for Bank of America QTP Interview Questions so here can you please give me questions for practice ?

Hey as per your demand here I am providing you Bank of America QTP Interview Questions for your practice

Here I am giving you interview questions for your practice

Q1. What is the latest version of QTP in the market?
Answer - Latest stable version of QTP is 11.

Q2. What is Environment Variable in QTP and why to use it?
Answer - Environment variables are global variables in QTP and they are used to store the global values like User Id, password of the APP. There are 2 types of variables 1. Built-in 2.User Defined.

Q3. What is the difference between local and shared Object Repository in QTP?
Answer - Local object Repository is associated with particular action. While Shared object repository is independent of action. We can associate the shared object repository to current test.

Q4. What is the default object synchronization timeout in QTP?
Answer -The default object synchronization in QTP is 20 seconds.

Q5. What do you mean by checkpoints in QTP?
Answer - Checkpoints are nothing but verification points in QTP. We can verify if particular property of the object has specified value in checkpoints.

Q6. How to check which add-ins are associated with a test in QTP?
Answer - To see which add ins are associated with the test in QTP, you have to open the test settings in QTP and then select properties of test. There you will find the list of add-ins that are associated with the test.

Q7. How to find the path of folder in which test is saved in QTP?
Answer -To get the path of the test you can access built-in environment variable called "TestDir"

Q8. How to find the name of machine where you are running your automation scripts in QTP?
Answer -To get the name of machine, you can access built-in environment variable called "LocalHostName"

Q9. What is the extension of Recovery Scenario file in QTP?
Answer - Recovery Scenarios in QTP are saved in file with extension .qrs which stands for quicktest recovery scenario. In one qrs file you can have multiple scenarios defined in it.

Q10. What is the extension of shared object repository in QTP?
Answer - Shared object repository in QTP is stored in .tsr file. You create .tsr file using export option in local repository. To edit .tsr file you have to open .tsr file in object repository manager and then modify it.

Q11. How to associate shared object repository to test in QTP?
Answer -To associate shared object repository you have to go to Resources->Associate Repositories option and then choose and select the .tsr file and associate it with particular or all actions in test.

Q12. How to merge 2 shared object repositories in QTP?
Answer -To merge 2 shared object repositories in QTP, you have to open object repository manager tool and then select merge tool in Tools menu.

Q13. What is the use of object spy tool in QTP?
Answer -QTP provides one tool called object spy that can be used to find out the properties and the values of the object in QTP.

Q14. How to find the length of string in QTP?
Answer -You can find the length of the string using one vb script function called len.
Suppose you want to find the length of "salunke" then you will have the below statement which will print the length of string .
print len("salunke")

Q15. How to find the current system time in QTP?
Answer - You can find the current system time using Time function in vbscript.
Print time

Q16. How to Comment a line in QTP script?
Answer - You can comment the line using rem or '.
' this line is commented.
rem this line is also commented.

Q17. What is the difference between QTP and Selenium?
Answer - QTP is not open source tool while Selenium is open source tool.
We can use QTP to test different kinds of applications like web, .net, java, mainframe, peoplesoft etc.
But Selenium is used only for Web application testing. QTP supports only vb script as language but we can develop selenium scripts using JAVA, .Net, Ruby, Perl etc.

Q18. How to remove all spaces from given string in QTP?
Answer - We can use replace function in vbscript to remove all spaces in string.
e.g. newstring = replace(stringwithspaces," ","")

Q19. How to find the modulus of a number in QTP?
Answer - We can find the modulus of given number using MOD operator.
a = 10 mod 5
print a

Q20. How to find the length of array in QTP?
Answer - To find the length of array, we can use ubound function in QTP.
print ubound(arr) - 'prints upper bound of array.

Last edited by Neelurk; April 7th, 2020 at 02:41 PM.
Similar Threads
Thread
Bank of India Interview Questions
QTP Interview Questions in Bank of America
SQL Interview Questions Bank of America
Bank of America Interview Questions
Bank Of America PB Interview Questions
Bank Of America Java Interview Questions And Answers
Bank of America SQL Server Interview Questions
CSB Bank Interview Questions
Bank of America QA Interview Questions
Interview Questions For Syndicate Bank
PO Interview Questions for Syndicate Bank
Canara bank PO interview questions
Bank PO Positions Interview Questions
Interview questions for clerk of UCO Bank
UCO bank Clerk interview questions



Quick Reply
Your Username: Click here to log in

Message:
Options



All times are GMT +5. The time now is 07:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8