Cain_Li
7 hours agoOccasional Visitor
Test Script issue: Message "...wants to Access other devices on your local network"
Hello,
I'm using Script Testing in TestComplete for Dynamics 365 (online version) testing.
The script is running with Azure Pipeline in agent VM, but when script is running, Edge will prompt a information from Site Information "View Site Information" icon in the left of Dynamcis 365 URL, and it prompts that "'xxx.crm.dynamics.com' wants to "Access other devices on your local network" and under above information, there's 2 button of "Block" and "Allow". At this moment, script blocks although it's running but the Object in Edge cannot capture, so it reports error.
Tips:
- I'm using inPrivate Mode for opening edge and entering Dynamics 365 site for the purpose of bypassing the Single-SignOn Policy and directly inputting Test Credential e.g User Name & Password.
- Actually Site Permission has been maintained in Local Network Access, and add the site to "Allowed to access other devices on your local network" in Edge.
- SmartBear Test Extention is also installed in Edge Extention successfully.
Question:
- Related configruation above is fine, why still prompt this information and ask me "Allow" or "Block"
- If this prompt information cannot bypass for some reason, how can I use Script to capture this Prompt Page and related object e.g "Allow" or "Block", thus I can use script to detect them, especially button "Allow" to click, thus script can run smoothly. Now it cannot detect, even if I use Object Spy menu, it's also not able to detect.