Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
want to change index dynamically of WebTable object
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi Atanu,

First thing is check and choose the properties that can identify the object unique in different builds/application versions.

Second option : dynamic handling of the index value of the webtable.
Code:
Dim intCounter : intCounter = 0
Browser("Application").Page("Application").Frame("main_Frame").WebTable("Security").SetToProperty "index", intCounter
Do Until Browser("Application").Page("Application").Frame("main_Frame").WebTable("Security").Exist = True
     intCounter = intCounter + 1
     Browser("Application").Page("Application").Frame("main_Frame").WebTable("Security").SetToProperty "index", intCounter
Loop
Please let me know if you need any information.
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: want to change index dynamically of WebTable object - by supputuri - 05-03-2011, 11:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do you Change Run mode mid script? Caleytown 6 7,233 03-25-2021, 08:27 AM
Last Post: RB26578
  UFT issues with Outsystems dynamically generated Id/names jherron 2 1,363 03-02-2020, 09:33 PM
Last Post: Swishy70
  Unable to capture value of Webelement which is changing dynamically sheetal 9 16,239 02-16-2018, 11:01 AM
Last Post: janki_kakadia
  Unable to click on dynamically changing webelement preeti 0 1,817 04-29-2017, 08:50 PM
Last Post: preeti
  click each web link in a page using Index or other method in QTP smeijer 13 24,725 04-29-2017, 04:53 PM
Last Post: kowshik

Forum Jump:


Users browsing this thread: 2 Guest(s)