Posts Tagged ‘jar’

Eclipse (software)

Download and Configuring the Selenium Webdriver in Eclipse:

Pre-requisites:

  • JDK
  • Eclipse setup
  • Selenium

Steps to Download and Configuring the Selenium Webdriver in Eclipse:

1. Go to http://seleniumhq.org/download/

2. Click on Download link which is associated with java release. Download the jar files. Refer following screenshot.

3. When you download it you will get a folder. In this folder you have two jar files related to selenium and a lib folder in which you have another jar files. Refer following screenshot.

4. Now Create a New project in Eclipse for this you have to follow the following steps:

  • Go to Eclipse –> Click File –> New –> Project
  • In Select Wizard –> Click Java –> “Java Project” (Refer following screenshot.)
  • Give the project name
  • Click Finish – Click Yes

5. Now add all jars which you have downloaded earlier. Go to properties by right clicking on project.

  • Click “Java Build Path”
  • Click Libraries tab
  • Click “Add External JARs” button
  • Select both selenium jars and all other jars from lib folder of downloaded folder.

If you like this post ,Don’t forget to write comments……………………

Advertisements

Steps to install MonkeyTalk Android Agent:

1. Open your android project in eclipse.

2. Convert your android project in AspectJ .

*For this step you have to configure AJDT in Eclipse by following steps:

Open Eclipse >>Go to help  menu >> Install New Software >> Click on Add

Then fill the fields in ‘Add Repository’ window

Name: AJDT

Location: http://download.eclipse.org/tools/ajdt/37/update

Click on ok. *

3. Create a folder in your android project named as “libs”,  if you don’t already have one.

4. Copy the MonkeyTalk-agent.jar file in libs folder.

* MonkeyTalk-agent.jar can be found in the “agents” folder in the MonkeyTalk package you downloaded earlier. The exact name of the jar might vary depending on the version, but it should always start with “MonkeyTalk-agent”.

5. Now add this MonkeyTalk jar file to aspect path:

Right click on MonkeyTalk-agent.jar

Go to  AspectJ Tools

Click on  Add to Aspectpath

6. Update your AndroidManifest.xml to include the following two permissions:

  • android.permission.INTERNET
  • android.permission.GET_TASKS

<uses-permission android:name=”android.permission.GET_TASKS” />

<uses-permission android:name=”android.permission.INTERNET” />

*You can find Androidmanifest.xml file under res folder of your android project.*

7. Update the project properties (right-click on the project > Properties > Java Build Path), select the Order and Export tab, and check the checkbox next to the AspectJ Runtime Library to export it.

8. Deploy your application to an Android device or emulator.

Right click on Android project

Choose “Run as” option and then “Android Application”