Adsnese

Ad

Monday, March 5, 2012

TCS Papers part-1

Aptitude

1. A family, planning a weekend trip, decides to spend not more than a total of 8 hours driving. By leaving early in the morning, they can average 40 miles per hour on the way to their destination. Due to the heavy Sunday traffic, they can average only 30 miles per hour on the return trip. What is the farthest distance from home they can plan to go?
(a) 120 miles or less (b) Between 120and 140 miles (c) 140 miles
(d) Between 140 and 160 miles (e) 160 miles or more

2. A car is filled with four and half gallons of fuel for a round trip. If the amount of fuel taken while going is 1/4 more than the amount taken for coming, what is the amount of fuel consumed while coming back?
(a) Less than 2 gallons (b) 2 gallons (c) 2 1/2 gallons
(d) 3 gallons (e) More than 3 gallons

3. A 3-gallon mixture contains one part S and two parts R. In order to change it to a mixture containing 25% S, how much R should be added?
(a) 1/2 gallon (b) 2/3 gallon (c) 3/4 gallon (d) 1 gallon (e) 1 1/2 gallon

4. A tree grows only 3/5 as fast as the one beside it. In four years the combined growth of the two trees is eight feet.
How much does the shorter tree grow in two years?
(a) Less than 2 feet (b) 2 feet (c) 2 1/2 feet
(d) 3 feet (e) more than 3 feet.

5. Wind flows at 160 miles in 330 minutes, for traveling 80 miles how much time does it require?
(a) 1 hour 30 minutes (b) 1 hour 45 minutes (c) 2 hours
(d) 2 hours 45 minutes (e) 3 hours

6. A stationary engine has enough fuel to run 12 hours when its tank is 4/5 full. How long will it run when the tank is 1/3 full?
(a) Less than 2 hours (b) 2 hours (c) 3 hours
(d) 4 hours (e) 5 hours

7. If A is traveling at 72 km per hour on a highway. B is traveling at a speed of 25 meters per second on a highway. What is the difference in their speeds in meters per second?
(a) 1/2 m/sec (b) 1 m/sec (c) 1 1/2 m/sec
(d) 2 m/sec (e) 3 m/sec

8. A salesperson by mistake multiplied a number and got the answer as 3, instead of dividing the number by 3. What is the answer he should have actually got?
(a) 0 (b) 1/3 (c) 1 (d) 2 (e) 3

9. If the length of a rectangle is increased by 30% and the width is decreased by 20%, then the area is increased by...
(a) 10% (b) 5% (c) 4% (d) 20% (e) 25%

10. In the class of 40 students, 30 speak Hindi and 20 speak English. What is the lowest possible number of students who speak both the languages?
(a) 5 (b) 20 (c) 15 (d) 10 (e) 30

11. The most economical prices among the following prices is:
(a) 10 kilo for Rs.160 (b) 2 kilo for Rs.30 (c) 4 kilo for Rs.70
(d) 20 kilo for Rs.340 (e) 8 kilo for Rs.130

12. A truck contains 150 small packages, some weighing 1 kg each and some weighing 2 kg each. how many packages weighing 2 kg each are in the truck if the total weight of all the packages is 264 kg?
(a) 36 (b) 52 (c) 88 (d) 124 (e) 114

13. A man was arrested for exceeding the speed limit by 10 miles an hour. A second man was charged with exceeding the same limit by twice as much. The second man was driving 35 miles per hour. What was the speed limit?
(a) 10 miles per hour (b) 15 miles per hour (c) 20 miles per hour
(d) 25 miles per hour (e) 30 miles per hour

14. One year ago Pandit was three times his sister's age. Next year he will be only twice her age. How old will Pandit be after five years?
(a) 8 (b) 12 (c) 11 (d) 13 (e) 15

15. If two pencils cost 8 cents, then how much do 5 pencils cost?
(a) 18 cents (b) 20 cents (c) 22 cents (d) 23 cents (e) 24 cents

Passage

All the questions are of multiple choice type. You have to answer the questions based on the preceding paragraph. All the questions have the same answer choice. The choices are as given below:
(a) True.
(b) False.
(c) Cannot Say.

Consider the following paragraph:
Researchers in Mumbai have found that certain types of gallstones can be dissolved by injecting them with a gasoline additive in the form of ether. The ether is injected through a tube directly into the gall bladder. The one-day treatment works only on cholesterol-based stones, not those composed largely of calcium. However, as the cholesterol stones are by far the most common type, for millions of gallstone sufferers the treatment should offer a welcome alternative to surgery, the commonest option in most hospitals.

# "It takes more than one day for ether to dissolve a calcium-based gallstone".

# "Gallstones can only be dissolved by injections".

# "Gallstones can quickly be cured with surgery".

# "Ether is largely used for dissolving gallstones".

# "Calcium stones can be cured in one day".

# "Hundreds of people contains calcium stones".

Consider the following paragraph:
My father had no brothers, but his three sisters are all married and each has two children. My grandfather has two sons.

# "My father was the only child".

# "I have only one uncle".

# "One of my aunts is a spinster".

# "I have six cousins on my father's side".

# "My grandfather was the only son".

Consider the following paragraph:
In the Totalitarian days, the words have very much devalued. In the present day, they are becoming domestic, that is, the words will be much more devalued. In that days, the words will be very much effected in political area. But at present, the words came very cheap. We can say they come free at cost.

# "In Totalitarian society, words are devalued".

# "Totalitarians will have to come much about words".

# "In the Totalitarian society the words are used for the political speeches".

Consider the following paragraph:
In past helicopters were forced to ground or crash because of the formation of the ice on the rotors and engines. A new electronic device has been developed which can detect the water content in the atmosphere and warns the pilot, if the temperature is below freezing temperature; about the formation of ice on the rotors and wings.

# "The electronic device can avoid the formation of ice on the wings".

# "There will be malfunction of rotor and engine because of formation of ice".

# "The helicopters were to be crashed or grounded".

# "There is only one device that warns about the formation of ice".

Consider the following paragraph:
Human existence is not susceptible of arbitrary division between consciousness and unconsciousness. The conscious world invaders and shapes the activities of the unconscious, while many of the great achievements of humanity's waking hours where wholly or partly inspired by dreams. Even if it could argued that dreams precede experience such a dichotomy could not be drawn, as the influence of the dreaming on the waking state would remain unclear, but as yet no common vocabulary exists to record the substance of prenatal dreaming.

# "Sleep can be a creative state".

Consider the following paragraph:
FLORA 3-piece sofa-set is at the top of our upholstery range. This high-backed quality sofa-set boasts an impressive specification which starts with a hardwood frame in teak and a padded front edge ensuring really deep, long-lasting comfort. Seat cushions are of high resilience foam and back cushions of softest hollow fill. The whole set is carefully upholstered throughout in a choice of superb fabrics ranging from cotton print to velvet.

# "The padding is there to ensure that the furniture will last for a long time".

# "The firm sells other upholstery furniture".

Consider the following paragraph:
Hacking is a crime made possible by a relatively new technology, which is one of the reasons it is often poorly understood and reported. Many computers, but by no means all, are now linked together in networks which allow users on one computer to communicate with others on the same network. If a computer is not networked, no manipulation of its data from another machine possible. So long as users are authorized, networking is just a way of making work easier more productive. Hacking, on the other hand is the unauthorized use of networks or unauthorized entry into the computers themselves. Most people do not break into the networks they use, since they are already accredited users.

# "Hackers do not work for the firms whose networks they break into".

# "Hacking is the only vulnerability of the computers for the usage of the data".

# "Hacking is done mostly due to the lack of computer knowledge".

Consider the following paragraph:
Polycythemia often occurs in people who have chronic lung disease, but can appear spontaneously in healthy individuals. Excessive numbers of red blood cells manufactured by the body and the individual then develops a very healthy-looking, ruddy complexion. The blood becomes thicker and is liable to clot and block major blood vessels. High blood pressure is another frequent complication. Treatment involves venesection, in which a liter or so of blood is removed from the body. Medication may also be given to reduce the numbers of red blood cells manufactured in the body.

# "Lung disease frequently precedes polycythemia".

Consider the following paragraph:
Bindweed is only effectively controlled by applying a solution of brushwood-killer to the growing tips. It is necessary to unwind a suitable length from the host plant before treatment, but this is not so very difficult, and it does not seem essential to find and treat every leader on the same weed. The solution should be made up in a can which is carried in one hand, while the other, in a rubber glove, inserts the leaders in the can. If the the leaders can be laid out on the the ground , they can easily be wetted with a small brush. As long as the weather is calm, there is no real risk of damage to adjacent plants, and in two or three weeks the weeds should have disappeared.

# "Brushwood-killer can pose a threat to other plants in the garden".

Consider the following paragraph:
Senior managers in a leading company said that new Japanese investment in India was transforming the car industry, and warned that jobs were under threat from Japanese competition. They stated that increasing competition would be coupled with an inevitable downturn in the car market and the recent rise interest rates which has already hit demand.

# "The managers issued their warning after a rise in the interest rates".

# "According to the senior managers, the Japanese investment in India will lead to a glut in the car market".

# "Some senior managers said that more people will want to by new cars in the future".

# "The perception of the senior managers is the new Japanese investment in India is leading to more automation of the car industry".

# "The increased rate of interest will mean that Japanese firms will cease to operate in this country".

# "The increase in loan interest will adversely affect car sales".

# "Japanese workers are taking over the jobs of Indian industry".

# "Managers said that interests in car will go down after seeing the raise in interest rates".

# "People are very interested to buy the cars".

Consider the following paragraph:
The new Starfire has an advanced four-cylinder engine with catalytic converter and uses only unleaded petrol. Versatility is a major feature of the range and the 1500 and 1800 models have the same high level of specification inside and out. The only obvious visual difference, internally and externally, is the use of alloy wheels on the 1800 version, together with a discreet change in badging. The StarFire 2000 is distinguished by its tailgate spoiler and the rectangular fog and driving lamps integrated into the front bumper which are also included in the specification.

# "Internally, the Starfire 2000 looks like the 1500 model".

Consider the following paragraph:
Pierre Claude Jean Allouez explored lake superior from 1665 to 1667. At his little mission station near the western end of the lake, he heard from the Indians of a great river to the west. Pierre Jacques Marquette determined to investigate. In 1673, accompanied by Louis Jolliet and five others, he left St. Ignace mission and ascended the fox river, which flows into green bay crossed over to Wisconsin river and followed it to the upper Mississippi. The party then descended the Mississippi to the mouth of Arkansas. These Frenchmen were not first Europeans to sight or travel the Mississippi. De Soto and Moscoso had done so a century and a half before. The report of the exploration was rushed back to Quebec, where, in 1672, Count Frontenac had arrived as Governor of the province. He and his friend, the remarkable La Salle-who earlier may have penetrated the Ohio river valley-listened with deep interest.

# "Allouez explored the western end of lake superior".

# "Marquette and his party were not the first French men to travel the Mississippi river".

# "La Salle listened with deep interest- the report of exploration of De Soto and Moscoso".

# "La Salle explored the Mississippi river valley".

Consider the following paragraph:
Dr. Goddard was the first to fire a rocket that reached a speed faster than the speed of sound. He was the first to develop a gyroscopic steering apparatus for rockets. He was the first to use vanes in the jet stream for rocket stabilization during the initial phase of a rocket flight. And he was the first to patent the idea of step rockets. After proving on paper and in actual tests that a rocket can travel in vacuum, he developed the mathematical theory of rocket propulsion and rocket flight, including basic designs for long-range rockets. All of this information was available to our military men before World War II, but evidently its immediate use didn't seem applicable. Near the end of World War II we started intense work on rocket-powered guided missiles, using the experiments and developments of Dr. Goddard and the American Rocket Society.

# "The stabilization problem of rockets in the initial phase was solved by Dr. Goddard."

# "Rockets can travel faster than sound, thanks to gyroscopic steering."

# "Goddard lived before World War II".

# "After careful mathematical calculations, Dr. Goddard proved that rockets can travel in vacuum".

Consider the following paragraph:
In March 1513, de Leon sailed off confidently from Peuto Rico for the Bahamas. Landing briefly at San Salvador, Bahamas, he wound through unchartered islands until he sighted an extensive coastline. He had no reason to suspect that it is anything more than an island, but he followed the coast for a day without rounding its end or finding a suitable landing place. He named the "island" La Florida. This name came to be applied by the Spanish to the entire Southeastern United States and beyond. Then, near the 30th parallel, de Leon landed at the mouth of the St. Johns river. Determined to be the first to circumnavigate the "island", he turned south, traced the coast around the tip of the peninsula, moved to the west, perhaps reaching Tampa bay. After 7 weeks, he gave up hope of circling the northern tip of this "island"; it was incredibly large and he may have suspected that he had discovered the long sought mainland. If so, it all belonged to his King, for he had earlier planted the Spanish flag and claimed Florida for Ferdinand.

# "de Leon is from Spain, ruled by Ferdinand".

# "de Leon is very patriotic".

# "de Leon discovered part of US during his journey".

Consider the following paragraph:
James Madison understood that interests groups will inevitably develop within a free political system. The problem, as Madison saw it, was to prevent any single interest group from becoming so strong that it was able to dominate the political system. This could be accomplished by legislating restrictions on political behavior, but that solution meant a sacrifice of some of the freedom that Madison prized so highly. A better solution, he thought, was to extend the territorial scope of the government. This would allow for greater diversity of interests in the nation, and a greater number of groups competing for power. Each interest group would thereby find it more difficult to appeal to a majority of the people, and to dominate the political process.

# "The more interest groups there are in a political system, the less freedom there is for everyone."

# "Legislating restrictions on political behavior is sometimes the only method of preserving political freedom."

# "Increasing the territorial scope of a government can help to preserve freedom."

# "According to Madison, in a free political system, interest groups are undesirable."

Consider the following paragraph:
The regulations and expenses to invent, patent and market new ideas and products imposes a heavy burden on inventors. The cost is often absorbed by large corporations with research and development facilities they provide. Corporations also help creative people contribute to society without suffering the loss of income or security of the private inventor. The realities of this arrangement are that many good ideas are never brought into the marketplace and the cost of products on the market is high because of the development cost. However, protection provided by the patents and the safety to the public to avoid placing harmful products on the market is important to maintain. Thus, as is often the case, rules and regulations have their favorable and unfavorable consequences.

# "The regulations and expenses to invent, patent and market new ideas is an expensive proposition to the inventors".

# "Good ideas are never brought into the marketplace because of the costs involved in inventing, patenting marketing them".

# "Corporations steal the individual inventor of their inventions".

Consider the following paragraph:
Being born female and black were two handicaps Gwendolyn Brooks states that she faced from her birth, in 1917, in Kansas. Brooks was determined to succeed. Despite the lack of encouragement she received from her teachers and others, she was determined to write and found the first publisher for one of her poems when she was 11. In 1945, she marketed and sold her first book; national recognition ensued. She applied for and received grants and fellowships from such organizations as the AAAL and the Guggenheim Foundation. Later she received the Pulitzer prize for poetry; she was the first black woman to receive such an honor. Brooks' reaction to fame is atypical. She continues to work and work hard. She writes, travels, and helps many who are interested in writing. Especially important for her is increasing her knowledge of her black heritage and encouraging other people to do the same. She encourages dedication to the art to would-be writers.

# "Brooks' story illustrates the power of strong determination".

# "She became the author of a book in her teens".

# "Gwendolyn received the Pulitzer prize for her first poetry".

Consider the following paragraph:
A cave is a natural opening in the ground extending beyond the zone of light and large enough to permit the entry of man. Occurring in a wide variety of rock types and caused by widely differing geological processes, caves range in size from single small rooms to interconnecting passages many miles long. The scientific study of caves is called speleology. It is a composite science based on geology, hydrology, biology and archeology, and thus holds special interest for earth scientists. Caves have been natural attractions since prehistoric times. Prolific evidence of early man's interest has been discovered in caves scattered throughout the world. Skeletons of some of the earliest manlike creatures (Australopithecines) have been discovered in cave deposit in South Africa, and the first evidence of primitive Neanderthal man was found in Germany. Cro-Magnon man created his remarkable murals on the walls of caves in France.

# "Primitive human form originated in Germany".

# "Study of caves is the study of earth, water, life and early man".

# "Cro-Magnon man was more intelligent than Neanderthal man".

# "Caves are a natural attraction because they reveal information about the early man".

Consider the following paragraph:
Although invaders represent the threat to the conservation of flora and fauna, there are two special cases in which invasion have been deliberately brought about. One is the desire to control pests by natural predators, which may have to be brought from other countries. The second is releasing organisms into the wild (or on to farms, from which they might escape) that are completely novel, because they have been genetically engineered. There is nothing intrinsically sinister about engineered organisms, but any novelty must be regarded as potential invader.

# "Pests are more dangerous than their natural predators".

Consider the following paragraph:
Life in colonial times was harsh, and the refinements of the mother country were ordinarily lacking. The colonists, however, soon began to mold their English culture into the fresh environment of new land. The influence of religion permeated the entire way of life. In most Southern colonies, the Anglican church was the legally established church. In New England, the Puritans were dominant; and in Pennsylvania, the Quakers. Especially in the New England colonies, the local or village church was the hub of community life; the authorities strictly enforced the Sabbath and sometimes banished non-believers. Unfortunately, the same sort of religious intolerance, bigotry and superstition associated with the age of Reformation in Europe also prevailed in some of the colonies, though on a lesser scale. In the last half of the 17th century, during sporadic outbreak of religious fanaticism and hysteria, Connecticut authorities tried and hanged several women as "witches". Early in the 17th century, some other witchcraft persecution occurred in Virginia. As the decades passed, however, religious tolerance developed in colonies.

# "New England was part of the Southern colonies".

# "During the mid 17th century there was significant improvement in religious tolerance and superstition".

# "Life in colonial times was harsh due to the strong influence of religion".

# "The Anglican church used to govern the people in most Southern colonies".

Consider the following paragraph:
Confucius said that to know the future we have to understand the past. in his time, transport, communications and scientific knowledge were less developed than they are today. news took weeks to travel whereas today satellite links connect the continents virtually instantaneously, but our technological advances in the field of communications seem not to improved our capacity to understand one another.

# "We understand each other better now than in Confucius' time because we can travel more quickly".

# "In Confucius' day people were more intelligent".

# "We have made great improvements in transport since Confucius' day".

# "Technological advances in communication and human capacity to understand one another are directly proportional".

# "In Confucius' day time news took months to travel".

# "According to Confucius the past has a linkage to the future".

# "Even with the fast developments of the technology we can't live happily".

Consider the following paragraph:
Every form of art is protected by copyright, upon the expiration of which the property passes to the public domain and becomes freely available to anyone wishing to exploit it commercially. the time has come when all treasures should pass to the control of a trust, and by this be made readily available to anyone on payment of a fee or royalty. The income from the works Van Gogh would alone be enormous. Those who now gain financial benefit from his genius should make some contribution to the welfare of the arts in general.

# "Instead of buying a ticket, museum goers should pay a fee to a trust for the benefit of arts".

# "It is not desirable to pass the control of treasures to a trust".

# "Van Gogh's paintings are not protected by copyright".

# "All artworks must be managed by a trust, so that the income generated can be used for the welfare of the arts".

# "Copyright in art is valid only for a limited period of time".

# "Van Gogh's descendants should be asked to make some contribution to the arts".

# "Van Gogh's works are under this copy right rule".

# "People are free to go to the public because of the copy right rule".

# "People gives to theater and collect the money for development".

# "We have asked the Van Gogh descendants to help for the developments of art".

Consider the following paragraph:
Organizing the home can be perceived as conferring power, so large numbers of women are unwilling to let go of chores, even when they have careers. A survey found that, out of 65 new marriages, not one single wife expected her husband to share work equally. According to the Family Policy Studies Center, 81% of working wives return home to do all the cooking. The average male has nearly half as much as more free time at weekends than his wife, and the typical new father spends just 37 seconds a day talking to his baby.

# "Only career women perceive organizing the home as conferring power".

# "The average wife has half as much free time at weekends as her husband".

# "The family planning studies center shows that 81% working wives do all the cooking at home".

# "19% working wives do not want to do the cooking at home".

# "Housewives want the husbands to take part equally in the household".

# "Wives have half as much leisure time as the husbands have".

# "39% of the men will work equally in the house in cleaning and washing".

Consider the following paragraph:
Statistics show that millions of vehicles have been carried by shuttle over the past 30 years through Alpine tunnels without one ever catching fire. In the Alpine tunnels, drivers and passengers sit in their vehicles on the shuttle trains. Only one vehicle has ever caught fire on the busy French motorail equivalent system. This sort of accident is not possible in a closed shuttle. Assertion that a vehicle fire will lead to catastrophe have no basis. Since the resources exist to detect, control and extinguish a fire, and to remove any persons present safely to an adjoining wagon, leaving any surviving fire facing rapid extinction within a wagon built to contain fire for 30 minutes, catastrophe seems very unlikely.

# " It is theoretically possible for a vehicle to catch fire even in a closed wagon".

# " The French motorail system is inferior to the shuttle train system."

# "No accident can occur in the closed tunnels".

# "Fire is allowed to live for 30 min".

# "All the cars that travel in the tunnels will be carried by rail shutters".

infosys placement papers part-1

 PAPER CODE Q/C.
----------------------------------------------------------------------
1a) BE * BE = ACB
A,B,C,E ARE NON ZERO NUMBERS FIND B,E.
ANS) B=1 E=9

2) A,B,C,D,E ARE HAVING NUMERICAL VALUES. THERE ARE SOME CONDITIONS
GIVEN
a) A=C <===> B!=E
b) DIFFERENCE BETWEEN A AND C AS SAME AS DIFFERENCE BETWEEN C AND B
AS SAME AS DIFFERENCE BETWEEN A AND D
c) CD
THEN FIND A,B,C,D,E

3) THERE ARE SIX CARDS IN WHICH IT HAS TWO KING CARDS. ALL CARDS ARE
TURNED DOWN AND TWO CARDS ARE OPENED
a) WHAT IS THE POSSOBILITY TO GET AT LEAST ONE KING.
b) WHAT IS THE POSSIBILITY TO GET TWO KINGS.

4) A PERSON WENT TO A SHOP AND ASKED FOR CHANGE FOR 1.15PAISE.
BUT HE SAID THAT HE COULD NOT ONLY GIVE CHANGE FOR ONE RUPEE.
BUT ALSO FOR 50P,25P,10P AND 5P. WHAT WERE THE COINS HE HAD
ans) 1-->50 4--->10P 1--->25P

5) THERE ARE 3 NURSES AND THEY WORK ALTOGETHER ONLY ONCE IN A WEEK.
NO NURSE IS CALLED TO WORK FOR 3 CONSECUTIVE DAYS.
NURSE 1 IS OFF ON TUESEDAY,THURSDAY AND SUNDAY.
NURSE 2 IS OFF ON SATURDAY.
NURSE 3 IS OFF ON THURSDAY,SUNDAY.
NO TWO NURSES ARE OFF MORE THAN ONCE A WEEK.
FIND THE DAY ON WHICH ALL THE 3 NURSES WERE ON WORK.

6) THERE ARE 5 PERSONS A,B,C,D,E AND EACH IS WEARING A BLOCK OR WHITE
CAP ON HIS HEAD. A PERSON CAN SEE THE CAPS OF THE REMAINING 4 BUT CAN'T SEE HIS OWN CAP. A PERSON WEARING WHITE SAYS TRUE AND WHO WEARS BLOCK SAYS FALSE.
i) A SAYS I SEE 3 WHITES AND 1 BLOCK
ii) B SAYS I SEE 4 BLOCKS
iii) E SAYS I SEE 4 WHITES
iiii) C SAYS I SEE 3 BLOCKS AND 1 WHITE.
NOW FIND THE CAPS WEARED BY A,B,C,D AND E

Answer: Black, Black, White, White, Black

7) THERE ARE TWO WOMEN, KAVITHA AND SHAMILI AND TWO MALES SHYAM,
ARAVIND
WHO ARE MUSICIANS. OUT OF THESE FOUR ONE IS A PIANIST, ONE FLUTIST,
VIOLINIST AND DRUMMER.
i) ACROSS ARAVIND BEATS PIANIST
ii) ACROSS SHYAM IS NOT A FLUTIST
iii) KAVITHA'S LEFT IS A PIANIST
iiii) SHAMILI'S LEFT IS NOT A DRUMMER
V) FLUTIST AND DRUMMER ARE MARRIED.

8) 1/3 ED OF THE CONTENTS OF A CONTAINER EVAPORATED ON THE 1 ST DAY.
3/4 TH OF THE REMAINING CONTENTS OF THE CONTAINER EVAPORATED THE
SECOND DAY. WHAT PART OF THE CONTENTS OF THE CONTAINER ARE LEFT AT
THE END OF THE SECOND DAY.

Answer: 1/6

9) A MAN COVERED 28 STEPS IN 30 SECONDS BUT HE DECIDED TO MOVE FAST AND
COVERED 34 STEPS IN 18 SECONDS. HOW MANY STEPS ARE THERE ON THE
ESCALATOR WHEN STATIONARY.

Answer: 43

10) ALL FAIR SKINNED, RICH, HANDSOME, MUSCULAR, LEAN AND EMPLOYED ARE
TALL MEN
1) ALL LEAN MEN ARE MUSCULAR.
2) NO FAIRSKINNED PERSON WHO IS NOT RICH IS HANDSOME.
3) SOME MUSCULAR MEN ARE HANDSOME.
4) ALL HANDSOME ARE FAIRSKINNED.
5) NO PERSON WHO IS NEITHER FAIR SKINNED NOR MUSCULAR IS ENPLYED.
6) we unable to recall this condition and question also incomplete

Wednesday, April 8, 2009

QTP Interview Questions 14

" What is test object model in QTP?
The test object model is a large set of object types or classes that Quick Test uses to represent the objects in your application. Each test object class has a list of properties that can uniquely identify objects of that class and a set of relevant methods that Quick Test can record for it. A test object is an object that Quick Test creates in the test or component to represent the actual object in your application. Quick Test stores information about the object that will help it identify and check the object during the run session.

What is Object Spy in QTP?
Using the Object Spy, you can view the properties of any object in an open application. You use the Object Spy pointer to point to an object. The Object Spy displays the selected object’s hierarchy tree and its properties and values in the Properties tab of the Object Spy dialog box.

What is the Diff between Image check-point and Bit map Check point?
Image checkpoints enable you to check the properties of a Web image. You can check an area of a Web page or application as a bitmap. While creating a test or component, you specify the area you want to check by selecting an object. You can check an entire object or any area within an object. Quick Test captures the specified object as a bitmap, and inserts a checkpoint in the test or component. You can also choose to save only the selected area of the object with your test or component in order to save disk Space. For example, suppose you have a Web site that can display a map of a city the user specifies. The map has control keys for zooming. You can record the new map that is displayed after one click on the control key that zooms in the map. Using the bitmap checkpoint, you can check that the map zooms in correctly. You can create bitmap checkpoints for all supported testing environments (as long as the appropriate add-ins are loaded). Note: The results of bitmap checkpoints may be affected by factors such as operating system, screen resolution, and color settings.

How many ways we can parameterize data in QTP?
There are four types of parameters: Test, action or component parameters enable you to use values passed from your test or component, or values from other actions in your test. Data Table parameters enable you to create a data-driven test (or action) that runs several times using the data you supply. In each repetition, or iteration, Quick Test uses a different value from the Data Table. Environment variable parameters enable you to use variable values from other sources during the run session. These may be values you supply, or values that Quick Test generates for you based on conditions and options you choose. Random number parameters enable you to insert random numbers as values in your test or component. For example, to check how your application handles small and large ticket orders, you can have Quick Test generate a random number and insert it in a number of tickets edit field.

How do u do batch testing in WR & is it possible to do in QTP, if so explain?
Batch Testing in WR is nothing but running the whole test set by selecting Run Test set from the Execution Grid. The same is possible with QTP also. If our test cases are automated then by selecting Run Test set all the test scripts can be executed. In this process the Scripts get executed one by one by keeping all the remaining scripts in Waiting mode.

If I give some thousand tests to execute in 2 days what do u do?
Adhoc testing is done. It Covers the least basic functionalities to verify that the system is working fine.

What does it mean when a check point is in red color? what do u do?
A red color indicates failure. Here we analyze the cause for failure whether it is a Script Issue or Environment Issue or a Application issue.

"

QTP Interview Questions 13

" Explain the QTP Tool interface.
It contains the following key elements: Title bar, displaying the name of the currently open test, Menu bar, displaying menus of Quick Test commands, File toolbar, containing buttons to assist you in managing tests, Test toolbar, containing buttons used while creating and maintaining tests, Debug toolbar, containing buttons used while debugging tests. Note: The Debug toolbar is not displayed when you open Quick Test for the first time. You can display the Debug toolbar by choosing View — Toolbars — Debug. Action toolbar, containing buttons and a list of actions, enabling you to view the details of an individual action or the entire test flow. Note: The Action toolbar is not displayed when you open Quick Test for the first time. You can display the Action toolbar by choosing View — Toolbars — Action. If you insert a reusable or external action in a test, the Action toolbar is displayed automatically. Test pane, containing two tabs to view your test-the Tree View and the Expert View ,Test Details pane, containing the Active Screen. Data Table, containing two tabs, Global and Action, to assist you in parameterizing your test. Debug Viewer pane, containing three tabs to assist you in debugging your test-Watch Expressions, Variables, and Command. (The Debug Viewer pane can be opened only when a test run pauses at a breakpoint.) Status bar, displaying the status of the test

How does QTP recognize Objects in AUT?
Quick Test stores the definitions for application objects in a file called the Object Repository. As you record your test, Quick Test will add an entry for each item you interact with. Each Object Repository entry will be identified by a logical name (determined automatically by Quick Test), and will contain a set of properties (type, name, etc) that uniquely identify each object. Each line in the Quick Test script will contain a reference to the object that you interacted with, a call to the appropriate method (set, click, check) and any parameters for that method (such as the value for a call to the set method). The references to objects in the script will all be identified by the logical name, rather than any physical, descriptive properties.

What are the types of Object Repositories in QTP?
Quick Test has two types of object repositories for storing object information: shared object repositories and action object repositories. You can choose which type of object repository you want to use as the default type for new tests, and you can change the default as necessary for each new test. The object repository per-action mode is the default setting. In this mode, Quick Test automatically creates an object repository file for each action in your test so that you can create and run tests without creating, choosing, or modifying object repository files. However, if you do modify values in an action object repository, your changes do not have any effect on other actions. Therefore, if the same test object exists in more than one action and you modify an object’s property values in one action, you may need to make the same change in every action (and any test) containing the object.

Explain the check points in QTP?

A checkpoint verifies that expected information is displayed in an Application while the test is running. You can add eight types of checkpoints to your test for standard web objects using QTP. A page checkpoint checks the characteristics of an Application. A text checkpoint checks that a text string is displayed in the appropriate place on an Application. An object checkpoint (Standard) checks the values of an object on an Application. An image checkpoint checks the values of an image on an Application. A table checkpoint checks information within a table on a Application. An Accessibilityy checkpoint checks the web page for Section 508 compliance. An XML checkpoint checks the contents of individual XML data files or XML documents that are part of your Web application. A database checkpoint checks the contents of databases accessed by your web site

In how many ways we can add check points to an application using QTP?
We can add checkpoints while recording the application or we can add after recording is completed using Active screen (Note : To perform the second one The Active screen must be enabled while recording).

How does QTP identify objects in the application?
QTP identifies the object in the application by Logical Name and Class.

What is Parameterizing Tests?
When you test your application, you may want to check how it performs the same operations with multiple sets of data. For example, suppose you want to check how your application responds to ten separate sets of data. You could record ten separate tests, each with its own set of data. Alternatively, you can create a parameterized test that runs ten times: each time the test runs, it uses a different set of data.

"

QTP Interview Questions 12

" What is keyword view and Expert view in QTP?
Quick Test’s Keyword Driven approach, test automation experts have full access to the underlying test and object properties, via an integrated scripting and debugging environment that is round-trip synchronized with the Keyword View. Advanced testers can view and edit their tests in the Expert View, which reveals the underlying industry-standard VBScript that Quick Test Professional automatically generates. Any changes made in the Expert View are automatically synchronized with the Keyword View.

Explain about the Test Fusion Report of QTP?
Once a tester has run a test, a Test Fusion report displays all aspects of the test run: a high-level results overview, an expandable Tree View of the test specifying exactly where application failures occurred, the test data used, application screen shots for every step that highlight any discrepancies, and detailed explanations of each checkpoint pass and failure. By combining Test Fusion reports with Quick Test Professional, you can share reports across an entire QA and development team.

Which environments does QTP support?
Quick Test Professional supports functional testing of all enterprise environments, including Windows, Web,..NET, Java/J2EE, SAP, Siebel, Oracle, PeopleSoft, Visual Basic, ActiveX, mainframe terminal emulators, and Web services.

Explain QTP Testing process?
Quick Test testing process consists of 6 main phases:
Create your test plan
Prior to automating there should be a detailed description of the test including the exact steps to follow, data to be input, and all items to be verified by the test. The verification information should include both data validations and existence or state verifications of objects in the application.
Recording a session on your application
As you navigate through your application, Quick Test graphically displays each step you perform in the form of a collapsible icon-based test tree. A step is any user action that causes or makes a change in your site, such as clicking a link or image, or entering data in a form.
Enhancing your test
Inserting checkpoints into your test lets you search for a specific value of a page, object or text string, which helps you identify whether or not your application is functioning correctly. NOTE: Checkpoints can be added to a test as you record it or after the fact via the Active Screen. It is much easier and faster to add the checkpoints during the recording process. Broadening the scope of your test by replacing fixed values with parameters lets you check how your application performs the same operations with multiple sets of data. Adding logic and conditional statements to your test enables you to add sophisticated checks to your test.
Debugging your test
If changes were made to the script, you need to debug it to check that it operates smoothly and without interruption.
Running your test on a new version of your application
You run a test to check the behavior of your application. While running, Quick Test connects to your application and performs each step in your test.
Analyzing the test results
You examine the test results to pinpoint defects in your application.
Reporting defects
As you encounter failures in the application when analyzing test results, you will create defect reports in Defect Reporting Tool.

"

QTP Interview Questions 11

What is QTP?
Quick Test Pro is a graphical interface record-playback automation tool. It is able to work with any web, java or windows client application. Quick Test enables you to test standard web objects and ActiveX controls. In addition to these environments, Quick Test Professional also enables you to test Java applets and applications and multimedia objects on Applications as well as standard Windows applications, Visual Basic 6 applications and.NET framework applications

What are the Features & Benefits of Quick Test Pro (QTP 8.0)?
Operates stand-alone, or integrated into Mercury Business Process Testing and Mercury Quality Center. Introduces next-generation zero-configuration Keyword Driven testing technology in Quick Test Professional 8.0 allowing for fast test creation, easier maintenance, and more powerful data-driving capability. Identifies objects with Unique Smart Object Recognition, even if they change from build to build, enabling reliable unattended script execution. Collapses test documentation and test creation to a single step with Auto-documentation technology. Enables thorough validation of applications through a full complement of checkpoints.

How to handle the exceptions using recovery scenario manager in QTP?
There are 4 trigger events during which a recovery scenario should be activated. A pop up window appears in an opened application during the test run: A property of an object changes its state or value, A step in the test does not run successfully, An open application fails during the test run, These triggers are considered as exceptions.You can instruct QTP to recover unexpected events or errors that occurred in your testing environment during test run. Recovery scenario manager provides a wizard that guides you through the defining recovery scenario. Recovery scenario has three steps: 1. Triggered Events 2. Recovery steps 3. Post Recovery Test-Run

What is the use of Text output value in QTP?

Output values enable to view the values that the application talks during run time. When parameterized, the values change for each iteration. Thus by creating output values, we can capture the values that the application takes for each run and output them to the data table.

How to use the Object spy in QTP 8.0 version?

There are two ways to Spy the objects in QTP: 1) Thru file toolbar, In the File Toolbar click on the last toolbar button (an icon showing a person with hat). 2) True Object repository Dialog, In Object repository dialog click on the button object spy. In the Object spy Dialog click on the button showing hand symbol. The pointer now changes in to a hand symbol and we have to point out the object to spy the state of the object if at all the object is not visible. or window is minimized then, hold the Ctrl button and activate the required window to and release the Ctrl button.

How Does Run time data (Parameterization) is handled in QTP?
You can then enter test data into the Data Table, an integrated spreadsheet with the full functionality of Excel, to manipulate data sets and create multiple test iterations, without programming, to expand test case coverage. Data can be typed in or imported from databases, spreadsheets, or text files.

QTP Interview Questions 10

Full form of QTP ?

Quick Test Professional

What’s the QTP ?

QTP is Mercury Interactive Functional Testing Tool.

Which scripting language used by QTP ?

QTP uses VB scripting.

What’s the basic concept of QTP ?

QTP is based on two concept-
* Recording
* Playback

How many types of recording facility are available in QTP ?

QTP provides three types of recording methods-
* Context Recording (Normal)
* Analog Recording
* Low Level Recording

How many types of Parameters are available in QTP ?

