In an RPA Testing project, you created the mock "MySequencemock" for the file "MySequence". You have to update "MySequence" and add a Log Message activity and a
Verify Expression activity.
What will happen to "MySequencemock" file when you save the project, assuming that the file is closed?
A mock file is a copy of a workflow file that is used for testing purposes, where some activities are replaced by mock activities that simulate the expected behavior1. A mock file can be created by selecting Mock workflow under test in the Create Test Case window2. The mock file is stored in the Project > Mocks folder, and it has the same name as the original workflow file, with the suffix ''_mock'' added2. For example, if the original workflow file is named ''MySequence.xaml'', the mock file will be named ''MySequence_mock.xaml''.
When a mock file is created, the changes made in the original workflow file are automatically applied to the mock file when the project is saved2. This means that any new activities or modifications in the original workflow file are reflected in the mock file, except for the activities that are surrounded by mock activities2. The mock activities are not affected by the changes in the original workflow file, and they can only be edited within the mock file2.
Therefore, if you update ''MySequence'' and add a Log Message activity and a Verify Expression activity, and then save the project, the changes will be applied to the mock file, assuming that the file is closed. This means that the mock file will also have the Log Message activity and the Verify Expression activity added, unless they are inside a mock activity
Jamal
1 days agoTimothy
5 days agoYen
9 days agoAileen
11 days agoTran
11 days agoTimothy
18 days agoNovella
20 days agoAlethea
2 days agoMartina
4 days ago