Skip to content

seniorQAautomationEngineer/file_parser

Repository files navigation


INSTRUCTION


Parser of json and xml files

1st Python method that takes arguments int X and int Y, and updates departdate and returndate fields in xml file in argument:

  • departdate gets set to X days in the future from the current date (whatever the current date is at the moment of executing the code)
  • returndate gets set to Y days in the future from the current date

2nd Python method that takes a json element as an argument, and removes that element from test_payload.json.

Additional requirement: Method accept additional arguments: depart_tag, return_tag, date_format, so that the method can modify dates in either test_payload1.xml or test_payload2.xml (attached).


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages