Page 1 of 1

Difference between 6.0 and 6.1 version

Posted: Thu Oct 13, 2016 7:59 pm
by skhanpara
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

Re: Difference between 6.0 and 6.1 version

Posted: Thu Oct 13, 2016 8:17 pm
by N612
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;']

Re: Difference between 6.0 and 6.1 version

Posted: Thu Oct 13, 2016 8:28 pm
by skhanpara
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

Re: Difference between 6.0 and 6.1 version

Posted: Fri Oct 14, 2016 7:41 am
by odklizec
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.

Re: Difference between 6.0 and 6.1 version

Posted: Fri Oct 14, 2016 2:14 pm
by skhanpara
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']