Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parameterise the Cell coordinates for a Swf Table object
#1
Hi All

I am in need of help for parameterising the cell coordinates. Instead of the coordinated I would like to read by name in the cell.

In breif the actions on my application are 1. double click on a particular security(cell data) to open that security properties window.

I am looking to pass the name of the security from the external data file say excel sheet.

Much more from attachment.

Any help is grately appreciated.

Many thnaks in advance
maruti


Attached Files
.doc   SwfTable Object.doc (Size: 884 KB / Downloads: 189)
Reply
#2
Hi Maruti,

Foollowign is the code to extract values from Excel sheet. It may help you.

Code:
Dim sFileLocation On Error Resume Next SystemUtil.CloseProcessByName "Excel.Exe" sFileLocation = "C:\Input.xls" sWorksheet = "InputData" Set xlObj = CreateObject("Excel.Application") xlObj.Visible = True Set xlWorkBookObj = xlObj.Workbooks.Open(sFileLocation) Set xlWorkSheetObj = xlWorkBookObj.Worksheets(sWorksheet) 'For 2 rows For i =2 To 3 sLiabilityValue = xlWorkSheetObj.Cells(i,1) SwfWindow("InvestmentManager - Automation").SwfWindow("Targeter - CDO Fund").SwfTable ("preTradesGrid").ActivateCell sLiabilityValue Next
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to switch between Tabs in Swf Application in QTP Vijay_bt 0 2,771 10-21-2016, 08:22 PM
Last Post: Vijay_bt
  SWF grid is identified by QTP as swfobject - how to access a childitem of a cell?? raparthiqa 0 5,644 02-05-2015, 01:47 PM
Last Post: raparthiqa
  UFT - Check a checkbox inside a table cell sara- 0 6,159 02-02-2015, 08:07 PM
Last Post: sara-
  SWF Tree View problem in QTP sruthi 0 4,042 06-29-2010, 02:33 PM
Last Post: sruthi
  get color of string in cell of a java table brijesh_shivnani 2 6,650 04-10-2010, 06:23 PM
Last Post: brijesh_shivnani

Forum Jump:


Users browsing this thread: 1 Guest(s)