Saturday, February 28, 2015
Friday, February 27, 2015
Write a selenium web driver test script to scroll and print all items name from a web page. Below is an example using FlipKart.
- Log in to Flipkart.
- Type Samsung in search box and Click search button.
- Click mobile link.
- Scroll and print all the names.
Scrolling is the only challenging portion here, until when we have to scroll is the question. In the above scenario we will scroll the web page until no-more-results are displayed.
Ping us for any help. Like us at Facebook.
By: diehard techy On 2:51 PM
Tuesday, February 17, 2015
The happiest people in the world are not those who have no problems, but those who learn to live with things that are less than perfect.
A group of graduates, highly established in their careers, got together to visit their old university professor.
Conversation soon turned into complaints about stress in work and life. Offering his guests coffee, the professor went to the kitchen and returned with a large pot of coffee and an assortment of cups – porcelain, plastic, glass, crystal, some plain looking, some expensive, some exquisite – telling them to help themselves to the coffee.
When all the students had a cup of coffee, the professor said:“If you noticed, all the nice looking expensive cups were taken up, leaving behind the simple and cheap ones.
Now consider this:
While it is normal for you to want only the best for yourselves, that is the source of your problems and stress.
Be assured that the cup itself adds no quality to the coffee. In most cases, it is just more expensive and in some cases even hides what we drink. What all of you really wanted was coffee, not the cup, but you consciously went for the best cups… Then you began eyeing each other’s cups.
– Life is the coffee; the jobs, money and position in society are the cups.
– They are just tools to hold and contain Life, and the type of cup we have does not define, nor change the quality of Life we live.
– Sometimes, by concentrating on the cup, we fail to enjoy the coffee God has provided us. Enjoy your coffee!.”
The happiest people don’t have the best of everything. They just make the best of everything.
1. Live simply.
2. Love generously.
3. Care deeply.
4. Speak kindly.
5. Leave the rest to God.
You are the miracle, my friend; Your life either shines a light OR casts a shadow!
By: diehard techy On 3:55 PM