Skip to main content

Posts

Showing posts from November, 2012

Selenium - Interview Questions

You can get the answers for the below questions through googling. 1) Explain selenium architecture. 2) command to start selenium rc server 3) code for handling pop ups in selenium 4) can we handle windows based applications in selenium webdriver? 5)difference between thread.sleep() and waitForPagetoLoad(). 6)difference between ide and rc. 7)why do u use Junit 8)which tool do you use for reporting purpose (we use ANT tool)? 9)Explain your project where you used selenium. 10)how to sort a set of elements in array. write the java code. 11)how to swap two numbers 12)how to find the biggest number out of three numbers? 13)Explain split() method in java 14)what is Tokenizer in Java? 15)Difference between Error and Exception. 16) Different types of exceptions you faced in your project. 17)What are different languages that we can use with selenium? 18)What is selenium core?

Ubuntu 640x480 issue

In ubuntu, if you have only one monitor resolution of 640x480 and you are unable to find any other resolutions in the display resolution settings even if you have updated the NVIDIA drivers, kindly follow the below procedure to get back your original resolution (1366x768 for my Lenovo Laptop). Step1 : Open Terminal (Ctrl+Alt+T). Step2 : Type the below command and hit Enter and then Enter the system password.                    $ sudo gedit /etc/X11/xorg.conf Step3 : The xorg.conf file gets opened. Then change the below lines                           HorizSync 28.0 - 33.0       VertRefresh 43.0 - 72.0              to             HorizSync 30.0 - 83.0      VertRefresh 56.0 - 75.0 Step4 : Save the file and exit. Then, restart the system. This should fix the issue. Still facing the issue? you can leave a comment :)             

Install Skype in Ubuntu 12.10 (Quantal Quetzal)

Procedure to install Skype in Ubuntu Step1: Open terminal (Ctrl+Alt+T) Step2: Type the below command and hit Enter         sudo apt-get install libqt4-dbus libqt4-network libqt4-xml libasound2 Step3: Enter the system administrator password and hit Enter. Step4: After all the dependencies are downloaded, choose anyone of the                     commands below based on your operating system size (32 or 64 bit).              wget http://www.skype.com/go/getskype-linux-beta-ubuntu-32                                                                   OR           wget http://www.skype.com/go/getskype-linux-beta-ubuntu-64           If you have are confused about which version(32 or 64 bit) to download,           can find out if it is 32 bit or 64 bit by using the command.              uname -m            Result: x86_64           In the above result, the last two digits tell you if it is 32 or 64 bit linux.           From the above result, it is obvious that it is 64bit.

Double ka Meetha

Shahi Tukre Meetha (Double ka Meetha) Ingredients: 6 slices of sandwich bread, remove crust and cut into oblong shapes (one slice into two) 2 cups milk   ¾ cup cream   100gms mava, crumbled 4 tbsp sugar or to taste 6 green elaichis     2 pinches of chopped cashewnuts A few drops kewra and rose essence Ghee for frying 1 tbsp chironji For Garnishing:   Warkh and rose petals Fry the bread pieces in ghee till golden brown, then arrange on a plate. Heat a milk, adding the sugar and saffron and a few drops essence. Allow the bread to soak up the milk, then arrange the bread pieces on a decorative plate. Heat 2 teaspoons ghee and lightly fry the crumbled mava, elaichi powder and 2 teaspoon sugar. Spread the mava layer over the soaked bread pieces. To the cream, add essence. Cover the mava with a cream layer and decorate with warkh, nuts and rose petals. Serve warm or cold. Source:   HyderabadPlanet Places to buy Double ka Meetha in Hyderabad :  Cl

AR Rahman @ MTV Unplugged - Memories to Treasure

Aaj jaane ki zidd na karo (Full Song) Dil Se Nenjukulle Rehna Tu Phir Se Udd Chala Tu Bole Ye jo Des