vberesnev
vberesnev
> Hi @vberesnev , > I had an experience automating ClickOnce application using the WinAppDriver. > The main point of the solution is that you need to start your "C:\Path\To\My\ApplicationName.appref-ms"...
@mialeska Thank you, I will try your method and write feedback to you!
@mialeska I tried it: ``` //App is opened on the first page var parentElement = driver.FindElement(By.Name(_mainWindowTitle)); //Get application window as parent element parentElement.ClearCache(); // with this method and without it...
@mialeska I used Inspect.exe for find UI elements name, classe and id. So, then I open my app on the first page, I see elements for first page (and main...
@mialeska It seems I find the resolve of this problem! But it's too ugly, lol :) Using Inspect.exe I noticed that refresh of UI elements starts after mouse over one...
@splekhan Hello! moveToElement can't help you because WAD doesn't see needed element before reloading of UI elements tree. So, I'm using this crutch: ``` var parentElement = driver.FindElement(By.Name(_mainWindowTitle)); //Get application...
@splekhan As I know WAD should reload tree automatically. So, how I found this solution: I open my app, open Isnpect.exe, open second page (Insect did't reload tree), and I...
@splekhan My solution depends on app window, so if app will not be open full screen or place of elelment will be changed - my solution will go to trash...
> There is no refresh API supported WAD, u need to read it again. Thank you for your answer. Please, tell me what do you mean? You mean, that I...
Discussing of this issue on the page https://github.com/microsoft/WinAppDriver/issues/1161