Open jainchengithub opened 2 months ago
You need to create a root session and then switch to the pop up window.
How to create a root session? Do you have the code to do it?
Thanks!
Hi, if I want to open a excel file and save the test result (pass/fail) to related cell value, where can I find the sample code?
Hi, if I want to open a excel file and save the test result (pass/fail) to related cell value, where can I find the sample code?
Get test result value for mstest (something the same you can find for other runners): https://stackoverflow.com/questions/13201566/how-to-get-test-result-status-from-mstest Working with Excel https://www.mycplus.com/tutorials/csharp-programming-tutorials/read-write-excel-files-csharp/
**Hi,
My win app is "Gyro Multi Vendor SPEAR - Version 6.20.14". normal WinAppDriverUIRecorder XML Nodes has my win app included, so I can access.**
But I have a pop up window which does not include my win app name, how to use FindElementByAccessibilityId or FindElementByName etc. to access?
my C# code to declare sessionWinForm:
I use "var folder_win = sessionWinForm.FindElementByName("Browse For Folder");" error: OpenQA.Selenium.WebDriverException: An element could not be located on the page using the given search parameters.