Page 1 of 1

Ranorex can not find local video container after a record

Posted: Tue Jan 24, 2017 10:54 am
by rastek
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.

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

Posted: Tue Jan 24, 2017 11:24 am
by odklizec
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

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

Posted: Thu Jan 26, 2017 11:13 am
by rastek
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]