QAF3.0.0-beta-3 version throwing step not found error when data tag contains special characters

53 views
Skip to first unread message

Vimala

unread,
Jun 16, 2020, 9:58:03 AM6/16/20
to qaf users


Hi Chirag


In QAF3.0.0-beta-3  version When XML test data contains quotes (' or ")  or plus symbol ('+'), then framework is throwing step def not found error as below in webservice call step.

 

SCENARIO: TestScenario

       META-DATA: {"description":"verify negative response", "key": "data.invalidtest"}

              Given COMMENT: 'Test Scenario'

              When user requests 'testrequest' with data '${args[0]}'

       Then response should have status code '400' and status 'BAD_REQUEST'

              Then response should have value "object has missing required properties" at 'statusMessages[0].message'

       END

 

Test Data

<invalidtest>

                     <locationType>Summary</locationType>

                     <displayType></displayType>            

                     <message>FieldName: /initiatorInformation/channelInfo/GLEntityNumber : ECMA 262 regex "[0-9A-Z]{3,5}" does not match input string ""</message>

</invalidtest>

 

Error

Please provide implementation or ensure 'step.provider.pkg' property value includes appropriate package.

 

This works perfectly in QAF2.1.15 version

cjayswal

unread,
Jun 16, 2020, 11:29:36 AM6/16/20
to qaf users
This is possibly fixed. Will you try with snapshot and report a bug if problem exist with snapshot as well?

Vimala

unread,
Jun 17, 2020, 2:18:15 AM6/17/20
to qaf users
Chirag,

The problem exists with both 3.0.0-RC2 and 3.0.0-RC3

Thanks
Vimala

Chandrasekhar Rao

unread,
Jun 18, 2020, 1:30:31 PM6/18/20
to qaf users

Vimala- Try with below QAF SNAPSHOT version. Issue fixed in this version.

<dependency>
<groupId>com.qmetry</groupId>
<artifactId>qaf</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>

cjayswal

unread,
Jun 22, 2020, 6:24:33 AM6/22/20
to qaf users
Beta release available now. Try 3.0.0-beta-4.

गुरुवार, 18 जून 2020 को 10:30:31 पूर्व UTC-7 को, Chandrasekhar Rao ने लिखा:
Reply all
Reply to author
Forward
0 new messages