Step by step testing guidance with final report

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
marco.deepak
Posts: 11
Joined: Fri Oct 02, 2020 10:24 am

Step by step testing guidance with final report

Post by marco.deepak » Wed Dec 30, 2020 4:22 pm

Hi everyone,

I'm thinking about trying to create a new software using LC to simplify some testing activities of mine, please tell me your thoughts. :-)

The idea is to create the following.

STEP 1
Step by step screens with indications for each test.
For example, PROXIMITY TESTING screen, with a static message "Do you have a 125Khz Proximity reader? if yes place a card near the proximity reader, does the media code appear on the screen? if yes press OK button", if the user presses OK the software switches to the next test.
If the Proximity device is not present the user can just press a "Not Present" button for that specific test.

I'm thinking of avoiding complex flows, using a straight approach, without "choices", at least to start with.

STEP 2
After completing all the tests, a final pdf-Word-Excel report should be generated with a list of everything that has been done and also those functions that were not present.
Somethins like the following example:
"SD card insertion check OK"
"2D barcode scanner test OK"
"Proximity reader NOT PRESENT"
and so on, based on what I pressed on each test screen in STEP 1.


Now, with regards to step 1, I think i have an idea of how to structure the screens, images and links betweek screens, but how can I deal with the PDF-Word-Excel report generation?.

Thanks in advance for your suggestions.

I'll take the chance to wish everyone happy 2021!!

Regards

M.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Step by step testing guidance with final report

Post by dunbarx » Wed Dec 30, 2020 5:10 pm

Hi.

Your best way forward here, I think, (and perhaps you already do as well) is to present a string of cards enumerating tasks and logging responses. Once the cycle is complete, a handler can gather all that data, and write to any other application.

Where do you need specific help? The reporting?

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Step by step testing guidance with final report

Post by FourthWorld » Wed Dec 30, 2020 5:51 pm

That sounds like an interesting and valuable project.

PDF support is built in, handled like printing. See the print command options in the Dictionary.

Word and Excel are a different story. Those are complex multi-part formats delivered in a Zip package. Change the file extension of any such document to .zip and poke around, you'll see what I mean.

You could create files in those formats, but it would be a lot of work.

Maybe simpler would be to export in intermediary formats that any office suite can handle, such as RTF for Word and tab-delimited for Excel.

LiveCode's rtfText field property will make the RTF export a breeze.

And anything displayed in a multicolumn LiveCode field is already tab-delimited, so that part's even easier.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

marco.deepak
Posts: 11
Joined: Fri Oct 02, 2020 10:24 am

Re: Step by step testing guidance with final report

Post by marco.deepak » Sat Jan 09, 2021 11:01 pm

Hi Craig, I was also thinking about the string of cards solution to get a hang of point 1.

The point of using a middle format such as rtf is really good, I will surely dig more.

Thanks for your help!

M.

Post Reply