Showing posts with label bar. Show all posts
Showing posts with label bar. Show all posts
Friday, September 29, 2017
Earning Your Eats the Old Fashioned Way The White Cottage Snack Bar Woodstock Vermont
Earning Your Eats the Old Fashioned Way The White Cottage Snack Bar Woodstock Vermont

After our adventurous descent down Mount Toms Precipice Trail we were hungry. Very hungry. Not handmade local croissant or organic frittata hungry. But cheeseburger hungry. Milkshake hungry. Lobster roll hungry. Fried clam strips hungry. You know what I mean. And after hiking up and down a beautiful Vermont mountain with two four-year olds and a five-month old we had earned our eats the old-fashioned way.
The White Cottage Snack Bar in Woodstock may be Americas most beautiful roadside burger and shake joint. The signage, the store front, and the menu looked like something you could find in Cape May or Long Beach Island along the coast of our beloved Jersey Shore. But the outdoor eating area in the back did not. In Vermont they even like to eat their burgers and shakes with a view.

We found a picnic table right next to the river and settled into a yummy post-hike meal. All of the boys enjoyed their cheeseburgers and fries and Mommy thought the clam strips were solid, but not spectacular. The portions, as you can see, were substantial. But the highlight of the meal was my mother-in-laws juicy and generous lobster roll, which she kindly shared with the crew. It was much better than one I had enjoyed back home at the Jersey Shore the week before--but not as buttery and delicious as the ones we had tasted two years back in Camden, Maine. But that comparison just isnt fair-- a Maine lobster roll is one of Gods gifts to humanity.
As we devoured our meals a couple of youngsters at the table next to us finished their food, kicked off their shoes, and waded into the river. I considered doing the same. But my tummy was full, my legs were tired, and the summer air had turned cool. As we cleaned up our table and threw away our trash the sky turned suddenly dark and it started to drizzle. We ran back to the truck and loaded the boys up as quickly as we could.
As we drove back to the campground I felt grateful for the hike, grateful for the food, grateful for my family, grateful for Vermont, and for some strange, inexplicable reason--even grateful for the summer rain.
download file now
Monday, September 4, 2017
Use Robotium to test Android Progress bar Seek bar and Rating bar
Use Robotium to test Android Progress bar Seek bar and Rating bar
Robotium Supports various functions to support Progress bar, Seek bar and Rating bar. it uses the following functions to support these views.
Let us see one example Test case to the sample project shown on the Right side,
Explanation :

- getCurrentProgressBars()
- setProgressBar(int index, int progress)
- setProgressBar(android.widget.ProgressBar progressBar, int progress)
Let us see one example Test case to the sample project shown on the Right side,
Test case for Progress Bar :
Steps:- Set the Progress bar status from Zero to High
- Set the Seek bar position from Minimum to Maximum
- Set the Rating Bar from 1 start to 5 stars
1: public void testProgressBar() throws Exception {
2:
3: solo.waitForActivity("MainActivity");
4: // set the Progree Bar Status
5: solo.setProgressBar(0, 10);
6: solo.setProgressBar(0, 20);
7: solo.setProgressBar(0, 30);
8: solo.setProgressBar(0, 40);
9: solo.setProgressBar(0, 50);
10: solo.setProgressBar(0, 10);
11: // set the Seek Bar Position
12: solo.setProgressBar(1, 10);
13: solo.setProgressBar(1, 20);
14: solo.setProgressBar(1, 30);
15: solo.setProgressBar(1, 40);
16: solo.setProgressBar(1, 50);
17: solo.setProgressBar(1, 10);
18: // set the Rating Bar status
19: solo.setProgressBar(2, 2);
20: solo.setProgressBar(2, 3);
21: solo.setProgressBar(2, 5);
22: solo.setProgressBar(2, 7);
23: solo.setProgressBar(2, 9);
24: solo.setProgressBar(2, 10);
25: }
Explanation :
- Set the Progress bar and Seek bar position : �solo.setProgressBar()� is used to set the position of status bar, the position has to be specified in Integer number say 10,20,30,40 so on.. i hope max value is 100. just, try with different numbers and see the change in position.
- Set the Rating bar : �solo.setProgressBar()�, is used to set the Rating bar. use the numeric value from 1 to 10.
- Since there are 3 similar items(Progress bar, Seek bar and Rating bar), index will starts from 0 to 2.
download file now
Subscribe to:
Posts (Atom)