Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checking Some Fields in a website
#2
Solved: 10 Years, 10 Months, 1 Week ago
Try using:
Code:
if lcase(Browser("").Page("").Frame("").WebEdit("").Object.style.display) <> "none" then
   'object is visible
else
   'object is hidden
end if

Since those objects are probably being hidden using javascript, it is the style that is changing not the tag property of visible.
Reply


Messages In This Thread
Checking Some Fields in a website - by PrabhatN - 03-22-2010, 04:08 PM
RE: Checking Some Fields in a website - by jsknight1969 - 03-25-2010, 02:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to check empty fields? ripchin 1 3,283 05-10-2014, 01:18 PM
Last Post: Ankur
  How to mask the particular read only mode fields while capturing screenshot in QTP kalaivanan123 2 3,382 03-18-2014, 11:31 AM
Last Post: basanth27
  Payment details fields are getting flushed vimalkamothi 4 3,148 01-04-2014, 11:09 AM
Last Post: vinod123
  Get value from table out of a website Flooole 9 5,290 10-10-2013, 02:07 PM
Last Post: Flooole
  spell checking of web objects kriday 3 3,833 07-05-2013, 01:37 PM
Last Post: Staff

Forum Jump:


Users browsing this thread: 1 Guest(s)