Shakevg

Results 62 comments of Shakevg

[Arulpriya](https://github.com/Arulpriya) What do you mean to Debug? Why you cannot use standart methods of your IDE?

[Arulpriya](https://github.com/Arulpriya) Did you try to access to each grid by index: ```csharp var grids = _driver.FindElementsByAccessibilityId("Grid1"); var grid1 = grids[0]; var firstCellValue = grid1.FindElementByName("GridCell_R1_C1"); actions.MoveToElement(firstCellValue).ContextClick().Build().Perform(); var grid2 = grids[1]; firstCellValue...

[Arulpriya](https://github.com/Arulpriya) Could you post Session.PageSource here or screen with 2 grids

@vijayarasan I mean need to see how it looks like in inspector.exe (screen from inspector)

@vijayarasan Grids looks different. Can you try to save PageSource: session.PageSource And check grids are available there with expected properties because real available XML can be different with Inspector

@vijayarasan Your grids have different AutomationId The next code should work: ```csharp var grid1 = _driver.FindElementByAccessibilityId("gridControl2"); var firstCellValue = grid1.FindElementByName("GridCell_R1_C1"); actions.MoveToElement(firstCellValue).ContextClick().Build().Perform(); var grid2 = _driver.FindElementByAccessibilityId("gridControl1"); firstCellValue = grid2.FindElementByName("GridCell_R1_C1"); actions.MoveToElement(firstCellValue).ContextClick().Build().Perform(); ```

**Final working method:** ```csharp /// /// Create session for already running app /// /// Part text of app process name or app title to search in running processes /// Session...

I think something like that: https://superuser.com/questions/914782/how-do-you-list-all-processes-on-the-command-line-in-windows https://thispointer.com/python-get-list-of-all-running-processes-and-sort-by-highest-memory-usage/

@bswhb You can do not call session.quit(), the app should continue to work (it works for my app). But I don't know safely closing session method, maybe: `session=null;`

I used cached class property for each control and parent controls also and IWebElement to check is cached control exists. ```csharp public class LoginPage { private IWebElement userNameField; private IWebElement...