Uploading image via File Upload

270 views
Skip to first unread message

Sahar Mahmood

unread,
Jun 28, 2021, 8:35:01 AM6/28/21
to QATrack+
Hi All,

I'm new to using QATrack. Is it possible to upload an image (JPEG, PNG etc) under File upload as part of the test without needing to do anything with it? It will be more for just a record. 
What is required as part of the code, if anything?

Thanks

Randle Taylor

unread,
Jun 28, 2021, 6:25:10 PM6/28/21
to Sahar Mahmood, QATrack+
If you don't need to do any processing, you can still use a file upload test (just use a calculation procedure like "result = 'ok'").  The other option is to add the file as an attachment when performing the test list.  See the docs here: https://docs.qatrackplus.com/en/stable/user/qa/performing_a_test_list.html#attaching-files-to-your-session

Randy

--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qatrack/843916e3-3848-4e8d-934b-1a0c77f04362n%40googlegroups.com.

Sahar Mahmood

unread,
Jun 29, 2021, 10:04:31 AM6/29/21
to QATrack+
It gives me a server error message when i try to upload an image. Not sure where or what needs to be changed. 

Randle Taylor

unread,
Jun 30, 2021, 10:09:51 PM6/30/21
to Sahar Mahmood, QATrack+
Can you be more specific about what option you are trying, and what steps you are taking before seeing the error?

Message has been deleted

Randle Taylor

unread,
Jan 25, 2022, 9:08:34 AM1/25/22
to Radha Soni, QATrack+
Hello,

You will need to upload the CT image set as a zip archive and then you can extract the files in memory using the Python zip library.  There's some discussion and examples of that here:  https://groups.google.com/g/qatrack/c/VBQI0jxz9B4/m/uOpZGeBWAgAJ

Hope that helps get you started.

RT

On Tue, 25 Jan 2022 at 07:09, Radha Soni <radh...@hotmail.co.uk> wrote:
Hello - sorry if this has been answered elsewhere but was wondering if it's possible to upload a series of images under one test.

 I have a folder which has a separate dicom image file for each CT slice which i'd like to run a snippet on as need I access to data from each slice so can't use a composite image, but I can't seem to find a way to upload the whole folder of images.
 I'm able to upload a single slice/image and run my code fine. I can also seem to ctrl+shift select all images/slices within the folder but this has the effect of overwriting each image upload so the resultant file upload is the final image.

Thank you!

Reply all
Reply to author
Forward
Message has been deleted
0 new messages