Ask a Question

Popup

Ilakkk
Contributor

Popup

Hi

Ilakkk_0-1678860575438.png

I am getting this popup window while opening the page. Here, i want to hit allow button. I tried the below code but doesn't worked.

>> page.Confirm.Button("Allow").Click();

 

So could you please suggest any solution??

 

3 REPLIES 3
Marsha_R
Community Hero

Try recording a short test that includes clicking that button and see what code TestComplete gives you.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

No. It's not captured so only I came here...
Is it possible to close that popup
rraghvani
Trusted Contributor

As a temporary measure, you can add the URL to your Location settings in your browser, so the dialog doesn't appear.

cancel
Showing results for 
Search instead for 
Did you mean: