user3801466
user3801466

Reputation: 1

Timeout on Alert.Accept method

The website that I am testing has a logout button. When I click the logout button there is an Alert popup When I Accept the popup the Accept hangs for a long time I think the Accept times out

How can I change the alert.Accept timeout period?

I would like the Alert.Accept to return to my test in a short time

Upvotes: 0

Views: 35

Answers (1)

user3801466
user3801466

Reputation: 1

My problem is caused by the behaviour of the web site that I am testing.

The web site that I am testing sometime raises zero, one, two or more alerts so I have to wait until no more alerts occur. The time between alerts may be zero, one or more seconds so I have to wait the worst case seconds just in case one or more of the delayed alerts occur. So my problem is all the fault of the web site that I am testing.

Upvotes: 0

Related Questions