This will not click on the button because your code is telling it to expand in the 3rd and 4th row where they say ResizeColumn and ResizeRow. You need to "click" on the button.
For example: SwfWindow("Xact 1.2").SwfWindow("Project Explorer - [Project").SwfObject("gridControl1").Click 464,150
if there is a better way of doing things let me know.
>Hi,
I can't click on button inside the cell using QTP 9.2. When I record the clicking on the button it records as below. Please view attached image. Clicking manually opens up the control inside the cell fine but when I play back the recorded script, it does not click on it. It just expands the cell size.
SwfWindow("Shell").SwfObject("THE GRID").SetCurrentCell 12,2
SwfWindow("Shell").SwfObject("THE GRID").SelectRange "R12",12,0,12,0
SwfWindow("Shell").SwfObject("THE GRID").ResizeColumn 2,2,220
SwfWindow("Shell").SwfObject("THE GRID").ResizeRow 12,12,115
Using Syncfusion Essential TestStudio & Studio Version 4.3.0.30.
cell0.zip