shaiyoni
5 years agoOccasional Contributor
SwaggerHub On-Premise SMTP disabled
Hi, Can I set the SMTP to disable If I do not want to send messages in the system? Will the system work properly without sending messages? What are the implications for: 1. Invitations 2. Colla...
- 3 years ago
Hi prasath_2k
Since the JSON file is a text file you might want to compare files doing one of the following:
1. Use the Files.Compare method: Files.Compare Method | TestComplete Documentation (smartbear.com)
2. Do a simple line-by-line comparison of the contents. Reading each file using the aqFile.OpenTextFile method: aqFile.OpenTextFile Method | TestComplete Documentation (smartbear.com)
As AlexKaras stated JScript supports JSON, so you could read it into an object, but the comparison of objects can be difficult. Regardless, below is a screenshot, with code, that shows a JSON object created from a GIS Json file. It shows how to access each of the objects properties (i.e., features, geometry, rings, etc.).