Hyperlink to local image file RRS feed

  • General discussion

  • Using c# (Coded UI Test) I need to create a hyperlink to a locally available jpg file and insert into a test output file which is in excel format.
    I see only WinHyperlink and WpfHyperlink classes when I attempt to HyperLink in the editor. However I see HyperLink class (system.Windows.Documents) being used in msdn samples. I do not see any reference to such a class. Please help.
    Friday, May 11, 2012 9:31 PM

All replies

  • Hi Sara,

    Welcome to the MSDN Forum.

    What samples do you see? Would you like to post the link here?

    In addition, the WinHyperlink is very different from HyperLink, and the WinHyperlink  represents  a Windows hyperlink control to test the user interface (UI) of Windows Forms. But HyperLink isn't designed for this purpose.

    If I misunderstooding anything, please feel free to follow up.

    Best regards,

    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, May 14, 2012 6:44 AM