Skip to content

⚠️ JSON File Elements Not Readable After Updating to Aquality.Selenium.Core v4.0.0 #274

@aarifsoudagar313

Description

@aarifsoudagar313

After updating Aquality.Selenium.Core from version 3.5.0 to 4.0.0, I started encountering issues when reading data from JSON files.

In version 3.5.0, I was able to retrieve values from JSON files without any problem. However, after upgrading to 4.0.0, the same code throws an exception stating that the JSON file cannot be read or the data cannot be retrieved.

This issue seems to be specifically introduced in version 4.0.0, since downgrading back to 3.5.0 resolves the problem.

Steps to Reproduce

Install Aquality.Selenium.Core 4.0.0

Define some test data in a JSON file, for example:

{
"UserName": "TestUser",
"Password": "TestPass123"
}

Try to retrieve data

Expected Behavior

The JSON file values should be correctly read and returned, same as in version 3.5.0.

Actual Behavior

An exception is thrown stating that the JSON file is not readable or values cannot be retrieved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions