Good morning, Effaezn88!
Current version of ZAPTEST doesn’t have shortcut for launching edge browser. It means that after launching browser you should update “Application” properties. See my example how to launch edge browser:
Application("Application").Launch "microsoft-edge:http://www.zaptest.com"
Application("Application").SetProperty "regexpwndclass", "ApplicationFrameWindow"
Application("Application").SetProperty "regexpwndtitle", "ZAPTEST"
wait 3
Application("Application").CaptureBitmap
“ApplicationFrameWindow” is const. Your should update only “regexpwndtitle” option. Usually you could keep it empty.
You could apply this example to your datatable. ZAPTEST Team will add shortcut for edge browser in future release.
If Datatable.Value("browser") = "microsoft-edge" Then
Application("Application").Launch Datatable.Value("browser") & ":http://" & Datatable.Value("url")
Application("Application").SetProperty "regexpwndclass", "ApplicationFrameWindow"
Application("Application").SetProperty "regexpwndtitle", ""
Else
Application("Application").Launch Datatable.Value("browser"), Datatable.Value("url")
End If
wait 3
Application("Application").CaptureBitmap
Script is attached.
Thank you,
ZAPTEST Team