Forum Discussion

dhirendranaga's avatar
dhirendranaga
Occasional Contributor
10 years ago

How to retrieve displayed items from the window using clcikCellRXY() method on DevExpXtraGrid cell

1)Have a DexExpress XtraGrid displayed on Windows desktop application.

2)In a specific grid cell right clicked using ClickCellRXY(), which displayed a window with possible options to select.

3)Requirement is to check the displayed window has expected items only or not.

 

The window displayed post right click on the grid cell is as below

Sys.Process("Test1", 2).Window("#32768", "", 1)

 

When performed the right click on a cell, the sample window displayed in attached, requirement is to get the possible items(View/Amend..., Mark as Closeout, Mark as Exlclude...) and then validate and click the required item.

 

Please suggest.

 

 

  • Many thanks, i will try it. for the moment i clicked *ignore overlapping windows* :womanvery-happy:

  • NisHera's avatar
    NisHera
    Valued Contributor

     in this case there is nothing unusual ....consider that displayed a window as another window.

    use object spy to watch properties and make sure that has whatever you need and then click.

     

    Where exactly do you get stuck...?

    Forum can help to specific problems more accurately