Can I run tests written Robot Framework in Browserstack for automated testing?
If BrowserStack does not support it which framework supports it?
Sauce labs
Perfecto
Kobiton
Headspin
Also, I am wondering whether other frameworks support Robot with Appium or not.
Yes, you can use Robot Framework with Appium on BrowserStack's Automate as well as for App Automate on real devices.
For reference and walkthrough guide, please refer to the documentation here:
https://github.com/nithyamn/bstack-robot-framework#automate
https://github.com/nithyamn/bs-robot-framework#app-automate
Hope this helps.
Regards,
BrowserStack Support
You can use Robotframework with Sauce Labs, here are some code examples:
https://github.com/saucelabs-training/demo-python/tree/main/examples/robotframework
Related
At our company, we maintain a legacy Android application which uses Crosswalk to embed a web view. We would like to implement automated end-to-end tests for this app using Appium and ChromeDriver.
Unfortunately, the version of Chrome used by Crosswalk is modified in such a way that ChromeDriver cannot connect to it. This is a known issue, and the recommended workaround is to use a custom patched version of ChromeDriver instead.
This solution works for running tests locally. But BrowserStack doesn't seem to allow for supplying a custom build of ChromeDriver. I can choose from a set list of versions, but that won't help, as none of those versions have the Crosswalk patch.
Is there a way to make this work with BrowserStack?
I had used BrowserStack for my native app tests as well. Currently, they do not provide any custom capability to select the ChromeDriver version.
Have gone through several Appium Desktop tutorial but all of them only showed how to manually test in the inspector window.
Does Appium desktop support automation test scripts? If so, how to send my tests written in node to it, or is there a handy npm package for the connection?
Thanks!
Finally connected webdriver to appium. Turns out webdriver can also be used for mobile testing.
Here are several points got me confused, hope it can help those who came into the same scene:
webdriver is not web exclusive - it can also be used for mobile e2e testing.
Appium server and Appium inspector do not necessarily work together. Once the server is started, it can be connected by an appium inspector or other services, e.g. webdriver.
Inspector is mostly for manual inspection. So far I haven't seen the possibility to supply automation test scripts to it.
And here's a complete walkthrough to those who're not familiar with Appium.
Is there any API documentation available for Perfecto Selenium and appium plugins
as we have API for android with Google https://developer.android.com/reference/packages.html
Saravan,
Perfecto extend Appium and Selenium in the following way:
- All Appium & Selenium API should be supported by Perfecto - It should work in the same way that it works with standard Selenium remote web driver or Appium.
- The only thing you should do in order to run your test on Perfecto cloud is to change the driver to run on Perfecto cloud.
- Perfecto extend and add additional capabilities leveraging standard executescript function - You can read more here : https://community.perfectomobile.com/posts/1010994-perfecto-proprietary-features-commands
- The way that Appium & selenium support was designed is that the server is on Perfecto cloud which provide the ability to support new OS versions and devices once they are released (including beta versions).
Just to be fair - I work at Perfecto.
Is Selenium paltform specific. If yes then how can I develop a cross-platform specific application with it by first identifying the platform and then call the platform-specific selenium routines.
The IDE is a firefox plugin, but you can develop tests in multiple languages, which run on and against multiple platforms (including multiple browsers). Not really sure what you're trying to accomplish, but hopefully that helps.
Selenium is platform independent. This is because you run a Selenium RC server (which is a java application and hence can be run on any platform). Then you send selenese commands to the server which controls the testing activity on the browser. To send the selenese commands you can use any language (such as Java, PHP, Ruby etc). Now this again does not limit you in any way to a certain OS.
If you are using the Firefox plugin IDE to run the test cases then of course the platforms supported would be limited to platforms supported by Firefox.
Hope that answers.
I may be misunderstanding your question, but:
With Selenium RC (or Grid, more specifically), you can specify what platform you want your test to run on. Each node registers with the hub under a particular platform, and each test's DesiredCapabilities can request a platform.
As the other answers have stated, Selenium itself is platform independent but you can run your tests on a by-platform by-browser basis. Either way, the tests (in theory) should look the same and use the same native Selenium commands.
I am not so familiar with Selenium, but it looks to me that it works almost everywhere where you can install Firefox 2+.
Platforms Supported by Selenium
I'm using Selenium for a project that runs under Windows and Ubuntu. The only platform specific code is for starting the environment where it executes (headless X server under Ubuntu) and starting the Selenium jar file. The rest is all platform independent. I don't know if this will also work as smoothly when you try to use different browsers (I'm using Firefox on both platforms).
Have anyone come across open source tools/framework for Webkit browser test automation?
There is (not tried) WebAii Automation Framework where the current Beta 2.0.0.1 has Safari 3 support added on windows (it's free but I don't think it's opensource).
If you want do it yourself:
On Apple you should be able to script it AppleScript or from
MAC OS X > 10.4: there is Automator
On Windows you might consider using P/Invoke and looking at the WinLauncher tool from WebKitTools
I haven't seen a framework to run the tests but if you're looking for input to test against there is Ian Hickson's adhoc and evil test suites in addition to the traditional acid tests.
Which WebKit? Selenium seems to have drivers for several WebKit-based browsers.
WebKit itself has a test suite, to be implemented by each platform, which the WebKit documentation calls DRT or DumpRenderTree (see also LayoutTestController).