w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to make selenium RC tests run in multiple browsers (using java & eclipse & selenium grid)
If selenium grid is already running, you're halfway done. As you might know, selenium grid automatically distributes the tests on all registered nodes. If only one browser is opening at a time, it probably means you're not executing your tests in parallel - they are probably executing sequentially. What you need to do now is to run your tests in parallel. If you are using maven, you could configure Maven Surefire Plugin to run the tests in multiple threads for you (works both with JUnit 4.7+ and TestNG): Using Maven: If you are using Maven, add the following snippet to your <plugins> section in your pom.xml (change it according to your needs - see doc). <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</arti

Categories : Java

Error when installing "Maven Integration for Eclipse (Juno and newer)" in Eclipse Kepler
If you downloaded the EE version, then the m2e is already installed along with the IDE. On another note, with concise question content and proper formatting, your question is allowed.

Categories : Eclipse

Installing AJDT I got a Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor
I've got the same error after upgrading to Win 8.1. In my case the %workspace%/.metadata/.plugins directory was suddenly write-protected. To remove the lock I had to rename the directory, create a new directory name .plugins and finally the contents from the renamed to the new directory.

Categories : Eclipse

Nodeclipse - org.eclipse.wst.jsdt.core not found when installing into Eclipse
Try again after some time As said in Aptana Studio - can't update to 0.4 , try install NJSDT or get Enide to install NJSDT http://marketplace.eclipse.org/content/enide-eclipse-nodejs-ide

Categories : Eclipse

issue in installing selenium-server-standale
Those are my 2 batch files (paste on different .bat files): HUB @echo off echo --- Starting Grid 2 HUB ... call java -jar selenium-server-standalone-2.32.0.jar -role hub WINDOWS NODE @echo off echo --- Starting Grid 2 NODE ... call java -jar selenium-server-standalone-2.32.0.jar -role wd -hub http://{LOCALHOST OR HUB IP}:4444/grid/register -maxSessions 1 Run both and it should be work at least on firefox. Hope it helps

Categories : Selenium

Installing PMD 5.0.4 in eclipse
You should not download anything. Instead, simply add following URL as new update site in Eclipse -> Help -> Install new sofware: http://pmd.sourceforge.net/eclipse Then select appropriate Eclipse PMD plugin and you are done.

Categories : Java

Installing a new JRE in Eclipse
From Eclipse documentation: Standard VM - You will select a folder where the JRE is installed. The details of the JRE will be determined by scanning the location. You can further customize the JRE install, specifying vm arguments, source attachments, etc. Standard VM 1.x.x - Same options as a standard VM install, but the install is customized to handle the 1.x.x install Basically, the options here let you choose the JVM implementation. Standard 1.1.x refers to compatibility with Java 1.1. MacOS X VM here refers to Apple's implementation.

Categories : Eclipse

Installing Android Sdk (not with Eclipse)
I'm not 100% sure about Linux, but the Windows version of the SDK requires no "installing" - you just extract the contents of the archive and run the executable file. This then displays the SDK manager, which allows you to download the various Android development components. And since Windows is a lot more "needy" than Linux when it comes to installations vs just running stuff, I'm guessing that the Linux version will work the same ;) The only other thing that you need to do is to add a ANDROID_SDK_HOME environment variable, and set it to the path where you extracted the SDK archive contents.

Categories : Android

Error in installing WTP plugin to ADT eclipse
I had the same error message trying to install the wtp plugin via "Help"->"Install new Software..." in Eclipse Juno. I found my solution in this post: http://www.eclipse.org/forums/index.php/m/506033/ It stated that I had to make sure the Eclipse Galileo update site (http://download.eclipse.org/releases/galileo/) was available. After I added the update site the installation worked fine. It looks like the Galileo update site includes the package that Eclipse is looking for to resolve the dependencies. I hope this helps.

Categories : Android

installing eclipse plugin for android
Per the Setting Up an Existing IDE (of which the guide you are referencing is a part of): You should have already downloaded the Android SDK Tools Download the SDK Tools, then set up your Eclipse ADT Plugin, directing it to the directory you installed the SDK tools into.

Categories : Android

