Difference between 6.0 and 6.1 version

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
skhanpara
Posts: 101
Joined: Wed Apr 23, 2014 3:55 pm

Difference between 6.0 and 6.1 version

Post by skhanpara » Thu Oct 13, 2016 7:59 pm

I need to use Style attribute of an object, as it plays an import role in responsive website.

I am having problem with Ranorex 6.1, as i am not able to find or manually use that attribute.

Please check the attribute for same object recorded in different version of Ranorex

Ranorex 6.1
Ranorex_6.1.PNG

Ranorex 6.0
Ranorex_6.0.PNG
Any suggestion?

Thank you
Sunny Khanpara
You do not have the required permissions to view the files attached to this post.

User avatar
N612
Posts: 135
Joined: Mon Jul 11, 2016 4:01 pm

Re: Difference between 6.0 and 6.1 version

Post by N612 » Thu Oct 13, 2016 8:17 pm

Have you verified in the page's source code that there is a style attribute to use still?

Does this work?

Code: Select all

//section[style='display: block;']

skhanpara
Posts: 101
Joined: Wed Apr 23, 2014 3:55 pm

Re: Difference between 6.0 and 6.1 version

Post by skhanpara » Thu Oct 13, 2016 8:28 pm

Yes, That image is from the same website and even screenshot was taken at same time, Just different machine

And i tried using that code but does not identify even when i input "//section[style='display: block;']" manually for 6.1

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

Re: Difference between 6.0 and 6.1 version

Post by odklizec » Fri Oct 14, 2016 7:41 am

Hi,

I've noticed that on 6.1 you are using 64bit Spy. Could you please try 32 bit Spy instead (as you did in 6.0)?

Also, are you by any chance using different browsers? There was recently posted a question regarding missing "style" attribute in IE, which is unfortunately not currently supported by Ranorex (in IE). See this post:
http://www.ranorex.com/forum/different- ... 10079.html
As a workaround, you should be able to get the style via code.
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

skhanpara
Posts: 101
Joined: Wed Apr 23, 2014 3:55 pm

Re: Difference between 6.0 and 6.1 version

Post by skhanpara » Fri Oct 14, 2016 2:14 pm

I am using same browser and Even the version for IE is same(11.0.9600.18163CO). Also i tired 32 bit spy as well, same issue.

As i mention earlier i tired inputting style tag manually to the object but it does not recognize it in 6.1.

Thank you for the walkaround.

I tired this and it works.

Code: Select all

//section[@id='location' and @display='block']