Firefox: Changing 'class' attribute not reflected in browser

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
elena.ungureanu
Posts: 19
Joined: Mon Jan 05, 2015 5:46 pm

Firefox: Changing 'class' attribute not reflected in browser

Post by elena.ungureanu » Thu Apr 14, 2016 2:16 pm

Hello,

I came across a case where changing the 'class' attribute for a nav html tag in Firefox is not reflected in browser. The same 'class' update works in Chrome and IE.

More exactly in the application under test, there is a navigation bar (nav html tag) for which I'm updating the 'class' attribute as follows:

Code: Select all

repo.Test.TopNavbar.Class = "navbar navbar-static-top black-bg ng-scope";
I've tried also:

Code: Select all

repo.Test.TopNavbar.Element.SetAttributeValue("class", "navbar navbar-static-top black-bg ng-scope"); 
Although the same instructions are working in IE and Chrome in the sense that I can actually see the navigation bar looking different, in Firefox there is no visual change.

Editing the WebElement -> Class attribute using Spy works again in IE and Chrome, but not in Firefox.

The css classes I'm setting are correct because when applying it through developer toolbar in Firefox the visual change I'm expecting is there. So I don't understand why is not working as described above.

Could someone please give me a hint?

Ranorex version 5.4.2
Firefox version I've tried on: 45.0.2, 40.0.3
OS: Win 7 & 8.1

Thank you,
Elena

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Firefox: Changing 'class' attribute not reflected in browser

Post by Support Team » Fri Apr 15, 2016 2:34 pm

Hello Elena,

Thank you for reporting this issue. I was able to reproduce the behavior on our test environment. The issue was added to our internal bug-tracking system and will be analyzed by our development department. Unfortunately, I can't give you detailed information on when the issue will be fixed.

Thank you for your understanding.

Sincerely,
Johannes

joshmike
Posts: 2
Joined: Tue Apr 19, 2016 11:27 am

Re: Firefox: Changing 'class' attribute not reflected in browser

Post by joshmike » Tue Apr 19, 2016 11:30 am

hi elena! did you get the solution ? if yes plz share i dont have the same but this kind of bug !
Thanks in advance

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Firefox: Changing 'class' attribute not reflected in browser

Post by Support Team » Wed Apr 20, 2016 11:46 am

Hi joshmike,

Welcome to the Ranorex Forum!

As mentioned in my previous post, the issue is currently analyzed by our development department.

In order to analyze your issue it would be great if you could describe it in detail. Furthermore, please let me know which version of Ranorex and which browser (including the exact version) is currently used.

I look forward to hearing from you.

Sincerely,
Johannes

elena.ungureanu
Posts: 19
Joined: Mon Jan 05, 2015 5:46 pm

Re: Firefox: Changing 'class' attribute not reflected in browser

Post by elena.ungureanu » Tue Mar 28, 2017 3:56 pm

Hello Ranorex Team,

Recently I've installed Ranorex version 6.2.1 and checked if the current issue has been fixed; but is not, can be reproduced as described in my first post.

Is there any visibility when a fix might be available?

Regards,
Elena

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Firefox: Changing 'class' attribute not reflected in browser

Post by Support Team » Thu Mar 30, 2017 1:23 pm

Hello Elena,

I’m afraid to tell you there’s currently no plan as to when this bug will be fixed. The priority of this bug fix also depends on how many other customers’ experience this issue. Nevertheless, all reported bugs and feature requests are documented in the release notes, with every new version release of Ranorex.

Thank you for your understanding.

Sincerely,
Johannes