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


Problem with SAP GUI Button inside SAPGuiGrid - manishnangalia - 07-10-2012

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...


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

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


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

I am not able to find the properties of SAPGuiGrid as well


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

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


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

How can i get the column name it just shows button


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

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


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

it doesnt record nything while click on the button


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

Hi manishnangalia,
if possible please upload screen shot so that you can get solution for your query.


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

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


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

its for /SAPSLL/LCLICF01 - Create Auth. for Inward Processing
Transaction