Micro Focus QTP (UFT) Forums

Full Version: Problem with SAP GUI Button inside SAPGuiGrid
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hi All,

I am trying to record a transaction in which m not able to record a click of a button inside SAPGuiGrid, Is there anybody knows any workarounds to it...
Which transaction are you trying to automate. Please post your screenshot.

I usually use clickcell to click on a button inside SAPGUIGrid.

Code:
SAPGuiSession("Session").SAPGuiWindow("Display Purchase Order").SAPGuiGrid("GridViewCtrl").ClickCell RowNo,"ColumnName"
e.g.,

SAPGuiSession("Session").SAPGuiWindow("Display Purchase Order").SAPGuiGrid("GridViewCtrl").ClickCell 1,"Release Options"


Regards,
Ankesh
I am not able to find the properties of SAPGuiGrid as well
You can only see the properties of SAPGUIGrid. You can not see the properties for its row and column.

Did you try the code which i have posted?

Regards,
Ankesh
How can i get the column name it just shows button
As u said it is inside a SAPGUIGrid, there should be some row/column associated with it.

Record the button click and see.

Do post the recorded code.

Regards,
Ankesh
it doesnt record nything while click on the button
Hi manishnangalia,
if possible please upload screen shot so that you can get solution for your query.
Please post the full screenshot of the page. Also do let me know the transaction and steps to navigate till that step so that i can try on my system and give you the solution.

Regards,
Ankesh
its for /SAPSLL/LCLICF01 - Create Auth. for Inward Processing
Transaction
Pages: 1 2