Quality is delighting customers
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
Tags:
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
© 2021 Created by Quality Testing.
Powered by