简体   繁体   中英

How to get AppCenter to run updated Xamarin.UITest scripts from VS?

My tests run in MS AppCenter just fine but I had to update my scripts with a different Username and Password to login. I made the updates in my VS Test.cs file and clicked saved. But every time I run the AppCenter test from Command Prompt my tests execute but end up with a Fail status because it's still using the prior Username and Password which is invalid. I run it locally in VS and the scripts work fine. How can I fix this?

I tried closing and reopening all applications. Tried new test runs. Is there a cache issue here? If so how do I clear it?

AppCenter is running with the old build. in my opinion after changing the password script you should build your project then run on the AppCenter

Figured out what my problem was. I was using the wrong build path to my UITest. So once I corrected the path in my AppCenter CLI script it began working as expected.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM