I am using TestCafe to perform end to end testing in my project, and using browserstack to support cross-browser testing.
I was able to use browserstack for different browsers in Linux and Windows. But I was not able to test in browsers for mobile devices.
For eg. "browserstack:opera:Windows XP" works for opera browser in Windows XP. How to give the same for browsers in mobile devices. I tried checking browser supported with "testcafe -b browserstack", but did not get anything for mobile devices.
To run tests on mobile devices using TestCafe with BrowserStack, please execute the command as:
testcafe "browserstack:device_name#os_version" "/Users/abhishekmordani/Documents/stack/lang/node/TestCafe/samp_1.js"
You can refer the link for device names and os_version https://www.browserstack.com/list-of-browsers-and-platforms/js_testing
It appears that while Chrome on iOS is supported on BrowserStack Live, it is not available on BrowserStack Automate:
https://www.browserstack.com/question/659
Related
The “Publish” and “Publish later” options do not work/clickable-but-no-actions in Chrome (latest version 66) and Firefox (latest version 59) on AEM 6.3.1 CFP2 on Windows 8 and 10
The same works on Edge browser on Windows 10 and on all browsers on Mac.
We tried to disable all extensions on the browsers and try, but it did not help. The same worked on Windows 2016 Server though.
Anyone came across this?
After lot of testing, we identified the root cause.
Reason for the issues
The default setting in Chrome is "Automatic."
If the user touches on the touchscreen then it will process the action, but if they click with a mouse it will not respond. And this only happens with touch events on a touch-enabled Windows PC.
AEM is listening for the wrong event and it cannot be reproduced on a desktop PC or laptop with no touch screen because the browser will automatically disable the touch events feature anyway.
The user has to either disable the touch events feature of the browser or they can use their touch screen and physically tap on the publish button.
Resolution
Tested this on AEM 6.3, SP1, CFP 2
On Chrome
Type chrome://flags/#touch-events in your browser
Please set it to Disabled
Select Relaunch Now
On Firefox
Type about:config in your browser and click the accept button
Search for dom.w3c_touch_events.enabled
If it is set to 0, please set it to 2
I have a test websocket server written in c++ with qt. It listens on 2 ports, one for ws and another one for wss. Whenever i try to test connection to ws it usually works (except on Win10 with IE11 and Edge). However, the wss connection cannot be opened from Firefox, IE11 nor Edge. It works just fine with Chrome and Opera. It even (sometimes) works with IE11 on Win 8.1 and Firefox. But it never works with IE11 or Edge on Windows 10. It also doesn't work on Ubuntu with Firefox. I am getting a response like: {"trusted":"true"}. In the WebSocket monitor i see "Disconnected code 1006".
What could be the reason for not working on some browsers, and how to find the exact cause? I have a valid ssl certificate on the server where i am testing. Furthermore, if i try the echo test at https://www.websocket.org/echo.html it works as well.
Thanks in advance.
It's a Qt bug and can be fixed by patching Qt: https://bugreports.qt.io/browse/QTBUG-57665
I have to test a aspx web application with IE10; my problem is that I have a Windows 2003 server machine.
Is there any way to simulate the behavior IE10 on this kind of machine ?
I tried IETester but it doesn't allow me to run IE10.
Can be assumed that IE10 behaves similarly to some Chrome version ?
Can you please give me a hint
Thanks a lot
Marco
You could install IE10 in any other client, and test, rather than installing the browser in the server directly.
Alternatively, if you want to test for different versions of IE, you could check out Browserstack
We'd like to test our site in as many browsers as we can in our Continuous Integration server, in ios as well. We'd like to start the ios simulator with opening safari a url. We can start safari this way:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/Applications/MobileSafari.app/MobileSafari
But we haven't figured it out yet how to give the url as a parameter.
try -u:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/Applications/MobileSafari.app/MobileSafari -u http://www.google.com
It works Jan command, but you must correct the path to the SDK "iPhoneSimulator6.0.sdk".
I run the command to iOS 7 SDK and every time page which i want to open - is opened.
I have currently found a way to place the currently installation of Internet Explorer into kiosk mode using asp.net and VB
System.Diagnostics.Process.Start("iexplore", "-k " & "http://www.google.co.uk")
the "-k" parameter is the command that puts the browser into kiosk mode, however, other browsers such as chrome will only put the new instance of the page into another tab and firefox just opens the browser without loading the window.
I need to know what commands to pass so that chrome and firefox will respond in the same way as IE.
Many thanks
Chrome browser can do KIOSK mode with this command.
chrome.exe --chrome-frame -kiosk "your web page".
The good thing with Chrome is that you can build apps that can use the webkit animation and they look great for a KIOSK type applications.
It sounds like you might be interested in Windows Steady State, it's discontinued and doesn't run on win 7, but if you have XP or vista, it will let you lock down the PC nice and tight. This way you can restrict the use of programs to browsers you want (if you can't lock down chrome and ff) and on a reboot, it will clear any changes to the PC, basically returning you to a clean state status
Read more here: http://en.wikipedia.org/wiki/Windows_SteadyState