inspired by @Sumo_Cev's question below, i tried it once with a contact form.

inspired by @Sumo_Cev's question below, i tried it once with a contact form. filled out the form, used find element/click for the submit button and passed 100%. but the message never arrived ... i had neglected to mark gdpr acceptance. changed this, tried again, worked. but then i looked at the submit button again and tried some scenarios - the button is invalid in the form if the form is not fully filled in and gdpr accepted, but in every scenario i get 100% passed from the dogq script when i click the submit button. in selenium you can use submit() instead of click() and get an error message if the form is not ready to submit - here i always get 100% passed even if the button is not clickable. Is this a bug or am I doing something wrong?

Klest
Klest
Plus member
Verified Purchaser
| Deals Bought: 217 | Member Since:
    Alyaksandr_DogQ
    Alyaksandr_DogQFounder team
    | Member Since:

    Hello,

    I would like to do a deeper look. Could you please send me(alex@dogq.io) the Scenario id or URL or the screenshot of the Scenario that doesn't work for you and I'll take a deeper look. We had such cases already several times and so far there have been no bugs on the DogQ side rather then the form, for example, was not fully filled(mandatory fields were empty) and so can't be sent.

    Thanks,
    Alex.

    Klest
    Klest
    Plus member
    Verified Purchaser
    | Deals Bought: 217 | Member Since:

    emailed the project-ID and Alex also replied immediately, looked at the problem and probably it's a peculiarity related to the way we fight spam via contact forms (we don't use captcha because of GDPR, but a special wordpress plugin that works great against bots with script code :-)).

    His idea to solve the problem anyway is as simple as successful: just check after the click() if a confirmation text is displayed (message was sent successfully). This of course always gives a correct return value and you can see if the script worked or throws an error. Fast support, even with development support - great!