browserstack

Protractor moves on to next test without waiting

大憨熊 提交于 2019-12-30 11:56:06
问题 I'm using protractor and when I run my tests on browserstack I receive the following error StaleElementReferenceError: stale element reference: element is not attached to the page document or depending on what I do in the beforeAll Error: Index out of bound. Trying to access element at index: 0, but there are only 0 elements that match locator By.cssSelector ... Here is the code snippet causing the error: describe('...', () => { it('...', () => { expect(element.all(by.css(...)).count()).toBe

front end development: web browsers differences when using browserstack

为君一笑 提交于 2019-12-25 04:26:38
问题 Scope: only front end issues (HTML, CSS, javascript) browsers/devices: desktop browsers (IE8+, Chrome, Firefox & Safari), ipad's browser (mobile Safari), mobile devices browsers (android, mobile safari) I have experienced unexpected differences between a page rendered in IE8 locally (IE8 installed on a physical machine) & the same page rendered in IE8 in Browserstack. This concerns the CSS properties filter and -ms-filter , more details on the comment of this answer: Cross browser rgba

Selenium/Protractor .NET test hangs when using BrowserStack iPhone on remote website

点点圈 提交于 2019-12-25 03:59:15
问题 I'm having issues testing iPhone on BrowserStack with tests written in C# with Selenium and Protractor-net. The test starts running and after it opens the webpage to my website, it just hangs and never moves on to the StringAssert step. There are no errors when this happens. I must manually stop my test and the session in BrowserStack to continue. I tried turning on logging from within BrowserStack's capabilities, but no errors are returning and the console log is empty. I've tried multiple

Ember.js - CircleCI - BrowserStack

烂漫一生 提交于 2019-12-22 09:39:07
问题 I try to connect together our cicleCI with browserstack and run our integration_test and unit tests not only with PhantomJS but on real Firefox and Internet Explorer as well, using Browserstack service. I try to configure browserstack-cli. I can run the test from circleci via tunnel on Browserstack, but never report back to circleci server. Could you please share your experience if you already played with this stack? Thank you very much! 回答1: The solution is to use BrowserStackLocal and

How to open dev tools in iOS emulator on Browserstack?

断了今生、忘了曾经 提交于 2019-12-21 09:04:21
问题 I am using iPhone 6 emulator with iOS 8.3 on Browserstack and I need to inspect the source code of the website I am woking on. How do I open developer tools in iOS emulator on Browserstack? 回答1: Browserstack now appears to support Dev Tools, but only on physical devices (those with a blue mobile icon, below). You activate the dev tools by clicking the button in the toolbar: As Alf Eaton mentioned in a comment below, some iOS devices now offer a choice of which browser to open (Chrome or

How to open dev tools in iOS emulator on Browserstack?

不羁的心 提交于 2019-12-21 09:03:06
问题 I am using iPhone 6 emulator with iOS 8.3 on Browserstack and I need to inspect the source code of the website I am woking on. How do I open developer tools in iOS emulator on Browserstack? 回答1: Browserstack now appears to support Dev Tools, but only on physical devices (those with a blue mobile icon, below). You activate the dev tools by clicking the button in the toolbar: As Alf Eaton mentioned in a comment below, some iOS devices now offer a choice of which browser to open (Chrome or

Unable to access Remote Webdriver to Browserstack using Codeception

巧了我就是萌 提交于 2019-12-19 11:04:31
问题 I am Writing scripts for Browserstack using PHP Codeception. Here it is my acceptance.yml file modules: enabled: - WebDriver config: WebDriver: url: 'http://www.google.com' host: 'hub.browserstack.com' port: 80 browser: Android device: Samsung Galaxy S5 deviceOrientation: portrait capabilities: 'browserstack.user': 'USERNAME' 'browserstack.key' : 'ACCESS_KEY' 'browserVersion': '21.0' 'browserstack.debug': 'true' But after run the program through the command line, it will be displaying as

How to properly set up Java/Selenium configuration to run automated tests?

南笙酒味 提交于 2019-12-12 08:45:42
问题 I am trying to set up selenium webdriver to work together with Browserstack with Java for automated testing. I installed the Selenium for java and I copied and pasted the code from browserstack's site https://www.browserstack.com/automate/java#configure-capabilities to set up an example automation test. I ran javac -classpath selenium-server-standalone-2.48.2.jar JavaSample.java from my terminal (JavaSample.java is the file with the selenium configuration code with the sample test) and I get

How to run TestNG test nodes in sequence but all inside classes in parallel for different browser capabilities?

我们两清 提交于 2019-12-12 02:23:06
问题 I want to run my automation suite (implemented using Selenium Webdriver (Java) + TestNG + Maven) in parallel against multiple browser capabilities. I can run it in parallel for different capabilities using below sample testng.xml <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <suite thread-count="5" name="Functional Test Suite" parallel="tests"> <test name="Windows-FF-37.0" preserve-order="true" > <parameter name="browser" value="Firefox"/> <parameter name="version" value="37.0"/>

Working with intern.js and browserstack, access the remote browser environment

时光怂恿深爱的人放手 提交于 2019-12-12 02:18:31
问题 I'm trying to perform a basic functional test: define([ 'intern!object', 'intern/chai!assert', '../Request', 'require' ], function (registerSuite, assert, Request, require) { var request, url = 'https://github.com/theintern/intern'; registerSuite({ name: 'demo', 'submit form': function () { return this.remote .get(require.toUrl('./fixture.html')) .findById('operation') .click() .type('hello, world') .end() .findById('submit') .click() .end() .setFindTimeout(Infinity) .findById('result')