Question
Hoverstate Italia
IT
Last activity: 25 Jun 2021 8:58 EDT
HOW TO WRITE AN INDIPENDENT ENVIROINMENT TEST CASE FOR A DATA PAGE
Test Case on a Lookup Data Page
Scenario: I have a delegated Data Type called "Vehicle", this Data Type is associated with a lookup Data Page "D_Vehicle" with a mandatory input parameter called pyGUID.
Being the Data Type delegated, it will contain changing and temporary data (both in the Development and Staging environments).
I ran the Test Case for the Data Page having entered the key (pyGUID) of a record existing at that time in the Development environment as input having had a positive outcome (Passed).
Subsequently, when the record was no longer present, after relaunching the same Test Case I failed.
Objective: we want to automate the execution of Test Cases within a DevOps pipeline, we would like to understand how to create the latter in such a way as to always obtain "Passed" results (thus having Test Cases independent of the inputs entered being defined).
Thanks.