Monday, March 21, 2016

Test script editor Eclipse Configuration for Ruby

Eclipse Configuration

  Step1: Go to google.com and search the site given below , and click on the windows 34 bit or 64 bit for Downloads




Step2: Click on downloaded file for installation





Step3:  Post installation->  desktop shortcut for eclipse will be created, double click on the eclipse icon shown below


   

choose workspact ( either C or D drive)

Step4:  Install Ruby plugin for eclipse  follow the process below

a. From the Help menu, select Install New Software... to open the Install New Software dialog.
b. Paste the URL for the update site into the Work With text box, and hit the Enter (or Return) key.
c. In the populated table below, check the box next to the name of the plug-in, and then click the Next button.
d. Click the Next button to go to the license page.
e. Choose the option to accept the terms of the license agreement, and click the Finish button.
f. You may need to restart Eclipse to continue.

pls see the below images

Inside eclipse  ->   right click on Help ->    click on install new software

Paste the URL for the update site into the Work With text box, and hit the Enter (or Return) key.




Step 5 : Click on accept button  -> finish ->after installing -> click yes button.

Step 6:  Creating Ruby project

  Goto the file ->project  -> select Ruby Project  -> click next



Step 7: Project name ->  click finish



Step 8: Right Click on ruby testing project -> New ->  file



Step 9: . Create a file name  ->     click on finish

Step 10: Ruby file has been created as shown below


Step 11: To run ruby script  ->  right click on file name ->      run as   ->         select ruby application/ Ruby script.

Step 12: Execution shows below result


Thankyou

No comments:

Post a Comment