Quality Testing

Quality is delighting customers

Can any one solve this?..Type mismatch: 'RegisteruserFunc' error message while executing vbs

public function verifybutton(a)

b=a.getroproperty(a)

if b=true then

msgbox "Enabled"
else
msgbox "Disabled"

end if

end function

registeruserfunc "Webbutton","verifybutton","verifybutton",True

while running this it is throwing below attached error message

Error: Type mismatch: 'RegisteruserFunc'
code: 800A000D
source: Microsoft VBScript runtime error

Views: 163

Replies to This Discussion

public function verifybutton(a)

b=a.getroproperty(enabled)

if b=true then

msgbox "button is Enabled"
else
msgbox "buttin id Disabled"

end if

end function

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2019   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service