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.0
Any suggestion?
Thank you
Sunny Khanpara
Difference between 6.0 and 6.1 version
Difference between 6.0 and 6.1 version
You do not have the required permissions to view the files attached to this post.
Re: Difference between 6.0 and 6.1 version
Have you verified in the page's source code that there is a style attribute to use still?
Does this work?
Does this work?
Code: Select all
//section[style='display: block;']
Re: Difference between 6.0 and 6.1 version
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
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
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.
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 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
Re: Difference between 6.0 and 6.1 version
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.
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']