08-20-2015, 11:26 PM
I guess for clicking outside you need low level recording mode to capture the outside clicks.
try this:
try this:
Code:
Dim valTXT
Browser(".*").Page(".*").webedit("email").Click
valTXT = Browser(".*").Page(".*").webedit("email").GetRoProperty("value")
if valTXT="" Then
print "The pasword field is blank after clicking"
else
print "The pasword field is not blank after clicking"
End if
Window("Window").WinObject("Running applications").Click 45,30
'Actvate Lowlevel recording to capture the click
Window("Windows Internet Explorer").Activate
Window("Windows Internet Explorer").WinObject("Internet Explorer_Server").Click 382,160
Window("Window").WinObject("Running applications").Click 532,21
Browser(".*").Page(".*").webedit("email").Click
valTXT = Browser(".*").Page(".*").webedit("email").GetRoProperty("value")
if valTXT="" Then
print "The pasword field is blank after clicking"
else
print "The pasword field is not blank after clicking"
End IF