Ranorex can not find local video container after a record

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
rastek
Posts: 185
Joined: Wed Aug 06, 2014 12:00 pm

Ranorex can not find local video container after a record

Post by rastek » Tue Jan 24, 2017 10:54 am

Hi,
I have a problem with video container object. Ranorex can not find local video object after a successfull record.. Local video is embedded in another video -remote video and I can record and find remote video but not local video.

this is original record
/dom[@domain='multi2lb.netas.com.tr:18581']
.//div[#'plug-in-container']/?/?/video[@src='blob:https://multi2lb.netas.com.tr:18581/3d7 ... 04eb895dd8']

I tried same thing as I did in Remote Video but can not find

.//div[#'plug-in-container']/?/?/video[]

and here is the remote video that works, it has only one div
.//div[#'video_window']
please help me , I am sending spanshot for the local video.
You do not have the required permissions to view the files attached to this post.

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

Re: Ranorex can not find local video container after a record

Post by odklizec » Tue Jan 24, 2017 11:24 am

Hi,

I'm afraid, I don't exactly understand what you mean by "local" or "remote" video? In any case if below (generalized) xpath is applied to your provided snapshot, it finds two video elements...
/dom[@domain='multi2lb.netas.com.tr:18581']//div[#'plug-in-container']/?/?/video
2videos.png
You do not have the required permissions to view the files attached to this post.
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

rastek
Posts: 185
Joined: Wed Aug 06, 2014 12:00 pm

Re: Ranorex can not find local video container after a record

Post by rastek » Thu Jan 26, 2017 11:13 am

Hi, as I mentioned, Local video is embedded in Remote video , means a small box inside big box.

Local video is users own video, remote video is the video comes from other party.

Actually it is the same xpath I wrote , except [] part at the end

Since you said there are 2 videos I tried 0,1,2 indexes and this one worked for me :)
.//div[#'plug-in-container']/?/?/video[][2]