Monday, March 30, 2015

How to uninstall Applications from Mac?!

I had a problem when it comes to uninstalling an installed application in Mac. When I delete it from the application location this always left behind remainders. This was a huge headache when reinstalling some applications.

Then I found  CleanMyMac 2 as a solution!
This is a Mac Uninstaller which helps to keep your Mac clean and has tons of awesome features which you definitely want to use :)

Download the awesome Mac uninstaller
  • Click on the downloaded dmg.
  • You will get a pop up window as shown bellow.
  • Drag the CleanMyMac2 icon to the Application folder. Now you have installed CleanMyMac2.
  • Open the CleanMyMac 2

  • Go to Uninstaller section
  • Select the Application you want to uninstall

  • Then all the folders, files which got installed with the Application every where in your Mac will get selected.
  • Now what you have to do is simply click the Uninstall button.
    This will uninstall your application removing all the possible installed files and folders!
  • And if you have remaining items which were left out from your previously deleted Applications, you can check them too.
  • All you have to do is go to Uninstaller section and click on the Leftovers from the top pane.

 
  • If any files or folders are shown in the window, you just have to select them and click Remove button.

Hope those who had the same problem like me will get a solution now! Happy Uninstalling!!! ;)

 

Sunday, March 29, 2015

Cinderella ❤ Cinderella

Cinderella is a headstrong and independent young woman who is truly beautiful because she doesn't let her anger and sorrow get the better of her.

She is forced to be a servant in her own home after her father dies and her stepmother takes over. Even through her hardships, she is kind and loving to all those around her. She is sweet, kind, hard-working, intelligent, diligent, good-hearted and strong-willed.

She is waiting for her prince to come, singing longingly for this day. She is a princess truly based on her time as she needs a man to get her out of her awful situation such as mistreatment from her step family, being locked in her room by her own stepmother..

This story has been told and retold so many times in Hollywood, it's hard to keep up!

Cinderella is a dreamer, independent, hopeful, determined, optimistic, skillful, tactical, compassionate and carefree.
She likes her fairy godmother's magic, going to balls, dancing, animals, wearing beautiful gowns, romance and singing.

Nevertheless, she is the most beloved and well-known princess of all tie…
  
Cinderella never gave up on her dreams, and now she and Prince Charming live happily ever after!



Wednesday, March 25, 2015

How to use Selenium IDE?!

To start with you need to install the needed IDE.
You can refer to How to install Selenium IDE for more information.

This is very useful to automate user actions on a website, automate certain web administration actions, to automate bug reports, create automated test scripts that shows the bug report and attach that script i your bug report so that the developer can view it and see the flow
  • Open Firefox
  • Click Tools and click Selenium IDE
  • Selenium IDE will open
Now I will show you some simple steps how to work with Selenium.

How to Record a test flow?
  • When you open the IDE move the corser to the Red button. There you will see 'Now Recording. Click to Stop Recording'
    This means you are ready record.
  • Now you can load the web page you want to test and start recording the steps of the flow you want to execute.

    What I'll be doing is search Kala's World :) in Google and view How to install Selenium IDE?! post! For that I am doing the following steps.
  • When you do each of the above steps it will get recorded automatically in the Selenium IDE, one step at a time.
  • Click the Red button to stop recording
  • Save the Test Case (File > Save As > Give a file name > Click Save)
  • In the Table section you can see the saved steps
  • The Reference tab gives you the information what those commands in each step do
  • The Command column basically shows what action needs to be performed when testing
  • Target column shows where exactly that action has to be perform in the web site 
  • The Value column shows the value needs to be given to execute the command or some additional information. 
  • Selenium IDE saves the test cases as HTML. You can view it by clicking the Source section


    How to Run a recorded test case/suit?


  • Now lets run the recorded steps.
  • You can Click 'Play entire test suit' / 'Play current test case' button to run the whole flow.
  • Or click each and every step to run one step at a time.
  • There is a slider Fast Slow to adjust the speed of the execution if you want to look in to the steps more clearly. 
  • When you run you will see how it is been executed from the Log tab


  • Now let's see how this gives an error if there is a wrong step included.
I am going to edit the 3rd step click.
  • Click on the step
  • Go to the Target field change the name=btnG to name=btn  The step will be changed.
  • Now execute the test case again.
  • This test should get failed giving the bellow error in the Log tab.

How to stop the test from a particular step?
  • Right click on the step you want to stop the test run.
  • Select Toggle Breakpoint.


  • Now the execution should stop above the step you put the break point.
  • And if you want to move forward from that point onwards click Pause/Resume button. Then the remaining steps will be executed.
  • If you want to run through the steps after the break point one by one you can click Step button and execute the steps.


How to add more steps to the test case?
  • Go to the end of the test case.
  • Click on the empty space. 
  • Click the Record button.
  • Now you can add more steps as you want and save.
  • And if you want to add a step to the middle. Right click > Insert New Command
  • You can manually write the command without recording.
  • For that Right Click on the empty space and select 'Insert New Command'
  •  Now you can enter the values you need in the Command, Target, Value fields and add a new step to the test case.


  • And if you need help in adding the values to the Target field you can always go to the next step location from your browser.
    Right click and select 'Inspect Element'
  • It will show you the information needed about the field, drop down list ..etc.
    You can always use the 'id=' to identify the place you want.


