Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SAPGuiSession get the active SAPGuiWindow dynamically
#2
Solved: 10 Years, 4 Months, 1 Week ago
If I understand you question correctly....
We can use "ActiveWindow" method which will fetch the active window object. Then we have to use the "Text" method on the window object to get the name of the active window.
Code:
Set oActiveWindow = SAPGuiSession("SAP").ActiveWindow
Msgbox oActiveWindow.Text
Thanks,
SUpputuri


Messages In This Thread
RE: SAPGuiSession get the active SAPGuiWindow dynamically - by supputuri - 01-24-2014, 06:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using SAPGuiTable).SetCellData to Active cell. rhozeski 2 1,999 02-10-2020, 10:44 PM
Last Post: rhozeski
  How to dynamically find the OracleFormWindow? arpan 0 1,511 04-26-2017, 12:45 AM
Last Post: arpan
  How to click on all links dynamically in UFT? Rohan 9 17,992 02-25-2016, 10:42 AM
Last Post: vinod123
  How to Verify Static Object Text which is changing Dynamically with Expected Result johnny77 0 3,195 06-25-2015, 11:32 AM
Last Post: johnny77
  Dynamically run QTP script on multiple servers arpan 8 6,734 06-21-2013, 06:34 PM
Last Post: arpan

Forum Jump:


Users browsing this thread: 1 Guest(s)