Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP 9.2 with third party tools like( say sigma gird )
#4
Not Solved
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}"
Reply


Messages In This Thread
RE: QTP 9.2 with third party tools like( say sigma gird ) - by Jackomcnabb - 02-12-2010, 08:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Continuous Integration tools Markyl 0 2,006 01-30-2013, 09:09 PM
Last Post: Markyl
  Does QTP support Teleric and Dev-Xpress 3rd party tools, if yes how? Dharnish 0 2,362 09-19-2012, 04:32 PM
Last Post: Dharnish
  How to add a Third party Tool developed in Java to QTP mohamedziavudeen 0 2,783 07-04-2012, 01:13 PM
Last Post: mohamedziavudeen

Forum Jump:


Users browsing this thread: 1 Guest(s)