Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check visibility of an Object
#2
Not Solved
Hi Ritu,

Try adding one more description property for identifying button - 'visible' into repository or you can use descriptive programming for this.
create object for button and use it

Code:
Set oButton = Description.Create()
oButton("Name").Value = "Next"
oButton("html tag").Value = "Input"
obutton("Visible").Value = "True"
Browser().Page().WebButton(obutton).Exist

Reply


Messages In This Thread
RE: How to check visibility of an Object - by Saket - 08-03-2009, 01:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to force QTP to Check for trigger through Recovery Object ? Sumit Maru 0 3,195 02-21-2011, 02:44 PM
Last Post: Sumit Maru
  Check if the Object is Empty/Null manojith1984 1 13,356 05-20-2009, 10:44 AM
Last Post: manojith1984
  QTP 9.5 Object Repository merge tool not merging the Check Point objects govqa 0 3,299 05-18-2009, 07:11 PM
Last Post: govqa
  How to check an object is NOT there? alecjcook 2 3,234 05-13-2008, 02:10 AM
Last Post: niranjan

Forum Jump:


Users browsing this thread: 2 Guest(s)