Object does not support method.

I am getting this error .

Object doesn't support this property or method: 'Browser(...).Page(...).Frame(...).WebElement(...).Exists'

please help me in this.

Questions by neetupangtey

Showing Answers 1 - 9 of 9 Answers

manojkiran

  • Jun 6th, 2008
 

"object hierarchy.exists" this is the script u posted in this method "exists" is not correct   "exist" is the correct one
ex:-
      if object hierarchy.exist then
        reporter.reportevent------
      end if

  Was this answer useful?  Yes

Dipak123

  • Jun 24th, 2008
 

Use Exist Method to check for the Existance of an Object.
Ex:
If (Browser().Page().WebEdit().Exist) Then
    Statements
Else
    Statements
End If

  Was this answer useful?  Yes

kotike

  • Apr 12th, 2010
 

Actually the frame will changing every time you run the script. so you need to regularize the frame.
ex:Browser().Page().Frame("cf23gd553").WebElement().Exists
You need to regularize the above statement as follows
Browser().Page().Frame("c.*").WebElement().Exists
I hope now it will work.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions