05-17-2007, 05:38 AM
I am having a terrible time with this...
I am trying to get the text of a field that has a child id. Unfortunately that child id is variable from login to login to this app
act child(2950816 "0855180" "WindowsForms10.STATIC.app.0.378734a" win("Commissure RadWhere" "WindowsForms10.Window.8.app.0.378734a") 0x1 961 215)
Sometimes it is 2950816, sometimes other numbers,
However if I take that child id out of the statement, QM can sometimes not find the window or gets the information from the previous window. It seems I HAVE to know that ID to get the text of this window.
I could identify it by xy coordinates but they change from time to time depending on the way the screen is set up.
I tried using child() function, but this seems to require the child id....
I also tried getting at it through Accessible element instead of window:
act child(2950816 "" "WindowsForms10.STATIC.app.0.378734a" win("Commissure RadWhere" "WindowsForms10.Window.8.app.0.378734a") 0x1 961 215)
But this also seems to need the child id.
Any ideas on what I may be doing wrong?
Stuart
I am trying to get the text of a field that has a child id. Unfortunately that child id is variable from login to login to this app
act child(2950816 "0855180" "WindowsForms10.STATIC.app.0.378734a" win("Commissure RadWhere" "WindowsForms10.Window.8.app.0.378734a") 0x1 961 215)
Sometimes it is 2950816, sometimes other numbers,
However if I take that child id out of the statement, QM can sometimes not find the window or gets the information from the previous window. It seems I HAVE to know that ID to get the text of this window.
I could identify it by xy coordinates but they change from time to time depending on the way the screen is set up.
I tried using child() function, but this seems to require the child id....
I also tried getting at it through Accessible element instead of window:
act child(2950816 "" "WindowsForms10.STATIC.app.0.378734a" win("Commissure RadWhere" "WindowsForms10.Window.8.app.0.378734a") 0x1 961 215)
But this also seems to need the child id.
Any ideas on what I may be doing wrong?
Stuart