Home Get AWS device farm test video URL link in to my test management tool (Practitest)
Reply: 1

Get AWS device farm test video URL link in to my test management tool (Practitest)

wajid khan
wajid khan Published in 2017-09-14 05:49:26Z

I am working on appium java TestNG with maven and I run the script on device farm.Device farm generates 3 o/p in the form of logs, videos, and screenshot. My target is to get videos URL into practitest. This is my test management tool. So my question is how can I get videos URL link of Device farm test videos?

billy Reply to 2017-09-22 23:33:53Z

AWS Device Farm has an API called ListArtifacts. http://docs.aws.amazon.com/devicefarm/latest/APIReference/API_ListArtifacts.html

This API will return a list of artifacts(files, screenshots, and logs). Each artifact will have a URL so you can download the file. Each artifact also contains a type, so you can iterate through the list of artifacts and find the ones where type is "VIDEO".

Caveat: There is a difference between the "type" parameter in the ListArtifacts request and the "type" property returned in the Artifact object. The type in ListArtifacts request only allows three values: FILE, LOG, SCREENSHOT. However, the type property in the Artifact object has several possible values that are documented here: http://docs.aws.amazon.com/devicefarm/latest/APIReference/API_Artifact.html

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.303674 second(s) , Gzip On .

© 2016 Powered by cudou.com design MATCHINFO