handling a JS alert pop up that disappears if TC can't map it - is it possible?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try this for mapping?
Otherwise you can use this to handle the window
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see anything like that in the Object Browser. This alert is only displayed for a couple seconds
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for the reply. Didn't work for me though, had to work around it.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for the reply, I don't see a Tooltip in the Object Browser
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
