Saturday, October 6, 2012
How do u do batch testing in WinRunner & Is it possible to do in QTP, if so explain?
Posted by
Sunflower
at
10/06/2012 11:30:00 AM
0
comments
Labels: Automated, Automation, Batch, Batch Testing, Commands, Execution, Messages, QTP, Quick Test Professional, Results, Run, Screen, Scripts, Test Manager, Test Scripts, Testing, Tests, WinRunner
![]() | Subscribe by Email |
|
Monday, September 24, 2012
What is the Difference between Bitmap Check point & Image Check point in QTP?
- Bit
map check point and
- Image
check point
What is Bitmap and Image Check Point?
- RGB
color variations and
- Total
deviation in number of pixels.
Posted by
Sunflower
at
9/24/2012 06:48:00 PM
0
comments
Labels: Application, Automated System, Automation, Bitmap, Button, Check points, Image, Images, Objects, program, QTP, Quick Test Professional, Record, Recording, Result, Screen, Test cases, Testing tools, Tests, Window
![]() | Subscribe by Email |
|
Sunday, September 9, 2012
How many types of recording modes are there in QTP? Which will be used when?
- Context sensitive
recording
- Analog recording and
- Low level recording
Context Sensitive Recording Mode
Analog Recording Mode
- Recording relative
to the screen and
- Recording relative
to the window.
The Low Level Recording Mode
- Window test objects
or
- winObject test
objects.
Posted by
Sunflower
at
9/09/2012 01:21:00 PM
0
comments
Labels: Analog, Application, Automated Testing Tool, Automation, Co-ordinates, Context Sensitive, Drag, GUI, Low level, Modes, Mouse, Objects, Operation, QTP, Quick Test Professional, Recording, Recording Modes, Screen, Window
![]() | Subscribe by Email |
|
Friday, March 16, 2012
What causes browser display differences?
Most of the time while browsing the same over many browsers you might have noticed considerable differences between the displays across the various browsers. These differences cause a lot of annoyance to the users.
There are various reasons why there occur differences across the different browsers. This article is focussed up on such browser display differences and errors as well as suggestions to avoid them.
ABOUT WEB BROWSER DISPLAY DIFFERENCES
- Earlier it was quite difficult and time consuming task to compare the web sites displays under many different browsers but nowadays several tools have been developed that have proven to be quite effective in testing the appearance of a web site on various browsers.
- These tools help in checking out the differences by taking the snap shots of the web site across the various browsers and then comparing them.
- You can even have the snap shots of your web page under different computers and screen resolutions.
- An HTML tool box is incorporated in these tools which tell whether the differences have occurred due to the incompatibility of the HTML code used in the web site or are they because of the browser incompatibility.
- The HTML tool box in some of the tools has also the capability for repairing off the code errors in just a few clicks.
Some of the most common factors that causes browser display differences are:
1. Browser bugs
2. Browser incompatibility
3. HTML errors
4. Different font sizes
5. Different computer types
6. Different screen sizes
7. Different versions of the browsers
RARE CASES
- In some very rare cases, the problem of differences might also occur due to certain features of a web site that have been exclusively designed for certain browsers and are not meant for others.
- Usually a web site is developed so that all of its features are accessible by all the web sites.
- For example, the web site for downloading Google chrome extensions and tools has been designed exclusively for the Google chrome browser.
- Though this web site can be viewed in any other browser but, one cannot download extensions through that browser.
STEPS FOR ELIMINATING DISPLAY DIFFERENCES ARE:
There are several steps that one can take for eliminating such differences:
1. Avoiding using cutting edge HTML as far as possible.
2. Set some goals for your web site.
3. Always check for the browsers incompatibilities.
4. Follow the trial and error debugging method.
5. Never forget to validate your web pages.
WHAT WEB BROWSERS ACTUALLY DO?
- They translate the web site code in to the formatted web pages.
- Every individual web browser has its own way of translating the web pages.
- This can be compared to the following example: you give a sentence written in German to a few people and ask them to translate it in to English. Checking the results, you will observe that all of them though have translated the sentence but their ways of translation are different i.e., the have used different words and grammar composition.
- Though the rules and standards for using HTML have been stated by the World Wide Web consortium, web site designers have their own way of implementing it.
- There is a fact that you should know which is that there is no such an effective browser that supports the hundred percent of the HTML, though there are certain browsers that come a little far away than their counterparts.
- If your browser does not supports a part of the code, it is sure to affect the display of your web site.
- This problem is further exaggerated by the HTML extensions that are specific to certain browsers.
- Such problems have forced the designers to put a label on their web site stating on which browser their web site can be viewed.
Posted by
Sunflower
at
3/16/2012 11:55:00 PM
0
comments
Labels: Browsers, Code, Debug, Debugging, Differences, Display, Errors, Factors, Goals, HTML, Incompatibility, Screen, Size, Tools, Users, Versions, Web Applications, Web browser, Web pages, Websites
![]() | Subscribe by Email |
|
Thursday, October 14, 2010
Validation phase - Unit Testing - how to write Unit test cases
Preparing a Unit test case document commonly referred as UTC is an important task in unit testing activity. Having a complete UTC with every possible test case leads to complete unit testing and thus gives an assurance of defect free unit at the end of unit testing stage.
While preparing unit test cases the following aspects should be kept in mind-
Expected functionality
Write test cases against each functionality that is expected to be provided from the unit being developed. It is important that user requirements should be traceable to functional specifications which should be traceable to program specifications which should be traceable to unit test cases. Maintaining such traceability ensures that the application fulfills user requirements.
Input Values
- Write test cases for each of the inputs accepted by the unit. Every input has certain validation rule associated with it. Write test cases to validate this rule.
- There can be cross-field validations in which one field is enabled depending upon input of another field. Test cases for these should not be missed.
- Write test cases for the minimum and maximum values of input.
- Variables that hold data have their value limits. In case of computed fields, it is very important to write test cases to arrive at an upper limit value of the variables.
- Write test cases to check the arithmetic expressions with all possible combinations of values.
Output Values
- Write test cases to generate scenarios which will produce all types of output values that are expected from unit.
Screen Layout
Screen/report layout must be tested against the requirements. It should ensure that pages and screens are consistent.
Path Coverage
A unit may have conditional processing which results in various paths, the control can traverse through. Test cases must be written for each of these paths.
Assumptions and Transactions
A unit may assume certain things for it to function. Test cases must be written to check that the unit reports error if such assumptions are not met.
In case of database applications, test cases should be written to ensure that transactions are properly designed and in no way inconsistent data gets saved in the database.
Abnormal terminations and Error messages
Test cases should be written to test the behavior of unit in case of abnormal termination.
Error messages should be short, precise and self explanatory. They should be properly phrased and free of grammatical mistakes.
Posted by
Sunflower
at
10/14/2010 01:50:00 PM
0
comments
Labels: Conditions, Coverage, Functionality, Inputs, Layout, Outputs, Paths, Phase, Phases, Report, Screen, Test cases, Unit, Unit testing, Validation, Values
![]() | Subscribe by Email |
|