Installing mahout and importing it to eclipse
Do a ls -l on that directory in the terminal. Does the listed username match the one you are logged in (and running eclipse), or even the username in the terminal prompt? This is bad: I am logged in as jj and I am trying to edit files owned by hduser: jj@jj-ThinkPad-T420 ~/dev/crap $ ls -l total 0 -rw-rw-r-- 1 hduser audio 0 Jun 16 23:37 afile So we change the ownership of directory to jj: jj@jj-ThinkPad-T420 ~/dev $ sudo chown -R jj:jj crap All-clear to compile into this directory: jj@jj-ThinkPad-T420 ~/dev/crap $ ls -l total 0 -rw-rw-r-- 1 jj jj 0 Jun 16 23:37 afile Image depicts Eclipse unable to write compiled classes to a directory owned by somebody else; while Eclipse (and rest of desktop) is owned by you. Root user can do anything on any directory, hence sudo works.

Categories : Eclipse

Installing Aptana Studio 3 on Eclipse 4.2
This error message says your PyDev 2.7.5 needs a higher version of the pydev core than aptana 2.7.0. You need a version of Aptana that's blessed for Juno that includes PyDev, or you need to install Aptana into a package of Juno that doesn't include PyDev.

Categories : Eclipse

Trouble Installing Egit in Eclipse
EGit is already provided in the default installation of Eclipse Kepler - see http://www.eclipse.org/downloads/packages/eclipse-standard-43/keplerr

Categories : Eclipse

Installing jProbe plugin for eclipse
i don't find any problem with the link provided by you.Did you follow the steps.Just open eclipse goto Help Menu->install New software and fill the fields same as below image. if you have downloaded any zip file then click on archive and point out to your downloaded archive.

Categories : Java

Overwrite jar files when re-installing and eclipse plugin
To get rid of the old plugins you have to clear the Installation History. Go to Help | About Eclipse | Installation Details | Installation History and select all the old stuff. Then click delete and restart. Now install the new plugin. The other way to achieve this is by copying the corresponding directory (or jar) from the source eclipse install plugins/ or/and features/ directory to the target eclipse install plugin/ or/and features/ directory

Categories : Java

error in installing mercurial plugin for eclipse
Try running hg -y debuginstall from the command line. It should show something like that: Checking encoding (cp1252)... Checking installed modules (D:Kazanmercuriallibrary.zipmercurial)... Checking templates... Checking commit editor... Checking username... No problems detected If it doesn't, it should give you an indication on what's the problem. If the command is not found, install mercurial from https://www.mercurial-scm.org/wiki/Download or install tortoise-hg from http://tortoisehg.bitbucket.org/

Categories : Eclipse

I'm stuck installing Crashlytics for Android using Eclipse
Follow these steps here, if you're stuck on adding Crashlytics to Eclipse. (you're supposed to add the codes to your app to hook up Crashlytics) Summary: To add Crashlytics to your app, follow the instructions within their widget (plugin). This should show items such as Add code to the Manifest.xml Add code to your initial/startup Activity to initialize the Crashlytics system.

Categories : Java

Eclipse: Installing Android SDK...Losing java
try to download from here, you download the Eclipse with SDK installed. http://developer.android.com/sdk/index.html bellow you have other plataforms choose your 32/64, and download ADT is the one full.

Categories : Android

Installing JSDT jQuery plugin in Eclipse Kepler 4.3
Method 1 : Run Eclipse Help -> Install New Software Copy this link address and paste it on Work with section and hit Enter After a few seconds JSDT jQuery checkbox will be appears. Check JSDT jQuery and press next button and Next again.. Accept License Agreement and press Finish. Restart Eclipse Method 2 : Download and install SVN client for example TortoiseSVN Import the repository. Paste this URL https://svn.codespot.com/a/eclipselabs.org/jsdt-jquery/updatesite in the URL of the repository field. Then hit OK. After that : Run Eclipse Kepler Help -> Install New Software -> Add -> Archive Select ZIP file that was downloaded, and type a name. Click OK. Select JSDT Plugin check box and hit Next. Accept licence and press Confirm. Restart Eclipse UPDATE If you are unable to downl

Categories : Eclipse

