Thursday, 16 July 2015

QTP WORKSHOP QNS


Exercise 1

1) As a Black Box Test Engineer if you want to get a job, how many ways are there? Explain Briefly?

2) How many types of Black Box Testing Tools are there?
3) Is the Test Management Tool used for Testing the Application?
4) Give me some examples for functional tools?
5) Give me some examples for Performance tools?
6) When ever Management tool is not used for testing, what is the use of it?
7) Tell me the Basic difference between Functional Tool & Performance Tool?

Exercise 2

8) What is the default script understand by QTP? Can it also understand other scripting languages?
9) What is Add-in Manager? What is the use of it ?
10) What are the built in Add-ins provided along with the purchase of QTP?
11) By default QTP will be always compatible with _____ Environment?
12) Explain Briefly about Test Pane?
13) What is the difference between expert view & keyword view?
14)Whenever we modify something in one view will it be reflected in another view?
15) What is the use of Active Screen? Briefly Explain?

Exercise 3

16) Set method is mainly used for performing the operations on which objects? Explain with syntax?
17) What is select method? Explain with syntax & example?
18) In which situations developers will use check boxes in an application?
19) In which situations developers will use radio buttons in an Application?
20) In which situations developers will use edit boxes in an Application?
21) During Recording what will happen internally in QTP?
22) During Running what will happen internally in QTP?

Exercise 4

23) What is the use of Record & Run Settings? Explain in Detail?
24) How many types of recording modes are there in QTP?
25) What is the difference between standard & low level recording?
26) What is the use of analog recording?
27) Keeping the tool under analog recording mode, we can record both continues & normal operations then what is the need of normal recording mode ?
28) During analog recording, will qtp store the information in object repository?
29) In analog record settings we have two options. What are those, what is the difference between them & in which situation we use those options. Explain?
30) What is low level recording? Why it is not been encouraged in real time?

Exercise 5

31)Why in real time you prefer to use shared repository?
32)When shared repository are so useful. What is the need of local repository?
33)Can we attach more than one shared repository to an action?
34)How many local repositories maximum we can have for one action?
35)Can we attach the shared repository to an action which already have some information in its local repository?
36)Is there any limit for shared repositories to  attach for an action?
37)Can we convert local repository to shared repository?
38)Can we copy shared repository objects information to local repository?
39) Briefly describe the local repository & shared repository?
40) Can we modify shared repository in attached areas?
41) Once shared repository is opened with object repository manager will it direct allow to modify? If no what we need to do?

Exercise 6

42) When to add the object information to object repository?
43) Why to add the object information to object repository?
44) Is it better to write the script 1st or add the information 1st? If object information 1st what is the benefit?
45) When & why to delete, rename the object information?

16) When ever object name is not clear, how will you understand?
17) If at all you want to find one object name very fastly in object repository which feature you will use?
18) When & why to update the properties list?
19) When to update property value?
If you don’t update property value what will happen?
20) Is it always required to update the properties values?
21) When ever some properties values of original object in the application are changed based on customer requirements. Then how will u handle that situation?
22) When ever qtp is unable to identify object. What will you do?

23) In which situations qtp will fail to identify the object?

Exercise 7


1) While learning even though qtp is satisfied but while identifying why it will fail to identify?
2) What is the need of 2 sections in normal brain & smart brain?
3) How can we decide Which properties are to be under which section?

4) How will u solve the problem after understanding , why qtp is not identifying the object?
a)      We will change configuration   
b) some other process
      & why?
5) Why we should not change the configuration? If at all we change what problem may occur?
6) In how many cases qtp will fail to identify the objects?
7) What is the main reason behind qtp failed to identify the object?
8)Who will do the configuration & based on what they will do?
9) How this object identification concept is useful for us during working in the company?
10) When qtp will use smart identification?

11) Explain in your own words  How the smart identification is done?

Exercise 8

1) How to decide where to insert a check point? & From where we will get the expected value?
2) Is it compulsory to use active screen always?
3) Explain in your words when the active screen is very much use full?
4) If at all a recorded script statement is not there in test pane can we use active screen? If no why?
5) If at all a recorded script statement not there then can we insert a check point? If yes how?
6) What is the use of bitmap check point? Generally what we will check in the real application using this check point?
7) Is bitmap check point same as image check point?

8) What is difference between bitmap & image?
9) What is difference between bitmap check point & image check point?
10) What is use of text check point when ever we can check the text using standard check point also?
11) What is the difference between text & text area check point?
12) Why we can’t insert text area check point through active screen?

Exercise 9

