locked
CodedUI builder identfying- Different class on different browser of the same object of the application. RRS feed

  • Question

  • Hello support,

    We are using Visual studio 2013 . We have designed testcases in Coded-UI  . It is perfectly running on all versions(IE-08,IE-09,IE-10)  but unable to run the testcases on any version of  Mozilla Firefox .

    Detailing the problem below:

    Problem:

    Coded-UI builder tool identify same object with different property .  

    For Example :

    On "Internet Explorer" one of the object of type hyperlink  and its class is "htmlhyperlink".But,on "Mozilla Firefox" same object class is identified as "win hyperlink".

    Kindly suggest any solution for the same.


    Saturday, March 22, 2014 9:14 AM

Answers

  • Hi,

    Recording of action steps on FireFox browser is not supported in VS2013 Coded UI test. Coded UI Tests can be played back on Chrome and Firefox browsers with Visual Studio 2012 Update 4 or later. Go here for more details. Reference:

    Supported Configurations and Platforms for Coded UI Tests and Action Recordings

    If you got any issues when playing Coded UI test back with FireFox, please consult on ‘Q AND A’ through starting a discussion in this page: http://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d/ because cross browser testing with Coded UI test is more related to Selenium components.

    Thank you for your undertsanding.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Amanda Zhu Monday, March 31, 2014 2:04 AM
    Monday, March 24, 2014 8:14 AM

All replies

  • Hi,

    Recording of action steps on FireFox browser is not supported in VS2013 Coded UI test. Coded UI Tests can be played back on Chrome and Firefox browsers with Visual Studio 2012 Update 4 or later. Go here for more details. Reference:

    Supported Configurations and Platforms for Coded UI Tests and Action Recordings

    If you got any issues when playing Coded UI test back with FireFox, please consult on ‘Q AND A’ through starting a discussion in this page: http://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d/ because cross browser testing with Coded UI test is more related to Selenium components.

    Thank you for your undertsanding.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Amanda Zhu Monday, March 31, 2014 2:04 AM
    Monday, March 24, 2014 8:14 AM
  • Hi Rahul

    Take a look at your search & filter properties.  Here's a good blog about them Blog

    Essentially it sounds like Class needs moving from your Search Properties and adding into filter properties twice once with each value you mention.

    HTH

    Monday, March 24, 2014 11:20 AM