Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wbfgrid not consistently recognized
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi all,

I'm trying to get the count from Wbfgrid. The code worked fine earlier but when I tried running the code again it did not recognize the object even though the Qtp object spy recognizes it.

I even tried to refresh the obeject using the "RefreshObject" method but it didnt work. Even creating a description of it doesnot help.


Code:
Set oDesc = Description.Create
oDesc("micClass").value = "WbfGrid"
oDesc("html id").value = "html id:=ClassStudentsCtl_StudentsGridCtl_ctl00"


set abc = Browser("micClass:=Browser").Page("micClass:=Page").ChildObjects(oDesc)

msgbox abc.count


If Browser("micClass:=Browser").Page("micClass:=Page").WbfGrid("html tag:=table","html id:=ClassStudentsCtl_StudentsGridCtl_ctl00").Exist Then

msgbox "Success"

else

msgbox "Object not identified"

End If
Reply


Messages In This Thread
wbfgrid not consistently recognized - by vjjohnson04 - 11-28-2012, 01:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT unable to identify Java app objects consistently lester 1 1,802 07-12-2018, 08:28 PM
Last Post: Ankur
  Telnet command not recognized Sanjana1987 1 1,865 09-20-2017, 03:16 PM
Last Post: Ankur
  Webtable Checkpoint to get cell data from dynamic WbfGrid Neetha 1 3,343 08-20-2015, 11:43 PM
Last Post: ADITI1992
  Objects are being recognized as "Windows for Menu item list (Browser-firefox, UFT 12) akhandesh 0 2,376 05-27-2015, 06:29 PM
Last Post: akhandesh
Smile Importing Excel sheet - Reference Values are not recognized michiusa69 3 7,599 01-23-2015, 02:36 AM
Last Post: lkng2001

Forum Jump:


Users browsing this thread: 1 Guest(s)