Question

1
Replies
852
Views
PallaviM2981 Member since 2015 2 posts
Mphasis Pvt. Ltd.
Posted: March 23, 2018
Last activity: March 26, 2018
Closed

Unit Test Case for DATA PAGE

Hello Everyone,

we are trying to get an insight for implementing AUT in our Application.

For Data page for the Data Source as Activity(This activity sets property in the PYworkpage after receiving the response from external system)

however while creating Assertion type for Data page we understood that the user should hardcode the expected values as assertion types.

however this will be different for everytype of workobject we would create since they will receive variable responses as per their types. and we would need to create new testcase each time.

also since the activity is a data source hence untill the data is not present in the pyworkpage the testcase fails, we have to create a new activity with a set of hardcoded values to be set on the pyworkpage and then the testcase works.

that means our scenario doesnt qualify for UNIT TEST.

Please correct my understanding and provide your suggestion for better workarounds for UNIT TEST IMPLMENATATION.

Thanks,

swagat

DevOps Low-Code App Development Testing Applications
Moderation Team has archived post
Share this page LinkedIn