QTP provides three types of Parameter-
* Method Argument
* Data Driven
* Dynamic

What’s the QTP testing process ?

QTP testing process consist of seven steps-
* Preparing to recoding
* Recording
* Enhancing your script
* Debugging
* Run
* Analyze
* Report Defects

What’s the Active Screen ?

It provides the snapshots of your application as it appeared when you performed a certain steps during recording session.

What’s the Test Pane ?

Test Pane contains Tree View and Expert View tabs.

What’s Data Table ?

It assists to you about parameterizing the test.

What’s the Test Tree ?

It provides graphical representation of your operations which you have performed with your application.

Which all environment QTP supports ?

ERP/ CRM
Java/ J2EE
VB, .NET
Multimedia, XML
Web Objects, ActiveX controls
SAP, Oracle, Siebel, PeopleSoft
Web Services, Terminal Emulator
IE, NN, AOL

How can you view the Test Tree ?

The Test Tree is displayed through Tree View tab.

What’s the Expert View ?

Expert View display the Test Script.

Which keyword used for Nornam Recording ?

F3

Which keyword used for run the test script ?

F5

Which keyword used for stop the recording ?

F4

Which keyword used for Analog Recording ?

Ctrl+Shift+F4

Which keyword used for Low Level Recording ?

Ctrl+Shift+F3

Which keyword used for switch between Tree View and Expert View ?

Ctrl+Tab

What’s the Transaction ?

You can measure how long it takes to run a section of your test by defining transactions.

Where you can view the results of the checkpoint ?

You can view the results of the checkpoints in the Test Result Window.

What’s the Standard Checkpoint ?

Standard Checkpoints checks the property value of an object in your application or web page.

Which environment are supported by Standard Checkpoint ?

Standard Checkpoint are supported for all add-in environments.

What’s the Image Checkpoint ?

Image Checkpoint check the value of an image in your application or web page.

Which environments are supported by Image Checkpoint ?

Image Checkpoint are supported only Web environment.

What’s the Bitmap Checkpoint ?

Bitmap Checkpoint checks the bitmap images in your web page or application.

Which environment are supported by Bitmap Checkpoints ?

Bitmap checkpoints are supported all add-in environment.

What’s the Table Checkpoints ?

Table Checkpoint checks the information with in a table.

Which environments are supported by Table Checkpoint ?

Table Checkpoints are supported only ActiveX environment.

What’s the Text Checkpoint ?

Text Checkpoint checks that a test string is displayed in the appropriate place in your application or on web page.

Which environment are supported by Test Checkpoint ?

Text Checkpoint are supported all add-in environments

QTP Interview Questions 9

13. What is a Run-Time Data Table? Where can I find and view this table?

In QTP, there is data table used, which is used at runtime.
-In QTP, select the option View->Data table.
-This is basically an excel file, which is stored in the folder of the test created, its name is Default.xls by default.

14. How does Parameterization and Data-Driving relate to each other in QTP?

To data driven we have to parameterize. i.e. we have to make the constant value as parameter, so that in each interaction(cycle) it takes a value that is supplied in run-time data table. Through parameterization only we can drive a transaction (action) with different sets of data. You know running the script with the same set of data several times is not suggested, and it’s also of no use.

15. What is the difference between Call to Action and Copy Action.?

Call to Action: The changes made in Call to Action, will be reflected in the original action (from where the script is called). But where as in Copy Action , the changes made in the script ,will not effect the original script(Action)

16. Explain the concept of how QTP identifies object.

During recording qtp looks at the object and stores it as test object. For each test object QT learns 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 the object. During test run, QTP searches for the run time objects that matches with the test object it learned while recording.

17. Differentiate the two Object Repository Types of QTP.

Object repository is used to store all the objects in the application being tested.
Types of object repository: Per action and shared repository.
In shared repository only one centralized repository for all the tests. where as in per action for each test a separate per action repository is created.

18. What the differences are and best practical application of Object Repository?

Per Action: For Each Action, one Object Repository is created.
Shared: One Object Repository is used by entire application

19. Explain what the difference between Shared Repository and Per Action Repository

Shared Repository: Entire application uses one Object Repository , that similar to Global GUI Map file in WinRunner
Per Action: For each Action, one Object Repository is created, like GUI map file per test in WinRunner

20. Have you ever written a compiled module? If yes tell me about some of the functions that you wrote.

Sample answer (You can tell about modules you worked on. If your answer is Yes then You should expect more questions and should be able to explain those modules in later questions): I Used the functions for Capturing the dynamic data during runtime. Function used for Capturing Desktop, browser and pages.

21. Can you do more than just capture and playback?

Sample answer (Say Yes only if you worked on): I have done Dynamically capturing the objects during runtime in which no recording, no playback and no use of repository is done AT ALL.
-It was done by the windows scripting using the DOM(Document Object Model) of the windows.

22. How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

Yes, there’s an in-built functionality called “Step Generator” in Insert->Step->Step Generator -F7, which will generate the scripts as you enter the appropriate steps.

23. What is the difference between check point and output value?

An output value is a value captured during the test run and entered in the run-time but to a specified location.
EX:-Location in Data Table[Global sheet / local sheet]

24. How many types of Actions are there in QTP?

There are three kinds of actions:
Non-reusable action - An action that can be called only in the test with which it is stored, and can be called only once.
Reusable action - An action that can be called multiple times by the test with which it is stored (the local test) as well as by other tests.
External action - A reusable action stored with another test. External actions are read-only in the calling test, but you can choose to use a local, editable copy of the Data Table information for the external action.

25. I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

You can still make the notepad open without using the record or System utility script, just by mentioning the path of the notepad “( i.e. where the notepad.exe is stored in the system) in the “Windows Applications Tab” of the “Record and Run Settings window.

QTP Interview Questions 8

1. What are the features and benefits of Quick Test Pro(QTP)?

1. Key word driven testing
2. Suitable for both client server and web based application
3. VB script as the script language
4. Better error handling mechanism
5. Excellent data driven testing features

2. How to handle the exceptions using recovery scenario manager in QTP?

You can instruct QTP to recover unexpected events or errors that occurred in your testing environment during test run. Recovery scenario manager provides a wizard that guides you through the defining recovery scenario. Recovery scenario has three steps
1. Triggered Events
2. Recovery steps
3. Post Recovery Test-Run

3. What is the use of Text output value in QTP?

Output values enable to view the values that the application talks during run time. When parameterized, the values change for each iteration. Thus by creating output values, we can capture the values that the application takes for each run and output them to the data table.

4. How to use the Object spy in QTP 8.0 version?

There are two ways to Spy the objects in QTP
1) Thru file toolbar: In the File ToolBar click on the last toolbar button (an icon showing a person with hat).
2) Thru Object repository Dialog: In Objectrepository dialog click on the button “object spy…” In the Object spy Dialog click on the button showing hand symbol. The pointer now changes in to a hand symbol and we have to point out the object to spy the state of the object. If at all the object is not visible or window is minimized then hold the Ctrl button and activate the required window to and release the Ctrl button.

5. What is the file extension of the code file and object repository file in QTP?
File extension of
Per test object rep: filename.mtr
Shared Object rep: filename.tsr
Code file extension id: script.mts

6. Explain the concept of object repository and how QTP recognizes objects?

Object Repository: displays a tree of all objects in the current component or in the current action or entire test( depending on the object repository mode you selected).
we can view or modify the test object description of any test object in the repository or to add new objects to the repository.
Quicktest learns the default property values and determines in which test object class it fits. If it is not enough it adds assistive properties, one by one to the description until it has compiled the unique description. If no assistive properties are available, then it adds a special Ordianl identifier such as objects location on the page or in the source code.

7. What are the properties you would use for identifying a browser and page when using descriptive programming?

“name” would be another property apart from “title” that we can use. OR
We can also use the property “micClass”.
ex: Browser(”micClass:=browser”).page(”micClass:=page”)

8. What are the different scripting languages you could use when working with QTP?

You can write scripts using following languages:
Visual Basic (VB), XML, JavaScript, Java, HTML

9. Tell some commonly used Excel VBA functions.

Common functions are:
Coloring the cell, Auto fit cell, setting navigation from link in one cell to other saving

10. Explain the keyword createobject with an example.

Creates and returns a reference to an Automation object
syntax: CreateObject(servername.typename [, location])
Arguments
servername:Required. The name of the application providing the object.
typename : Required. The type or class of the object to create.
location : Optional. The name of the network server where the object is to be created.

11. Explain in brief about the QTP Automation Object Model.

Essentially all configuration and run functionality provided via the QuickTest interface is in some way represented in the QuickTest automation object model via objects, methods, and properties. Although a one-on-one comparison cannot always be made, most dialog boxes in QuickTest have a corresponding automation object, most options in dialog boxes can be set and/or retrieved using the corresponding object property, and most menu commands and other operations have corresponding automation methods. You can use the objects, methods, and properties exposed by the QuickTest automation object model, along with standard programming elements such as loops and conditional statements to design your program.

12. How to handle dynamic objects in QTP?

QTP has a unique feature called Smart Object Identification/recognition. QTP generally identifies an object by matching its test object and run time object properties. QTP may fail to recognize the dynamic objects whose properties change during run time. Hence it has an option of enabling Smart Identification, wherein it can identify the objects even if their properties changes during run time.

"

QTP Interview Questions 7

"1.How do you test Siebel Application using QTP?
In SWE section you need to add automation enable = True. Under the same time you need to use SWE Cmd = Auto On in the URL.

2. How many types of actions are there in QTP?
QTP supports three types of actions.
1) non re-usable actions
2) re usable actions
3) external actions.

3.How do you data drive an external spreed sheet?
Import from external spreed sheet file by selecting import then from file. Which imports a tabbed text file or a single sheet from an existing Microsoft excel file in to the table. The sheet you import replace all data in a currently selected sheet.

4. I want to open a notepad window without recording a test and I do not want to use system util. run command as well how do I do this?
Another alternative to open a notepad is to use shell object. Check out with the following example.
Dim a
set a = wscript.create object (”wscript.shell”)
a.run “notepad.exe”.

5. how many types of recording modes in QTP? Describe each type with an example
where we use them?
Three types of recording modes in QTP.
1) NORMAL
2) ANALOG MODE
3) LOW LEVEL RECORDING MODE.

6. How can we do the frame work in QTP?
Depending upon the project and client requirements.

7.Testing > QTP which features of QTP would you like improve? How would you go about implementing it?
We are not implementing any concept in QTP.

8.Explain how would you design the driver code for a keyboard based test script?
Test script prepare in QTP.
Keywords prepare in a excel sheet and objects description prepare in a notepad.

9.What is the file extension of shared object repository?
The shared object repository is .tsr extension.

10. How to handle java tree in QTP?
First of all we need to handle a java add- in to handle a java tree. In tools we have the object identification drop down list. There we have the java option to recognize the objects there select the tree option. Add the properties.

11. How to fetch test data from data base by using QTP?
In order to fetch test data from dat base we have to create a Adodb connection object to connect with data base. The syntax is create object (”Adodb.connectin”).

12. What is the procedure to test flash application using QTP?
Using multimedia add- in support.

13. If a error aoccur during the execution of QTP scropt? How can we handle it?
Using recovery scenario manager.

14. How to merge the object repository files?
Using a repository merge tool. It is available with QT Plus Tool.

15. Can we update the data base through QTP?
Yes. We can

"

QTP Interview Questions 6

"1.Object Repository types, which and when to use?
Deciding which object repository mode to choose the default object repository mode and appropriate object repository mode for each test, you need to understand the differences between the two modes.
In general; the object repository per action mode is easiest to use when you r creating simple recored and run tests, especially under the following conditions.
You have only one or very few, tests that correspond to a given application interface or set of objects.
You do not expert to frequently modify test object properties. You generally create single action tests conversely, the shared object repository mode is generally the preferred mode when you have several test that test elements of the same application, interface or set of objects.
you expert the object properties in your application to change from time to time and / or you regularly need to up date or modify test object properties.
You often work with multi action tests and regularly use insert copy of action and insert called to action options.

2. Can we script any test case with out having object repository ? or using object repository is a must?
No. You can script with out object repository by knowing the window handlers, spying and recognizing the objects logical names and properties available.

3. How to execute a WR script in QTP?
a)TSL tset.run test, test path, test set.[parameters]–>used in QTP 6.0 for backward compatibility.
Parameters:the test set with in quality center, in which test runs are stored. Note that this argument is relevant only when working with a test in a quality center project.When the test is not saved in a quality center, this parameter is ignored. Ex . TSL test.run test “D:\Tset1″
B) TSL test.runtestex testpsth,run minimize, close app [parameter] TSL test.runtestex “C:\Win Runner/Tests/Basic_Flight”,True,False,”My Value”.
Close App:indicates whether to close the WR application when the WR tset run ends.
Parameter: up to 15 WR function argument.

4.How to handle time errors?
On Error Resume next:causes execution to continue with the statement immediately following the statement that causes the run time error, or with the statement immediately following tie most recent call out of the procedure containing the on error resumes next statement.
This allows execution to continue despite a run time error. you can then build the error handling routine inline with in the procedure using “Err” object MSG box “error no:” “&Err.no&”.”&Err.description” “&Err.source&Err.help context”.

5.How to change the run time value of property for an object?
Set to property changes the property values used to identify an object during the test run. Only properties that are included in the test object description can be set.

6. How to retrieve the property of an object?
Using GETRO property.

7. How to open any application during scripting?
Systemutil, object used to open and close applications and processes during a run session. A systemutil.run statement is automatically added to your test when you run an application from the start menu or the run dialog box while recording a test. Ex. sytemutil.run “notepad.exe”
systemutil.close descendant processes (closes all the processes open by QTP ).

8.Types of properties that QTP learns while recording?
Mandatory and assistive. In addition to recording the mandatory and assistive properties specified in the object identification dialog box, QTP can also record a backup ordinal identifier for each test object. The ordinal identifier assigns the object in numerical value that indicates it’s order relative to other objects with an otherwise identical description (objects that have the same vales foe all properties specified in the mandatory and assistive property list). This ordered value enable QTP to create a unique description when the mandatory and assistive properties are not sufficient to do so.

9.What is the extension of script and object repository files?
Object repository: .TSR, script: .MTS, Excel: default.ELS

10. How to suppress warning from the test result page?
From the test result viewer “tools > filters > warnings ” must be unchecked.

11.When we try to use test run option run from step, the browser is not launching automatically? Why?
This is default behavior.

12. Does QTP is unicode compatible ?
QTP 6.5 is not but QTP 8.0 is expected to be Unicode compatible by end of Dec 2004.

13.How to turn off QTP results after running a script?
Go to tools > option > run tab and deselect view results when run session ends. But this suppresses only the result window, but a log will be created and can viewed manually which can not be restricted from getting created.

14.How to get font size of a web edit?

15. Is there any way to automatically update the data source name in data base checkpoints object when we migrate test to a new release?

16. How to verify the cursor focus of a certain field?
Use focus property of GETRO property method

17.Any limitation to XML check points ?
Mercury has determined that 1.4mb is the maximum size of XML file that QTP 6.5 can handle.

18. How to make arguments optional in a function?
This is not possible as default VBS does not support this. Instead you can pass a blank scoring and have a default value if arguments are not required.

19. How to convert a sting to an integer?
CInt ()—> a conversion function available.

20. Inserting a call to action is not importing all columns in data table of global sheet. Why?
Inserting a call to action will only import the columns of the action called

"

QTP Interview Questions 5

1. How to add a Run-time parameter data sheet?

Datatable.localsheet
The following example, uses the Local Sheet property to return the Local Sheet of the run time data table in order to add a parameter(column) to it.
My parameter = DataTable. LocalSheet.AddParameter(”Time”, “5.45″)

2. What scripting language is used in QTP?
VB scripting

3. Analyzing the Checkpoint results
Standard Checkpoint : By adding standard checkpoints to your checks or components, you can compare the expected values of objects properties to the object’s current values during the run session, if the results doesn’t match the check point fails.

4. How to create a Run-time property for an object?

5. Table and DataBase(DB) checkpoints
By adding Table checkpoints to your tests or components we can check that a specified value is displayed in a cell in a table on your application. By adding DB checkpoints to your tests or components you can check the contents of database accessed by your application. The Results displayed for table and database checkpoints are similar. When you run tests or components QTP compares the expected results of the checkpoints to the actual results of the run session, if the results do not match the checkpoint fails.
You can check that a specified value is displayed in a cell in a table by adding a table checkpoint to your test or component.
For ActiveX tables, you can also check the properties of the table objects. To add a table checkpoint you use the checkpoint properties of dialog box. Table checkpoints are supports for web and ActiveX applications as well as for variety of External Add-in environments.
You can use Database checkpoints in your tests or components to check databases accessed by your websites or application and to delete defects. You define a query on your database, and then you create a database checkpoint that checks the results of the query. Database checkpoints are supported for all environments supported by QTP by default as well as for variety of external Add-in environments.
There are two ways to define a database query.
a. Use Microsoft Query. you can Install Microsoft Query from the custom installation of Microsoft office.
b. Manually define an Sql statement.
The checkpoints time out option is available only when creating a table checkpoint.
That is not available when creating a database checkpoints.

6. Checking Bitmaps.
You can check an area of a web page or application as bitmap. While creating a test or a components you specify the area you want to check by selecting an object. You can check an entire object or any area with in an object. QTP captures the specified object as bit map and inserts a checkpoint in the test or component.
You can also choose to save only the selected area of the object with your test or component in order to save disk space.
When you run the test or component QTP compares the object or selected area of the object currently displayed of the web page or the application with the bitmap stored when the test or component was recorded. If there are any differences QTP captures bitmap of the actual object and displays it with the expected bitmap in the details portion of the test results window.
By comparing the two bitmaps(Expected and Actual) you can identify the nature of the discrepancy for more information on the test results of a checkpoint, see viewing checkpoint results.
For example, suppose you have a website that can display a map of a city the user specify that map has control keys for zooming.
You can record the new map i.e displayed after one check on the control key that zooms in the map. Using the bitmap checkpoint, you can check that the map zooms in correctly.
You can create bitmap checkpoint, all supported testing environments (as long as the appropriate add-ins are loaded)

Note: The result of bitmap check point may be effected by factors such as OS, Screen Resolutions and color settings.

7. Text/Text area checkpoint
In the Text/Text area checkpoint propertied dialog box, you can specify the text to be checked as well as which text is displayed before and after the checked text. These configuration options are particularly helpful when the text string you want to check appears several times or when it could change in a predictable way during the run session
Note: In windows based environment. If there is more than one line of text selected, the checkpoint summary pane display (complex value ) instead of the selected text for the checkpoint.
QTP automatically displays the checked text in red and the text before and after the checked text in blue.
For text area checkpoints only the text string captured from the defined area is displayed(Text before and text after are not displayed)
To designate the parts of the captured string as checked text and other parts as text before and text after, click configure button.
The configure text selection dialog box opens.
Checking XML : XML (Extensible Markup language)is a Meta-Markup language for test documents i.e endorsed as a standard by the WC3.XML makes the complex data structure portable between different computer environments or operating systems and programming languages, facilitating the sharing of data.
XML files contain text with simple tags that describe the data within an XML documents these describe the data content, but not the presentation of the data.
Application that display and XML documents or file use either cascading style sheets of the XSL formatting objects(XSL-FO) to present the data.
You can verify the data content of XML files by inserting XML checkpoints. A few common uses of XML checkpoints are described below
An XML file can be a static data file i.e accessed in order to retrieve commonly used data for which a quick response time is needed. For example, country names, zip codes or area codes although this data can be changes over time it is normally quite static.
You can use an XML checkpoint to validate that the data has not changed from one application released to another.
An XML file can consists of elements with attributes and values(character data).
There is parent and child relationship between the elements, and elements can have attributes associated with them. If any part of the structure(including data) changes the applications ability to process the XML file may be effected. Using an XML checkpoint you can check the content of an element to make sure that its, attributes, and values have not changed.
XML files are often an intermediary that retrieves dynamically changing data from 1 system.
The data is then accessed by another system using document type definitions(DTD) enabling the accessing system to read and display the information in the file. You can use an xml checkpoint and parameterize the captured data values in order to check an xml document or file whose data changes in a predictable way.
XML documents and files often needed a well defined structure in order to be portable across platforms and development systems. One way to accomplish elements this is by developing and XML scheme which describes the structure of XML elements and data types. You can use scheme validation to check that each item of content in an xml file adheres to the scheme description of the elements in which the content is to be placed

QTP Interview Questions 4

1. How many ways we can parameterize data in QTP?
There are four types of parameters
1. Test Action or Component Parameters enable you to use values passed from your test or component or values from other actions in your test.
2. Data Table parameters enable you to create a data driven test or an act.
That runs several times using the data you supply.In each repeation or iteration quick test uses a Different value from the data table.
3. Environment variable parameters enable you to use variable values from other sources during the run sessions. these may be values you supply, or values that QTP generates for you based on conditions and options you choose.
4. Random number parameters enable you to insert random numbers as values in your test or component.
For example, to check how your application handles small and large ticked orders, you can have QTP generate a random number and insert it in a number of tickets edit field.

2. How do you do Batch testing Winrunner and is it possible to do in QTP? If So, Explain?
Batch testing in Winrunner is nothing but running the whole test set by selecting “Run Test Set” from the “Execution Grid”. The same is possible with QTP also. If our test cases are automated then by selecting ” Run test Set” all the test scripts can be executed.
With this process the scripts get executed one by one keeping all the remaining scripts in “Waiting Mode”.

3. If I give some 1000 tests to execute in 2days what do you do?
Adhoc Testing is done. It covers the least basic functionalities to verify that the system is working fine.

4. What does it mean when a checkpoint is in red color? What do you do?
Red color indicates failure. Here we analyze the cause for the failure whether it is a script issue or environmental issue or a application issue.

5. What do you call the Window Testing Director test lab?
“Execution grid” it is placed from where we run all the manual/automated scripts.

6. How do you create new test sets in test director?
Login to TD.
Click on “Test Lab” Tab.
Select the desired folder under which we need to create the test set.(Test sets can be grouped as per module).
Click on “New test set or Control N” Icon to create a test set.

7. How to import data from a “.XLS” file to data table during run time?
Data table .Import “…XLS filename…”
Datatable .Import sheet (FileName, SheetSource, SheetDest)
Datatable>Importsheet “C:\name.Xls”, 1, “name”

8. How to export data present in Database to an “.XLS” file?
Datatable .Export “…xls filename…”

9. How to get traceability matrix from TD?

10. How to import a test case present in “.XLS” file to TD under a test set?

11. How to attach a file to Test director?

12. What do you do to script when objects or removed from application?

13. Syntax for how to call one script from another? and syntax to call one action in another?

Run Action Action Name,[IterationMode, IterationRange, Parameters] here the actions becomes reusable on making this call to any action.
IterationRange string not always required. Indicates the rows for which action iterations will be performed. Valid only when the iterationMode is rnfinteration. Enter the row range (i.e “1.7″): or enter rngAll to run iterations on all rows.
If the actions called by the RunAction statement includes an ExitAction statement, the Run Action
Statement can return the value of the ExitActions Ret Val arguement.

14. How to export QTP results to an “.xls” file?
By default it creates an “XML” file and displays the results.

15. What are the Differences between QTP and Winrunner?
QTP is Object based scripting (VB) where as WR is TSL ( C based language) Scripting.
QTP supports “.Net” application automation not available in WR
QTP has “Active Screen” support which captures the application not available in WR.
QTP has “Data Table to store script values, variables which WR does not have.
Using a “point and click” capability you can easily interface with objects, their.
Definitions and create checkpoints after having record script without having.
To navigate back to that location in your application like you have to with WinRunner.
This greatly speeds up script development

QTP Interview Questions 3

1.How does Run Time data ( Parameterization ) is handle in QTP?
You can then enter test data into data table, an integrated spreadsheet with the full functionality or excel, to manipulate test data sets and create multiple test iterations, with out programming, to expand test case coverage. Data can typed in or imported from data bases, spreadsheets or text files.

2. What is keyboard view and expert view in QTP?
Quick tests key board driven approach test automation experts have full access to the underlying test and object properties, via an integrated scripting and debugging environment that is round trip synchronized with the key bored view. Advance testers can view and edit their tests in expert view, which reveals the underlying industry standards vb script that QTP automatically generates. Any changes made in expert view are automatically synchronized with the keyboard view.

3. Explain about the test fusion report of QTP?
Once a tester runs a test, a test fusion report displays all the aspects of the test run a high level results over view, an expandable tree view of the test specifying exactly where application failures occurred, the test data used , applications screen shots per every step that highlight any discrepancies, and detailed explanation of each check point pass and failure, by combining test fusion reports with QTP you can share reports across an entire QA and development team.

4.To which environments does QTP supports?
QTP supports functional testing of all enterprise environments, including Windows, Web, .Net, Java, j2EE, SAP, Sieble, Oracle, Peoplesoft, Visual Basic, ActiveX, Mainframe terminal emulators and Web services.

5.What is QTP?
Quick Test is a graphical interface record-playback automation tool. It is able to work with any web, java or windows client application. Quick Teat enables you to test standard web objects and ActiveX controls. In addition to these environments QTP also enables you to test java applets and applications and multimedia objects on applications as well as standard windows applications, Visual Basic 6 applications and .Net framework applications

6.How QTP recognizes Objects in AUT?
Quick Test stores the definitions for applications objects in a file called the Object Repository. As you record your test, Quick Test will add an entry for each item you interact with. Each Object Repository entry will be identified by a logical name ( determined automatically by Quick Test), and will contain a set of properties ( type, name etc ) that uniquely identify each object.
Each line in the Quick Test script will contain a reference to the object that you interacted with a call to the appropriate method ( set, click,check) and any parameters for method ( such as the valve for a call to the set method). The references to objects in the script will all be identified by the logical name, rather than any physical, descriptive properties.

7.What are the types of Object Repositories in QTP?
Quick Test has two types of object repositories for storing object information: shared object repositories and action object repositories. You can choose which type of object repository you want to use as the default type for new test.
The object repository per-action mode is the default setting.In this mode, Quick Test automatically creates an object repository file for each action in your test so
that you can create and run tests without creating, choosing, or modifying object repository files.However, if you do modify values in an object repository, your changes do not have any effect on other actions. Therefore, if the same test object exists in more than one action and you modify an object’s property values in one action, you may need to make the same change in every action (and any test) containing the object.

8.Explain the Check Points in Qtp?
A checkpoint verifies that expected information is displayed in application while the test is running. You can add eight types of checkpoints to your test for standard web objects using QTP.
1. A page checkpoint checks the characteristics of Application.
2. A text checkpoint checks that a text string is displayed in the appropriate place on a Application.
3.An object checkpoint ( standard) checks the values of an object on a Application.
4.An image checkpoint checks the values of an image on a Application.
5.A table checkpoint checks information with in a table an a Application.
6. An accessibility check point checks the web page per Section 508 compliance
7. An XML checkpoint checks the contents of individual XML data files or XML documents that are part of your web applications.
8. A database checkpoint checks the contents of data bases accessed by you.

9. In how many ways we can add checkpoints to an application using QTP?
We can add check points while recording the application or we add after recording is completed using Active Screen (NOTE: to perform the second one the active screen must be enable while recording).

10. How does QTP identifies the object in the application?
QTP identifies the object in the application by logical name and class. For ex. the Edit box is identified by
Logical Name:PSOPTIONS_TIME20
Class:Web Edit

11.If an application name changes frequently that is while recording it has name “Window1″ and then while running it’s “Window2″, in this case how does QTP handles?
QTP handle those situations by “Regular Expressions”.

12.What is parameterizing tests?
When you test application, you may want to check how it performs the same operations with multiple set of data . For ex: suppose you want to check hoe your application responds to ten separate test of data. You could record ten separate tests, each with it’s own set of data. Alternatively you can create a parameterized test that runs ten times: each time the test run, it uses a different set of data.

