Thursday, February 20, 2014

Whatsapp sold to Facebook for $ 19 billion

Dear Entrepreneurs

This is real life  story of Jan Koum & Brian Acton on how they started Whatsapp and sold it  to Facebook for $ 19 billion 

Jan Koum picked a meaningful spot to sign the $19 billion deal to sell his company WhatsApp to Facebook earlier today. Koum, cofounder Brian Acton and venture capitalist Jim Goetz of Sequoia drove a few blocks from WhatsApp’s discreet headquarters in Mountain View to a disused white building across the  railroad tracks, the former North County Social Services office where Koum, 37, once stood in line to collect food stamps. That’s where the three of them inked the agreement to sell their messaging phenom –which brought in a miniscule $20 million in revenue last year — to the world’s largest social network

Koum, who Forbes believes owns 45% of WhatsApp and thus is suddenly worth $6.8 billion — was born and raised in a small village outside of Kiev, Ukraine, the only child of a housewife and a construction manager who built hospitals and schools. His house had no hot water, and his parents rarely talked on the phone in case it was tapped by the state. It sounds bad, but Koum still pines for the rural life he once lived, and it’s one of the main reasons he’s so vehemently against the hurly-burly of advertising.
At 16, Koum and his mother immigrated to Mountain View, a result of the troubling political and anti-Semitic environment, and got a small two-bedroom apartment though government assistance. His dad never made it over. Koum’s mother had stuffed their suitcases with pens and a stack of 20 Soviet-issued notebooks to avoid paying for school supplies in the U.S. She took up babysitting and Koum swept the floor of a grocery store to help make ends meet. When his mother was diagnosed with cancer, they lived off her disability allowance. Koum spoke English well enough but disliked the casual, flighty nature of American high-school friendships; in Ukraine you went through ten years with the same, small group of friends at school. “In Russia you really learn about a person.”
Koum was a troublemaker at school but by 18 had also taught himself computer networking by purchasing manuals from a used book store and returning them when he was done. He joined a hacker group called w00w00 on the Efnet internet relay chat network, squirreled into the servers of Silicon Graphics and chatted with Napster co-founder Sean Fanning.
He enrolled at San Jose State University and moonlighted at Ernst & Young as a security tester. In 1997, he found himself sitting across a desk from Acton, Yahoo employee 44, to inspect the company’s advertising system. “You could tell he was a bit different,” recalls Acton. “He was very no-nonsense, like ‘What are your policies here; What are you doing here?’” Other Ernst & Young people were using “touchy-feely” tactics like gifting bottles of wine. “Whatever,” says Acton. “Let’s cut to the chase.”
It turned out Koum liked Acton’s no-nonsense style too: “Neither of us has an ability to bullshit,” says Koum. Six months later Koum interviewed at Yahoo and got a job as an infrastructure engineer. He was still at San Jose State University when two weeks into his job at Yahoo, one of the company’s servers broke. Yahoo cofounder David Filo called his mobile for help. “I’m in class,” Koum answered discreetly. “What the fuck are you doing in class?” Filo said. “Get your ass into the office.” Filo had a small team of server engineers and needed all the help he could get. “I hated school anyway,” Koum says. He dropped out.
When Koum’s mother died of cancer in 2000 the young Ukrainian was suddenly alone; his father had died in 1997. He credits Acton with reaching out and offering support. “He would invite me to his house,” Koum remembers. The two went skiing and played soccer and ultimate Frisbee.
Over the next nine years the pair also watched Yahoo go through multiple ups and downs. Acton invested in the dotcom boom, and lost millions in the 2000 bust. For all of his distaste for advertising now he was also deep in it back then, getting pulled in to help launch Yahoo’s important and much-delayed advertising platform Project Panama in 2006. “Dealing with ads is depressing,” he says now. “You don’t make anyone’s life better by making advertisements work better.” He was emotionally drained. “I could see it on him in the hallways,” says Koum, who wasn’t enjoying things either. In his LinkedIn profile, Koum unenthusiastically describes his last three years at Yahoo with the words, “Did some work.”
In September 2007 Koum and Acton finally left Yahoo and took a year to decompress, traveling around South America and playing ultimate frisbee. Both applied, and failed, to work at Facebook. “We’re part of the Facebook reject club,” Acton says. Koum was eating into his $400,000 in savings from Yahoo, and drifting. Then in January 2009, he bought an iPhone and realized that the seven-month old App Store was about to spawn a whole new industry of apps. He visited the home of Alex Fishman, a Russian friend who would invite the local Russian community to his place in West San Jose for weekly pizza and movie nights. Up to 40 people sometimes showed up. The two of them stood for hours talking about Koum’s idea for an app over tea at Fishman’s kitchen counter.
“Jan was showing me his address book,” recalls Fishman. “His thinking was it would be really cool to have statuses next to individual names of the people.” The statuses would show if you were on a call, your battery was low, or you were at the gym. Koum could do the backend, but he needed an iPhone developer, so Fishman introduced Koum to Igor Solomennikov, a developer in Russia that he’d found on RentACoder.com.
Koum almost immediately chose the name WhatsApp because it sounded like “what’s up,” and a week later on his birthday, Feb. 24, 2009, he incorporated WhatsApp Inc. in California. “He’s very thorough,” says Fishman. The app hadn’t even been written yet. Koum spent days creating the backend code to synch his app with any phone number in the world, poring over a Wikipedia entry that listed international dialing prefixes — he would spend many infuriating months updating it for the hundreds of regional nuances.
Early WhatsApp kept crashing or getting stuck, and when Fishman installed it on his phone, only a handful of the hundreds numbers on his address book – mostly local Russian friends – had also downloaded it. Over ribs at Tony Roma’s in San Jose, Fishman went over the problems and Koum took notes in one of the Soviet-era notebooks he’d brought over years before and saved for important projects.
The following month after a game of ultimate frisbee with Acton, Koum grudgingly admitted he should probably fold up and start looking for a job. Acton balked. “You’d be an idiot to quit now,” he said. “Give it a few more months.”
Help came from Apple when it launched push notifications in June 2009, letting developers ping users when they weren’t using an app. Jan updated WhatsApp so that each time you changed your status — “Can’t talk, I’m at the gym” — it would ping everyone in your network. Fishman’s Russian friends started using it to ping each other with jokey custom statuses like, “I woke up late,” or “I’m on my way.”
“At some point it sort of became instant messaging,” says Fishman. “We started using it as ‘Hey how are you?’ And then someone would reply.” Jan watched the changing statuses on a Mac Mini at his town house in Santa Clara, and realized he’d inadvertently created a messaging service. “Being able to reach somebody half way across the world instantly, on a device that is always with you, was powerful,” says Koum.
The only other free texting service around at the time was BlackBerry’s BBM, but that only worked among BlackBerries. There was Google’s G-Talk and Skype, but WhatsApp was unique in that the login was your own phone number. Koum released WhatsApp 2.0 with a messaging component and watched his active users suddenly swell to 250,000. He went to see Acton, who was still unemployed and dabbling in another startup idea that wasn’t going anywhere.
The two sat at Acton’s kitchen table and started sending messages to each other on WhatsApp, already with the famous double check mark that showed another phone had received a message. Acton realized he was looking at a potentially richer SMS experience – and more effective than the so-called MMS messages for sending photos and other media that often didn’t work. “You had the whole open-ended bounty of the Internet to work with,” he says.
He and Koum worked out of the Red Rock Cafe, a watering hole for startup founders on the corner of California and Bryant in Mountain View; the entire second floor is still full of people with laptops perched on wobbly tables, silently writing code. The two were often up there, Acton scribbling notes and Koum typing. In October Acton got five ex-Yahoo friends to invest $250,000 in seed funding, and as a result was granted cofounder status and a stake. He officially joined on Nov. 1. (The two founders still have a combined stake in excess of 60% — a large number for a tech startup — and Koum is thought to have the larger share because he implemented the original idea nine months before Acton came on board. Early employees are said to have comparatively large equity shares of close to 1%. Koum won’t comment on the matter.)
The pair were getting flooded with emails from iPhone users, excited by the prospect of international free texting and desperate to “WhatsApp” their friends on Nokias and BlackBerries. With Android just a blip on the radar, Koum hired an old friend who lived in LA, Chris Peiffer to make the BlackBerry version of WhatsApp. “I was skeptical,” Peiffer remembers. “People have SMS, right?” Koum explained that people’s texts were actually metered in different countries. “It stinks,” he told him. “It’s a dead technology like a fax machine left over from the seventies, sitting there as a cash cow for carriers.” Peiffer looked at the eye-popping user growth and joined.
Through their Yahoo network they found a startup subleasing some cubicles on a converted warehouse on Evelyn Ave. The whole other half of the building was occupied by Evernote, who would eventually kick them out to take up the whole building. They wore blankets for warmth and worked off cheap Ikea tables. Even then there was no WhatsApp sign for the office. “Their directions were ‘Find the Evernote building. Go round the back. Find an unmarked door. Knock,’” says Michael Donohue, one of WhatsApp’s first BlackBerry engineers recalling his first interview.
With Koum and Acton working for free for the first few years, their biggest early cost was sending verification texts to users. Koum and Acton were using cutthroat SMS brokers like Click-A-Tell, who’d send an SMS to the U.S. for 2 cents, but to the Middle East for 65 cents. Today SMS verification runs the company about $500,000 a month. The costs weren’t so steep back then, but high enough to drain Koum’s bank account. Fortunately WhatsApp was gradually bringing in revenue, roughly $5,000 a month by early 2010 and enough to cover the costs then. The founders occasionally switched the app from “free” to “paid” so they wouldn’t grow too fast. In Dec. 2009 they updated WhatsApp for the iPhone to send photos, and were shocked to see user growth increasing even when it had the $1 price tag. “You know, I think we can actually stay paid,” Acton told Koum.
By early 2011 WhatsApp was squarely in the top 20 of all apps in the U.S. App Store. During a dim sum lunch with staff, someone asked Koum why he wasn’t crowing to the press about it. “Marketing and press kicks up dust,” Koum replied. “It gets in your eye, and then you’re not focusing on the product.”
Venture capitalists didn’t need the press to tell them WhatsApp was going viral. Koum and Acton were batting away all requests to talk. Acton saw VC funding as a bailout. But Sequoia partner Jim Goetz was persistent, spending eight months working his contacts to get either founder to engage. He’d met with a dozen other companies in the messaging space like Pinger, Tango and Baluga, but it was clear WhatsApp was the leader, and to Goetz’s surprise the startup was already paying corporate income taxes: “The only time I’ve seen that in my venture career.” He eventually sat down with Koum and Aton at the Red Rock Cafe, answered a “barrage” of their questions and promised not to push advertising models on them but act as a strategic advisor. They eventually agreed to take $8 million from Sequoia on top of their $250,000 seed funding.
Two years later in Feb. 2013, when WhatsApp’s user base had swelled to about 200 million active users and its staff to 50, Acton and Koum agreed it was time to raise some more money. “For insurance,” says Acton, who recalled that his mother, who ran her own freight forwarding businesses, used to lose sleep over making payroll. “You never want to be a position where you can’t make payroll.” They decided to hold a second funding round, in secret. Sequoia would invest another $50 million, valuing WhatsApp at $1.5 billion. At the time Acton took a screenshot of WhatsApp’s bank balance and sent it to Goetz. It read $8.257 million, still in excess of all the money they’d received years before.
Now with an even bigger number in his bank account, Acton went to a local landlord, interested in leasing a new three-story building around the corner. The landlord didn’t know who WhatsApp was, but the money talked. The new building is now under construction, and WhatsApp will move in this summer as its staff doubles to 100.
In early February 2014, Koum zooms past the new building in his Porsche on the way to a boxing class that he often misses, and is now late for. Will he finally put up a “WhatsApp” sign? “I can’t see a reason for there being a sign. It’s an ego boost,” he scoffs. “We all know where we work.” Later he pulls up to nondescript block building in San Jose, grabs a gym bag and walks into a dimly lit gym for a private lesson with a diminutive, gum-chewing coach standing next to a boom box blasting rap music. “He likes Kanye,” the coach says smiling. He holds two mitts up high as Koum throws slow but powerful punches. Every few minutes Koum sits down for a break, slipping the gloves off and checking for messages from Acton about WhatsApp’s servers. Koum’s boxing style is very focused, the coach says. He doesn’t want to get into kickboxing like most other students, but just get the punching right. You could say the same for a certain messaging service that wants to be as straightforward as possible.
It’s true, Koum says, ruddy faced as he puts on his socks and shoes. “I want to do one thing, and do it well.”
To Your Succes
Vivek
hello@Sidhma.com

Monday, November 4, 2013

Flat, marriage and family – 3 reasons why young Indians don't turn entrepreneurs!

Dear Entrepreneurs,

If you are from India, have been a part of a regular middle class family and have even thought of starting something of your own, am sure you’d associate with the headline itself. Everything that I’ve mentioned below is based on true incidents. I don’t intend to hurt anyone here, still if you did, sorry about it! Getting to the point, straightaway!

Marriage:
About an year back one of my very close friends told me about a product idea. I liked the idea and told him I could work with him on that if he’s willing to seriously build it. His answer was – “yaar abhi job nahi chhod sakta, 6 mahine mein shaadi hai” [Dude, I can't quit job right now, getting married in 6 months]. Okay, get married but why do you want give up on an idea you believe in? Your girl will understand, won’t she?
Guess what? Obviously, he never build it and few months back I saw someone (very famous in the start-up community) roll exactly that product out and is quite close to getting funded too! Yeah, my friend’s “happily married”, barely at 27!
I know an entrepreneur who literally fights (or used to at some point) with his wife everyday just because she wants another kid and he doesn’t. His company has just come out of start-up mode and is heading towards being an SME. ”I have a 4 yr old kid and having another one now would take me 4 years back! I have been slowly planning the financials but this would mean I start planning all over again, save even more and take even fewer risks!” is what he said!
One of my ex girlfriend had started talking about marriage barely when we had graduated. I never denied marrying her but I used to tell her lets first achieve something, I want to do a few things in life, be a successful entrepreneur and all this might take a little time, there’s no point in getting married quickly and then allocating funds to expenses that could have been avoided at that age, but no, she wouldn’t listen! Of course, she’s happily married and I, having failed 2 startups in the past, am still building another startup! (I hope this post reaches you, lady!)
Oh! And that concept of getting your kids married at the right age => guys before 30 and gals by 26-27 max! I’ve always stressed, there’s nothing called such as a “right age” – why not just get married when you are ready – 25 or 32 – how does it matter? I hope you’re not thinking about that old shit about retiring and then marrying your kids before that <- actually="" is="" p="" problem="" root="" that="" the="">

Family:
Sorry to say, but the uncles and the aunts in our (normal middle class) families are the worst. They will keep asking your salary, some of them every single f***ing month. These relatives are probably the ones whose kids would have done “nothing” in their lives, graduated from some (worthless) A league institution in India and landed a fat paying job. And believe me these are absolutely good for nothing folks. If you are a startup guy, you already know that, don’t you  They would join a company through campus placement and would be too scared/complacent/useless that they would spend their entire life within that single organization – without even doing something innovative! These uncles would be happy to show the entire family that the ad in TOI today was done by their kid while all that ad would have is a bollywood diva holding a soap bar in her hand. That’s all you learnt in your fancy B School?
What’s the big deal in it? If I pay TOI that much, they will even publish a horse shit pic, they just want money! But no, these are the ones who are valued in your family! Whatever they say areGolden Diamond words. What’s worse is you are always compared to these dumb folks whenever you go to a family gathering. And most, all of them would look at you as if you are the piece of shit lying on the roadside.
To share another case, one such highly respected family member told me to look for a career in animation, back in 2007-08. Recently, I met him at another family gathering a few months back and he said “tum animation me kuch kyu nahi try karte?” [Why don't you try something in animation?] I was like…dude? You are still the same! Your thoughts are still stuck where they were 4-5 years back! By the way, this member is probably the highest respected person in my family and heads delivery at a multi billion (yes Billion) dollar enterprise and travels abroad every week. Yeah, (sadly) that’s what puts the stamp on his authority! Am quite sure even Steve Jobs or Bill Gates would have spent more time with their families at his age (and still earned much more if that’s what you want to hear).
Flat:
The other fantasy about middle class family people is owning a flat! I never get this point. I, really don’t! Why do they want your kid to buy a flat and then spend the rest of his life paying back the loan? Coming from middle class, we’ve never had loads of money to spend. So the way out always is to pay probably a 10th or even less initially and then take a loan for 60% for the next 15-20 years.
And is duly supported by our Financial system! Go and try to raise money for your startup and the same money for a home, you’ll know what I mean!
Once you have a loan on your head, that too a home loan, for not less than 40-50 Lacs, am sure you wouldn’t be willing to take a risk, would you? And that tension of repaying that loan! Anyways, there is very little probability that our kids would stay in that house for long. They’d go places, do stuff in life and make it big themselves! Actually this would connect with Rahul Dewan’s post where he talks how retired people should recede back to smaller towns and do great things. A brilliant thought by the way, go read that!
In another relationship, I told my girl that I don’t earn great right now and that I am trying to build a company and shared the vision. At first she appreciated my honesty but then within a few weeks she asked “Abhinav, hum ghar kab lenge?” [Abhinav, when will we buy a home?] That day itself I knew – she wasn’t the one! No wonder that relationship didn’t last long.(I am quite sure you’re reading this!)
I guess I’ve written, read ranted, too much already or else I won’t be allowed to enter my hometown the next time!

I realized most people, even though agreed to this, say its inconclusive. I must add this: The point is that people who can bear all these pressures and can still build a company, are the ones whom we call SUCCESSFUL!

To Your Success

- An article from http://abhinavsahai.com


Thursday, June 6, 2013

Where to start



If you are interested and thinking of startup, Without Business knowledge or no coding, nothing to worry, we need to have only passion to do something useful\change the world.

For this we can have multiple answers for example:


  • Collect your the ideas\Brainstorm those Hope this will helps Brainstorming Rules:
  • Try to Learn about startup\topics you are interstesd by attending paid\free courses from various sources:

Stanford University - Free 

Course Era - Free

  • This consists of many courses from various Top university (Michigan, Stanford, etc)
  • For URL Please Click Here 

Udemy -  Free & Paid

  • This consists of many courses from various People\university (Crowd source)
  • For URL Please Click Here 

EDX - Free

  • This consists of many courses from various Top university (Harvard, MIT etc.,)
  • For URL Please Click Here 

Please let me know if you have any other sources\course I have missed.

Innovation

India has an extraordinary history of developing other people's IP, but Now its our time to create and building our own.

Sunday, May 12, 2013

That’s My Idea! How to Deal With Competition as an Entrepreneur


You have a brilliant idea. It’s a winner—you’re sure of it. You’ve told your friends, purchased the domain name, and written a business plan. But before you can take the next step, you discover that another company is already moving forward with a similar idea. Now what? Should you quit? Complain? Crumble?
Though it’s easy to feel defeated, let’s not to be too hasty. What if Richard Branson had come across British Airways and decided that he’d best not launch an airline? I, for one, would have been very sorry to miss Virgin Airlines come in and change the game.
The reality is, competitors will always exist—no matter what you do. So, rather than approach competition with dread, you should view your competitors as the impetus for innovation and fuel to do things differently (and better!). To help change your mindset, let’s bust some common myths about how to view and handle competition.

Myth #1: Ideas Are Original

Let’s start by clearing up this juicy piece of fiction. Truth be told, there are very few truly original ideas. This may sound depressing at first, but it’s actually very liberating. Once you realize the world is teeming with interesting nuggets of ideas just waiting to be infused with your own twists and insights, you can stop waiting for that cartoon-like light bulb moment—and start creating.
Think about it: Ideas don’t usually pop into your head out of nowhere—they often build on previous strokes of genius (yours or others’) or reinvent an existing idea in a new context. Even Newton’s legendary Law of Gravitation was the result of building on a combination of two of Galileo’s theorems: the Law of Inertia and the Law of Elliptical Path. The point of this is to say: Competition is inevitable—it’s how you deal with it that really counts.

Myth #2: Similarities Matter

With that misconception out of the way, let’s talk about what to do when you inevitably spy a competitor who’s already launched “your” idea. First, stay cool—resist the urge to wail about how unfair it is, and instead, define and sharpen what makes you different. Regardless of your industry, there should be at least one thing your company does with a little more something—more care, more passion, more simplicity, more humor—you decide! Once you find that point of difference, build it up, exaggerate it, and incorporate it into all you do.
For example, when I was writing the business plan for Never Liked It Anyway, I came across ExBoyfriendJewelery.com—a direct competitor. Rather than take that as my cue to give up, I saw it as a mandate to define my point of difference, which I decided was my cheeky and irreverent brand voice. So, I leaned into this attitude, dialed it up, and infused it throughout my business—from the brand name, to the marketing plan, to the site’s content. Everything about my brand had to scream “Sassy, cheeky, and moving on!” in order to set it apart.
When you spot a competitor, remember: Look for the differences—not the similarities.

Myth #3: Keeping Close Watch is a Good Thing

While it’s important to watch your competition and be aware of the tricks they have up their sleeves, make sure you stop short of stalking. I know it’s temping—but myopically focusing on competition is a big innovation killer. When your entire focus is on your competitors, you’ll start to believe that their innovations are the only possibilities for you and your company, too.
Let’s look at the world of instant coffee for a perfect example: Coffee Brand A adds flavor. So, Coffee Brand B follows suit. Then, Brand A launches mini-sachets—and Brand B does the same. This game of innovation ping-pong has everyone’s heads whipping back and forth so fast that both brands miss opportunities for potential new ideas. While Brand B was waiting to see what Brand A was going to do next, Brand C—also known as Nespresso—streaked ahead by inventing an elegant coffee system ready to deliver café-style coffee in your very own kitchen.
Yes, it’s important to keep an eye on the competition—but just one. The other needs to be looking beyond your competition for new insight and ideas.

Myth #4: Direct Competition is Your Only Competition

It’s easy to consider your competition as only companies that offer similar products. But in reality, your competition is much broader than that—it’s everyone and everything that competes for mindshare of your consumer. For example, if Listerine had felt bound by the bathroom cabinet and only seen other toothpastes, mouthwashes, and floss as competition, their innovations would have quickly grown tiresome. Instead, they considered their competition on a broader level—including handbags, breath mints, and candy. Ultimately, this unlocked the idea for Listerine Breath Strips: portable breath fresheners in a candy format.
Considering your competition on a broader level can be a great source of inspiration. Whether it’s a coffee store, app, boutique, or airline, you should be looking with a critical eye for sparks of inspiration. It’s perfectly feasible to imagine that Spotify drew inspiration from Netflix’s video streaming model and applied the same rationale to music, or that the Bike Shares in London (and now NYC) drew inspiration from Zipcar’s “access, not ownership” model. When you approach the idea of competition with an open mind, it suddenly moves from terrifying to exciting.

As entrepreneurs, let’s challenge ourselves to embrace competition and use it as fuel to innovate and move forward. The most successful entrepreneurs and companies make this way of thinking a habit. They frequently look for what’s out there—in a very broad sense—and see how they can take what they find and make it better and more meaningful for their customers. Not only is this a more stimulating and exciting approach to entrepreneurship—it’s also the most effective.
Nice article copied from below link.
 http://www.thedailymuse.com/entrepreneurship/thats-my-idea-how-to-deal-with-competition-as-an-entrepreneur/

Wednesday, March 20, 2013

Don't be afraid to Imitate

I was thinking on this idea, & also came to know Facebook got inspiration from Myspace, Apple got from Xerox, Microsoft products from Apple, Android from Apple etc.,

Below is a very nice inspiring article which talks about the same :)

Source :http://yourstory.in

Not all of us are good at coming up with brilliant new ideas. That doesn’t mean you can’t become a successful entrepreneur. Be a copycat instead. Yes, imitate. There is absolutely nothing wrong with taking an idea that works in one place or within one context, and doing virtually the same exact thing somewhere else or in a different niche.

A few geeks might look down on you and say you couldn’t come up with your own idea. But that’s stupid. I’d rather be a hugely successful entrepreneur with a non-original idea than a struggling entrepreneur with an original idea. If you want to startup, but you can’t think of a new idea, just look for ideas from the West or even around you. In India we’ve seen many clones do well:

Burrp was India’s Yelp (until Network18 destroyed it)
Ixigo is India’s Kayak
Mswipe is India’s Square
MakeMyTrip is India’s Expedia
Baazee was India’s eBay (eBay acquired Baazee)
So How Do You Actually Find Ideas?

You can either import an idea from the west, export an idea from India, or create your own niche.

i. Import something from the West

Read the tech and entrepreneurship blogs from the West and look for promising startups. But then consider the following filters:

a) Is their product geographically specific or limited?

You only want to import an idea if your iteration actually solves a problem that is geographical in nature. There is no point in being the KISSmetrics of India because there is absolutely nothing that is geographically specific about KISSmetrics. The Google of India is Google because there are no geographic borders to information. But the Expedia of India is MakeMyTrip because Expedia didn’t offer a product that worked for Indians. MakeMyTrip allowed Indians to buy domestic air tickets while Expedia didn’t.

b) Are you solving a problem that also exists in India?

Would you rather be the #1 dating site in India or the #1 matrimonial site in India? You have to decide whether the startup you are copying is actually solving a problem that is worth solving in India. In the West, dating sites are huge business. In India dating sites have struggled to survive. Don’t try solving a problem that doesn’t exist in India.

c) Is this idea already being copied left and right?

In early 2011, thousands of Groupon clones emerged all over the world. Unless you were quick to the ground and one of the first 2-3 clones in each country, you had no chance of sustainable success. You want to avoid copy pasting the most hyped startup ideas.

Bonus Tip: Don’t just look at the USA for startup ideas. Look at Europe, Asia, Africa, and South America too.

ii. Export an Indian Idea

There are many Indian startups that are solving uniquely Indian problems, right? Sort of. More likely they are solving problems that apply to many countries with a similarly low per capita GDP. Don’t be afraid to take an Indian idea and export it outside India.

Here are a few potential startup ideas that could be exported (a few may have already been exported or be too late to export – but at some point you could have seriously considered exporting any of the following)

Freecharge with it’s concept of “free” recharges. This idea could potentially work in many countries where the online recharge market is nascent and pre-paid is more common than post-paid.
Zipdial and the concept of missed call marketing. It’s such an easy way to create engagement between users and brands. Why can’t this work somewhere else?
Redbus and the creation of an online bus booking aggregator. I don’t think there was anything similar anywhere else in the world when they launched.
JustDial solving local search engine via call centers and an army of local salesmen. In the absence of mass Internet usage, local search is handled via telephone call center queries and/or text message. There are many other countries besides India where Internet use is minimal and likely to take years to get to massive penetration.
iii. Create a New Niche

Hot or Not was one of the earliest social sites to go viral back in the early 2000s. The site asked users to post a photos of themselves for others to rate their attractiveness on a scale of 1-10. Users who found each other mutually attractive could also be connected with each other.

I looked at the popularity of Hot or Not in the US and decided that while the site was addicting it was most likely to be enjoyed by white people. If you were of an Indian background in the US, you probably were equally as interested by the concept but much less likely to use the site because the chances of finding a mutual pairing on a site of predominantly white people was not very high. And being Indian you wanted to know how you fared in terms of attractiveness vis a vis other Indians ranked by Indians.

I seized on the opportunity and created an Indian Hot or Not site, RateDesi. At one point we were up to 25 million pageviews per month and were making a decent amount of money. We had taken a proven idea and adapted it to fit a new niche.

Many successful businesses have been created by taking an existing business model and tweaking it to work a different niche. Etsy is Ebay for artists. Zappos was the Amazon for shoes. Zomato is the Burrp for restaurants. LinkedIn is the Facebook for your professional life.

The one caveat to this approach is you shouldn’t choose a niche that is too small. An Indian Hot or Not site was not a scalable business, but I started that while I was in university and it was something I managed in my spare time. But if you are going to drain all your energy, money, and time into a startup, do at least choose a potential business where the returns on success are very large.

Final Thoughts

If there is only one thing you take away from this post it should be that there is no stigma attached to copying an existing business and finding a new home for it. It might feel like you are taking the easy way out and a few holier than though geeks might not appreciate your business, but remember ideas are a dime a dozen. It’s execution which is the differentiation factor.

Source : http://yourstory.in/2013/03/dont-be-afraid-to-imitate/

Tuesday, March 19, 2013

Want to be a Entrepreneur


As Steve Blank says "Get out of the Building" and ask customers for problems, try to solve it.

Try to read books as prescribed by Steve Blank from his website

This website has lots of information about Startups, videos.

Also the essays of Paul Graham(Y Combinator fame) are a great resource

Read Startup Books, Articles, Go to Meetups

Watch Videos like:

Last but not least very busy in Facebook, try to read on Business Strategy

Still under construction.....To be continued......

Sunday, December 23, 2007

Winrunner Questions

1) Explain WinRunner testing process?

WinRunner testing process involves six main stages

i.Create GUI Map File so that WinRunner can recognize the GUI objects in the application being tested
ii.Create test scripts by recording, programming, or a combination of both. While recording tests, insert checkpoints where you want to check the response of the application being tested.
iii.Debug Test: run tests in Debug mode to make sure they run smoothly
iv.Run Tests: run tests in Verify mode to test your application.
v.View Results: determines the success or failure of the tests.
vi.Report Defects: If a test run fails due to a defect in the application being tested, you can report information about the defect directly from the Test Results window.

2) What is contained in the GUI map?

WinRunner stores information it learns about a window or object in a GUI Map. When WinRunner runs a test, it uses the GUI map to locate objects. It reads an object’s description in the GUI map and then looks for an object with the same properties in the application being tested. Each of these objects in the GUI Map file will be having a logical name and a physical description.

There are 2 types of GUI Map files.

i.Global GUI Map file: a single GUI Map file for the entire application
ii.GUI Map File per Test: WinRunner automatically creates a GUI Map file for each test created.

3) How does WinRunner recognize objects on the application?

WinRunner uses the GUI Map file to recognize objects on the application. When WinRunner runs a test, it uses the GUI map to locate objects. It reads an object’s description in the GUI map and then looks for an object with the same properties in the application being tested.

4) Have you created test scripts and what is contained in the test scripts?

Yes I have created test scripts. It contains the statement in Mercury Interactive’s Test Script Language (TSL). These statements appear as a test script in a test window. You can then enhance your recorded test script, either by typing in additional TSL functions and programming elements or by using WinRunner’s visual programming tool, the Function Generator.

5) How does WinRunner evaluates test results?

Following each test run, WinRunner displays the results in a report. The report details all the major events that occurred during the run, such as checkpoints, error messages, system messages, or user messages. If mismatches are detected at checkpoints during the test run, you can view the expected results and the actual results from the Test Results window.

6) Have you performed debugging of the scripts?

Yes, I have performed debugging of scripts. We can debug the script by executing the script in the debug mode. We can also debug script using the Step, Step Into, Step out functionalities provided by the WinRunner.

7) How do you run your test scripts?

We run tests in Verify mode to test your application. Each time WinRunner encounters a checkpoint in the test script, it compares the current data of the application being tested to the expected data captured earlier. If any mismatches are found, WinRunner captures them as actual results.

8) How do you analyze results and report the defects?

Following each test run, WinRunner displays the results in a report. The report details all the major events that occurred during the run, such as checkpoints, error messages, system messages, or user messages. If mismatches are detected at checkpoints during the test run, you can view the expected results and the actual results from the Test Results window. If a test run fails due to a defect in the application being tested, you can report information about the defect directly from the Test Results window. This information is sent via e-mail to the quality assurance manager, who tracks the defect until it is fixed.

9) What are the different modes of recording?

There are two type of recording in WinRunner.

i.Context Sensitive recording records the operations you perform on your application by identifying Graphical User Interface (GUI) objects.
ii.Analog recording records keyboard input, mouse clicks, and the precise x- and y-coordinates traveled by the mouse pointer across the screen.

10) What is the purpose of loading WinRunner Add-Ins?

Add-Ins are used in WinRunner to load functions specific to the particular add-in to the memory. While creating a script only those functions in the add-in selected will be listed in the function generator and while executing the script only those functions in the loaded add-in will be executed else WinRunner will give an error message saying it does not recognize the function.

11) What are the reasons that WinRunner fails to identify an object on the GUI?

WinRunner fails to identify an object in a GUI due to various reasons.

i.The object is not a standard windows object.
ii.If the browser used is not compatible with the WinRunner version, GUI Map Editor will not be able to learn any of the objects displayed in the browser window.

12) What do you mean by the logical name of the object.

An object’s logical name is determined by its class. In most cases, the logical name is the label that appears on an object.

13) If the object does not have a name then what will be the logical name?

If the object does not have a name then the logical name could be the attached text.

14) What is the different between GUI map and GUI map files?

a)The GUI map is actually the sum of one or more GUI map files. There are two modes for organizing GUI map files.

i.Global GUI Map file: a single GUI Map file for the entire application
ii.GUI Map File per Test: WinRunner automatically creates a GUI Map file for each test created.

b)GUI Map file is a file which contains the windows and the objects learned by the WinRunner with its logical name and their physical description.

15) How do you view the contents of the GUI map?

GUI Map editor displays the content of a GUI Map. We can invoke GUI Map Editor from the Tools Menu in WinRunner. The GUI Map Editor displays the various GUI Map files created and the windows and objects learned in to them with their logical name and physical description.

16) When you create GUI map do you record all the objects of specific objects?

If we are learning a window then WinRunner automatically learns all the objects in the window else we will we identifying those object, which are to be learned in a window, since we will be working with only those objects while creating scripts.

17) What is the purpose of set_window command?

Set_Window command sets the focus to the specified window. We use this command to set the focus to the required window before executing tests on a particular window.

Syntax: set_window(, time);

The logical name is the logical name of the window and time is the time the execution has to wait till it gets the given window into focus.

18) How do you load GUI map?

We can load a GUI Map by using the GUI_load command.

Syntax: GUI_load();

19) What is the disadvantage of loading the GUI maps through start up scripts?

* If we are using a single GUI Map file for the entire AUT then the memory used by the GUI Map may be much high.
* If there is any change in the object being learned then WinRunner will not be able to recognize the object, as it is not in the GUI Map file loaded in the memory. So we will have to learn the object again and update the GUI File and reload it.

20) How do you unload the GUI map?

We can use GUI_close to unload a specific GUI Map file or else we call use GUI_close_all command to unload all the GUI Map files loaded in the memory.

Syntax: GUI_close(); or GUI_close_all;

Thursday, December 20, 2007

Testing Questions

Different Types of Testing Questions

1. I-soft
What should be done after writing test case??

2.Covansys
Testing

1. What is bidirectional traceability ??? and how it is implemented
2. What is Automation Test frame work ?
3. Define the components present in test strategy
4. Define the components present in test plan
5. Define database testing ?
6. What is the difference between QA and QC ….
7. What is the difference between V&V
8. What are different types of test case that u have written in your project..
9. Have u written Test plan ?….

SQL

1. What is joins and define all the joins …
2. What is Foreign key ?
3. Write an SQL query if u want to select the data from one block which intern reflects in another block ?

Unix

1. Which command is used to run an interface?
2. How will you see the hidden file ?
3. What is the command used to set the date and timings …
4. Some basic commands like copy, move,delete ?
5. Which command used to the go back to the home directory ….
6. Which command used to view the the current directory

3. Virtusa

Testing

1. Tell me about Yourself?
2. Testing process followed in your company …
3. Testing Methodology
4. Where u maintains the Repositories?
5. What is CVS?
6. Bug Tool used?
7. How will you prepare traceability matrix if there is no Business Doc and Functional Doc?
8. How will you validate the functionality of the Test cases, if there is no business requirement document or user requirement document as such…
9. Testing process followed in your company?
10. Tell me about CMM LEVEL -4 …what are steps that to be followed to achieve the CMM -IV standards?
11. What is Back End testing?
12. What is Unit Testing?
13. How will u write test cases for an given scenario…i.e. main page, login screen, transaction, Report Verification?
14. How will u write traceability matrix?
15. What is CVS and why it is used?
16. What will be specified in the Defect Report…?
17. What is Test summary Report…?
18. What is Test Closure report…?
19. Explain Defect life cycle…
20. What will be specified in the Test Case…
21. What are the Testing methodologies that u have followed in your project ?
22. What kind of testing that u have been involved in and explain about it….
23. What is UAT Testing?
24. What is joins and what are the different types of joins in SQL and explain the same?
25. What is Foreign Key in SQL…?

KLA Tencor

1. Bug life cycle?
2. Explain about the Project. …And draw the architecture of your project?
3. What are the different types of severity?
4. Defect tracking tools used?
5. what are the responsibilities of an tester?
6. Give some example how will you write the test cases if an scenario involves Login screen.

Aztec

1. What are the different types of testing followed …..
2. What are the different levels of testing used during testing the application?
4. What type of testing will be done in Installation testing or system testing?
5. What is meant by CMMI …what are different types of CMM Level?
6. Explain about the components involved in CMM-4 level
7. Explain about Performance testing ?
8. What is Traceability matrix and how it is done ?
9. How can you differentiate Severity and Priority based on technical and business point of view.
10. What is the difference between Test life cycle and defect life cycle ?
11. How will u ensure that you have covered all the functionality while writing test cases if there is no functional spec and there is no KT about the application?

Kinds of Testing

WHAT KINDS OF TESTING SHOULD BE CONSIDERED?

1. Black box testing: not based on any knowledge of internal design or code.Tests are based on requirements and functionality
2. White box testing: based on knowledge of the internal logic of an application’s code. Tests are based on coverage of code statements, branches, paths, and conditions.
3. Unit testing: the most ‘micro’ scale of testing; to test particular functions or code modules. Typically done by the programmer and not by testers, as it requires detailed knowledge of the internal program design and code. Not always easily done unless the application has a well-designed architecture with tight code; may require developing test driver modules or test harnesses.
4. Incremental integration testing: continuous testing of an application as new functionality is added; requires that various aspects of an applications functionality be independent enough to work separately before all parts of the program are completed, or that test drivers be developed as needed; done by programmers or by testers.
6. Integration testing: testing of combined parts of an application to determine if they function together correctly the ‘parts’ can be code modules, individual applications, client and server applications on a networked. This type of testing is especially relevant to client/server and distributed systems.
7. Functional testing: black-box type testing geared to functional requirements of an application; testers should do this type of testing. This does not mean that the programmers should not check their code works before releasing it(which of course applies to any stage of testing).
8. System testing: black –box type testing that is based on overall requirements specifications; covers all combined parts of system.
9. End to end testing: similar to system testing; the ‘macro’ end of the test scale; involves testing of a complete application environment in a situation that mimics real-world use, such as interacting with database, using network communications, or interacting with other hardware, applications, or systems if appropriate.
10. Sanity testing: typically an initial testing effort to determine if a new software version is performing well enough to accept it for a major testing effort. For example, if the new software is crashing systems every 5minutes warrant further testing in item current state.
11. Regression testing: re-testing after fixes or modifications of the software or its environment. It can be difficult to determine how much re-testing is needed, especially near the end of the development cycle. Automated testing tools can be especially useful for this type of testing.
12. Acceptance testing: final testing based on specifications of the end-user or customer, or based on use by end users/customers over some limited period of time.
13. Load testing: testing an application under heavy loads, such as testing of a web site under a range of loads to determine at what point the system’s response time degrades or fails.
14. Stress testing: term often used interchangeably with ‘load’ and ‘performance’ testing. Also used to describe such tests as system functional testing while under unusually heavy loads, heavy repletion of certain actions or inputs input of large numerical values, large complex queries to a database system, etc.
15. Performance testing: term often used interchangeable with ‘stress’ and ‘load’ testing. Ideally ‘performance’ testing (and another ‘type’ of testing) is defined in requirements documentation or QA or test plans.
16. Usability testing: testing for ‘user-friendlinesses’. Clearly this is subjective,and will depend on the targeted end-ser or customer. User surveys, video recording of user sessions, and other techniques can be used programmers and testers are usually not appropriate as usability testers.
17. Install/uninstall testing: testing of full, partial, or upgrade install/uninstall processes.
18. Recovery testing: testing how well a system recovers from crashes, hardware failures or other catastrophic problems.
19. Security testing: testing how well system protects against unauthorized internal or external access, damage, etc, any require sophisticated testing techniques.
20. Compatibility testing: testing how well software performs in a particular hardware/software/operating/system/network/etc environment.
21. Exploratory testing: often taken to mean a creative, informal software test that is not based on formal test plans of test cases; testers may be learning the software as they test it.
22. Ad-hoc testing: similar to exploratory testing, but often taken to mean that the testers have significant understanding of the software testing it.
23. User acceptance testing: determining if software is satisfactory to an end-user or customer.
24. Comparison testing: comparing software weakness and strengths to competing products.
25. Alpha testing: testing of an application when development is nearing completion; minor design changes may still be made as a result of such testing. Typically done by end-users or others, not by programmers or testers.
26. Beta testing: testing when development and testing are essentially completed and final bugs and problems need to be found before final release. Typically done by end-users or others, not by programmers or testers.
27. Mutation testing: method for determining if a set of test data or test cases is useful, by deliberately introducing various code changes (‘bugs’) and retesting with the original test data/cases to determine if the ‘bugs’ are detected proper implementation requires large computational resources.

Difference between client server testing and web server testing.
Web systems are one type of client/server. The client is the browser, the server is whatever is on the back end (database, proxy, mirror, etc). This differs from so-called “traditional” client/server in a few ways but both systems are a type of client/server. There is a certain client that connects via some protocol with a server (or set of servers).

Also understand that in a strict difference based on how the question is worded, “testing a Web server” specifically is simply testing the functionality and performance of the Web server itself. (For example, I might test if HTTP Keep-Alives are enabled and if that works. Or I might test if the logging feature is working. Or I might test certain filters, like ISAPI. Or I might test some general characteristics such as the load the server can take.) In the case of “client server testing”, as you have worded it, you might be doing the same general things to some other type of server, such as a database server. Also note that you can be testing the server directly, in some cases, and other times you can be testing it via the interaction of a client.

You can also test connectivity in both. (Anytime you have a client and a server there has to be connectivity between them or the system would be less than useful so far as I can see.) In the Web you are looking at HTTP protocols and perhaps FTP depending upon your site and if your server is configured for FTP connections as well as general TCP/IP concerns. In a “traditional” client/server you may be looking at sockets, Telnet, NNTP, etc.

Questions for Elearning Testers »

1) What is SCORM?
2) What is Sec 508?
3) Have u done any portal testing?
4) DO u have any idea about LMS or LCMS?
5) Have u done any compliance testing
6) Have u done any compatibility testing?
7) What are the critical issues found while testing the projects in your organization?

8)Tell me about the testing procedures used by u in your organization?
9) How do you test a flash file?
10) Have u find any difference while testing a flash file and Html file?
11) What types of testing do u aware of?
12) While doing the compatibility testing have u found any critical issues?
13) While doing the compliance testing has u noticed any critical/ abnormal issues?
14) What is the procedure u use while doing the Regression testing in your projects?
15) Have u done any performance or stress testing in your testing? If yes have u used any automation techniques in that or not?
16) Have u aware of any bug tracking tools for defect tracking?
17) Tell me about the testing scenario’s used in project?
18) Have u written any test cases/test plan? If yes can u tell me one or two instances in that?
19) Have u aware of any Usability and Acceptance testing?
20) Is ur testing is conventional or non-conventional?
21) Have u done any other lang’s courses testing? If yes have u faced in any critical situations?
22) What are things to be more concentrated while testing same projects on different environments?
23) What are AICC standards?

Software Testing Questions

60. What is Impact analysis? How to do impact analysis in yr project?

A: — Impact analysis means when we r doing regressing testing at that time we r checking that the bug fixes r working properly, and by fixing these bug other components are working as per their requirements r they got disturbed.

61. HOW TO TEST A WEBSITE BY MANUAL TESTING?

A: — Web Testing
During testing the websites the following scenarios should be considered.
Functionality
Performance
Usability
Server side interface
Client side compatibility
Security

Functionality:
In testing the functionality of the web sites the following should be tested.
Links
Internal links
External links
Mail links
Broken links
Forms
Field validation
Functional chart
Error message for wrong input
Optional and mandatory fields
Database
Testing will be done on the database integrity.
Cookies
Testing will be done on the client system side, on the temporary internet files.

Performance:
Performance testing can be applied to understand the web site’s scalability, or to benchmark the performance in the environment of third party products such as servers and middle ware for potential purchase.

Connection speed:
Tested over various Networks like Dial up, ISDN etc

Load
What is the no. of users per time?
Check for peak loads & how system behaves.
Large amount of data accessed by user.

Stress
Continuous load
Performance of memory, cpu, file handling etc.

Usability :
Usability testing is the process by which the human-computer interaction characteristics of a system are measured, and weaknesses are identified for correction. Usability can be defined as the degree to which a given piece of software assists the person sitting at the keyboard to accomplish a task, as opposed to becoming an additional impediment to such accomplishment. The broad goal of usable systems is often assessed using several

Criteria:
Ease of learning
Navigation
Subjective user satisfaction
General appearance

Server side interface:
In web testing the server side interface should be tested.
This is done by Verify that communication is done properly.
Compatibility of server with software, hardware, network and database should be tested.
The client side compatibility is also tested in various platforms, using various browsers etc.

Security:
The primary reason for testing the security of an web is to identify potential vulnerabilities and subsequently repair them.
The following types of testing are described in this section:
Network Scanning
Vulnerability Scanning
Password Cracking
Log Review
Integrity Checkers
Virus Detection

Performance Testing
Performance testing is a rigorous usability evaluation of a working system under realistic conditions to identify usability problems and to compare measures such as success
rate, task time and user satisfaction with requirements. The goal of performance testing is not to find bugs, but to eliminate bottlenecks and establish a baseline for future regression testing.

To conduct performance testing is to engage in a carefully controlled process of measurement and analysis. Ideally, the software under test is already stable enough so that this process can proceed smoothly. A clearly defined set of expectations is essential for meaningful performance testing.
For example, for a Web application, you need to know at least two things:
expected load in terms of concurrent users or HTTP connections
acceptable response time

Load testing:
Load testing is usually defined as the process of exercising the system under test by feeding it the largest tasks it can operate with. Load testing is sometimes called volume testing, or longevity/endurance testing
Examples of volume testing:
testing a word processor by editing a very large document
testing a printer by sending it a very large job
testing a mail server with thousands of users mailboxes
Examples of longevity/endurance testing:
testing a client-server application by running the client in a loop against the server over an extended period of time

Goals of load testing:
Expose bugs that do not surface in cursory testing, such as memory management bugs, memory leaks, buffer overflows, etc. Ensure that the application meets the performance baseline established during Performance testing. This is done by running regression tests against the application at a specified maximum load.
Although performance testing and load testing can seen similar, their goals are different. On one hand, performance testing uses load testing techniques and tools for measurement and benchmarking purposes and uses various load levels whereas load testing operates at a predefined load level, the highest load that the system can accept while still functioning properly.

Stress testing:
Stress testing is a form of testing that is used to determine the stability of a given system or entity. This is designed to test the software with abnormal situations. Stress testing attempts to find the limits at which the system will fail through abnormal quantity or frequency of inputs.
Stress testing tries to break the system under test by overwhelming its resources or by taking resources away from it (in which case it is sometimes called negative testing).
The main purpose behind this madness is to make sure that the system fails and recovers gracefully — this quality is known as recoverability.
Stress testing does not break the system but instead it allows observing how the system reacts to failure. Stress testing observes for the following.
Does it save its state or does it crash suddenly?
Does it just hang and freeze or does it fail gracefully?
Is it able to recover from the last good state on restart?

Etc.

Compatability Testing
A Testing to ensure compatibility of an application or Web site with different browsers, OS and hardware platforms. Different versions, configurations, display resolutions, and Internet connect speeds all can impact the behavior of the product and introduce costly and embarrassing bugs. We test for compatibility using real test environments. That is testing how will the system performs in the particular software, hardware or network environment. Compatibility testing can be performed manually or can be driven by an automated functional or reg The purpose of compatibility testing is to reveal issues related to the product& interaction session test suite.with other software as well as hardware. The product compatibility is evaluated by first identifying the hardware/software/browser components that the product is designed to support. Then a hardware/software/browser matrix is designed that indicates the configurations on which the product will be tested. Then, with input from the client, a testing script is designed that will be sufficient to evaluate compatibility between the product and the hardware/software/browser matrix. Finally, the script is executed against the matrix,and any anomalies are investigated to determine exactly where the incompatibility lies.
Some typical compatibility tests include testing your application:
On various client hardware configurations
Using different memory sizes and hard drive space
On various Operating Systems
In different network environments
With different printers and peripherals (i.e. zip drives, USBs, etc.)

62. which comes first test strategy or test plan?

A:– Test strategy comes first ans this is the high level document…. and approach for the testing starts from test strategy and then based on this the test lead prepares the
test plan….

63. what is the difference between web based application and client server application as a testers point of view?

A:– According to Tester’s Point of view——
1) Web Base Application (WBA)is a 3 tier application ;Browser,Back end and Server.
Client server Application(CSA) is a 2 tier Application ;Front End ,Back end .
2) In the WBA tester test for the Script error like java script error VB script error etc, that shown at the page. In the CSA tester does not test for any script error.
3) Because in the WBA once changes perform reflect at every machine so tester has less work for test. Whereas in the CSA every time application need to be instal hence ,it maybe possible that some machine has some problem for that Hardware testing as well as software testing is needed.

63. What is the significance of doing Regression testing?

A:– To check for the bug fixes. And this fix should not disturb other functionality

To Ensure the newly added functionality or existing modified functionality or developer fixed bug arises any new bug or affecting any other side effect. this is called regression test and ensure already PASSED TEST CASES would not arise any new bug.

64. What are the diff ways to check a date field in a website?

A:– There are different ways like :–
1) you can check the field width for minimum and maximum.
2) If that field only take the Numeric Value then check it’ll only take Numeric no other type.
3) If it takes the date or time then check for other.
4) Same way like Numeric you can check it for the Character,Alpha Numeric aand all.
5) And the most Important if you click and hit the enter key then some time pag e may give the error of javascript, that is the big fault on the page .
6) Check the field for the Null value ..
ETC…………………

The date field we can check in different ways Possitive testing: first we enter the date in given format

Negative Testing: We enter the date in invalid format suppose if we enter date like 30/02/2006 it should display some error message and also we use to check the numeric or text

Questions Part 5 »

46. High severity, low priority bug?

A: — A page is rarely accessed, or some activity is performed rarely but that thing outputs some important Data incorrectly, or corrupts the data, this will be a bug of H severity L priority

47. If project wants to release in 3months what type of Risk analysis u do in Test plan?

A:– Use risk analysis to determine where testing should be focused. Since it’s rarely possible to test every possible aspect of an application, every possible combination of events, every dependency, or everything that could go wrong, risk analysis is appropriate to most software development projects. This requires judgment skills, common sense, and experience. (If warranted, formal methods are also available.) Considerations can include:

• Which functionality is most important to the project’s intended purpose?
• Which functionality is most visible to the user?
• Which functionality has the largest safety impact?
• Which functionality has the largest financial impact on users?
• Which aspects of the application are most important to the customer?
• Which aspects of the application can be tested early in the development cycle?
• Which parts of the code are most complex, and thus most subject to errors?
• Which parts of the application were developed in rush or panic mode?
• Which aspects of similar/related previous projects caused problems?
• Which aspects of similar/related previous projects had large maintenance expenses?
• Which parts of the requirements and design are unclear or poorly thought out?
• What do the developers think are the highest-risk aspects of the application?
• What kinds of problems would cause the worst publicity?
• What kinds of problems would cause the most customer service complaints?
• What kinds of tests could easily cover multiple functionalities?
• Which tests will have the best high-risk-coverage to time-required ratio

48. Test cases for IE 6.0 ?

A:– Test cases for IE 6.0 i.e Internet Explorer 6.0:—
1)First I go for the Installation side, means that –
+ is it working with all versions of Windows ,Netscape or other softwares in other words we can say that IE must check with all hardware and software parts.
2) Secondly go for the Text Part means that all the Text part appears in frequent and smooth manner.
3) Thirdly go for the Images Part means that all the Images appears in frequent and smooth manner.
4) URL must run in a better way.
5) Suppose Some other language used on it then URL take the Other Characters, Other than Normal Characters.
6)Is it working with Cookies frequently or not.
7) Is it Concerning with different script like JScript and VBScript.
8) HTML Code work on that or not.
9) Troubleshooting works or not.
10) All the Tool bars are work with it or not.
11) If Page has Some Links, than how much is the Max and Min Limit for that.
12) Test for Installing Internet Explorer 6 with Norton Protected Recycle Bin enabled .
13) Is it working with the Uninstallation Process.
14) Last but not the least test for the Security System for the IE 6.0

49. Where you involve in testing life cycle ,what type of test you perform ?

A:– Generally test engineers involved from entire test life cycle i.e, test plan, test case preparation, execution, reporting. Generally system testing, regression testing, adhoc testing
etc.

50. what is Testing environment in your company ,means hwo testing process start ?

A:– testing process is going as follows
quality assurance unit
quality assurance manager
testlead
test engineer

51. who prepares the use cases?

A:– In Any company except the small company Business analyst prepares the use cases
But in small company Business analyst prepares along with team lead

52. What methodologies have you used to develop test cases?

A:– generally test engineers uses 4 types of methodologies
1. Boundary value analysis
2.Equivalence partition
3.Error guessing
4.cause effect graphing

53. Why we call it as a regression test nor retest?

A:– If we test whether defect is closed or not i.e Retesting But here we are checking the impact also regression means repeated times

54. Is automated testing better than manual testing. If so, why?

A:– Automated testing and manual testing have advantages as well as disadvantages
Advantages: It increase the efficiency of testing process speed in process
reliable
Flexible
disadvantage’s
Tools should have compatibility with our development or deployment tools needs lot of time initially If the requirements are changing continuously Automation is not suitable
Manual: If the requirements are changing continuously Manual is suitable Once the build is stable with manual testing then only we go 4 automation
Disadvantages:
It needs lot of time
We can not do some type of testing manually
E.g Performances

55. what is the exact difference between a product and a project.give an example ?

A:– Project Developed for particular client requirements are defined by client Product developed for market Requirements are defined by company itself by conducting market survey
Example
Project: the shirt which we are interested stitching with tailor as per our specifications is project
Product: Example is “Ready made Shirt” where the particular company will imagine particular measurements they made the product
Mainframes is a product
Product has many mo of versions
but project has fewer versions i.e depends upon change request and enhancements

56. Define Brain Stromming and Cause Effect Graphing? With Eg?

A:– BS:
A learning technique involving open group discussion intended to expand the range of available ideas
OR
A meeting to generate creative ideas. At PEPSI Advertising, daily, weekly and bi-monthly brainstorming sessions are held by various work groups within the firm. Our monthly I-
Power brainstorming meeting is attended by the entire agency staff.
OR
Brainstorming is a highly structured process to help generate ideas. It is based on the principle that you cannot generate and evaluate ideas at the same time. To use brainstorming, you must first gain agreement from the group to try brainstorming for a fixed interval (eg six minutes).

CEG :
A testing technique that aids in selecting, in a systematic way, a high-yield set of test cases that logically relates causes to effects to produce test cases. It has a beneficial side effect in pointing out incompleteness and ambiguities in specifications.

57. Actually by using severity u should know which one u need to solve so what is the need of priority?

A:– I guess severity reflects the seriousness of the bug where as priority refers to which bug should rectify first. of course if the severity is high the same case is with priority in normal.

severity decided by the tester where as priority decided by developers. which one need to solve first knows through priority not with severity. how serious of the bug knows through
severity.

severity is nothing impact of that bug on the application. Priority is nothing but importance to resolve the bug yeah of course by looking severity we can judge but sometimes high severity bug doesn’t have high priority At the same time High priority bug don’t have high severity
So we need both severity and priority

58. What do u do if the bug that u found is not accepted by the developer and he is saying its not reproducible. Note:The developer is in the on site location ?

A:– once again we will check that condition with all reasons. then we will attach screen shots with strong reasons. then we will explain to the project manager and also explain to the client when they contact us

Sometimes bug is not reproducible it is because of different environment suppose development team using other environment and you are using different environment at this situation there is chance of bug not reproducing. At this situation please check the environment in the base line documents that is functional documents if the environment which we r using is correct we will raise it as defect We will take screen shots and sends them with test procedure also

59. what is the difference between three tier and two tier application?

A:– Client server is a 2-tier application. In this, front end or client is connected to
‘Data base server’ through ‘Data Source Name’,front end is the monitoring level.

Web based architecture is a 3-tier application. In this, browser is connected to web server through TCP/IP and web server is connected to Data base server,browser is the monitoring level. In general, Black box testers are concentrating on monitoring level of any type of application.

All the client server applications are 2 tier architectures.
Here in these architecture, all the “Business Logic” is stored in clients and “Data” is stored in Servers. So if user request anything, business logic will b performed at client, and the data is retrieved from Server(DB Server). Here the problem is, if any business logic changes, then we
need to change the logic at each any every client. The best ex: is take a super market, i have branches in the city. At each branch i have clients, so business logic is stored in clients, but the actual data is store in servers.If assume i want to give some discount on some items, so i
need to change the business logic. For this i need to goto each branch and need to change the business logic at each client. This the disadvantage of Client/Server architecture.

So 3-tier architecture came into picture:

Here Business Logic is stored in one Server, and all the clients are dumb terminals. If user requests anything the request first sent to server, the server will bring the data from DB Sever and send it to clients. This is the flow for 3-tier architecture.

Assume for the above. Ex. if i want to give some discount, all my business logic is there in Server. So i need to change at one place, not at each client. This is the main advantage of 3-tier architecture.

35 QA Testing Questions

1. What is SQA Activities?
2. How can we perform testing without expected results?
3. Which of the following statements about regression testing are true?
a. Regression Testing must consist of a fixed set of tests to create a baseline
b. Regression Testing should be used to detect defects in new features
c. Regression Testing can be run on every build
d. Regression Testing should be targeted to areas of high risk and known code change
e. Regression Testing, when automated, is highly effective in preventing defects
4. How do you conduct boundary analyst testing for “ok”pushbutton
5. What is an exit and entry criteria in a Test Plan ?
6. To whom you send test deliverables?
7. What is configuration Management?
8. Who writes the Business requirements? What you do when you have the BRD?
9. What we normally check for in the Database Testing?
10. What is walk through and inspection?
11. What are the key elements for creating test plan?
12. How do you ensure the quality of the product?
13. What is the job of Quality assurance engineer? Difference between the testing & Quality Assurance job.
14. Can any one send information regarding manual testing. I know just how to use winrunner load runner tool with sample flight reservation application. can any one send me the information how to test web logic and web sphere.
15. What are the demerits of winrunner?
16. How you used white box and block box technologies in your application?
17. What is the role of QA in a project development?
18. How can u test the white page ?
19. How do you scope, organize, and execute a test project?
20. What is the role of QA in a company that produces software?
21. Describe to me when you would consider employing a failure mode and defect analysis?
22. In general, how do you see automation fitting into the overall process of testing?
23. How do you decide when you have ‘tested enough?’
24. Describe to the basic elements you put in a defect report?
25. What is use case? What is the difference between test cases and use cases?
26. What is the importance of a requirements traceability in a product testing?
27. If the actual result doesn’t match with expected result in this situation what should we do?
28. Explain about Metrics and types of metrics like schedule variance , effort variance?
29. What is the difference between functional testing & black box testing?
30. What is heuristic checklist used in Unit Testing?
31. What is the difference between System Testing,Integration Testing & System Integration Testing?
32. How to calculate the estimate for test case design and review?
33. What is Requirements Traceability ? What is the purpose of it ? Explain types of traceability matrices ?
34. What are the contents of Risk management Plan? Have you ever prepared a Risk Management Plan ?
35. What metrics used to measure the size of the software?

Software Testing Questions Part 4 »

31. If we have no SRS, BRS but we have test cases does u execute the test cases blindly or do u follow any other process?
A: — Test case would have detail steps of what the application is supposed to do. SO
1) Functionality of application is known.

2) In addition you can refer to Backend, I mean look into the Database. To gain more knowledge of the application

32. How to execute test case?
A: — There are two ways:
1. Manual Runner Tool for manual execution and updating of test status.
2. Automated test case execution by specifying Host name and other automation pertaining details.

33. Difference between re testing and regression testing?

A: — Retesting: –

Re-execution of test cases on same application build with different input values is retesting.

Regression Testing:

Re-execution of test cases on modifies form of build is called regression testing…

34. What is the difference between bug log and defect tracking?
A; — Bug log is a document which maintains the information of the bug where as bug tracking is the process.

35. Who will change the Bug Status as Differed?
A: — Bug will be in open status while developer is working on it Fixed after developer completes his work if it is not fixed properly the tester puts it in reopen After fixing the bug properly it is in closed state.

Developer

36. wht is smoke testing and user interface testing ?

A: — ST:
Smoke testing is non-exhaustive software testing, as pertaining that the most crucial functions of a program work, but not bothering with finer details. The term comes to software testing from a similarly basic type of hardware testing.

UIT:
I did a bit or R n D on this…. some says it’s nothing but Usability testing. Testing to determine the ease with which a user can learn to operate, input, and interpret outputs of a system or component.

Smoke testing is nothing but to check whether basic functionality of the build is stable or not?
I.e. if it possesses 70% of the functionality we say build is stable.
User interface testing: We check all the fields whether they are existing or not as per the format we check spelling graphic font sizes everything in the window present or not|

37. what is bug, defect, issue, error?

A: — Bug: — Bug is identified by the tester.
Defect:– Whenever the project is received for the analysis phase ,may be some requirement miss to get or understand most of the time Defect itself come with the project (when it comes).
Issue: — Client site error most of the time.
Error: — When anything is happened wrong in the project from the development side i.e. called as the error, most of the time this knows by the developer.

Bug: a fault or defect in a system or machine

Defect: an imperfection in a device or machine;

Issue: An issue is a major problem that will impede the progress of the project and cannot be resolved by the project manager and project team without outside help

Error:
Error is the deviation of a measurement, observation, or calculation from the truth

38. What is the diff b/w functional testing and integration testing?
A: — functional testing is testing the whole functionality of the system or the application whether it is meeting the functional specifications

Integration testing means testing the functionality of integrated module when two individual modules are integrated for this we use top-down approach and bottom up approach

39. what type of testing u perform in organization while u do System Testing, give clearly?

A: — Functional testing
User interface testing
Usability testing
Compatibility testing
Model based testing
Error exit testing
User help testing
Security testing
Capacity testing
Performance testing
Sanity testing
Regression testing
Reliability testing
Recovery testing
Installation testing
Maintenance testing
Accessibility testing, including compliance with:
Americans with Disabilities Act of 1990
Section 508 Amendment to the Rehabilitation Act of 1973
Web Accessibility Initiative (WAI) of the World Wide Web
Consortium (W3C)

40. What is the main use of preparing Traceability matrix and explain the real time usage?

A: — A traceability matrix is created by associating requirements with the work products that satisfy them. Tests are associated with the requirements on which they are based and the product tested to meet the requirement.

A traceability matrix is a report from the requirements database or repository.

41. How can u do the following 1) Usability testing 2) scalability Testing

A:–
UT:
Testing the ease with which users can learn and use a product.

ST:
It’s a Web Testing defn.allows web site capability improvement.

PT:
Testing to determine whether the system/software meets the specified portability requirements.

42. What does u mean by Positive and Negative testing & what is the diff’s between them. Can anyone explain with an example?

A: — Positive Testing: Testing the application functionality with valid inputs and verifying that output is correct
Negative testing: Testing the application functionality with invalid inputs and verifying the output.

Difference is nothing but how the application behaves when we enter some invalid inputs suppose if it accepts invalid input the application
Functionality is wrong

Positive test: testing aimed to show that s/w work i.e. with valid inputs. This is also called as “test to pass’
Negative testing: testing aimed at showing s/w doesn’t work. Which is also know as ‘test to fail” BVA is the best example of -ve testing.

43. what is change request, how u use it?

A: — Change Request is a attribute or part of Defect Life Cycle.

