Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testobject at Runtime
#2
Not Solved
Hi,
I think you can try this.

Initialize the excel object DOM and pass the link name as the parameter to the action.

Code:
Set excel = createobject("excel.application")
    excel.visible=false
    Set obook=excel.workbooks.open("C:\test.xls")
    Set osheet = obook.worksheets(1)
             LinkName=osheet.cells (2,13).value
              
Set oDesc = Description.Create()
oDesc("name").Value = "{Link Name}"
Browser("Browser").Page("Page").Link(oDesc).Click
Reply


Messages In This Thread
Testobject at Runtime - by Giama - 03-24-2009, 04:48 PM
RE: Testobject at Runtime - by Tarik Sheth - 03-24-2009, 05:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)