Error occurred during installing Aptana 3 Eclipse plugin
The URL seems to be downloadable (for me). This might just be a transient error with the Aptana server, or it might conceivably be a networking error in your network, ISP, or national network. Try it again.

Categories : Eclipse

Installing Samsung Galaxy S3 driver to connect to eclipse?
You can try to unistall all drivers that you got and follow this steps: Download Kies Open Kies Connect your phone and windows will find all drivers that you need. After that you can uninstall kies if you want and the drivers will stay installed

Categories : Android

Android - Installing Pager Sliding Tab Strip in Eclipse
Do the following: File->New->Other Select Android Project Select "Create Project from existing source" Click "Browse..." and navigate to "PagerSlidingTabStrip-master" folder which you have downloaded from https://github.com/astuetz/PagerSlidingTabStrip Check "library"! (Uncheck "sample"). Make sure "Copy to Workspace" is checked as well. Click Finish. Now "library" is added to your workspace as a project. There are some errors detected but ignore them. You can right click on "library", go to "Refactor", and change it to "Lip_PagerSlidingTabStrip" (optional). Right-click on your project -> Properties In Android -> Library section, click "Add" Select recently added "library" project, click Ok and you're all set. Make sure "Is library" in this window is unchecked. EDIT If you have face

Categories : Android

error : Mylyn GitHub connector not installing on eclipse juno
That happens if your eclipse version is too old, as detailled in bug 365425 Make sure your Eclipse is at least 3.7 or more recent. The latest EGit 3.0.x would require an Eclipse Kepler 4.3.

Categories : Eclipse

No "JavaEE" perspective even after installing Web,XML,... in "Eclipse-for Java Developers edition"
Unless you have a reason to stay on Indigo, you could just download and install the Juno version of "Eclipse IDE for Java EE Developers" (http://www.eclipse.org/downloads) Keep your existing workspace (make a backup of it if you want). Install eclipse (unzip). Start eclipse and point it to your existing workspace. If you installed plugins for eclipse Indigo, you will need to install them again for the Juno version.

Categories : Eclipse

Extracting media properties in Java or Installing MediaInfo into Eclipse
You can check how filebot does this here: http://sourceforge.net/p/filebot/code/HEAD/tree/trunk/source/net/sourceforge/filebot/mediainfo/ You just need JNA and the mediainfo native lib.

Categories : Java

error installing Subclipse 1.8.x on Eclipse Java EE Juno SR2 64bit
The file is there, try it from browser. Must just be some kind of hiccup between Eclipse and the server or the network. Note that Subclipse also provides zipped p2 repository you can download. http://subclipse.tigris.org/archive/

Categories : Eclipse

How to debug selenium webdriver through eclipse using maven and junit
For your problem, I would suggest to run the JUnit test in Eclipse in debug mode (1) and adapt the configuration to add the needed system property (2).

Categories : Java

How to generate test reports using Junit+selenium+Eclipse?
Go through following link.click here contains step by step process. this works for me.

Categories : Java

Two almost similar Android projects having same project structure in eclipse not installing in my phone
You can't install two apps with the same package name: package="com.jungle.main" Change one of them and you'll be fine. See also: http://developer.android.com/guide/topics/manifest/manifest-element.html#package

Categories : Android

Selenium 2 ( WebDriver )+ Java + Maven + Eclipse Hello World Program Issue
Cannot reproduce. Here's how I did it (Eclipse 4.3 Kepler, Oracle JDK 7u25): I made a new Hello World Java project (right click in the Package Explorer -> New -> Java project): I named it Hello World and clicked Finish. I created a new package in the src folder named hello and a new class HelloWorld in it: I implemented the HelloWorld class and ran it (F11): I converted the project to a Maven Project (right click on the project -> Configure -> Convert to Maven Project), clicked Finish I fixed the errors Maven was throwing at me. It said "Project build error: 'artifactId' with value 'Hello World' does not match a valid id pattern.", so I figured Hello World might be invalid because of the space. I was right. Removing the space from Artifact Id and Group Id fixed the build. Be

Categories : Java

Executing Eclipse Selenium Webdriver Java Code in Command Line?
Have a look at the javac and java command line options. Heres what I did to run selenium tests without requiring eclipse or maven/ant. this compiles your class, with the jar file (i put it in the same directory, but ideally you will put the full path in the qoutemarks: javac -classpath "selenium-server-standalone-2.33.0.jar" Example.java Then you can run the generated class via: java -classpath ".;selenium-server-standalone-2.33.0.jar" Example Hope that helps.

Categories : Java

How to transfer my Eclipse Maven Selenium Webdriver TestNG Java project from one PC to another?
Just remove the class path file. Zip the entire folder and take it. Ensure when importing into your other eclipse import it as a maven project and not as just a simple java project. Your class path file contains all the path of the src and jar folders. since the path will be different in your other system you will get such errors.

Categories : Java

Installing SQL objects in C# - issue when installing CLR assembly and function scripts
I have now fixed this problem. The issue turned out to be that I was using the same SQLCommand later on to execute a stored procedure (as I have given the command a SQLTransaction so I can rollback if it fails) and had forgotten to remove the parameters that were added when I run the next text command. Therefore it was running the first script file and failing afterwards.

Categories : C#

Installing M2Crypto inside of virtualenv without installing swig to the system
So in the end I got this to work by letting buildout handle downloading and installing swig and M2Crypto and then just moving the built M2Crypto and EGG-INFO directories from where buildout put them to where virtualenv wanted them...this might not be the optimal solution, but hey, it worked.

Categories : Python

Installing setuptools prior to installing python dependencies on Mac
You command attempts to install files into system directories. You must execute the command as root or with sudo: sudo sh setuptools-0.6c11-py2.7.egg You can see this error with the: [Errno 13] Permission denied Edit: If you don't have permissions, you can try installing into your user's Library folder, or look at virtualenv. (See the part about using locally from source.)

Categories : Python

My current testcases are not working with new selenium 2.34.0 and php (edit added code and log file from selenium)
I'm not sure which library you're using for php-webdriver. From your code, I'm guessing Either Adam Goucher / Element-34 php-webdriver or an older version of the Facebook php-webdriver. It looks like there have been some changes in session handling for the WebDriver binaries, and those changes aren't reflected in the element-34 webdriver bindings yet. Where I'm using those, I've been able to patch the bindings just enough to get things working (This pull request looks like it's correcting the problem: https://github.com/Element-34/php-webdriver/pull/44). If you're using the Facebook bindings, they've recently been completely rewritten. Unfortunately, it probably means your tests are all broken until you update. The new facebook version works with WebDriver 2.34 for me here. See the

Categories : PHP

How to change selenium user agent in selenium-webdriver nodejs land?
The answer is that it is impossible. https://code.google.com/p/selenium/issues/detail?id=6189

Categories : Javascript

Selenium web driver error of Uninitialized constant Selenium::Webdriver
Try this out : driver = Selenium::WebDriver.for :firefox source

Categories : Ruby

What is the difference between installing an app via homebrew or installing it "normal"?
homebrew (like Macports) is a package manager. It allows you to manage packages (update, delete etc.). Most importantly, homebrew will compile the application on your platform. That's especially important for ports, e.g. from Linux. homebrew will give you greater and more fine grained control over what you install, where, what compilation attributes you want to use etc. But this comes at the cost of a bit more complexity and the need to know your way around the command line. Downloading a binary and putting it in the Applications folder is easier by far and usually works fine. If your not a developer and don't need to manage many different tools then I'd recommend sticking with binary downloads. If you're a developer however, you will most likely not get around a package manager if you n

Categories : Osx

Checking and Installing .net 4.0 before while installing my forms app in SharpSetup WIX
You can check if the .NET framework is installed by linking to the NetFxExtension with light. Just add a PropertyRef to the one you want. You can find a list of those properties here. Say you want to make sure .NET framework 4.0 Full is present before installing your software, you'd add this somewhere in your source code: <PropertyRef Id="NETFRAMEWORK40FULL" /> <Condition Message=".NET Framework 4.0 Full is not installed."> NETFRAMEWORK40FULL </Condition> When running the MSI, the LaunchConditions action will run and check if the NETFRAMEWORK40FULL property is set. If it is, the installation continues, if not, the installation fails. However, if you wanted to install the .NET Framework beforehand, you'll need two WiX projects. One for your basic MSI, and one for

Categories : Dotnet



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.