Articles Tagged 'selenium'

Articles
How to emulate keyboard and mouse via Selenium API in Rapise

Though Rapise can execute it's native recorded tests via WebDriver - some users prefer to write their tests in pure Selenium API. In this post we describe how to perform complex mouse and keyboard sequences via Selenium API in Rapise tests.

How to load Chrome browser extensions via Selenium profile

If you need specific browser extensions for running web tests you may specify them in Selenium profile.

How to set permanent user profile for Selenium - Chrome/Edge profile

When you are recording/running a test via Selenium browser profiles in Rapise - by default a new user profile is created when new instance of a browser is launched. It means that new browser instance starts with empty cache, no cookies, etc. Sometimes it complicates testing. If you are testing a Web application that requires SMS/Email code to authorize a browser then you will have to do it every time. Automation of  input of SMS/Email codes may be really hard. It is much easier to authorize a browser manually once and then run tests for long period of time. To make it work you will need to configure a permanent user profile for the browser used for testing. Learn how to do it for Chrome/Edge from this article.

How to set download folder for Selenium - Chrome profile

If your Web testing scenario includes file downloading you may configure `Selenium - Chrome` profile and specify which folder to use to store downloaded files. 

How to disable "Chrome is being controlled by automated test software" message

When you run a test with Selenium - Chrome profile the browser is launched with a warning message below the address bar. It can be disabled.

How to work with Shadow DOM via Native Selenium API in Rapise

If your scripting is style is writing JavaScript and using Native Selenium API and you wish to dig inside Shadow DOM - read this short article. Requires Rapise 7.3+

How to run cross-browser tests on BrowserStack

BrowserStack enables testing of your website for cross browser compatibility on real browsers. Instant access to multiple desktop and mobile browsers.  Learn how to configure Selenium  profiles in Rapise to enable connection to BrowserStack services.

Requires Rapise 5.3+

How to run cross-browser tests on AWS Device Farm

Learn how to configure Rapise to run cross-browser tests on AWS Device Farm.

Requires Rapise 6.7+

How to set size of a browser window

To ensure that web tests always run on a browser window of a specific size you may use different techniques.

How to specify Selenium or Appium capabilities which are not available through Rapise UI?

From this article you will learn how to pass additional parameters to Selenium or Appium target, even if they can not be specified in a profile.  This recipe can be also used to override parameters of a profile right from a test code.

Requires Rapise 5.3+

How to manipulate browser cookies using Selenium API in Rapise

If you run Rapise tests via Selenium WeDriver you may need to manipulate browser cookies. Learn how from this post.

Fixing the 'Method Not Found' error when using Appium for Mobile Testing in Rapise

If you receive the following error message when performing Mobile device testing with Rapise, this article provides the necessary solution:

Method not found:
'OpenQA.Selenium.RemoteCommandInfoRepository
OpenQA.Selenium.RemoteCommandInfoRepository.get_Instance()'.
 

How to run a cross-browser test on a mobile device?

Let's assume you have a cross-browser test which was created on desktop and can be successfully executed on any desktop browser (Chrome, Firefox, Internet Explorer, Safari). You want to execute this test on your mobile devices or emulators. Learn how from this article.

Requires Rapise 5.3+

How to run cross-browser and mobile tests on Sauce Labs?

Sauce Labs allows users to run tests in the cloud on different combinations of browser and OS versions as well as mobile devices and emulators. Learn how to configure Selenium and Mobile profiles in Rapise to enable connection to Sauce Labs services.

Requires Rapise 5.3+

Running Selenium WebDriver Scripts using RemoteLaunch and NUnit
This article explains the process for running Selenium WebDriver test scripts written in C# using NUnit, RemoteLaunch and SpiraTest.
Running Selenium WebDriver Scripts using RemoteLaunch and TestNG
This article explains the process for running Selenium WebDriver test scripts written in Java using TestNG, RemoteLaunch and SpiraTest.
Running Selenium WebDriver Scripts using RemoteLaunch and JUnit
This article explains the process for running Selenium WebDriver test scripts written in Java using JUnit, RemoteLaunch and SpiraTest.
Running Selenium IDE Scripts using RemoteLaunch
When you use RemoteLaunch with SpiraTest / SpiraTeam, you have the ability to run Selenium IDE scripts written in the Selenese format as well as WebDriver scripts run using specific language bindings. However the RemoteLaunch Selenium2 plugin only handles the Selenium IDE commands that have a corresponding Selenium WebDriver equivalent or ones that RemoteLaunch can handle natively (e.g. pause).