Last active
October 3, 2020 00:00
-
-
Save akrnmd/bd5869983b6cbddb3d5573c4734f532f to your computer and use it in GitHub Desktop.
UseGherkinSample. #SenseTalk #eggplant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* add to file of "UseGherkinSample.feature" *) | |
//Feature: Get Screen Capture | |
// Scenario: Get Screen Capture | |
// Given connect "localhost" | |
// When get screenshot | |
// Then disconnect "localhost" | |
(* UseGherkinSample.script *) | |
to handle connect_STR | |
params str1 | |
connect str1 | |
wait 10 | |
end connect_STR | |
to handle get_screenshot | |
CaptureScreen(Name: "MyCaptureImage", increment:yes) | |
end get_screenshot | |
to handle disconnect_STR | |
params str1 | |
disconnect str1 | |
end disconnect_STR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment