romanmfs
7 years agoFrequent Contributor
pop up window how to ignore
Hi,
I am having an issue and asking for help :(
I have keyword testcases running on a particular website with no problem.
However business implemented redcently a pop up that randomly shows up on a home page which blocks the page and brakes the test cases.
The only way to get rid of that is by clicking "no thanks" on a pop up.
Is there a way i can record a keyword test case that lets says "if" the pop up present- hit "no thank you "else"- ignore.
Thanks
You don't have to do it via scripting if you're not comfortable with it.
https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/checking-existence.html
That provides step by step instructions on how to accomplish the same thing in a keyword test.