Hello Marco,
I’ve tried to execute your test but got the “403 Forbidden” page error.
Regarding your questions, please check my answers(Because I could not execute the test my answers are only based on the attached script and the final test’s results):
1. How to capture in the “Repository Explorer” a multiple selection menu like the one indicated in the field of the “Search Booking” screen?
Basically your way of doing it is a common way to do so.
2. I am sending my proof attached (see “MultipleChoiceFromList” view).
Note that as the number of selected items varies, the distance between the “listItem” object and the “lblLabel” changes!
I recommend to create a list which contains a lot more rows, this also includes 1 or 2 rows which will be right under the “lblLabel” object – In such case the list will be always below the “lblLabel” object.
3. How do I add an entry?
If I understand correctly the question, you are asking if there are extra rows of data in the appeared list and your list is limited to X amount of rows how do you set it to have more rows (And be able to have the newly appeared data)?
If this is the actual question then as you’ve written, the amount of listed values may change. therefore It is best to set the list with the maximum number of possible appeared rows, and in such a list you will always be able to find all newly appeared data.
4. In the attached example, I manage to add the first one but not the following ones.
How do I delete one of the selected items?
If this is a continued #3 question, then the answer is you do not need to delete anything, just keep the same long list (Even with empty rows of data) so it will be able to capture all possible appeared data (If you still want to change the amount or list’s rows you can always do it by updating “Rows” List Property, using the “SetProperty” method).
P.S. I’ve attached your testing script with an update of the list I think may work for you, which I’ve also added an Area object around the list to increase the ability to locate the required list(Name of the updated test: “Sasha List Update_multiple-selection.zap”), in the following shared drive link:
https://drive.google.com/file/d/1xz8xSWTc7yblp2NKgor76kM7Hhnd92O9/view?usp=sharing
Hope this helps,
Thanks,
ZAPTEST Team