Micro Focus QTP (UFT) Forums
Selecting a cell in the grid - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Selecting a cell in the grid (/Thread-Selecting-a-cell-in-the-grid)



Selecting a cell in the grid - Raj20091 - 09-24-2009

Hello,
I am trying to use a variable to select a cell in the grid, as shown below(RowCount), but getting an error. What is the correct syntax

Code:
Browser("North Shore Loan Origination_2").Page("North Shore Loan Origination").Frame("Screen").WbfUltraGrid("UGxGuarantor").SelectCell [b][b]RowCount[/b],"Ledger_Type_Lkup_ID"
Browser("North Shore Loan Origination_2").Page("North Shore Loan Origination").Frame("Screen").WbfUltraGrid("UGxGuarantor").SelectCell "0","ENTITY_NAME"

Thanks,
Raj


RE: Selecting a cell in the grid - basanth27 - 09-24-2009

What is the error message displayed ?

Would this help ?
Code:
Browser("North Shore Loan Origination_2").Page("North Shore Loan Origination").Frame("Screen").WbfUltraGrid("UGxGuarantor").SelectCell Cint(rowcount),"ENTITY_NAME" ?