assertExist

Asked by dnyaneshwari

Hi I am having issues with assertExist
def testb(self) :
 click( )
 rightClick( )
 wait(8)
 click ( )
 print "clicked"
 wait(4)
 rightClick( )
 print "rightclicked"
 wait(7)
 assert( )
 print "afterassert"
 assertExist()

This wa the piece of code and I was getting the following Eroor

NameError: name 'asserExist' is not defined

Any help would be really appericated

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

assertExist() no longer available.

Use assert(exists()) instead.

Sorry, not yet in documentation.

Can you help with this problem?

Provide an answer of your own, or ask dnyaneshwari for more information if necessary.

To post a message you must log in.