Browsing to another site / Validating streaming

Ask general questions here.
Nicolas.R
Posts: 3
Joined: Fri Apr 05, 2013 1:41 pm

Browsing to another site / Validating streaming

Post by Nicolas.R » Fri Apr 05, 2013 2:06 pm

Hi everyone!. We just got Ranorex for automating the testing efforts on some of our sites and I have a couple of questions for things I haven't managed to figure out yet.

First an easy one, is there a simple way to tell the browser to go to another site? Not open a new tab/window but use the one already opened previously during the same test/recording. I imagine I can add the URL bar into the repository and type the new address there but was hoping for some other and more direct command. Something similar to the driver.get("url") in Selenium.


Now this one is a bit trickier, is there any way to validate that a video is streaming? Need to do something similar to going to a youtube site and validate that there is a video actually playing. The video players on our sites use flash/flex technology.


Thanks!.


Edit: I'm using Ranorex version 4.0.1.

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

Re: Browsing to another site / Validating streaming

Post by Support Team » Mon Apr 08, 2013 4:07 pm

Hello,

In order to change the site of the current browser you can use the Navigate() method as described in the section "Web Testing" in our user guide.

Regarding the video stream issue you could for example use the play/pause button in order to check which image is currently shown. Please read the section "Image-Based Automation" to get more information how to work with images in Ranorex.
I hope this will help you solving your issues.

Regards,
Bernhard
.
Image