This is a migrated thread and some comments may be shown as answers.

Determine Microsoft Word is Read-only

1 Answer 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mariko
Top achievements
Rank 1
Mariko asked on 03 Jan 2012, 09:32 AM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Stoich
Telerik team
answered on 03 Jan 2012, 10:20 PM
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
Tags
General Discussions
Asked by
Mariko
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or