Skip to content

Commit 4131e39

Browse files
As per PR # 89 comments, placed reasoning for storing some values in the properties file.
1 parent 308407b commit 4131e39

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/utility-guides/LoadProperties.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ The Load Properties Utility can be used to retrieve values from a properties fil
77
- [Utility Guide: Load Properties](#utility-guide-load-properties)
88
- [Table of Contents](#table-of-contents)
99
- [How This Works](#how-this-works)
10-
- [Example Usage](#example-usage)
10+
- [Example Usage for Properties](#example-usage-for-properties)
1111
- [Using the Load Properties Utility](#using-the-load-properties-utility)
12-
- [Example Usage](#example-usage-1)
12+
- [Example Usage Python Code Block](#example-usage-python-code-block)
1313

1414
## How This Works
1515

@@ -27,7 +27,7 @@ To ensure that there are no mistakes when providing this input there are two add
2727

2828
To add values to the properties file follow the format:
2929

30-
## Example Usage
30+
## Example Usage for Properties
3131

3232
1. Properties files use key-value pairs because they provide a simple, organized, and flexible way to store configuration data.
3333

@@ -45,7 +45,7 @@ Why avoid hard coded values in tests?
4545

4646
4. Readability: It’s easier to see and manage all your test settings and data in one file.
4747

48-
5. Environment Flexibility: We can have different properties files for different environments (e.g., Dev, Test, Prod) without changing your test code.
48+
5. Environment Flexibility: We can have different properties files for different environments (e.g., Development, Test, Production) without changing your test code.
4949

5050
## Using the Load Properties Utility
5151

@@ -56,7 +56,7 @@ Here there are two fixtures:
5656
1. `smokescreen_properties` - which is used to load the file: tests/smokescreen/bcss_smokescreen_tests.properties
5757
2. `get_general_properties` - which is used to load the file: tests/bcss_tests.properties
5858

59-
## Example Usage
59+
## Example Usage Python Code Block
6060

6161
```python
6262
def test_example_1(page: Page, general_properties: dict) -> None:

0 commit comments

Comments
 (0)