Unable to remove specific pagelist
I tried to remove some pagelist in the following senario.
*Condition
pyWorkPage
---List(1)
---List(2)
---List(3)
---List(4)
*I would like to remove from List(2) to List4.
and I tried to specify the index number as 4 at first like below, but not working because only List(1) is deleted..I need to keep only List(1), but List(1) is removed..
1. Property-set
Index = 4
For each pages..
2. Page-remove List(Index)
3. Index = Index -1
Please give me some advice.
I really look forward to your reply.
Best regards,
***Edited by Moderator Marissa to update Platform Capability tags****