QTP Questions
Back
Next
- What are the main bugs which were identified by you and in that how many are considered as real bugs?
A. If you take one screen, Let's say, It has got 50 Test conditions,
out of which, I have identified 5 defects which are failed. I should give the description
defect, severity and defect classfication. All the defects will be considered.
Defect Classification are:
GRP : Graphical Representation
LOG : Logical Error
DSN : Design Error
STD : Standard Error
TST : Wrong Test case
TYP : Typographical Error (Cosmotic Error)
- If the client identified some bugs to whom did he reported?
A. He will report to the Project Manager. Project Manager will arrange a meeting with all the
leads (Dev. Manager, Test Lead and Requirement Manager) then raise a Change Request and then, identify
which are all the screens going to be impacted by the bug. They will take the code and correct it
and send it to the Testing Team.
- Daily how many bugs will you find and what types are they?
A. Based on the screen functionality & complexity of the logic, we can identify the defects.
Whatever the screen, I test with respect to Unit Test Case Document. I will verify all the conditions
and give the bug report.
- What is the technical reviews and reviews?
A. For each screen, developer will write a Technical Specification. It should be reviewed by developer
and tester. There are functional specification review, unit test case review and code review etc.
- What are the main key components in Web applications and Client-Server applications? (differences)
A. Web Applications: Web application can be implemented using any kind of technology like Java, .NET, VB, ASP, CGI& PERL. Based on the technology,We can derive the components.
Let's take Java Web Application. It can be implemented in 3 tier architecture. Presentation tier (jsp, html, dthml,servlets, struts). Busienss Tier (Java Beans, EJB, JMS) Data Tier(Databases like Oracle, SQL Server etc., )
If you take .NET Application, Presentation (ASP, HTML,DHTML), Business Tier(DLL) & Data Tier ( Database like Oracle, SQL Server etc.,)
Client Server Applications: It will have only 2 tiers.
One is Presentation (Java, Swing) and Data Tier (Oracle,SQL Server). If it is client Server architecture,
The entire application has to be installed on the client machine. When ever you do any changes in your code, again
it has to be installed on all the client machines. Where as in Web Applications, Core Application will reside on the
server and client can be thin Client(browser). Whatever the changes you do, you have to install the application
in the server. NO need to worry about the clients. Because, you will not install any thing on the client machine.
- Can we do qtp testing without creating objects in Object repository? Can we do it completely writing code i.e in expert view only?
A. It is possible using descriptive programming where in the GUI objects in AUT can be
identified by directly feeding the object properties and values in runtime.
- What is TOM in qtp
A. I think its a test object model,If u think its wrong correct me.
- Tell me the QTP Advantages and Disadvatages ?
A. Pros:
Will be getting the initial focus on development of all new features and supported technologies.
1. Ease of use.
2. Simple interface.
3. Presents the test case as a business workflow to the tester (simpler to understand).
4. Uses a real programming language (Microsoft's VBScript) with numerous resources available.
5. QuickTest Pro is significantly easier for a non-technical person to adapt to and create working test cases, compared to WinRunner.
6. Data table integration better and easier to use than WinRunner.
7. Test Run Iterations/Data driving a test is easier and better implement with QuickTest.
8. Parameterization easier than WinRunner.
9. Can enhance existing QuickTest scripts without the "Application Under Test" being available; by using the ActiveScreen.
10. Can create and implement the Microsoft Object Model (Outlook objects, ADO objects, FileSystem objects, supports DOM, WSH, etc.).
11. Better object identification mechanism.
12. Numerous existing functions available for implementation - both from within QuickTest Pro and VBScript.
13. QTP supports .NET development environment (currently WinRunner 7.5 does not).
14. XML support (currently WinRunner 7.5 does not).
15. The Test Report is more robust in QuickTest compared to WinRunner.
16. Integrates with TestDirector and WinRunner (can kick off WinRunner scripts from QuickTest).
Cons:
1. Currently there are fewer resources (consultants and expertise) available due to QTP being a newer product on the market and because there is a greater Demand than Supply, thus fewer employee/consulting resources.
2. Must know VBScript in order to program at all.
3. Must be able to program in VBScript in order to implement the real advance testing tasks and to handle very dynamic situations.
4. Need training to implement properly.
5. The Object Repository (OR) and "testing environment" (paths, folders, function libraries, OR) can be difficult to understand and implement initially.
