Forum Discussion
Ravik
11 years agoSuper Contributor
Hi Meenakshi,
Try this solution may help you to click on Save button on Window Pop-up
Try this solution may help you to click on Save button on Window Pop-up
Function CheckWindowAlert
Set Alert = Sys.Browser("iexplore").Page(aqString.Concat(Project.Variables.Var1,"*")).FindChild("ObjectIdentifier", "Save", 70)
If Alert.Exists Then
alertDetails = Sys.Browser("iexplore").Window("#32770", "Message from webpage", 1).Window("Static", "*", 2).WndCaption
Alert.Click
Else
log.message("Window pop-up does not exists")
End If
End Function
OR
Using
On Error Resume Next
you can skip unwanted window pop-up
Thanks
Ravik