Articles Tagged 'shell'

Articles
Using RemoteLaunch to Execute a Powershell Script

This guide will cover how to initially install and configure RemoteLaunch (not RemoteLaunchX) and the Command-Line execution engine as well as creating and scheduling PowerShell script executions.  It will also cover how to pass data into PowerShell and receive test results.

RemoteLaunch v5.1.0.0 was used to create this guide.

 

How to run a PowerShell script in Rapise test

To run a PowerShell script use Global.DoLaunch action.

How to run a program as a different user

Sometimes a test needs to run a process as a different user (not the logged in user executing Rapise). It is not possible to use runas command for this purpose because it forces a user to type a password manually.  From this short article you will learn how to reach the goal.

How to run CMD shell commands

In some cases a test needs to run a Windows shell command (e.g. dir, ipconfig, gpresult) and capture/parse output. Learn how to do this in Rapise from this short article.