Now when u as a tester finds a defect n report to ur DL…he in turn informs the Development Team.
The DT says it’s not a defect it’s an extra implementation or says not part of req’ment. Its newscast has to pay.

Here the status in ur defect report would be Change Request

I think change request controlled by change request control board (CCB). If any changes required by client after we start the project, it has to come thru that CCB and they have to approve it. CCB got full rights to accept or reject based on the project schedule and cost.

44. What is risk analysis, what type of risk analysis u did in u r project?

A: — Risk Analysis:
A systematic use of available information to determine how often specified events and unspecified events may occur and the magnitude of their likely consequences

OR

procedure to identify threats & vulnerabilities, analyze them to ascertain the exposures, and highlight how the impact can be eliminated or reduced

Types :

1.QUANTITATIVE RISK ANALYSIS
2.QUALITATIVE RISK ANALYSIS

45. What is API ?

A:– Application program interface

Software Testing Questions Part 3 »

16. What is bug life cycle?
A: — New: when tester reports a defect
Open: when developer accepts that it is a bug or if the developer rejects the defect, then the status is turned into “Rejected”
Fixed: when developer make changes to the code to rectify the bug…
Closed/Reopen: when tester tests it again. If the expected result shown up, it is turned into “Closed” and if the problem resists again, it’s “Reopen

17. What is deferred status in defect life cycle?
A: — Deferred status means the developer accepted the bus, but it is scheduled to rectify in the next build

18. What is smoke test?
A; — Testing the application whether it’s performing its basic functionality properly or not, so that the test team can go ahead with the application

19. Do you use any automation tool for smoke testing?
A: - Definitely can use.

20. What is Verification and validation?
A: — Verification is static. No code is executed. Say, analysis of requirements etc. Validation is dynamic. Code is executed with scenarios present in test cases.

21. What is test plan and explain its contents?
A: — Test plan is a document which contains the scope for testing the application and what to be tested, when to be tested and who to test.

22. Advantages of automation over manual testing?
A: — Time, resource and Money

23. What is ADhoc testing?
A: — AdHoc means doing something which is not planned.

24. What is mean by release notes?
A: — It’s a document released along with the product which explains about the product. It also contains about the bugs that are in deferred status.

25. Scalability testing comes under in which tool?
A: — Scalability testing comes under performance testing. Load testing, scalability testing both r same.

26. What is the difference between Bug and Defect?
A: — Bug: Deviation from the expected result. Defect: Problem in algorithm leads to failure.

A Mistake in code is called Error.

Due to Error in coding, test engineers are getting mismatches in application is called defect.

If defect accepted by development team to solve is called Bug.

27. What is hot fix?
A: — A hot fix is a single, cumulative package that includes one or more files that are used to address a problem in a software product. Typically, hot fixes are made to address a specific customer situation and may not be distributed outside the customer organization.

Bug found at the customer place which has high priority.

28. What is the difference between functional test cases and compatability testcases?
A: — There are no Test Cases for Compatibility Testing; in Compatibility Testing we are Testing an application in different Hardware and software. If it is wrong plz let me know.

29. What is Acid Testing??
A: — ACID Means:
ACID testing is related to testing a transaction.
A-Atomicity
C-Consistent
I-Isolation
D-Durable

Mostly this will be done database testing.

30. What is the main use of preparing a traceability matrix?
A: — To Cross verify the prepared test cases and test scripts with user requirements.

To monitor the changes, enhance occurred during the development of the project.

Traceability matrix is prepared in order to cross check the test cases designed against each requirement, hence giving an opportunity to verify that all the requirements are covered in testing the application.

Software Testing Questions Part 2 »

1. What is diff. between CMMI and CMM levels?
A: - CMM: - this is applicable only for software industry. KPAs -18
CMMI: - This is applicable for software, out sourcing and all other industries. KPA - 25

2. What is the scalability testing?
1. Scalabilty is nothing but how many users that the application should handle

2. Scalability is nothing but maximum no of users that the system can handle

3. Scalability testing is a subtype of performance test where performance requirements for response time, throughput, and/or utilization are tested as load on the SUT is increased over time.

4. As a part of scalability testing we test the expandability of the application. In scalability we test 1.Applicaation scalability, 2.Performance scalability

Application scalability: to test the possibility of implementing new features in the system or updating the existing features of the system. With the help of design doc we do this testing

Performance scalability: To test how the s/w perform when it is subjected to varying loads to measure and to evaluate the
Performance behavior and the ability for the s/w to continue to function properly under different workloads.

–> To check the comfort level of an application in terms of user load. And user experience and system tolerance levels
–> The point within an application that when subjected to increasing workload begin to degrade in terms of end user experience and system tolerance
–> Response time
Execution time
System resource utilization
Network delays

 stress testing

3. What is status of defect when you are performing regression testing?
A:-Fixed Status

4. What is the first test in software testing process?
A) Monkey testing
B) Unit Testing
c) Static analysis
d) None of the above

A: - Unit testing is the first test in testing process, though it is done by developers after the completion of coding it is correct one.

4. When will the testing starts? a) Once the requirements are Complete b) In requirement phase?

A: - Once the requirements are complete.

This is Static testing. Here, u r supposed to read the documents (requirements) and it is quite a common issue in S/w industry that many requirements contradict with other requirements. These are also can be reported as bugs. However, they will be reviewed before reporting them as bugs (defects).

5. What is the part of Qa and QC in refinement v model?
A: — V model is a kind of SDLC. QC (Quality Control) team tests the developed product for quality. It deals only with product, both in static and dynamic testing. QA (Quality Assurance) team works on the process and manages for better quality in the process. It deals with (reviews) everything right from collecting requirements to delivery.

6. What are the bugs we cannot find in black box?
A: — If there r any bugs in security settings of the pages or any other internal mistake made in coding cannot be found in black box testing.

7. What are Microsoft 6 rules?
A: — As far as my knowledge these rules are used at user Interface test.
These are also called Microsoft windows standards. They are

. GUI objects are aligned in windows
• All defined text is visible on a GUI object
• Labels on GUI objects are capitalized
• Each label includes an underlined letter (mnemonics)
• Each window includes an OK button, a Cancel button, and a System menu

8. What are the steps to test any software through automation tools?
A: — First, you need to segregate the test cases that can be automated. Then, prepare test data as per the requirements of those test cases. Write reusable functions which are used frequently in those test cases. Now, prepare the test scripts using those reusable functions and by applying loops and conditions where ever necessary. However, Automation framework that is followed in the organization
should strictly follow through out the process.

9. What is Defect removable efficiency?
A: - The DRE is the percentage of defects that have been removed
during an activity, computed with the equation below. The DRE can also be computed for each software development activity and plotted on a bar graph to show the relative defect removal efficiencies for each activity. Or, the DRE may be computed for a specific task or technique (e.g. design inspection, code walkthrough, unit test, 6 month operation, etc.) Number Defects Removed
DRE = –—————————————————— * 100
Number Defects at Start of Process

DRE=A/A+B = 0.8

A = Testing Team (Defects by testing team)
B = customer ( ” ” customer )

If dre <=0.8 then good product otherwise not.

10. Example for bug not reproducible?
A: — Difference in environment
11. During alpha testing why customer people r invited?
A: — becaz alpha testing related to acceptance testing, so,
accepting testing is done in front of client or customer for
there acceptance

12. Difference between adhoc testing and error guessing?
A: — Adhoc testing: without test data r any documents performing testing.

Error Guessing: This is a Test data selection technique. The selection criterion is to pick values that seem likely to cause errors.

13. Diff between test plan and test strategy?
A: — Test plan: After completion of SRS learning and business requirement gathering test management concentrate on test planning, this is done by Test lead, or Project lead.

Test Strategy: Depends on corresponding testing policy quality analyst finalizes test Responsibility Matrix. This is dont by QA. But both r Documents.

14. What is “V-n-V” Model? Why is it called as “V”& why not “U”? Also tell at what Stage Testing should be best to stared?
A: — It is called V coz it looks like V. the detailed V model is shown below.

SRS                          Acceptance testing
                              /
                             /
    HLD (High Level Design)   System testing
                           /
                          /
       LLD (Low level      Integration testing
             Design)     /
                        /    
                       Unit Testing
                      /
                     /
               Coding

There is no such stage for which you wait to start testing.
Testing starts as soon as SRS document is ready. You can raise defects that are present in the document. It’s called verification.

15. What is difference in between Operating System 2000 and OS XP?
A; — Windows 2000 and Windows XP are essentially the same operating system (known internally as Windows NT 5.0 and Windows NT 5.1, respectively.) Here are some considerations if you’re trying to decide which version to use:

Windows 2000 benefits:

1) Windows 2000 has lower system requirements, and has a simpler interface (no “Styles” to mess with).
2) Windows 2000 is slightly less expensive, and has no product activation.
3) Windows 2000 has been out for a while, and most of the common problems and security holes have been uncovered and fixed.
4) Third-party software and hardware products that aren’t yet XP-compatible may be compatible with Windows 2000; check the manufacturers of your devices and applications for XP support before you upgrade.

Windows XP benefits:

1) Windows XP is somewhat faster than Windows 2000, assuming you have a fast processor and tons of memory (although it will run fine with a 300 MHz Pentium II and 128MB of RAM).
2) The new Windows XP interface is more cheerful and colorful than earlier versions, although the less- cartoon “Classic” interface can still be used if desired.
3 Windows XP has more bells and whistles, such as the Windows Movie Maker, built-in CD writer support, the Internet Connection Firewall, and Remote Desktop Connection.
4) Windows XP has better support for games and comes with more games than Windows 2000.
5) Manufacturers of existing hardware and software products are more likely to add Windows XP compatibility now than Windows 2000 compatibility.

Software Testing Techniques Part 1 »

Because of the fallibility of its human designers and its own abstract, complex nature, software development must be accompanied by quality assurance activities. It is not unusual for developers to spend 40% of the total project time on testing. For life-critical software (e.g. flight control, reactor monitoring), testing can cost 3 to 5 times as much as all other activities combined. The destructive nature of testing requires that the developer discard preconceived notions of the correctness of his/her developed software.

Software Testing Fundamentals

Testing objectives include
1. Testing is a process of executing a program with the intent of finding an error.
2. A good test case is one that has a high probability of finding an as yet undiscovered error.
3. A successful test is one that uncovers an as yet undiscovered error.

Testing should systematically uncover different classes of errors in a minimum amount of time and with a minimum amount of effort. A secondary benefit of testing is that it demonstrates that the software appears to be working as stated in the specifications. The data collected through testing can also provide an indication of the software’s reliability and quality. But, testing cannot show the absence of defect — it can only show that software defects are present.

White Box Testing

White box testing is a test case design method that uses the control structure of the procedural design to derive test cases. Test cases can be derived that
1. guarantee that all independent paths within a module have been exercised at least once,
2. exercise all logical decisions on their true and false sides,
3. execute all loops at their boundaries and within their operational bounds, and
4. exercise internal data structures to ensure their validity.