How to enhance the test case by adding documentation?
This helps a user to understand what we do in the test case or may be we can divide the test case in to sections for our benefit or future reference.

  • Click on the place where you need to add a comment. Right Click > Insert New Comment
  • Now you can add you comments to make it more simple.
  • Save after doing the changes.


Hope you got the basic idea how you can use the Selenium IDE! Enjoy the work!


Tuesday, March 24, 2015

How to install Selenium IDE?!

What is Selenium IDE?

Selenium IDE is a fully featured Integrated Development Environment (IDE) that installs as a plugin for Mozilla Firefox. This enables developers to test their web applications through Selenium.
With the Selenium IDE, you can record user interactions with the web browser and play back to test for errors.
It is a good and powerful IDE where you can simply do the QA testing process and automate the testing flows.

* The Selenium IDE is currently available only on Firefox.

If you don't have it already go to the SeleniumHQ page.
You can refer this for more details and read about Selenium.

And to download the Selenium IDE to Firefox click the Download section. Or straight away click here. 
There you can see sections for different Selenium tools.
  • Go to the Selenium IDE section.
  • Click on 'Download latest released version' link
  • Once it is clicked Firefox will display a message
  • Click Allow button. Then the installation will start.
  • Then you will be shown a window with the add-ons to install.
  • Click Install Now button.
  • After you will be asked to Restart the Firefox browser in order to install the add-ons.
  • When you click the Restart button the browser will  close and reopen with the add-ons installed.
  • Now when you go to the Tools > Selenium IDE option will be displayed there.
  • Or else you can check the add-ons by navigating to the Firefox Add-ons.
 
  • If the add-ons are installed it should be displayed as bellow


  • Now to open the installed IDE, Click Tools and click Selenium IDE
  • Selenium IDE will open as shown bellow



Now you are ready to use the Selenium IDE!




Sunday, March 22, 2015

Queen Clarion ❤

She is the queen of Pixie Hollow and the overseer of the four seasons.  She has also lived longer than any other fairy or monarch of Pixie Hollow, wise and dignified. Her ultimate concern is the health and well-being of her subjects.

Sometimes, she is called Queen Ree or just Ree. She wears a flowing golden gown with a beautiful matching crown.

Despite her wisdom and power, Queen Clarion doesn't seem to take her station too seriously. She is a loving and approachable but can be firm when she has to be. It has also been said that she is mysterious. As ruler of Pixie Hollow, Queen Clarion sometimes mediates and helps to settle arguments.

She also has the task of making sure the preparations for the seasons are done in a timely manner. She also greets new arrivals at the Pixie Dust Tree, helps them find their talent, and gives them their names. She might possess every fairy talent..




Test scaling Logistic regression (ML classification algorithm) by partitioning data by Histogram [2]

Information about important classes..

Class
Description
GetMinMax.java
Calculate the min max values of each feature
HistogramEnsembler.java
Encapsulate partitioning data through creation of models for each group. Also the model ensembling logic is implemented.
HistogramHelper.java
This calculates the bin number and converting a given coordinate to a bin number.
HistogramTester.java
Analysis of the partitioned data using a Histogram
HistogramTree.java
Allow formulating and manipulation of the histogram.
IHistogramHelper.java
Defines the contract of the histogram.
LogisticRegresionTester.java
Analysis of the logistic regression with full data set.
Metrics.java
Efficiency calculation
RandomPartitionedEnSembler.java
Encapsulate random partitioning data through creation of models for each group. Also the model ensembling logic is implemented.
RandomPartitionTester.java
Analysis of the logistic regression with randomly partitioned data.


TestHistogramHelper.java
This does the unit tests of the HistogramHelper class. It tests the dimensions and the change axis order.
TestHistogramTree.java
This does the unit tests of the HistogramTree class. It tests the neighbouring bins and checks the grops are of equal sizes.

Testing and Evaluation



Technique Used
Accuracy (%)
Performance
Method 01
Logistic regression with full data set
74.2720201581548
training time : 52s
Prediction time: 12s
Method 02
Logistic regression with randomly partitioned data set
74.35145399566024
training time: 2min42s
Prediction time: 15s
Method 03
Logistic regression with partitioned data using histogram.
74.36789359939304
training time: 06min07s
Prediction time: 12s

Above table is being used to compare three different methods used to run logistic regression.
According to the statistics given in the table in terms of accuracy all three methods shows relatively similar accuracy levels. When comparing training times method 01 shows the best time of 52s whereas method 03 shows worst. however considering the prediction times method 01 and method 03 shows best of 12s.
 

Saturday, March 21, 2015

Tinker Bell ❤

Tink is sassy, brave, and beautiful. Although she is initially resistant to becoming a tinker she embraces the identity when she comes to recognize the value of her talent. She is inexperienced, but a good problem solver.

Tinker Bell is a free spirit, she is what she is, says what she says and doesn’t give a care what others may think, and seems happy to tell people they are a silly ass ;)

She does however endear herself to everyone in spite of her jealous ways and spiteful character. She would lay down her life for Peter and finds it difficult to compete with his attention to other adoring female company.

Tinker Bell is jealous of other females, mermaids and Princess Tiger Lily and Wendy.
Her possessiveness is not a good characteristic and will lead to downfall! She can be easily impatient and annoyed, yet she is extremely loyal..