Page refresh

Ask general questions here.
gayathri
Posts: 20
Joined: Mon Feb 12, 2018 8:12 pm

Page refresh

Post by gayathri » Mon May 14, 2018 10:51 pm

Hi,
I need to click on an web element after the page refresh.

How would i perform page refresh action in the script.

-Gayathri

User avatar
Support Team
Site Admin
Site Admin
Posts: 11836
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Page refresh

Post by Support Team » Tue May 15, 2018 10:39 am

Hello Gayathri,

You could execute a short Javascript action to reload your page:
LocationReload.png
LocationReload.png (17.48 KiB) Viewed 526 times
I hope this helps.

Sincerely,
Robert
.
Image

gayathri
Posts: 20
Joined: Mon Feb 12, 2018 8:12 pm

Re: Page refresh

Post by gayathri » Tue May 15, 2018 6:08 pm

Thanks for the reply Robert.

-Gayathri

chiranthurs
Posts: 19
Joined: Mon Oct 29, 2018 1:09 pm

Re: Page refresh

Post by chiranthurs » Fri Apr 19, 2019 7:44 am

How to do the same in a Code module?

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

Re: Page refresh

Post by odklizec » Fri Apr 19, 2019 7:53 am

Hi,

The easiest way to learn code behind Ranorex recording actions, is to right click an action in recording module and in the appeared context menu select “view code” option. Hope this helps?
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