Difference between noReset and fullReset?

@Aleksei

Hi,

I want to clear my app(IOS) cache so I provided the below capabilities:

i tried:
cap.setCapability(MobileCapabilityType.NO_RESET, “false”);
cap.setCapability(MobileCapabilityType.FULL_RESET,“false”);

But it’s not clearing the cache, I am trying below case:

Steps:

  1. I am starting my test script 1st time,adding item to cart next step is login and then checkout and then driver.quit()
  2. Now am starting my same script 2nd time, it’s skipping the login step
    add to cart and then checkout is coming directly because as I already logged in 1st time in the the app, Now 2nd time also I want same steps as I did 1st time that is add to cart login checkout and then driver.quit()
    but 2nd time its doing add to cart checkout, but not going to login

Can you please advice me how I can resolve this?

Regards,
Sanjay