Interview Questions On QTP

October 10th, 2007 Rama Posted in Interview Questions On QTP | No Comments »

1.How to do data driving In QTP?
By parameterizing the test script.

2.What Is the difference between Call to Action and Copy Action?
When you insert a Call to Action,they are ready only in the Calling text. It can be modified in the original test.Where as come to Copy Action you can make changes to the copied action, your changes will not effect the original action where it created.

3.Discuss QTP environment?
QTP enviromnment using the graphical interface and action screen technologies- a testing process for creating test scripts, relating manual test requirements to automated verification features - data driving to use several set of data.

4.Expalin the concept of how QTP identifies objects?
During recording QTP looks at the objects and stores as test object. For each object QTP earns a set of default properties called Mandatory properties, and look at the rest of the objects to check whether this properties are enough to uniquely identify.

5.Differentiate the two object repository types of QTP?
In QTP ,there r two objects repositories. They are
1) shared object repository
2) per action mode,
By default its per action mode. We want to maintain the object repository for each action separately but select a per action mode.

6.What are the differences between Per Action and Shared Action?
Per Action :for each action , one object repository is created.
Shared Action: one object repository is used by entire application.

7.Explain what are differences between Shared Repository and Per Action Repository?
In shared repository ,one object is used in more than one action and in per action repository, every time in every object is store differently and are not shared.

8.Have you ever written a Complied Module? If YES tell me about some of the functions that you wrote?
I used the functions for capturing the dynamic data during run time.Function used for capturing desktop, browser and pages.

9.What projects have you used in Win Runner? Tell me about some of challenges that arose and how you handled them?
Win Runner fails to identify the objects in GUI. If there is a non STD Window OBK win runner can not recognizes it , we use GUI SPY for that to handle such situation.

10.Can you do more than just capture and playback?
YES. We can do capture and playback. Descriptive programming is the answer to this question .We can write scripts without recording and it would still work fine.

11. How long have you used the product?
Depending on the License.

12.How to do the scripting? Is there any inbuilt function in QTP?
YES. There is in built functionality in QTP called step generator. In insert > step > step generator - F7,which will generate the scripts as you enter the appropriate steps.

13. What is the differences between check point and output value?
An output value is a value retrieved during run session and entered into runtime table or data table subsequently, it can be used as input value in our test.

14.If you use batch testing the result shown for last action only, in that how can i get the result for every action?
Click in the expend icon in the tree view to view the result of every action.

15.How the exception handling can be done using QTP?
Recovery scenario manager provides a wizard that guides you though the defining recovery scenario. Recovery scenario has three steps.
1) triggered events
2) recovery steps
3) post recovery test run

AddThis Social Bookmark Button

QTP Interview Questions

October 10th, 2007 Rama Posted in QTP Interview Questions | No Comments »

1.What are the Features & Benefits of Quick Test Professional (QTP)?
Operators stand-alone, or integrated into Mercury Business process Testing and Mercury Quality Center.Introduces next generation “Zero-configuration” Keybord Driven testing technologies in QTP 8.0 -allowing for fast test creation, easier.

2.Differences between QTP 6.5 and QTP 8.2 what are extra features in 8.2?
Multimedia Add-In Is not available In QTP 6.5. parameterization Is the extra Feature In QTP 8.2 compared to QTP 6.5.

3.How to handle the exceptions using recovery scenario manager In QTP?
There are 4 trigger events during which a recovery scenario should be activated. They are A pop up window appears in an opened application during the test run. A property of an object changes its state or value.

4.What is the use If Text output value in QTP?
Output values enable to view the values that the application takes during run time.When parameterized, the values change for each iteration. Thus by creating output values, we can capture the values an object in runtime.

5.How to use Object Spy In QTP 8.0?
To view the Run time objects and Test Objects properties and Methods of an object.

6.What Is the extension of the object repository files In QTP?
Two types of Object repository, they are shared repository (extension.tsr) and Action repository (extension.mtr).

7.Explain the concept of object repository & how to QTP recognizes objects?
With QTP 8.2, the available QTP plus, setup. It provides Repositories Merge Utility. The Object Repository Merge Utility enables user to merge Object repository files Into a single Object repository file to recognizes a object using properties.

8.What are the properties you would use for identifying a browse & page when using descriptive programming?
For Browser we will have to use title, html id property to identify the browser and web page.

9.What the scripting language you use when you r working with QTP?
QTP supports VB scripting language.

10.Give me an example where you have used a Common Interface In your QTP?
Common Interface appears In the scenario of front end and backend foreign. If you are using oracle as back end and front end as VB or any language then for better compatibility we will go for an interface of which Common interface will be one among those interfaces.

11.Few basic questions on commonly used Excel VBA Functions?
Common functions are: creatinf a sheets and assigning vales to sheets and coloring the cell Auto fit cell setting navigation form link In one cell to other saving.

12.Explain the keyboard create object with an example?
Create object: creates and returns a reference to an dynamic object.
Ex: Ser Excel Sheet = Create object (”Excel.Sheet”).

13. Explain In brief about the QTP AUTOMATION Object model?
To pre configure test setting before executing the QTP test.

14. How to handle dynamic object In QTP?
User GETRO property will handle the run time objects.

15.Where can I find the runtime date table?
In the result window shows a runtime data table. It includes the table shaped icon that display the run time data table - a table that shows the values used to run a test containing data table parameters or the data table output vales retrieved from a test while application execution time.

AddThis Social Bookmark Button

Software Testing Interview Questions

October 9th, 2007 Rama Posted in Software Testing Interview Questions | No Comments »

What is the Difference between Project and Product testing? What difference you have observed while testing the Clint/Server application and web server application

What are the differences between interface and integration testing? Are system specification and functional specification the same? What are the differences between system and functional testing?

What is Multi Unit testing?

What are the different types, methodologies, approaches, methods in software testing

What is the difference between test techniques and test methodology?

What is meant by test environment,… what is meant by DB installing and configuring and deploying skills?

What is logsheet? And what are the components in it?

What is Red Box testing? What is Yellow Box testing? What is Grey Box testing?

What is business process in software testing?

What is the difference between Desktop application testing and Web testing?

Find the values of each of the alphabets. N O O N S O O N + M O O N J YOU N E

With multiple testers how does one know which test cases are assigned to them?
• Folder structure
• Test process

What kind of things does one need to know before starting an automation project?

What is difference between a Test Plan, a Test Strategy, A Test Scenario, and A Test Case? What’s is their order of succession in the STLC?

How many functional testing tools are available? What is the easiest scripting language used?

Which phase is called as the Blackout or Quite Phase in SDLC?

When an application is given for testing, with what initial testing the testing will be started and when are all the different types of testing done following the initial testing?

What is difference between test plan and use case?

In an application if I enter the delete button it should give an error message “Are you sure you want to delete” but the application gives the message as “Are you sure”. Is it a bug? And if it is how would you rate its severity?

Who are the three stake holders in testing?

What is meant by bucket testing?

What is test case analysis?

The recruiter asked if I have Experience in Pathways. What is this?

What is the difference between GUI testing and black box testing

What are the main things we have to keep in mind while writing the test cases? Explain with format by giving an example

How we can write functional and integration test cases? Explain with format by giving examples.

Explain the water fall model and V- model of software development life cycles with block diagrams.

For notepad application can any one write the functional and system test cases?

Can you give me the exact answer for Test Bug?

What is the difference between Use Case and test case?

What is installation shield in testing

What is one key element of the test case?

What are the management tools we have in testing?

Can we write Functional test case based on only BRD or only Use case?

What’s main difference between smoke and sanity testing? When are these performed?

What Technical Environments have you worked with?

Have you ever converted Test Scenarios into Test Cases?

What is the ONE key element of ‘test case’?

What is the ONE key element of a Test Plan?

What is SQA testing? tell us steps of SQA testing

How do you promote the concept of phase containment and defect prevention?

Which Methodology you follow in your test case?

What are the test cases prepared by the testing team

During the start of the project how will the company come to an conclusion that tool is required for testing or not?

Define Bug Life Cycle? What is Metrics

What is a Test procedure?
#
What is the difference between SYSTEM testing and END-TO-END testing?

What is Traceability Matrix? Is there any interchangeable term for Traceability Matrix? Are Traceability Matrix and Test Matrix same or Different?

What is the difference between an exception and an error?

Correct bug tracking process - Reporting, Re-testing, Debugging, …..?

What is the difference between bug and defect?

How much time is/should be allocated for testing out of total Development time based on industry standards?

What are test bugs?

Define Quality - bug free, Functionality working or both?

What is the purpose of software testing’s - Bug removal, System’s functionality working, quality or all?

What is the major difference between Web services & client server environment?

Is there any tool to calculate how much time should be allocated for testing out of total development?

What is Scalability testing? Which tool is used?

Define Reliability?

Best to solve defects - requirements, plan, design, code / testing phase?

Cost of solving a bug from requirements phase to testing phase - increases slowly, decreases, increases steeply or remains constant?

What is scalability testing? What are the phases of the scalability testing?

What is the difference between end to end testing and system testing.

What kind of things does one need to know before starting an automation project?

Have you worked with data pools and what is your opinion on them? Give me an example as to how a script would handle the data pool.

What is difference between a Test Plan, a Test Strategy, A Test Scenario, and A Test Case? What’s is their order of succession in the STLC?

How many functional testing tools are available? What is the easiest scripting language used?

If we found the bug in SRS or FRS, how to categorize that bug?

What is the difference between end to end testing and system testing.

What is the difference between a defect and an enhancement?

AddThis Social Bookmark Button

Load Testing interview questions

October 9th, 2007 Rama Posted in Load Testing interview questions | No Comments »

1. What criteria would you use to select Web transactions for load testing?

2. For what purpose are virtual users created?

3. Why it is recommended to add verification checks to your all your scenarios?

4. In what situation would you want to parameterize a text verification check?

5. Why do you need to parameterize fields in your virtual user script?

6. What are the reasons why parameterization is necessary when load testing the Web server and the database server?

7. How can data caching have a negative effect on load testing results?

8. What usually indicates that your virtual user script has dynamic data that is dependent on you parameterized fields?

9. What are the benefits of creating multiple actions within any virtual user script?

10. What is a Load Test Results Summary Report?

AddThis Social Bookmark Button

WinRunner interview questions

October 9th, 2007 Rama Posted in Win Runner Interview Questions | No Comments »

1. Give one line answer about WinRunner?

2. How do you define WinRunner on your own?

3. WinRunner is suitable for which type of applications?

4. What are all the types of applications WinRunner can use?

5. What’s the WinRunner version number you used for your applications?

6. What are all the different types of recordings available in WinRunner?

7. When do you go for Context Sensitive and Analog recordings? What’s the difference between them?

8. What are all the Limitations & Advantages of WinRunner?

9. Where you find that you can’t use WinRunner for automation?

10. What’s the types application you working on using WinRunner?

11. What’s your comfort level in using WinRunner?

12. What is meant by Synchronization? How do you implement it in WinRunner?

13. What is meant by Check points? Types of Check points? In what situation will you use it?

14. What are all the different platforms that WinRunner can be used?

15. Any knowledge of Test Director?

16. Difference between WinRunner and Test Director?

17. What databases can Test Director reside on?

18. Explain the project tree in Test Director.

19. Advantages of WinRunner over other market tools silk, robot etc.?

20. How does Winrunner identify GUI Objects?

21. What’s the use of GUI Map Editor?

22. Winrunner GUI map modes?

23. What are the two GUI Map modes available in WinRunner?

24. What is the use of rapid test script wizard?

25. How will you synchronize tests using WinRunner? When should you synchronize? Synchronize settings?

26. How do you check GUI objects?

27. How do you check a bitmap?

28. What is meant by GUI Spy?

29. Besides Record and Replay what else can be done using WinRunner?

30. What are different types of running a test?

31. When do you use Verify/Debug/Update Modes?

32 When do you use Break Points?

33. What is Toggle Break Points? How it differ from Break points?

34. What’s Step and Step into?

35. What’s the role of GUI Map Editor? (Its connects logical name in the script to the physical attributes of the object in the GUI Map Editor).

36. What is meant by Function Generator? (F7).

37. How do you load GUI Map Editor?

38. What is injector in load runner?

39. What is TSL? What 4GL is it similar too?

40. How do you program tests with TSL?

41. How do you invoke an application using TSL?

42. What is Module? What’s Compiled Module?

43. Explain data parameterization in WinRunner.

44. What is User Define Functions? What are all the different types of User

45. What is Function? Types of Functions?

46. Defined Functions available in WinRunner?

47. Name a couple of standard web function found in the function generator? And explain their purpose.

48. Where do you use Private/Public function in your script?

49. How do you forcibly capture an Object using WinRunner (when WinRunner not able identify it)?

50. Can you test DB using WinRunner?

51. What are all the different DB that WinRunner can support?

52. How do you set a Query to get/fetch data from the DB?

53. How TSL looks like?

54. What are all the default codes WinRunner will generates when you start an application?

55. What are the other codes you can write/call with in TSL? 56. What are all the different languages can be called using TSL in between the scripts?

57. How do you handle an Exception in WinRunner?

58. Types of Exception available in WinRunner?

59. How do you define an Exception for complete application or for a particular function?

60. How do you run tests on a new version of WinRunner?

61. What are data driven tests & How Do you create it in WinRunner?

62. What’s the File Format used in Data Table?

63. How do you link a Data Table in your script?

64. How do you read text from an application?

65. What is a batch test? How do you program a batch test?

66. What happens when user interface changes?

67. Does load testing possible using WinRunner?

68. Does WinRunner help you in web testing?

69. How do you manage test data, test result?

70. Questions on TSL: How to generate Functions?

71. Running tests from the command line?

72. Explain WinRunner Testing Modes?

73. Have you completed the CPS exam? Which one?

74. Write a short compiled module which selects random numbers; and what function is used to call your customized compiled module?

75. What’s the purpose of the wrun.ini file?

AddThis Social Bookmark Button