Cannot find RxBrowser dom

Mobile Testing, Android App Testing.
boegvald
Posts: 62
Joined: Wed Mar 13, 2019 9:02 am

Cannot find RxBrowser dom

Post by boegvald » Fri Jul 30, 2021 1:09 pm

I am trying out mobile testing with Ranorex using this guide: https://www.ranorex.com/help/v8.3/web-m ... t-example/. But after setting all things up, including using the wizard to create the first Ranorex project, Ranorex cannot find the mobile browser dom:
Failed to find item 'MyMobileTest1Repository.Browser.Dom.Self'. No element found for path '/mobileapp[@title='ranorex.RxBrowser']//dom' at step 'descendant-or-self::dom' after 380 attempts within 20s.
The wizard created this recording module:
RanorexStudio.png
I do notice that the "Track" button is greyed out.

The Path Editor in Spy looks like this:
SpyPathEditor.png
And the Browser in Spy like this:
SpyBrowser2.png
When I run the recording module, the RxBrowser opens fins, but as no URL get pushed to the browser, obviously no web page is loaded. The RxBrowser can be used manually with no problems.

Any idea about what I am missing?

I am using:
Ranorex Studio 9.5.3
Android Studio 4.2.2 (emulated phone)
Samsung Galaxy A32 (physical phone)
You do not have the required permissions to view the files attached to this post.
Best Regards

Bo

User avatar
tmcdoniel
Certified Professional
Certified Professional
Posts: 78
Joined: Mon Dec 07, 2020 6:30 pm

Re: Cannot find RxBrowser dom

Post by tmcdoniel » Fri Jul 30, 2021 3:36 pm

Hi Bo, tracking is a bit different when it comes to Mobile devices. Navigate to dropbox.com on the mobile as well, then refresh and you'll see the image in spy's image panel. Then you can click on an item such as Sign In, and that element will appear. You can then drag and drop that item into the studio's action panel. and create an action from it such as 'Touch'. Here is the manual's tutorial which might be helpful. https://www.ranorex.com/help/v8.3/web-m ... bile-test/
Image
Sales Engineer @ Ranorex

User avatar
tmcdoniel
Certified Professional
Certified Professional
Posts: 78
Joined: Mon Dec 07, 2020 6:30 pm

Re: Cannot find RxBrowser dom

Post by tmcdoniel » Fri Jul 30, 2021 9:39 pm

Update:
I attempted to replicate your efforts using the wizard and I ran into the same issue. It would not open the URL. After conferring with others on my team, it seems this is possible by adding a few items to the repository the 'text url' and setting it's text value to the URL and adding the RxBrowser 'ButtonGo' to the repository, and then linking that repository item to a touch action.
Image
Sales Engineer @ Ranorex

boegvald
Posts: 62
Joined: Wed Mar 13, 2019 9:02 am

Re: Cannot find RxBrowser dom

Post by boegvald » Mon Aug 02, 2021 10:18 am

Thank you very much, @tmcdomiel

It works perfectly. And now I also understand how I could have found out myselves :) I do suggest though, that Ranorex change their Wizard to work without modifications.
Best Regards

Bo

User avatar
tmcdoniel
Certified Professional
Certified Professional
Posts: 78
Joined: Mon Dec 07, 2020 6:30 pm

Re: Cannot find RxBrowser dom

Post by tmcdoniel » Wed Aug 04, 2021 4:26 pm

The development team is aware of the issue, and it should be fixed in their next bug fix release. Thank you.
Sales Engineer @ Ranorex