Ask a Question

handling a JS alert pop up that disappears if TC can't map it - is it possible?

rtester
New Contributor

handling a JS alert pop up that disappears if TC can't map it - is it possible?

Hello. I am new to TC. Is there a way to handle a JS alert pop up that appears for 5 sec only and when disappears? I wasn’t able to map it, TC does not see it.

8 REPLIES 8
rraghvani
Champion Level 3

Also try - in the Object Browser, try and look for some called Tooltip, or something that relates to that control. You should then be able to map it.

jkrolczy
Regular Contributor

Is this a reproducible step ?

Use ObjectSpy with the arrow pointer, perform you test steps manually to reporduce the pop up and when present on the screen - capture it 

JamesK
nastester
Regular Contributor

@jkrolczy 

 

No it is not. 

The "Please fill out this field" alert is not detectible by the Object Spy. 

 

InkedUntitled.jpg

nastester
Regular Contributor

I don't see anything like that in the Object Browser. This alert is only displayed for a couple seconds 

thanks for the reply. Didn't work for me though, had to work around it.

thanks for the reply, I don't see a Tooltip in the Object Browser

rraghvani
Champion Level 3

If you are using a web app, then in this example https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip you can modify the property value visibility: hidden; to visibility: visible; which will enable the tooltip to be shown. You can then capture this via TC, this is how I go about capturing the tooltip on the web app that I test (via Chrome DevTools and modifying the HTML code).

 

Unfortunately the same can not be done with desktop apps.

 

 

cancel
Showing results for 
Search instead for 
Did you mean: