Setting up and make the test running in Appium on Windows 7

10,394 views
Skip to first unread message

Mansi Dahisaria

unread,
Aug 14, 2013, 4:23:08 AM8/14/13
to appium-...@googlegroups.com
Hello,

I am into web automation for quite sometime using Selenium, but I am trying to learn (iOS and Android)mobile automation. I came across Appium.
But am finding it very difficult to set it up and make my test running on my Windows 7.

Can any one help me in this endeavour? If you can even point out some detailed documentation about such topics, it would be great. But I have read everything in sauce lab's documentation and sadly it was not of much help for me.

Any help from you guys would be highly appreciated.


Regards,
Mansi
Message has been deleted

Mansi Dahisaria

unread,
Aug 16, 2013, 3:18:33 AM8/16/13
to appium-...@googlegroups.com
Hello mummana,

Thanks! It was a great help :)

I just wann ask one more thing, through Appium inspector can we directly launch .apk file stored on my System?

I will list you what I have done.
1.I have installed Appium for Windows
2.Run the command npm install
3.Run the command reset.bat
4.Started the appium inspector (i.e appium exe)
5.In "Add path" I have given the path for my .apk file. (See the below screenshot)

\

6.then I clicked on "Launch" button.

BUT My application didn't Start.


Can You please Help me for the same.


Thanks!


On Wednesday, August 14, 2013 4:03:01 PM UTC+5:30, mummana subramanya wrote:
https://groups.google.com/forum/#!topic/appium-discuss/JtZ0u17DyLo follow the whole thread :) ull get the solution

mummana subramanya

unread,
Aug 16, 2013, 4:58:21 AM8/16/13
to appium-...@googlegroups.com
Hi mansi,
that appium.exe is not appium inspector , its an GUI to launch appium server,Well

Are u trying Android on Windows + Java???
then do following steps;

1. Go to appium.io site on your windows PC and download AppiumForWindows
2. Unzip it
3. Now, the folder contains Appium.exe file, run it by double clicking, it will look like,
 



4. No need to change the IP address and port number.
5.In your program set desired capabilities at starting like below,(following is java code),

        
        DesiredCapabilities capabilities = new DesiredCapabilities();
        capabilities.setCapability(CapabilityType.BROWSER_NAME, "Android");
        capabilities.setCapability("device", "Android");
        capabilities.setCapability(CapabilityType.VERSION, "4.2");
        capabilities.setCapability(CapabilityType.PLATFORM, "Windows");
        
        capabilities.setCapability("app", "C:\\Android Apps\\Calculator.apk");      //This is path of your application
        capabilities.setCapability("app-package", "com.calculator");                    // This is package name of your app
        capabilities.setCapability("app-activity", "MainActivity");                          // This Launcher activity of your app

    RemoteWebDriver remoteWebDriver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);


and then write your testcase.

5. Now Launch emulator or connect android device
6. Click on Launch button on appium.exe which you opened at step 3. (Make sure that first you have to connect device/launch emulator  and then launch Appium)
7. Execute your test cases
8) Dnt worry about the app it will automatically get installed in the device/Emulator if the app is not installed previously from app location .

"I don't make software,I make software better."


On Friday, August 16, 2013 12:48:33 PM UTC+5:30, Mansi Dahisaria wrote:
Hello mummana,

Thanks! It was a great help :)

I just wann ask one more thing, through Appium inspector can we directly launch .apk file stored on my System?

I will list you what I have done.
1.I have installed Appium for Windows
2.Run the command npm install
3.Run the command reset.bat
4.Started the appium inspector (i.e appium exe)
5.In "Add path" I have given the path for my .apk file. (See the below screenshot)

\

Mansi Dahisaria

unread,
Aug 16, 2013, 5:26:36 AM8/16/13
to appium-...@googlegroups.com
Hi mummana,

Thanks a lot.I am very new to Appium And so really getting confused as how to start my 1st app.

Yes I am using Android on Windows + Java (Eclipse).

I really want to know that, In the Appium GUI :), What should I specify in the "Path" field. I mean path of which file should be given?

It would be great if you can help me out for the same.

Thanks a ton :)

mummana subramanya

