Cylon.py

Latest version: v0.0.1

Safety actively analyzes 629678 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

1.0.0

- Fixed wait time when find element.
- Updated core libraries.
- Updated code style follow PEP8
- Addded unit test to core libraries.
- Added CLI command to update project files.


Commands:
...
update project Update project files to compatible
with current version.


NOTE: _Existing projects need to run update command above._

0.5.7

- Added keywords to enters date, Example:

feature
When user enters date 'today' to the [date input]
When user enters date 'tomorrow' to the [date input]
When user enters date next '3' days to the [date input]

When user enters date '2014-07-07 00:00:00' to the [date input] specific date time

0.5.6

- Fixed cylon CLI to working on Windows

0.5.5

- Added cylon CLI feature (experimental)


Usage:
cylon <command> [arguments]

Commands:
new project <name> Create new project directory.
new feature <name> Create new feature file.
new pageobject <name> Create new pageobject file.
run all Run test with all feature.
run tags <tags> Run test with specified tags.

0.5.0

- Added following keywords to support multi-line content

feature
When user enters following lines to the [element]
"""
This keyword can enters multi-line content to element.
1. line 1 content
2. line 2 content
"""

Then the [element] value is
"""
any multi-line content...
"""

Then the [element] value contains
"""
any multi-line content...
"""


- Added accept fail keyword feature

This feature allow scenario to continue running when the specified step was failed

To use this feature just add `, accept fail` sentence after normal keyword for example:

feature
Then the [option1] is selected, accept fail
Then user enters 'some text' to the [textbox] enters text to textbox either option1 was selected or not



- Added conditional keyword feature

This feature allow to combine two steps as conditional and execution step,
these two steps separated by `, ` (comma and one space)

If conditional step was passed it will continue running the execution step, else it will ignore for example:

feature
When the [input] value is '1', user selects the [option1]
When the [input] value is '2', user selects the [option2]

0.4.0

- Added keywords to support url path

feature
Given User has [ProductDetail/product1] page opened
Then The browser shows [ProductDetail/product1] page


To use above pattern you need to define `url_paths:` in page object file like this.

yaml
page:
name: ProductDetail
url: http://yoursite.com/product
url_paths:
- name: product1
path: /PID00001
- name: product2
path: /PID00002

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.