13.what is test object model in QTP?
The object model is a large set of obkject types or classess that quick test uses to represent the objects in your applications. Each test object lcass has a list of properties that can uniquely identifiy objects of that class and a set of relevant methods that quick test can record for it .
A test object is an object that quick test creates in the test or component to represent the actual object in your application. Quick Test stores information about the object that will help it identify and checks the object during the run session. A run time object is the actual object in your websites or in the application on which methods are performed during the run session.
When you perform an operation on your application while you recording.

Identifies the quick test test object classes that represents the objects on which you performed the operation and creates the appropriate the test objects.

Reads the current value of the object properties in your application and stores the list of properties and values with the test object.

Choose a unique name for the object generally using the values of one of its prominent properties.

Records the operation that you performed on the object using the appropriate quick test test object method.



For Example, Suppose you click on a Find button with the following HTML source code:



Then quick test identified the objects that you clicks as a web button test object

It creates a web button object with the name find, and records the following properties and values for the find web button:

It also records that you performed a click method on the Web button.

Quick test displays your s step in the keyboard view like this:

Quick Test displays your step in the expert view like this:

Browser(”Mercury Interactive”) . Page(” Mercury Interactive”).Web button(”Find”).Click

14.What is Object Spy in QTP?
Using the object Spy you can view the properties of any object in open application. You can use the object spy pointer to pint to an object. The object spy displays the select object’s hierarchy tree and its properties and values in the properties tab of the object spy dialog box.

15. What is the difference between image check point and bitmap checkpoint?
Image check point enable due to check the properties of web page. You can check an area of a web page or application as a bitmap.
While creating a test of component, you specify the area you want to check by selecting an object you can check an entire object or an any area within an object. Quick Test captures the specified object as a bitmap, and inserts a checkpoint in the test or component.
You can also use to save the selected area of the object with your test or component in order to save disk space for example, suppose you have a website that can display a map of a city the user specify that map has control keys for zooming.
You can record the new map i.e displayed after one check on the control key that zooms in the map. Using the bitmap checkpoint, you can check that the map zooms in correctly.
You can create bitmap checkpoint, all supported testing environments (as long as the appropriate add-ins are loaded)

Note: The result of bitmap check point may be effected by factors such as OS, Screen Resolutions and color settings

QTP Interview Questions 2

1. How many tabs are available to view your test in a test pane and what are they?
Two. These are tree and expert.

2. What are the three main stages involved in testing with QTP?
Creating test , running tests , analyzing test.

3. Write a function to capture the pop-ups?
Here I am writing steps handle pop-up exceptions.
1) select the recovery scenario manager
2) press the new scenario
3) click next
4) select the pop up exceptions
5) select the pop window which we want to handle (capture) by clicking the spy button.
6) press next
7) select the specified options like key board or mouse operations press next
select the specified options click default or press enter
9) click next and uncheck add another recovery operation
10) click next and select proceed next step
11) click next and give the scenario name and description
12) click next and select add scenario to current test and add scenario to default settings. Click finish after word save that scenario.

4. What is meant by hot keys?
A hot keys or a combination of keys on a computer board when pressed performs a task. The specific task performed by a particular hot key where is by operating system or application. However , there are commonly _ used hot keys.

5. For a triangle (sum of two sides is greater than or equal to third side ), what is the minimal number of test cases required?
Generally, we will calculate the number of test cases that depends on the particular module and its complexity. Minimum number of test = ( number of outputs) multiply (1.6) ( approx calculation)

6. What are the flaws in water fall module and how overcome it?
Science testing comes at last stage , there are huge chances of defect multiplication, defects will be migrated to every stage wastage of human recourses and time delays are also introduced.

7. How does you test the web link which is changing dynamically?
This could be tested through the automated test tools like Rational Robot and Win Runner .

8. What is system testing ? And what are the different types of tests you perform in system testing?
System testing is a type of block box testing means testing the application. After the integration testing, usually will do testing. Functionality, regression and performance test comes under this.

9. How do we know about the build we are going to test? Where do you see this?
In the test plan we are going to have all details about who should test which test in a team which is given by team leader. According to that the entire group will do their testing.

10. What did you do as a team leader?
The roles of a leader,
1) before the project gets started, will conduct one team meeting and discuss briefly about the upcoming project.
2) will distribute the work among the team members and let them know which part of application they are going to test.

11. What test you perform mostly? Regression or Retesting in your testing process?
Retesting is a repeated execution of the test case which results in a fault, with the aim that fault occurred, Regression testing is the renewed testing of already tested program or part of that modification with the aim that the modified had.

12. With out using GUI map editor can we recognize the application in win runner?
With out using GUI map editor, we can recognize the application objects using a descriptive programming

QTP Interview Questions 1

"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

"

Sunday, April 5, 2009

Software tester (SQA) interview questions

1. The top management was feeling that when there are any changes in the technology being used, development schedules etc, it was a waste of time to update the Test Plan. Instead, they were emphasizing that you should put your time into testing than working on the test plan. Your Project Manager asked for your opinion. You have argued that Test Plan is very important and you need to update your test plan from time to time. It’s not a waste of time and testing activities would be more effective when you have your plan clear. Use some metrics. How you would support your argument to have the test plan consistently updated all the time.
2. The QAI is starting a project to put the CSTE certification online. They will use an automated process for recording candidate information, scheduling candidates for exams, keeping track of results and sending out certificates. Write a brief test plan for this new project.
3. The project had a very high cost of testing. After going in detail, someone found out that the testers are spending their time on software that doesn’t have too many defects. How will you make sure that this is correct?
4. What are the disadvantages of overtesting?
5. What happens to the test plan if the application has a functionality not mentioned in the requirements?
6. You are given two scenarios to test. Scenario 1 has only one terminal for entry and processing whereas scenario 2 has several terminals where the data input can be made. Assuming that the processing work is the same, what would be the specific tests that you would perform in Scenario 2, which you would not carry on Scenario 1?
7. Your customer does not have experience in writing Acceptance Test Plan. How will you do that in coordination with customer? What will be the contents of Acceptance Test Plan?
8. How do you know when to stop testing?
9. What can you do if the requirements are changing continuously?
10. What is the need for Test Planning?
11. What are the various status reports you will generate to Developers and Senior Management?
12. Define and explain any three aspects of code review?
13. Why do you need test planning?
14. Explain 5 risks in an e-commerce project. Identify the personnel that must be involved in the risk analysis of a project and describe their duties. How will you prioritize the risks?
15. What are the various status reports that you need generate for Developers and Senior Management?
16. You have been asked to design a Defect Tracking system. Think about the fields you would specify in the defect tracking system?
17. Write a sample Test Policy?
18. Explain the various types of testing after arranging them in a chronological order?
19. Explain what test tools you will need for client-server testing and why?
20. Explain what test tools you will need for Web app testing and why?
21. Explain pros and cons of testing done development team and testing by an independent team?
22. Differentiate Validation and Verification?
23. Explain Stress, Load and Performance testing?
24. Describe automated capture/playback tools and list their benefits?
25. How can software QA processes be implemented without stifling productivity?
26. How is testing affected by object-oriented designs?
27. What is extreme programming and what does it have to do with testing?
28. Write a test transaction for a scenario where 6.2% of tax deduction for the first $62,000 of income has to be done?
29. What would be the Test Objective for Unit Testing? What are the quality measurements to assure that unit testing is complete?
30. Prepare a checklist for the developers on Unit Testing before the application comes to testing department.
31. Draw a pictorial diagram of a report you would create for developers to determine project status.
32. Draw a pictorial diagram of a report you would create for users and management to determine project status.
33. What 3 tools would you purchase for your company for use in testing? Justify the need?
34. Put the following concepts, put them in order, and provide a brief description of each:
* system testing
* acceptance testing
* unit testing
* integration testing
* benefits realization testing
35. What are two primary goals of testing?
36. If your company is going to conduct a review meeting, who should be on the review committe and why?
37. Write any three attributes which will impact the Testing Process?
38. What activity is done in Acceptance Testing, which is not done in System testing?
39. You are a tester for testing a large system. The system data model is very large with many attributes and there are a lot of inter-dependencies within the fields. What steps would you use to test the system and also what are the effects of the steps you have taken on the test plan?
40. Explain and provide examples for the following black box techniques?
* Boundary Value testing
* Equivalence testing
* Error Guessing
41. What are the product standards for?
* Test Plan
* Test Script and Test Report
42. You are the test manager starting on system testing. The development team says that due to a change in the requirements, they will be able to deliver the system for SQA 5 days past the deadline. You cannot change the resources (work hours, days, or test tools). What steps will you take to be able to finish the testing in time?
43. Your company is about to roll out an e-commerce application. It’s not possible to test the application on all types of browsers on all platforms and operating systems. What steps would you take in the testing environment to reduce the business risks and commercial risks?
44. In your organization, testers are delivering code for system testing without performing unit testing. Give an example of test policy:
* Policy statement
* Methodology
* Measurement
45. Testers in your organization are performing tests on the deliverables even after significant defects have been found. This has resulted in unnecessary testing of little value, because re-testing needs to be done after defects have been rectified. You are going to update the test plan with recommendations on when to halt testing. Wwhat recommendations are you going to make?
46. How do you measure:
* Test Effectiveness
* Test Efficiency
47. You found out the senior testers are making more mistakes then junior testers; you need to communicate this aspect to the senior tester. Also, you don’t want to lose this tester. How should one go about constructive criticism?
48. You are assigned to be the test lead for a new program that will automate take-offs and landings at an airport. How would you write a test strategy for this new program?

My Ad

.