Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to capture dynamically changing element ids of a text box?
#4
Not Solved
Hi,

Please see if this solves your problem:

Code:
Set oDesc=Description.Create()
oDesc("micclass").value="WebEdit"
Set obj_coll=Browser().Page().ChildObjects(oDesc)
obj_Coll.item(0).Set "test1"
obj_Coll.item(1).Set "test2"

you can check in which edit box "test1" is entered and similarly you can enter values in all the 7 edit boxes just by changing the item number

Regards,
Parminder
Reply


Messages In This Thread
RE: How to capture dynamically changing element ids of a text box? - by parminderdhiman84 - 06-29-2011, 04:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT issues with Outsystems dynamically generated Id/names jherron 2 1,142 03-02-2020, 09:33 PM
Last Post: Swishy70
  Unable to capture value of Webelement which is changing dynamically sheetal 9 15,680 02-16-2018, 11:01 AM
Last Post: janki_kakadia
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 5,725 06-06-2017, 11:12 AM
Last Post: workrohit08
  Unable to click on dynamically changing webelement preeti 0 1,706 04-29-2017, 08:50 PM
Last Post: preeti
  Page element keep changing chong67 4 4,349 11-08-2016, 09:17 PM
Last Post: Paul Rammone

Forum Jump:


Users browsing this thread: 2 Guest(s)