unread,
Aug 16, 2013, 5:34:27 AM8/16/13
to appium-...@googlegroups.com
dnt change/do anything in the GUI, cuz ull be specifying in the DesiredCapabilities . jusz follow the steps what i have posted 

I don't make software,I make software better.

Mansi Dahisaria

unread,
Aug 16, 2013, 6:05:36 AM8/16/13
to appium-...@googlegroups.com
Oh k 

Thanks! mummana. :)

Dan Cuellar

unread,
Aug 16, 2013, 10:55:53 AM8/16/13
to appium-...@googlegroups.com
You need the prelaunch flag if you want to start it from the GUI. Otherwise it won't launch until you connect.

Mana

unread,
Aug 19, 2013, 4:35:38 AM8/19/13
to appium-...@googlegroups.com
Hi Dan,

I am very new to appium, I even Don't know that from where to start writing my scripts?

I am using Ecplise to run my Webdriver test cases BUT Don't know how to make use to Ecplise to run the scripts for Appium??:(

Can you please let me know what Pre-Launch Flag??? means

If there is any step-by step approach is there to Write and Run my 1st script with appium on Windows 7

I will really appreciate if any help from this front.

Thanks! 

Dan Cuellar

unread,
Aug 19, 2013, 10:26:05 AM8/19/13
to appium-...@googlegroups.com
You'll need to write code to launch the appium server. After that everything is the same as Selenium tests. You just connect to the appium server and start automating.

LOKESH L R

unread,
Jan 22, 2014, 5:53:03 AM1/22/14
to appium-...@googlegroups.com
Hi   subramanya ,

     Can you please Tell me how to launch the inspector.

Thank  and Regards 
LOKESH L R

Bipin Tiwari Tiwari

unread,
Feb 3, 2014, 6:02:59 AM2/3/14
to appium-...@googlegroups.com
Hi,

Actually i used same as you mentioned above...
but there are lots of red marks appeared in above code.. so could you please tell me which file i needed to import or something else to do?

Thanks in Advance.

kamaljeet kaushik

unread,
Feb 6, 2014, 8:40:59 AM2/6/14
to appium-...@googlegroups.com
Hi
i am new to appium. i want to ask can we write a single script test using appium and run it on both android and ios.
thanks

Jonathan Lipps

unread,
Feb 6, 2014, 1:05:44 PM2/6/14
to kamaljeet kaushik, appium-...@googlegroups.com
sure, it's possible if your apps are designed similarly enough.

--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Message has been deleted

peepa

unread,
Feb 6, 2014, 6:23:54 PM2/6/14
to appium-...@googlegroups.com
@Bipin You need to have the selenium webdriver library in the dependencies and imported.

peepa

unread,
Feb 6, 2014, 6:26:02 PM2/6/14
to appium-...@googlegroups.com
@kamaljeet just be aware that you cannot run ios tests from Windows,you would need a Mac for that.

Bipin Tiwari Tiwari

unread,
Feb 7, 2014, 12:54:54 AM2/7/14
to appium-...@googlegroups.com
Hi Peepa,

Now,No Red marks in my code . :)

But, when i am running  my code on on my device (Version 4.3 ), then on apium server adb checking is appeared.
Code:
import java.net.MalformedURLException;
import java.net.URL;


import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.testng.annotations.*;


