The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> AutomatedQA / SmartBear TestComplete

Pages: 1
Azeezuddin
Newbie


Reged: 11/30/11
Posts: 24
how to open a password protected document?
      #701214 - 03/13/12 05:44 AM

hi all,

can any one suggest me how to open a password protected word document using Test Complete code.

i used the following code and it does not work.

Set objWord = CreateObject("Word.Application")
objWord.Visible = False

Set objDoc = objWord.Documents.open(Document,0,false,5,"second","second")


Post Extras: Print Post   Remind Me!   Notify Moderator  
Azeezuddin
Newbie


Reged: 11/30/11
Posts: 24
Re: how to open a password protected document? [Re: Azeezuddin]
      #701302 - 03/14/12 12:35 AM

When i've searched in google i got syntax for opening word and excel password protected documents but not for presentations...


Please can any one suggest how to open a password protected presentation in Testcomplete using VBScript???????

Regards,
Azeez.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Mike_SmartBear
Member


Reged: 09/21/11
Posts: 43
Re: how to open a password protected document? [Re: Azeezuddin]
      #702181 - 03/22/12 03:40 AM

Hi Azeezuddin,

Quote:

can any one suggest me how to open a password protected word document using Test Complete code.

i used the following code and it does not work.

Set objWord = CreateObject("Word.Application")
objWord.Visible = False

Set objDoc = objWord.Documents.open(Document,0,false,5,"second","second")



You pass incorrect parameters to the Open method. Please make sure that the types of the parameters correspond to the method's specification that can be found here.

Quote:

Please can any one suggest how to open a password protected presentation in Testcomplete using VBScript???????



What application are you going to use to open the presentation? What is the extension of the presentation file?

--------------------
Mike,
SmartBear Support Team


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 19 anonymous users are browsing this forum.

Moderator:  NickAQA, Robert Martin, martinh, brentpaine 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1496

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5