Micro Focus QTP (UFT) Forums
QTP 9.2 with third party tools like( say sigma gird ) - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP 9.2 with third party tools like( say sigma gird ) (/Thread-QTP-9-2-with-third-party-tools-like-say-sigma-gird)



QTP 9.2 with third party tools like( say sigma gird ) - shankaram.sk - 02-04-2010

Whether qtp 9.2 supports third party tools like( say sigma gird ) ? If so , what is to be done ..? can any one help me on this ?


RE: QTP 9.2 with third party tools like( say sigma gird ) - Jackomcnabb - 02-11-2010

I had a lot of problems with third party grids and it took a lot of trial and error to get them to work correctly, using Activesheet methods and pass window keys...


RE: QTP 9.2 with third party tools like( say sigma gird ) - shankaram.sk - 02-12-2010

Hi Jack,
Can u pls send me the sample script for working with girds ?


RE: QTP 9.2 with third party tools like( say sigma gird ) - Jackomcnabb - 02-12-2010

It not as easy as my code may not be doing anything similar to what you want but here is my code anyway:

Code:
'First to get the row count:
Num_Rows = TaxEntryTable.Object.ActiveSheet.rowcount

'To set Active Cell:
TaxTable.Object.ActiveSheet.SetActiveCell 0,1

'Now I will loop down the table to find the row I need
newcount=0
For i = 0 to Num_Rows -1
numrow=i
seti=i
TaxTable.Object.focus()
myval = GetCell(TaxTable.Object,numrow, 1)
IsCityRecord = Instr(1,myval,"(",1)
If IsCityRecord > 0 Then
  CityRecord = Split(myval,"(")
  myval = CityRecord(0)
End If
If myJuris = Trim(myval) Then
tempJuris=i    
  TaxTable.Object.ActiveSheet.SetActiveCell tempJuris,1
  Exit For
End if
newcount=newcount +1
Next

'then When I found the row I wanted enter data:
Set WshShell = CreateObject("WScript.Shell")

If   LocalJurisLevel="CNTY" Then
WshShell.SendKeys " {RIGHT}"
       wait 1
    WshShell.SendKeys " {F2}"
    SwfWindow("Vertex Sales Tax Returns").SwfWindow("Tax Data Manual Entry").SwfEdit("CurrencyCellTypeEditor").set MyLocalAmnt
    WshShell.SendKeys " {ENTER}"



RE: QTP 9.2 with third party tools like( say sigma gird ) - shankaram.sk - 02-12-2010

Thank you very much jack. will check ur code and let u know... Thanks again.