How to handle POPUP in Record and play Back

Ask general questions here.
upen
Posts: 3
Joined: Fri Mar 29, 2019 12:55 pm

How to handle POPUP in Record and play Back

Post by upen » Fri Mar 29, 2019 1:08 pm

Hi , I am new to Ranorex.
I have created few scripts using record and play back but i am not able handle a popup while running the script.
POPUP will come occasionally depending on the value user enters.
When POPUP window appears user has to Click on Continue (button) or Cancel (button) but my scripts requires to click on Continue if popup window appears.
Could you please help me on this.
I have added a new Code module and added the steps

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to handle POPUP in Record and play Back

Post by odklizec » Mon Apr 01, 2019 8:09 am

Hi,

You should use PopupWatcherLibrary from Ranorex automation helpers:
https://www.ranorex.com/help/latest/han ... g-started/
In this webinar you can learn how to use it:
https://www.ranorex.com/automated-testi ... on-demand/
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration