Package co.nz.getskills.auto.appsteps
Class CliSteps
- java.lang.Object
-
- co.nz.getskills.auto.appsteps.CliSteps
-
public class CliSteps extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CliSteps(TestContext testContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidi_execute_shell(java.lang.String shellCommand)voidi_execute_shell_fill(java.lang.String shellCommand)voidi_execute_shell_fill_with_variables(java.lang.String shellCommand, java.lang.String environment_variables)voidi_make_shell_fill_executable(java.lang.String shellCommand)voidi_see_in_shell_output(java.lang.String expectedShellOutput)voidi_see_result_code_in_shell_output(java.lang.String expectedShellOutputCode)voidweb_alert()
-
-
-
Constructor Detail
-
CliSteps
public CliSteps(TestContext testContext)
-
-
Method Detail
-
i_execute_shell
@When("^CLI - I execute shell command (.+)$") public void i_execute_shell(java.lang.String shellCommand) throws java.lang.Exception- Throws:
java.lang.Exception
-
i_execute_shell_fill
@When("^CLI - I execute shell file (.+)$") public void i_execute_shell_fill(java.lang.String shellCommand) throws java.lang.Exception- Throws:
java.lang.Exception
-
i_make_shell_fill_executable
@When("^CLI - I make shell file (.+) executable (.+)$") public void i_make_shell_fill_executable(java.lang.String shellCommand) throws java.lang.Exception- Throws:
java.lang.Exception
-
i_execute_shell_fill_with_variables
@When("^CLI - I execute script file (.+) with environment variables (.+)$") public void i_execute_shell_fill_with_variables(java.lang.String shellCommand, java.lang.String environment_variables) throws java.lang.Exception- Throws:
java.lang.Exception
-
i_see_in_shell_output
@Then("^CLI - I see in shell output (.+)$") public void i_see_in_shell_output(java.lang.String expectedShellOutput) throws java.lang.Exception- Throws:
java.lang.Exception
-
web_alert
@Then("^I create a web alert$") public void web_alert() throws java.lang.Exception- Throws:
java.lang.Exception
-
i_see_result_code_in_shell_output
@Then("^CLI - I see shell command result code is (.+)$") public void i_see_result_code_in_shell_output(java.lang.String expectedShellOutputCode) throws java.lang.Exception- Throws:
java.lang.Exception
-
-