Selenium automation running only in XP inside sauce lbs

Am new to selenium automation.Am trying to run selenium scripts inside sauce labs (Selenium version 2.44)

The tests are running succesfully in sauce labs

But the problem is i set the capability as Platform.WIN_8 .But inside sauce labs it is running in Windows XP with browser firefox. Why it is happening like this.Also i faced the same issue when i tired in linux or mac also.In sauce labs automation running only in XP if i selected any other platforms like VISTA Win7 Vista

@Before public void setUp() throws Exception { capabillities.setCapability("version", "5.0"); capabillities.setCapability("platform", Platform.WIN_8); capabillities.setCapability("browser", "firefox"); this.driver = new RemoteWebDriver( new URL("http://name:[email protected]:80/wd/hub"), capabillities); }

--------------Solutions-------------

I could assume that the problem hides into the Platform.WIN_8. Try to use caps.setCapability("platform", "Windows 8"); Here is a configurator which could help you to create caps for a correct configuration

Category:java Time:2018-12-30 Views:8

Related post

  • Silverlight 3 - Can I run Out-of-browser inside another application 2009-03-19

    The new Silverlight 3 beta includes the ability to run Out-of-Browser applications. The demos so far show this only inside a special frame. Does anyone know how I can run Siverlight 3 controls inside a (WPF) application? --------------Solutions------

  • Is it possible to run multiple DDL statements inside a transaction (within SQL Server)? 2009-06-25

    I'm wondering if it is possible to run multiple DDL statements inside a transaction. I'm specially interested on SQL Server, even though answers with other databases (Oracle, Postgre at least) could also be interesting. I've been doing some "CREATE T

  • protecting software to run only on one computer in vb.net 2010-03-04

    I have developed a small application and now i want to protect it. I want to run it only on my own computer and i have developed it for myself. How can i do that? --------------Solutions------------- A. Don't publish it. B. Hard-code your computer na

  • How do I run JUnit tests from inside my java application? 2010-03-30

    Is it possible to run JUnit tests from inside my java application? Are there test frameworks I can use (such as JUnit.jar?), or am I force to find the test files, invoke the methods and track the exceptions myself? The reason why I am asking is my ap

  • How to run an external SWF inside a Flex Application? 2010-04-26

    EDIT: Due to the answer I change the code posted. I've added the Security.allowDomain("*") line and that line throws me an error. So, how can that be made? I want to run an Action Script 3.0 Application into a Flex Application. To do this I've done t

  • selenium automation test in Linux problem: firefox can't be closed automatically 2010-12-03

    I am running automation testing for web GUI in Linux by selenium (selenium RC). In fact, I can run selenium automation test in windows, the results are fine and firefox can be closed automatically after test is finished. But when I put selenium test

  • Running the erlang vm inside a process 2011-04-18

    It's possible to run the erlang VM inside a process? I'm asking this because I'm trying to use some code using the erl_nif, witch is very cool indeed, but I have to send information back to the process that could possibily spawn the VM. The only appr

  • ant target to run only based on condition 2011-06-14

    Possible Duplicate: Ant task to check if a file exists? <target name="buildjunit"> <mkdir dir="${BUILD_TEST_DIR}" /> <ant antfile="build.xml" dir="${app}\dcs" target="compile-junit" inheritAll="false"> <property name="BUILD" valu

  • How to enforce a bookmarklet to run only once? 2011-09-10

    My bookmarklet consist of a call to a 'launcher' script that is inserted into body. As it runs, it inserts in a similar way more scripts (jQuery, the actual application), and a CSS. Bookmarklet javascript:(function(){ var l = document.createElement('

  • How to run only one instance of code in a firefox addon? 2011-12-08

    I listen for a onload event on a main window, then for a DOMContentLoaded event on each browser/tab (I need run the code inside a browser at the most) and flag with controlExecuted that the code was run on a browser. window.addEventListener("load", f

  • How to force C# .net app to run only one instance in Windows? 2008-10-08

    Possible Duplicate: What is the correct way to create a single instance application? How to force C# .net app to run only one instance in Windows? --------------Solutions------------- I prefer a mutex solution similar to the following. As this way it

  • Python unittest: how to run only part of a test file? 2009-07-01

    I have a test file that contains tests taking quite a lot of time (they send calculations to a cluster and wait for the result). All of these are in specific TestCase class. Since they take time and furthermore are not likely to break, I'd want to be

  • How restrict an application to run only from a known USB flash drive? 2009-08-19

    I need an application to run only from a specific USB flash drive. I made some test with the WMI Win32_Diskdrive class and the PNPdeviceID property. It is a very good idea to enroll the application into a license server (web services) with this data,

  • NSIS: Task Scheduler: Run only if logged on checkbox 2009-10-31

    I am having issues with setting up a scheduled task with NSIS. I will not know all of the passwords for the users I am setting up tasks for therefore I need the Run Only if Logged On checkbox checked to get around that. I do not have access to instal

  • Maven assembly plugin: run only one descriptor 2009-11-24

    I have a project which has several custom descriptors written for the assembly plugin. Is there a way to run only one of those descriptors at a time instead of the whole bunch? I tried using the descriptors switch as documented here, passing in the f

  • Is it possible to run only subsets of a Boost unit test module? 2010-01-22

    I am using the Boost 1.34.1 unit test framework. (I know the version is ancient, but right now updating or switching frameworks is not an option for technical reasons.) I have a single test module (#define BOOST_TEST_MODULE UnitTests) that consists o

  • How can I run only a specific test in a Perl distribution? 2010-02-04

    This question is related to this question I asked before. I have multiple test files (A.t, B.t, C.t etc) created to test their respective module A, B, C & so on. But when I do a make test, it runs all the tests. But, when I'm working on a specifi

  • Want event handler to run only once/ Designing state machine? 2010-02-16

    I have a web service with two methods: RetrieveFirstLevelOptions() and RetrieveSecondLevelOptions(int levelOneOption). The GUI contains two comboBoxes: FirstLevelOptionsCombo and SecondLevelOptionsCombo. I am having trouble with creating a control fl

  • Is it possible to run a Java program inside a Flex application? 2010-03-26

    I would like to be able to incorporate a simple game, written in Java as a component within a Flex Application. Am I crazy? Flex can display HTML, and SWF, it can also call JavaScript - but can I incorporate an applet somehow? I do NOT mean kludging

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 0.760 (s). 13 q(s)