Page 1 of 1

Page Object Model

Posted: Mon Dec 09, 2019 1:46 pm
by Trish
Hello,

I want to create a Page Object for our desktop application and I found helpful information for the Ranorex webtestit (https://www.ranorex.com/webtestit/help/ ... roduction/) but I need information for Ranorex studio but I don't have any idea how to create page object model using Ranorex studio?

BR,
Trisha

Re: Page Object Model

Posted: Tue Dec 10, 2019 12:19 pm
by odklizec
Hi,

I'm afraid, Ranorex Studio and Ranorex Webtestit are completely different apps. How I understand the Page object from the Webtestit description, it's a mechanism to organize and use web elements at single place? Ranorex Studio does the same via repository, where all UI elements are stored in single (or multiple, if you wish) repository, which is accessible for all recordings and code modules.

Could you please explain, in more details, what exactly you want to achieve and what exactly you missing in Ranorex Studio?

Re: Page Object Model

Posted: Fri Mar 13, 2020 10:53 am
by patrick.spaeth
Hi Trish,

We also use the Page Object Model with Ranorex Studio for Desktop applications.
Unfortunately I did not find a common approach from Ranorex Studio (or best practice)

Therefore we created our own:
We use a repository for each Page/View and create recordings with the common workflows within this page/view. (Page Object)
In another Ranorex Project we will then use all Page Objects and create our testcases out of the common recordings.

I hope this helps you a little.

Regards
Patrick