Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help on - Handle Runtime object in QTP
#1
Solved: 12 Years, 10 Months, 2 Weeks ago
I have a .net page which have runtime generated webedit fields.Actually i don't know anything about it before running the application.I need to change the value of these runtime webedit field.
I tried to use this code,but shows error object not registered.

Code:
Set Desc = Description.Create()
Desc("micclass").Value = "WebEdit"
Set Edits = Browser("Repsmart Data Centre").Page("RDC Product").Frame("popupFrame_3").ChildObjects(Desc)
MsgBox "Number of Edits: " & Edits.Count
Max = Edits.Count -1

For x = 1 to Max

detail=Edits(x).GetROProperty("Name")
Browser("Repsmart Data Centre").Page("RDC Product").Frame("popupFrame_3").WebEdit(detail).Set "17.50"

next
Reply


Messages In This Thread
Help on - Handle Runtime object in QTP - by geom - 11-15-2010, 11:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can QTP handle slick grid table in a web page qtplearner88 2 5,147 10-01-2019, 10:44 AM
Last Post: shilpi952
  How to Handle Modal Dialogs In QTP Jyobtech 0 2,848 07-22-2015, 01:22 AM
Last Post: Jyobtech
  webfile web object not identified at runtime in a java application saila123 1 3,240 02-11-2015, 08:23 PM
Last Post: Kirill
  How to handle KeyUp Event used in my App Hpqtp 3 4,614 07-03-2014, 05:25 AM
Last Post: supputuri
  Runtime Object Identification Problem qapandit 9 7,487 07-02-2013, 04:14 AM
Last Post: qapandit

Forum Jump:


Users browsing this thread: 1 Guest(s)