13) Why we need to keep the tool under recording mode for application related check points?
14) What is the use of database check point?
15) What is  database testing? Generally what areas black box test engineer need to concentrate during database testing?
16) What are the important things to  be given for qtp In order to make it connect to any database?
17) What is DSN? What is the use of DSN?
18) What is xml? What is main use of it?
19) Why we no need to keep the tool under recording mode? While inserting database check point & xml check point?

20) What is the use of page, image and table check points?
21) As the page, table, image check points are hidden check points? We can insert them through which check point?
22) What is accessibility testing?
23) What is accessibility check point & how is it useful for testing?
24) Why generally in real time we avoid check points?
25) Is it compulsory to avoid check points always?
26) Where to insert the check point, Should be analyzed & finalized using----------
1)Explain in own words what is synchronization?
2) What is need of synchronization point statement in script?
3) In how many ways we can make tool to wait ?
4) In which situation we need to adjust the default time?
5) Why default time adjusting is not always encouraged?
6) In which situation we will use wait statement?
7) Why we should make the tool to wait?
8) What is default time of qtp? why they have set that time only?





Exercise 10


1) What is data driven testing? When will we use this concept during testing?

2) What is re testing? Is it same as data driven testing?
3) What is parameterization? What is use of it?
4) Can we do data driven testing with out parameterization? If yes then why parameterization?

5) In how many ways we can do parameterization?
6) Can we parameterize the check point? If yes how?

7) Is it compulsory to use data driven testing during testing job?
8) When ever data is present in the global sheet? Do we need to take care of iterations? If no why?
9) Is it compulsory always we need to use a variable during data driven testing?
10) Explain both the situations where we need to use the variable & no need to use ?
11) If at all data is present in local sheet Do we need to take care of iterations?

1)      What is the use of output value feature in qtp?
2) Why qtp need 2 copies of data tables?
3) During execution qtp will use which table? By using it what is the benefit?
4) How many types of output values are there? What are they?
5) Once the value is captured, it will stored in ______?
6) The captured value must be immediately compulsory used say yes or no? If no explain When it can be used?
7) Can we use data captured during execution after some days in future? If “yes” how?
8) What is the main purpose of data table in qtp? When ever so many data sources are already available?
1) What is the use of transaction points  in qtp when ever it is not a performance tool ?
2) Where to insert the transaction points in the script? & when you will insert?
3) What is the use of utility object in qtp? When u will use them?
4) How many types of programmatic statements are there in vbscript & what are those?
5) In which situations we will use normal, conditional, looping & utility statements?
6) What is the need of comments in program? When we should insert?
7) What do you mean by enhancing script? In how many situations generally we do that ? Explain for all situations with examples?


Exercise 11


1) What is debugging? How many step commands are there? What is the use of them?
2) When ever we have  step into & step out? What is need of step over?
3) What is the need of break point?
4) In which situation we will go for run to step?
5) What is the use of debug from step?
6) What is need of  debugging?
7) If u don’t debug what problem you may face?
8) What is debug viewer pane?
9) In which situation u will use debug viewer pane?
10) When ever we have variable tab in the debug viewer pane? What is the need of watch tab?
11) What is need of command tab in debug viewer pane?


1) What is regular expression?
2) In which situation we need to use regular expression?
3) If we don’t have regular expression what problem you may face?
4) When ever dynamically any object property value is regularly using them how to handle that situation?
5) Tell me 1 situation when qtp failed to identify the object explain? With example?



1) Explain what is recovery?
2) Tell me the situations where the qtp generally faces the problems during the execution?
3) What are the different types of trigger events provided by the qtp?
4) What is an extension of recovery file?
5) Can we associate the existing scenario to the current test?

6) Can we make a recovery scenario as default setting? What do u mean by default setting & which situation we will make a recovery scenario as default?
7) What do you mean by object state problem?
8) When ever there is problem with test script , will qtp wait for default time & show the error? If no why Explain?
9) If at all problem is related to application will qtp wait for total default time?


1) Why should we use environment variables while writing script?
2) If you don’t use environment variables what problem you may face?
3) How many types of environment variables are there? Discuss about them shortly?
4) If at all we want to invoke application through script in how many ways we can do that?
5) If at all we want to send any user defined result step to the result window? How to do it explain?
6) Name some utility objects you know & say main purpose of them?
7) Explain the procedure how to use environment variable in the script?



1) What do you mean by frame work? What is the Advantage of using it?

2) Briefly describe modular frame work?
3) What are Drawbacks of linear frame work?
4) What is an action? What is the need of making an action reusable?
5) Can we edit the external action?
6) Are reusable action & external action are same? If no explain?
7) What is difference between call to copy of action & call to existing action?

No comments:

Post a Comment