selenium-grid

Distributed native test execution over android devices

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 19:47:11
问题 I need to execute a test suite in distributed mode over two android devices . i'm using appium and testng .Any one of you'll able to do so ? 回答1: Here you have a pretty good setup to use in your project: AppiumTestDistribution E.g., you build with Maven, then add dependencies to your project: <dependency> <groupId>com.github.saikrishna321</groupId> <artifactId>AppiumTestDistribution</artifactId> <version>09c4398</version> </dependency> <repositories> <repository> <id>jitpack.io</id> <url

Issue creating RemoteWebDriver instance in C# and SpecFlow

淺唱寂寞╮ 提交于 2019-12-25 12:54:09
问题 I'm banging my head against a wall trying to use a RemoteWebDriver instance in my selenium C# project. Whenever I run my test I get 'Object reference not set to an instance of an object' I started my hub with the following... java -jar "C:\Selenium Grid\selenium-server-standalone-3.4.0.jar" -role hub Started my node with the following... java -Dwebdriver.chrome.driver=C:\WebDrivers\chromedriver.exe -jar "C:\Selenium Grid\selenium-server-standalone-3.4.0.jar" -role webdriver -hub http://10.0

Issue creating RemoteWebDriver instance in C# and SpecFlow

不羁的心 提交于 2019-12-25 12:54:07
问题 I'm banging my head against a wall trying to use a RemoteWebDriver instance in my selenium C# project. Whenever I run my test I get 'Object reference not set to an instance of an object' I started my hub with the following... java -jar "C:\Selenium Grid\selenium-server-standalone-3.4.0.jar" -role hub Started my node with the following... java -Dwebdriver.chrome.driver=C:\WebDrivers\chromedriver.exe -jar "C:\Selenium Grid\selenium-server-standalone-3.4.0.jar" -role webdriver -hub http://10.0

Not able to add Cookies for IE8 browser (Java, Selenium Grid, WebDriver 2.41.0)

北城余情 提交于 2019-12-25 12:48:43
问题 I create remote webdriver as: URL hubUrl = new URL("http://172.30.234.216:4444/wd/hub"); DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer(); capabilities.setCapability(CapabilityType.ForSeleniumServer.ENSURING_CLEAN_SESSION, true); webDriver = new RemoteWebDriver(hubUrl, capabilities); In each test scenario I have a step which sets some value into Browser cookies. //.... webDriver.navigate().to("192.168.0.3:8060"); webDriver.manage().addCookie(new Cookie("parameter_name

password protection using selenium grid and remote nodes

跟風遠走 提交于 2019-12-25 08:22:58
问题 When using selenium grid with remote nodes, how can I execute commends on the node without passing information in the clear between the grid and the node? I access the site I am testing uses https, so communication between the node and the site is secure, but what about between the hub and the node? Is there any way to secure that? Has anyone tried port forwarding on both the hub and the node? 回答1: Thank you. With the help of that link and a little tinkering, I got it to work. In case it

Multiple WebDriver instances in Selenium without Grid?

一笑奈何 提交于 2019-12-25 02:28:06
问题 Is it possible to use multiple selenium webdrivers locally without using selenium grid to run multiple test at the same time? I am creating multiple instances by calling new FireFoxDriver() but the sessions in the windows seem to interfere with each other. The driver is created and destroyed by the JUnit-Methods shown below. For every Test-class there is one WebDriver but each testcase has a different execution duration. And after the first Test-class has finished and tearDownClass() from

Selenium Grid throws Parameter 'selenium.host' is required by @Configuration on method startServer

拜拜、爱过 提交于 2019-12-24 23:52:16
问题 On running Selenium Grid I am getting the below exception: org.testng.TestNGException: Parameter 'selenium.host' is required by @Configuration on method startServer but has not been marked @Optional or defined in D:\workspace\ALM05_PA\config\gridSuite.xml at org.testng.internal.Parameters.createParameters(Parameters.java:144) at org.testng.internal.Parameters.createParameters(Parameters.java:342) at org.testng.internal.Parameters.createConfigurationParameters(Parameters.java:78) at org.testng

selenium grid is not starting more than 5 sessions

[亡魂溺海] 提交于 2019-12-24 20:03:04
问题 I have done grid setup as follows: Hub: iMAC Started with: java -jar Downloads/selenium-server-standalone-2.52.0.jar -port 4444 -role hub Node1: Win8 system Started with: java -Dwebdriver.chrome.driver=chromedriver.exe -jar selenium-server-standalone-2.52.0.jar -role webdriver -hub http://192.168.1.103:4444/grid/register -nodeConfig Node1.json Node2: Win10 system Started with: java -Dwebdriver.chrome.driver=chromedriver.exe -jar selenium-server-standalone-2.52.0.jar -role webdriver -hub http:

how to emulate parallel multi-user usability testing with django and selenium/grid?

≡放荡痞女 提交于 2019-12-24 14:51:04
问题 I can get my Selenium tests running fine for one user/ sequentially on Django 1.4 using LiveServerTestCase, but I would like to emulate parallel multi-user testing. I don't think I need real load testing, since my apps are mostly moderate/low traffic web-sites and internal web-apps, so I would prefer to avoid extra tools like JMeter. I've started out setting up Selenium Grid but am not sure how to keep my tests independent and still run multiple tests with multiple users. I assume the test

Sikuli with Selenium Grid integration

北慕城南 提交于 2019-12-24 11:36:37
问题 I have integrated Sikuli with Selenium web driver and it works fine on my local machine. Now I want to execute same scripts in remote machines. my scripts are usually sikuli based i.e. there is hardly any web automation. the whole project is for automating desktop application running on different remote machines. think of POS Systems running on retail store. 回答1: As you already know that sikuli is an image based automation which finds elements by checking the base image against the current