Determine Microsoft Word is Read-only

2 posts, 1 answers
  1. Mariko
    Mariko avatar
    39 posts
    Member since:
    Jun 2011

    Posted 03 Jan 2012 Link to this post


    Is it possible for the Test Studio to determine if the microsoft word or any document file opened is a read-only file?

    Here is the scenario
    1. Open a document in the sharepoint
    2. Verify if the document is a read-only file

  2. Answer
    Stoich avatar
    1 posts

    Posted 03 Jan 2012 Link to this post

    Hello Mariko,
    Test Studio does not offer such functionality out of the box.

    However, Test Studio allows for a great degree of flexibility. You can easily integrate custom solutions within your Test Studio project. For instance you can write the desired logic in VS, packed it into a DLL and reference it in your Test Project:
    or you can inject the code directly into the code behind file of each test:

    This articles explains how to implement a different custom solution within a Test Studio test:

    I'm sure you'll find plenty of info on the Internet detailing how to implement the required functionality in code.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top