I can not import swagger URL with UFT 12.52

  • Questions
  • I can not import swagger URL with UFT 12.52
Question ID: 106726
1
0

I am getting the error "Invalid Swagger description file: ‘swagger’ element is missing" when attempting to import using UFT 12.52.

![alt text][1]

[1]: /storage/temp/421-2016-03-16-2302.png

Marked as spam
Posted by (Questions: 22, Answers: 6)
Asked on March 17, 2016 3:04 am
102 views
Answers (1)
1
Private answer

I would check the version of Swagger that was used. If the JSON starts with:

{''swaggerVersion'':''1.

Then you are using a version of swagger that is not supported by UFT. Swagger 2.0 was supported with UFT 12.52 when released. Version of swagger before 2.0 have different structure.

Tom

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on March 17, 2016 3:08 am
EyeOnTesting