public class CalculatorTest {
 
WebDriver driver;
 
@BeforeClass
public void setUp() throws MalformedURLException{
 
     //Set up desired capabilities and pass the Android app-activity and app-package to Appium
     DesiredCapabilities capabilities = new DesiredCapabilities();
    capabilities.setCapability(CapabilityType.BROWSER_NAME, "Android");
    capabilities.setCapability(CapabilityType.VERSION, "4.3");
    capabilities.setCapability(CapabilityType.PLATFORM, "Windows");
    capabilities.setCapability("app-package", "com.android.calculator2"); // This is package name of your app (you can get it from apk info app)
    capabilities.setCapability("app-wait-activity", "com.android.calculator2");
    capabilities.setCapability("app-activity", "com.android.calculator2.Calculator");
    capabilities.setCapability("device","Android");
       capabilities.setCapability("deviceType","phone");
       // This is Launcher activity of your app (you can get it from apk info app)
       //Create RemoteWebDriver instance and connect to the Appium server.
       //It will launch the Calculator App in Android Device using the configurations specified in Desired Capabilities
    driver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);

}
@Test
public void testCal(){
    //locate the Text on the calculator by using By.name()
    WebElement two=driver.findElement(By.name("2"));
    two.click();
    WebElement plus=driver.findElement(By.name("+"));
    plus.click();
    WebElement four=driver.findElement(By.name("4"));
    four.click();
    WebElement equalTo=driver.findElement(By.name("="));
    equalTo.click();
    //locate the edit box of the calculator by using By.tagName()
    WebElement results=driver.findElement(By.tagName("EditText"));
           //Check the calculated value on the edit box
           assert results.getText().equals("6"):"Actual value is : "+results.getText()+" did not match with expected value: 6";
  }
 
 @AfterClass
 public void teardown(){
     //close the app
     driver.quit();

Jitendra Jagtap

unread,
Feb 8, 2014, 9:32:32 AM2/8/14
to appium-...@googlegroups.com
Hi, 

I am trying to run same code on my machine having windows 7
I am running test as Selenium Webdriver, TestNG test
I have connected Samsung S 4 having android version 4.3
but I am not able run test successfully and getting an error in eclipse console as below: 

-------------------------------------------------------------------------------------------------------------------------------------
[TestNG] Running:
  C:\Users\shweta.kawale\AppData\Local\Temp\testng-eclipse-670417498\testng-customsuite.xml

FAILED CONFIGURATION: @BeforeMethod setUp
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: A valid device type is required in the capabilities list) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 429 milliseconds
Build info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:12:12'
System info: host: 'PNEITSH51025LT', ip: '192.168.252.189', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_45'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:129)
at Calc.setUp(Calc.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:653)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

SKIPPED CONFIGURATION: @AfterMethod teardown
SKIPPED: testCal

===============================================
    Default test
    Tests run: 1, Failures: 0, Skips: 1
    Configuration Failures: 1, Skips: 1
===============================================


===============================================
Default suite
Total tests run: 1, Failures: 0, Skips: 1
Configuration Failures: 1, Skips: 1
===============================================

[TestNG] Time taken by org.testng.reporters.EmailableReporter2@158473e: 73 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@18eef25: 85 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@b40443: 14 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 24 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@121f956: 46 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@4e37fb: 36 ms



Please help me. 

Jitendra Jagtap

unread,
Feb 8, 2014, 9:35:49 AM2/8/14
to appium-...@googlegroups.com
Following are the desired capabilities I have set:
 DesiredCapabilities capabilities = new DesiredCapabilities();
   capabilities.setCapability(CapabilityType.BROWSER_NAME, "Android");
   capabilities.setCapability(CapabilityType.VERSION, "4.3");
   capabilities.setCapability(CapabilityType.PLATFORM, "Windows");
   capabilities.setCapability("app-package", "com.calculator"); // This is package name of your app (you can get it from apk info app)
   capabilities.setCapability("app-activity", "mainactivity"); // This is Launcher activity of your app (you can get it from apk info app)
        //Create RemoteWebDriver instance and connect to the Appium server.
        //It will launch the Calculator App in Android Device using the configurations specified in Desired Capabilities
   driver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);

Jitendra Jagtap

unread,
Feb 9, 2014, 5:02:41 AM2/9/14
to appium-...@googlegroups.com

Here are the snap shots attached about log.
device.PNG
log.PNG

Dhivya Rajaraman

unread,
Feb 18, 2014, 6:44:14 AM2/18/14
to appium-...@googlegroups.com

also 5th point is not clear for me..

Anand Reddy

unread,
Mar 3, 2014, 6:44:21 AM3/3/14
to appium-...@googlegroups.com
Hi Bipin,

Do the following code has to be written for calculator example? Do you have the source of the Calculator project with you? I believe it will be more helpful if you can provide a zip file with source code so it will be easy to execute the same.
I'm a newbie to Appium Automation framework and trying to understand how to use the same.

Thanks,
Anand


On Friday, 7 February 2014 11:24:54 UTC+5:30, Bipin Tiwari Tiwari wrote:

Jitendra kumar

unread,
Mar 6, 2014, 8:21:18 AM3/6/14
to appium-...@googlegroups.com
Message has been deleted

Jitendra kumar

unread,
Mar 6, 2014, 8:26:10 AM3/6/14
to appium-...@googlegroups.com
Hi Mansi,
 
Are you able to run your first test case if so please share the steps with us.
 
 
Thanks,
Jitendra

On Wednesday, 14 August 2013 13:53:08 UTC+5:30, Mana wrote:

Andrew Dinh

unread,
Mar 6, 2014, 6:33:15 PM3/6/14
to appium-...@googlegroups.com

1.      Download Appium:

a.           From appium.io

b.           Extract into a folder and place it in C:\

2.      Download and install ADT:

a.           Download ADT from Google

b.           Unzip ADT.  Note the ‘sdk’ folder address.

c.           Create ANDROID_HOME environment variable and point it to your ADT’s sdk folder.

d.           Add the paths to ‘tools’ and ‘platform-tools’ to your PATH variable

3.      Download node.js Windows installer from http://nodejs.org/download/ .  Install it.

4.      Download and install Maven

a.           Download the latest Maven version for your system from http://maven.apache.org/download.cgi

b.           Extract the downloaded file to a folder (recommend shortening folder’s name and moving it to C:\)

c.           If you don’t have Java JDK (not JRE) installed, download and install it.

d.           Create or edit a JAVA_HOME variable and point it to your JDK folder.  Then add %JAVA_HOME%\bin to your PATH variable.

e.           Create or edit an M2_HOME variable and point it to your extracted Maven folder

f.            Create or edit an M2 variable and point it to %M2_HOME%\bin

g.           Add both variables to your PATH

h.           To check that Maven is properly installed, open cmd window and type mvn –version

i.            Depending on the network your system is in, you might have to configure proxy settings for Maven to work.  Edit the proxy settings in the settings.xml file in the ‘conf’ folder inside your Maven extracted folder.  In particular, edit this section:

<proxy>

      <id>http_proxy</id>

      <active>true</active>

      <protocol>http</protocol>

      <username>proxyuser</username>

      <password>proxypass</password>

      <host>proxy.somecompany.com</host>

      <port>911</port>

      <nonProxyHosts>*.somecompany.com</nonProxyHosts>

      </proxy>

