Micro Focus QTP (UFT) Forums
Problem with SAP GUI Button inside SAPGuiGrid - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Problem with SAP GUI Button inside SAPGuiGrid (/Thread-Problem-with-SAP-GUI-Button-inside-SAPGuiGrid)

Pages: 1 2


RE: Problem with SAP GUI Button inside SAPGuiGrid - Ankesh - 07-11-2012

/SAPSLL/LCLICF01 -- Is this a transaction code?

I can not open this. Getting the message function does not exist.


RE: Problem with SAP GUI Button inside SAPGuiGrid - manishnangalia - 07-11-2012

this might be customized thing. attached is the screen the grid marked with red is the buttons to be clicked...


RE: Problem with SAP GUI Button inside SAPGuiGrid - Ankesh - 07-11-2012

Ok.. i could not chk this on my system then.

Is there any shortcut key associated with these buttons, if you place ur mouse over the button, probably it will display if any shortcut key is assigned to it or not.

If shortcut key is there then use the sendkey method to click on this. See the below example.

Code:
SAPGuiSession("Session").SAPGuiWindow("Data Browser: Table S776:").SendKey F8

Regards,
Ankesh

can u chk the property list which appers after dot
Code:
SAPGuiSession("Session").SAPGuiWindow("Data Browser: Table S776:").SAPGUIGrid("").object.<List of properties will appear>

Chk those property and see if you can use any of them.


RE: Problem with SAP GUI Button inside SAPGuiGrid - manishnangalia - 07-12-2012

By using
Code:
SAPGuiSession("Session").SAPGuiWindow("Create Inward Processing_2").SAPGuiGrid("Foreign Trade Organizational").Object.GetToolbarButtonTooltip(2)

am getting the tooltip and if i want the Id m getting by using GetToolbarButtonId(2) but how can i click that button not able to do dat can anyone pls help


RE: Problem with SAP GUI Button inside SAPGuiGrid - manishnangalia - 07-12-2012

[quote='manishnangalia' pid='21881' dateline='1342076628']
By using
SAPGuiSession("Session").SAPGuiWindow("Create Inward Processing_2").SAPGuiGrid("Foreign Trade Organizational").Object.GetToolbarButtonTooltip(2)

am getting the tooltip and if i want the Id m getting by using GetToolbarButtonId(2) but how can i click that button not able to do dat can anyone pls help
[/quote

Does anyone has ny idea about this