Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

survey testing with php

  • bismark
  • bismark's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 11 hours ago #181897 by bismark
survey testing with php was created by bismark
is it possible to test a survey with php?
I dont want to klick through a whole survey every time.
The topic has been locked.
More
5 years 1 hour ago #181917 by jelo
Replied by jelo on topic survey testing with php

bismark wrote: is it possible to test a survey with php?
I dont want to klick through a whole survey every time.

There is no automatic test mode like in other survey tools.
You will manual test it or need to use a generic testing suite for websites.
Sponsoring for such a feature is open ;-)

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #181931 by tpartner
Replied by tpartner on topic survey testing with php
You could use JavaScript to trigger clicks on elements, load text inputs, click the "Next" button, etc.

Details would depend on question types.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #181939 by holch
Replied by holch on topic survey testing with php
Welcome to the world of research. Automated testing can be a great help, but it won't be able to identify all specific problems of your survey. At least from what I know about these things.

I think there is no way around to test every possible branch of your survey at least once by clicking through it.

An automated tool would be great though, as a support and to give additional insurance that everything is alright.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
4 years 11 months ago #181942 by jelo
Replied by jelo on topic survey testing with php
bismark seems to be looking for something like this:
E.g. Qualtrics is offering a function to generate test responses.

www.qualtrics.com/support/survey-platfor...ting-test-responses/

Which e.g. will upload a test file when you have "file upload question".
It's most useful to find routing issues (e.g. questions which are never displayed).

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #181943 by DenisChenu
Replied by DenisChenu on topic survey testing with php

holch wrote: …
An automated tool would be great though, as a support and to give additional insurance that everything is alright.

Working on an old plugin (to evaluate again Equation question type) : the big question is «What this plugin can do : did it must check all relevance or not ?» It's one of the example of the php test survey system …

Even without any workaround …

Maybe
- Fill random value (according to question type)
- Empty value with relevance to 0/false
- Validate survey : show result : can be invalid or not …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago - 4 years 11 months ago #181946 by holch
Replied by holch on topic survey testing with php
Hmmm, I am not sure if the Qualtrics feature would do the trick. Depends a little how those test responses are generated. If they are generated directly in the database, then they might not uncover any routing problems. I had only a quick read and I couldn't figure out how those test responses are generated.

For testing screening, routing, branching, jumping (yeah, I know...), conditions, etc., I think you need some kind of robot that goes through your questionnaire and fills it randomly, I guess.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Last edit: 4 years 11 months ago by holch.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #181948 by DenisChenu
Replied by DenisChenu on topic survey testing with php
With a solution using Random + relevance + validateSurvey (can be done in plugin).
You can have finally : the group where it's invalid + (unsure on this) the validation error. Or if survey seems valid …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #181949 by holch
Replied by holch on topic survey testing with php
"Show verbose output: Show more details concerning each test iteration, including which questions and blocks were tested, which order the questions were displayed in, and whether randomization was applied."

OK, this part indicates somehow, that the test feature really goes through the questionnaire and doesn't just create answers in the database.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
More
4 years 11 months ago #181952 by jelo
Replied by jelo on topic survey testing with php

holch wrote: OK, this part indicates somehow, that the test feature really goes through the questionnaire and doesn't just create answers in the database.

Questback has a similar toolsi nce the beginning. It's not just filling the database. But i don't see LimeSurvey codebase ready for such a tool now. Mantis is full with issues more basic.

Even if you sponsor for X EUR, the feature won't come. It's like decorating the penthouse, while the groundfloor is not finished.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #181956 by holch
Replied by holch on topic survey testing with php
I don't think it was available in Questback back in my days, when it was still called Globalpark. At least I have never seen it or I have never heard of the programming team using it.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
More
4 years 11 months ago #181963 by jelo
Replied by jelo on topic survey testing with php

holch wrote: back in my days, when it was still called Globalpark.

In the German version called "Projekttest" and at least available since 2004.

You got a nice routing statistic with percentage usage. Would help in LimeSurvey a lot, when you have random parts and might have forgotten to update ExpressionScript to distribute to all questions.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose