Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Visible attribute
#4
Solved: 11 Years, 6 Months, 2 Weeks ago
Hi Lorena, I think i have confused u...
What i tried to say is, it s better to use Exist method on top of GetROProperty to avoid runtime error. Because u use coordinates which i will not use. I feel there is a chance for 'object not found' error.

Exist -- it will just say if the object is present or not.
even if the object is present, any of the property might not be as u expected. so in that case, u need to use GetROProperty to verify the property values.

Say,
There is a textbox. Lets assume it's logical name is 'Text'

WebEdit("Text").Exist --> will say it is true (or false it is not thr)
But that box might be disabled.
U might want to check if it is editable or not..in that case u need to use GetRoProperty to check if it is editable or not.
Exist method can not be used.

Hope it helps...if not, let me know with ur qn..


Reply


Messages In This Thread
Visible attribute - by mv8167 - 01-04-2012, 11:00 PM
RE: Visible attribute - by vIns - 01-05-2012, 12:22 AM
RE: Visible attribute - by mv8167 - 01-05-2012, 08:05 PM
RE: Visible attribute - by vIns - 01-06-2012, 05:50 AM
RE: Visible attribute - by mv8167 - 01-06-2012, 08:03 PM
RE: Visible attribute - by srikanthqtp - 01-06-2012, 10:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Exist and Visible Are True When Objects Aren't There - Is there A Better Way? zunebuggy 3 3,353 04-24-2018, 02:12 PM
Last Post: Ankur
  [UFT] [WPF] DataGrid: check if vertical and horizontal scrollbars are visible robertosalemi 0 2,471 07-13-2016, 06:33 PM
Last Post: robertosalemi
  Intermitent "Object not visible" error erodpr 5 3,752 01-14-2016, 10:55 AM
Last Post: vinod123
  Object properties are not visible suresh.tata 1 2,727 02-23-2014, 03:58 PM
Last Post: supputuri
Exclamation OBJECT NOT VISIBLE ERROR bala 2 4,329 07-26-2013, 03:12 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)