5.      Download the test assets and copy them into the Appium folder (In my group, I have created the test classes for them.  Sorry, I can't provide them here.  Maybe you can use the example test assets?)

6.      Open the Appium folder and double click on Appium.exe.  Then ‘Launch’ it with the default setting.  If it does not launch, then there might be a problem with your node.js server installation.

7.      Perform setup steps for your target application (in a separate document).

8.      Open cmd window and change directory to where your test assets are.

9.      Execute:

mvn clean install -Dtest=[Your test class, i.e., the .java file without the .java extension and square brackets]

Ravikanth Buddhiol

unread,
May 12, 2014, 1:50:40 AM5/12/14
to appium-...@googlegroups.com
Hi Andrew,

How to configure proxy settings for Maven to work? Do we need to un-comment the proxy tag?

The below one is default settings and proxy is commented:

  <proxies>

    <!-- proxy

     | Specification for one proxy, to be used in connecting to the network.

     |

    <proxy>

      <id>optional</id>

      <active>true</active>

      <protocol>http</protocol>

      <username>proxyuser</username>

      <password>proxypass</password>

      <host>proxy.host.net</host>

      <port>80</port>

      <nonProxyHosts>local.net|some.host.com</nonProxyHosts>

    </proxy>

    -->

  </proxies>

Ravikanth Buddhiol

unread,
May 12, 2014, 2:10:42 AM5/12/14
to appium-...@googlegroups.com
Can you please share any doc or video file for appium setup on windows 7?

Lukshica Dhayaparan

unread,
Jun 17, 2014, 1:28:30 AM6/17/14
to appium-...@googlegroups.com
Im using windows 7, Eclipse IDE,
My setup method is like this:  
public void setUp()  throws Exception{
  
    DesiredCapabilities capabilities = new DesiredCapabilities();
    capabilities.setCapability(CapabilityType.BROWSER_NAME, "Android");
    capabilities.setCapability("device", "Android");
    capabilities.setCapability(CapabilityType.VERSION, "4.4.2");
    capabilities.setCapability(CapabilityType.PLATFORM, "Windows");
    
    capabilities.setCapability("app", "C:\\Users\\lukshicad\\workspace6\\accountstracker\\accountstracker\\bin\\accountracker.apk");     
    capabilities.setCapability("app-package", "com.st.accounts");                  
    capabilities.setCapability("app-activity", ".ListAccounts"); 
    driver = new RemoteWebDriver (new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
    
  }

I followed the same instructions metioned in this forum. But still I am getting the error  like this :
> ERROR: error: Failed to start an Appium session, err was: Error: Bad app: C:\Users\lukshicad\workspace6\accountstracker\accountstracker\bin\accountracker.apk. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error: Error locating the app: ENOENT, stat 'C:\Users\lukshicad\workspace6\accountstracker\accountstracker\bin\accountracker.apk'
> info: Got configuration error, not starting session
> info: Cleaning up appium session
> info: Error: Bad app: C:\Users\lukshicad\workspace6\accountstracker\accountstracker\bin\accountracker.apk. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error: Error locating the app: ENOENT, stat 'C:\Users\lukshicad\workspace6\accountstracker\accountstracker\bin\accountracker.apk'
>     at null.<anonymous> (D:\TestAutomation\AppiumForWindows\node_modules\appium\lib\devices\android\android-common.js:53:13)
>     at D:\TestAutomation\AppiumForWindows\node_modules\appium\lib\devices\device.js:70:16
>     at Object.oncomplete (fs.js:107:15)
> info: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Bad app: C:\\Users\\lukshicad\\workspace6\\accountstracker\\accountstracker\\bin\\accountracker.apk. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error: Error locating the app: ENOENT, stat 'C:\\Users\\lukshicad\\workspace6\\accountstracker\\accountstracker\\bin\\accountracker.apk')","origValue":"Bad app: C:\\Users\\lukshicad\\workspace6\\accountstracker\\accountstracker\\bin\\accountracker.apk. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error: Error locating the app: ENOENT, stat 'C:\\Users\\lukshicad\\workspace6\\accountstracker\\accountstracker\\bin\\accountracker.apk'"},"sessionId":null}
> POST /wd/hub/session 500 13ms - 896b

help me on this
Thanks 

Isaac Murchie

unread,
Jun 17, 2014, 11:41:42 AM6/17/14
to Lukshica Dhayaparan, appium-...@googlegroups.com
Are you sure `C:\Users\lukshicad\workspace6\accountstracker\accountstracker\bin\accountracker.apk` exists? The Appium server is unable to find it.


--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/d/optout.

Isaac Murchie

unread,
Jun 17, 2014, 12:24:17 PM6/17/14
to Lukshica Dhayaparan, appium-...@googlegroups.com
Please keep the conversation on the Appium-Discuss list. 

I'm not sure what the cause is. The server is unable to find your apk file, for some reason.


On Tue, Jun 17, 2014 at 8:57 AM, Lukshica Dhayaparan <luks...@gmail.com> wrote:
my apk file is located there. The location of my apk file is right

Lukshica Dhayaparan

unread,
Jun 26, 2014, 4:34:13 AM6/26/14
to appium-...@googlegroups.com
I have a doubt  on using   driver, Some articles refering  RemoteWebDriver and some are refering AppiumDriver. Which one is the correct one. Bit confusing for me. Can somebody explain it. 
Im Using  like this : driver = new RemoteWebDriver (new URL("http://127.0.0.1:4723/wd/hub"), capabilities);

Thanks :) 

Isaac Murchie

unread,
Jun 26, 2014, 9:34:45 AM6/26/14
to Lukshica Dhayaparan, appium-...@googlegroups.com
If you are using Appium 1.0 or above, you ought to be using the AppiumDriver. Otherwise you should use the RemoteWebDriver.

See this thread:



--

Isaac Murchie

unread,
Jun 26, 2014, 9:34:57 AM6/26/14
to Lukshica Dhayaparan, appium-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages