Skip to main content

Posts

Showing posts from 2016

Create Guest Account in Latest Version of Windows 10

     If you are using latest version of Windows 10 in your system, you might have noticed couldn't create " Guest " account on it. Here is a workaround  to fix this problem.     For reason unknown, Microsoft quietly removed Guest account from Windows 10 in middle of this year. So directly we can't create Guest user account in your system. Here are the steps to fix this problem - Open " Command Prompt " as Administrator - Enter " net user GuestAccountName /add /active:yes " to create a new account. Note : You can replace "GuestAccountName" with whatever name you wish. But you should ensure change it in the following steps also. - Enter " net user GuestAccountName * " to create password for this account. Note : You can create blank password for this account when you have pressed "Enter" button at two times. - Enter " net localgroup users GuestAccountName /delete " to remove GuestAccountName accou...

Show volume control icon in menu bar of Ubuntu

Hi there,    For some reason volume control widget is not showing in menu bar of my system. I am feeling really bad without that widget to play songs and adjust volume. Then I have restarted pulse audio service that won't work. Finally i come up with solution to fix this problem. Please follow the steps below I have mentioned to fix this problem - Go to "System settings -> Sound Settings" - In "Sound settings", you have option like " Show sound volume in the menu bar " with checkbox - Please enabled it and check if volume bar appears in menu bar of the system Please refer the following link for more info about this problem, http://askubuntu.com/questions/470702/volume-control-not-showing-in-ubuntu-14-04-unity-top-panel/470713

Configuration for PyDrive in Google Drive Before Run Authentication Script

- Go to " console.developers.google.com " - Then Go to " console.developers.google.com/iam-admin/projects " - Create your own Project - Go to " Service Accounts " menu and Enable "API" to On - Go to " API Manager " menu and then Go to "Credentials" - Clicked on " Create Credentials " and Clicked on " OAuth Client ID " - Give Some " Project Name " in " OAuth Consent Screen " page and saved it - Select "Application Type" to be Web Application - Enter " http://localhost:8080 " in "Authorized Java Scripts" - Enter "  http://localhost:8080/  " in "Authorized redirect URIs" and save it - Download JSON file and Rename to " client_secrets.json " and Put this file in working directory Problem Faced By Mine : - Json file name with client_id. So it throws some error Solution : Should rename to "client_secr...

Compress File Into Zip Format In Linux Using Terminal

- Launch Terminal - Check if "tar" package was installed in your system if not Please installed it before proceed next step - Type the following command in Terminal tar  -czvf  filename.zip  /pathfordirectory -c : Create an Archive -z : Compress an Archive with Zip File Format ( Can Also Format as tar.gz ) -v : This is an Optional. It displays the process of Archive in Terminal. It's also Called as " Verbose ". -f : Allows to Specify File Name for the Archive 

Set Environment Path in Linux

- Create /bin folder in /home directory - Go to /home/user directory - Open terminal and type the following command vim .bashrc Note: You can open .bashrc file in any editor. - Add the following line in .bashrc file export PATH=$PATH:~/bin - Save the changes in .bashrc file - Go to ~/bin folder and create any file Ex: touch uiautomatorviewer Format : touch filename - Open file and enter the following code Ex: #!/bin/bash echo "Message"; /home/user/tools/uiautomatorviewer - Save the file and change it to executable format chmod +x filename - Restart the terminal - Now enter the filename in any directory Enjoy !!!!!!!! Regards and Thanks, Gokul Karthik M Software QA Engineer Email : gokul.hotspot@gmail.com Phone : +91 99441 70730

Create UIAutomator Project Using Eclipse

Step 1 : Open Eclipse IDE Step 2 : Go to ' File ' -> ' New ' -> ' Java project ' Step 3 : Add Project name and click ' Next ' Step 4 : Click ' Finish ' Step 5 : Expand your project and right click on src folder -> ' New ' -> ' Class ' Step 6 : Enter ' Name ' for class . Also mention ' Package ' and then click ' Finish ' Step 7 : Right click on your project -> open ' Properties ' Step 8 : Go to ' Java Build Path '  Step 9 : Open ' Library Section ' Step 10 : Click on ' Add External Jar ' and navigate to ' android-SDK/platforms ' and choose uiautomator.jar and android.jar file Step 11 : Click on ' Add Library ' -> Select ' JUnit ' . Select JUnit 3. If you want to select JUnit 4. Then you need Java 5. Step 12 : Click ' Next ' -> then ' Finish ' . Then ...