I am using Test Studio Ultimate and just wondering if there's a way to verify Word document contents.
Thank you very much!
Regards,
Angie
3 Answers, 1 is accepted
0
Plamen Mitrev
Telerik team
answered on 25 Apr 2019, 10:11 AM
Hello Angie,
Test Studio is designed to automate test scenarios in Web and WPF application. That said, there is no out of the box feature to verify a Microsoft Word document's content.
What you can try is, to utilize the coded step functionality to open a Microsoft Word document and get its content. I searched the web for additional information and you can find it below.
You can use the Microsoft.Office.Interop.Word namespace to open and read a Word document. You should be able to get its content and make the necessary verifications in the coded step. Please find more details how to add an assembly reference in Test Studio.