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

    Hi,

    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

    Thanks
  2. Answer
    Stoich
    Admin
    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:
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/coded_steps/add-an-assembly-reference.aspx
    or you can inject the code directly into the code behind file of each test:
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/utility-in-standalone.aspx

    This articles explains how to implement a different custom solution within a Test Studio test:
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/access-sql-database.aspx

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

    Regards,
    Stoich
    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