Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing Index number of tables
#4
Solved: 10 Years, 10 Months ago
Luth,

I finally got a chance to try your solution, but I get a Run Error.

The test run cannot continue due to a syntax error.

Expected end of statement

Line (57):
Code:
"Set TableObj = Browser("Wisdom").Page("WisdomLogin").Frame("parent").WebTable("Document Type").SetTOProperty "index", Gr*2+3".
This however works:

Code:
NumGr = Gr*2+3
Set TableObj = Browser("Wisdom").Page("WisdomLogin").Frame("parent").WebTable("Document Type_" & NumGr)
but, I must have every Document Type_# in my OR. this I was hoping to avoid.

Any thoughts?

thx
Reply


Messages In This Thread
Changing Index number of tables - by mv8167 - 08-12-2011, 07:27 PM
RE: Changing Index number of tables - by luth - 08-17-2011, 04:57 PM
RE: Changing Index number of tables - by mv8167 - 08-17-2011, 07:12 PM
RE: Changing Index number of tables - by mv8167 - 08-24-2011, 02:01 AM
RE: Changing Index number of tables - by luth - 08-25-2011, 08:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  click each web link in a page using Index or other method in QTP smeijer 13 23,804 04-29-2017, 04:53 PM
Last Post: kowshik
  Page element keep changing chong67 4 4,358 11-08-2016, 09:17 PM
Last Post: Paul Rammone
  Upgraded QTP 11.0 to UFT 11.53, Object Index Properties are varying Raghava M 0 2,089 01-28-2015, 06:02 PM
Last Post: Raghava M
  General run error. Line (18): "Loop while Browser("Index:=0").Object.Busy" AshokReddy 3 4,837 12-20-2013, 01:44 PM
Last Post: sshukla12
  Unable to select a combo item by value or index martinshort 2 3,188 08-26-2013, 07:55 PM
Last Post: sudhirzpatil

Forum Jump:


Users browsing this thread: 1 Guest(s)