The Nature of Software Defects

Logic errors and incorrect assumptions are inversely proportional to the probability that a program path will be executed. General processing tends to be well understood while special case processing tends to be prone to errors.

We often believe that a logical path is not likely to be executed when it may be executed on a regular basis. Our unconscious assumptions about control flow and data lead to design errors that can only be detected by path testing.

Typographical errors are random.

Basis Path Testing

This method enables the designer to derive a logical complexity measure of a procedural design and use it as a guide for defining a basis set of execution paths. Test cases that exercise the basis set are guaranteed to execute every statement in the program at least once during testing.

Flow Graphs

Flow graphs can be used to represent control flow in a program and can help in the derivation of the basis set. Each flow graph node represents one or more procedural statements. The edges between nodes represent flow of control. An edge must terminate at a node, even if the node does not represent any useful procedural statements. A region in a flow graph is an area bounded by edges and nodes. Each node that contains a condition is called a predicate node. Cyclomatic complexity is a metric that provides a quantitative measure of the logical complexity of a program. It defines the number of independent paths in the basis set and thus provides an upper bound for the number of tests that must be performed.

The Basis Set

An independent path is any path through a program that introduces at least one new set of processing statements (must move along at least one new edge in the path). The basis set is not unique. Any number of different basis sets can be derived for a given procedural design. Cyclomatic complexity, V(G), for a flow graph G is equal to
1. The number of regions in the flow graph.
2. V(G) = E - N + 2 where E is the number of edges and N is the number of nodes.
3. V(G) = P + 1 where P is the number of predicate nodes.

Deriving Test Cases

1. From the design or source code, derive a flow graph.
2. Determine the cyclomatic complexity of this flow graph.
o Even without a flow graph, V(G) can be determined by counting the number of conditional statements in the code.
3. Determine a basis set of linearly independent paths.
o Predicate nodes are useful for determining the necessary paths.
4. Prepare test cases that will force execution of each path in the basis set.
o Each test case is executed and compared to the expected results.

Automating Basis Set Derivation

The derivation of the flow graph and the set of basis paths is amenable to automation. A software tool to do this can be developed using a data structure called a graph matrix. A graph matrix is a square matrix whose size is equivalent to the number of nodes in the flow graph. Each row and column correspond to a particular node and the matrix corresponds to the connections (edges) between nodes. By adding a link weight to each matrix entry, more information about the control flow can be captured. In its simplest form, the link weight is 1 if an edge exists and 0 if it does not. But other types of link weights can be represented:
• the probability that an edge will be executed,
• the processing time expended during link traversal,
• the memory required during link traversal, or
• the resources required during link traversal.

Graph theory algorithms can be applied to these graph matrices to help in the analysis necessary to produce the basis set.

Loop Testing

This white box technique focuses exclusively on the validity of loop constructs. Four different classes of loops can be defined:
1. simple loops,
2. nested loops,
3. concatenated loops, and
4. unstructured loops.

Simple Loops

The following tests should be applied to simple loops where n is the maximum number of allowable passes through the loop:
1. skip the loop entirely,
2. only pass once through the loop,
3. m passes through the loop where m <>

Nested Loops

The testing of nested loops cannot simply extend the technique of simple loops since this would result in a geometrically increasing number of test cases. One approach for nested loops:
1. Start at the innermost loop. Set all other loops to minimum values.
2. Conduct simple loop tests for the innermost loop while holding the outer loops at their minimums. Add tests for out-of-range or excluded values.
3. Work outward, conducting tests for the next loop while keeping all other outer loops at minimums and other nested loops to typical values.
4. Continue until all loops have been tested.

Concatenated Loops

Concatenated loops can be tested as simple loops if each loop is independent of the others. If they are not independent (e.g. the loop counter for one is the loop counter for the other), then the nested approach can be used.

Unstructured Loops

This type of loop should be redesigned not tested!!!
Other White Box Techniques
Other white box testing techniques include:
1. Condition testing
o exercises the logical conditions in a program.
2. Data flow testing
o selects test paths according to the locations of definitions and uses of variables in the program.

Black Box Testing

Introduction

Black box testing attempts to derive sets of inputs that will fully exercise all the functional requirements of a system. It is not an alternative to white box testing. This type of testing attempts to find errors in the following categories:
1. incorrect or missing functions,
2. interface errors,
3. errors in data structures or external database access,
4. performance errors, and
5. initialization and termination errors.
Tests are designed to answer the following questions:
1. How is the function’s validity tested?
2. What classes of input will make good test cases?
3. Is the system particularly sensitive to certain input values?
4. How are the boundaries of a data class isolated?
5. What data rates and data volume can the system tolerate?
6. What effect will specific combinations of data have on system operation?
White box testing should be performed early in the testing process, while black box testing tends to be applied during later stages. Test cases should be derived which
1. reduce the number of additional test cases that must be designed to achieve reasonable testing, and
2. tell us something about the presence or absence of classes of errors, rather than an error associated only with the specific test at hand.

Equivalence Partitioning

This method divides the input domain of a program into classes of data from which test cases can be derived. Equivalence partitioning strives to define a test case that uncovers classes of errors and thereby reduces the number of test cases needed. It is based on an evaluation of equivalence classes for an input condition. An equivalence class represents a set of valid or invalid states for input conditions.
Equivalence classes may be defined according to the following guidelines:
1. If an input condition specifies a range, one valid and two invalid equivalence classes are defined.
2. If an input condition requires a specific value, then one valid and two invalid equivalence classes are defined.
3. If an input condition specifies a member of a set, then one valid and one invalid equivalence class are defined.
4. If an input condition is boolean, then one valid and one invalid equivalence class are defined.

Boundary Value Analysis

This method leads to a selection of test cases that exercise boundary values. It complements equivalence partitioning since it selects test cases at the edges of a class. Rather than focusing on input conditions solely, BVA derives test cases from the output domain also. BVA guidelines include:
1. For input ranges bounded by a and b, test cases should include values a and b and just above and just below a and b respectively.
2. If an input condition specifies a number of values, test cases should be developed to exercise the minimum and maximum numbers and values just above and below these limits.
3. Apply guidelines 1 and 2 to the output.
4. If internal data structures have prescribed boundaries, a test case should be designed to exercise the data structure at its boundary.

Cause-Effect Graphing Techniques

Cause-effect graphing is a technique that provides a concise representation of logical conditions and corresponding actions. There are four steps:
1. Causes (input conditions) and effects (actions) are listed for a module and an identifier is assigned to each.
2. A cause-effect graph is developed.
3. The graph is converted to a decision table.
4. Decision table rules are converted to test cases.


Testing Questions »

How you make sure that each functionality was covered in Test Cases?

User1

Group 1

Task-1

Task-2

User 2

Group 2

Task3 and Task-4

User 3

Group 3

Task5 and Task 6

Write top 5 test cases for the above in security level.

How you manage your Test Cases?

What is your Approach if you find a bug, while you have release in next one Hour?

What is your Approach when you find 10 Sev-1 bugs in 50 test cases?

What do you do if you have 10 Sev-1 bugs, 20 Sev-2 bugs and 5 Sev-3 bugs in 50 test cases?

Write Test Strategy for Hot mail Login Screen?

If Yahoo CEO asks you to do Performance testing for Yahoo website, what are the inputs you ask from them?

Can you Merge 10 GUI Map files into a Single GUI Map file in Win runner.

User A is changing a GUI Map file. Can User B see the changes made by User A?

Will Rapid Test Script Wizard works in Web testing?

How do you start performance testing?

What are the Outputs for Performance testing?

Tell me the top 4 challenges in your Career?

What is Delegation?

Write Test Strategy for Telephone

Top 5 test cases for Calculator

Top 5 test cases for Elevator

Top 5 test cases for Telephone.

What are the Challenges for Testing?

What is exception handling in Win runner?

How Recovery manager Works in Win runner?

How do you manage scripts in Win runner when your Application is changing frequently?

There is a rendezvous point in Load runner Transaction for 100 users. 50 users are not reached the point. What the 50 users do in this time who reached the rendezvous point?

What are the components in Load runner?

Write the Contents of Test Plan?

What are the Sev-1 Bugs in calculator?

What are Sev-4 bugs in Calculator?

What is Traceability Matrix?

What do you do if you are not able to connect SQL Server?

What is Entry Criteria for Testing?

What is Exit Criteria?

Old Testing Questions »

1. What is Black Box testing and White Box testing
2. What is Regression Testing
3. How the Test Plan and the Test Cases Documents are prepared
4. Advantages and Disadvantages of Automation Testing
5. What is Stress Testing
6. Localization, Globalization issues
7. What is Monkey Testing
8. What are the various Metrics applicable for Testing
9. Web Testing (What are the features that are to be tested)
10. How will you log a bug
11. If given FS, how the Testing estimates are made
12. What do you do if the Functionality of the System is changed after completing the Testing
13. If you come across a bug, which is not reproducible, what will you do
14. If given FS, as a Tester what will you do
15. If Label and a Text Box are to be tested how do u test it? What are the test cases
16. Given the Functional specs how do you gather the data required for your project where no body is there to help you out
17. You got a suggestion and the developer is not taking it as a bug how do you convince him
18. How do you test a Job which is executable in SQL server
19. Testing Tools worked on

General Testing Questions »

1. What is Win Registry and what it is used for?
2. What is the command to invoke Win Registry?
3. What is IIS?
4. What is XML?
5. Difference between WELL form XML and XML?
6. Automation Tools – Win-Runner
7. How can you perform load and stress testing on a single ATM machine?
8. What are ACID properties?
9. What is replication? How many types of replications are there?
10. Write a query to get ‘Last Day’ of the last month.
11. How can you test a ‘Mouse’?
12. How can you test a ‘Coke’ machine?
13. What are all Test deliverables?
14. What are the various components or folders which exist at ‘Regedit’ and What is all their usage?
15. Explain about ‘Web Server’, ‘Web Service’, IIS and security constraints?
16. What is ‘Log file’ in SQL Server?
17. What are the tuning techniques for SQL Server?
18. What is use of ‘Query Profiler?’
19. How can you assure when testing a ‘Form’ of saving data to db? Without having any specifications.
20. Difference between Remoting and Web services and define each in brief

Software Testing Questions Part 1 »

1. What are SDLC and STLC?
2. When will you start the testing process?
3. What is Test Plan and Test Case?
4. What is the difference between Integration Testing and System Testing?
5. If an ATM machine is given to you, how will you approach to test it and also check that correct information is updated in the database or not?
6. If a screen is given to you and the enter data in that screen is getting updated into one table. What all kinds of test case you will write and how will u check in the database whether the enter data is updated correctly or not?
7. What are Performance Testing, Stress Testing and Load Testing?
8. What is the most difficult test case you have written?
9. What is the top priority bug you have found out in your previous career?
10. What is functional testing?
11. Testing Methodologies.