YWinAppDriver icon indicating copy to clipboard operation
YWinAppDriver copied to clipboard

Notepad.exe Test failed

Open ZebinGao opened this issue 5 months ago • 3 comments

Image

app is launched, but match window is failed

ZebinGao avatar Jul 25 '25 05:07 ZebinGao

I try use forceMatchClassName like that: appCapabilities.SetCapability("forceMatchClassName", "Notepad");

it seems work.

ZebinGao avatar Jul 25 '25 05:07 ZebinGao

\YWinAppDriver\test\WinAppDriver.IntegrationTest\NotepadTest.cs seems has the same problem, sessionId returns null.

I copy the whole folder where notepad.exe is from C:\ to the D:\, and change the AppIds public const string Notepad = "D:\system32\notepad.exe";

ZebinGao avatar Jul 25 '25 05:07 ZebinGao

fix error, add another parameter

Image

ZebinGao avatar Jul 25 '25 06:07 ZebinGao