Jump to content
Sign in to follow this  
yDatta

accessing MS-Word objects

Recommended Posts

yDatta

I am new to AutoIt (just started learning) and as per my understanding we can use AutoIt with some of Automation tools (like Selenium and RFT) for GUI testing. I have some some concerns, please forgive me if I am asking anything bad.

I am automating a project (using RFT and Java language) where I need to access MS-Word objects like

- Go to particular bookmark on Ms-word and click.

- Verify section breaks on MS-Word.

- Verify and edit paragraphs on MS-Word.

There is no direct support to this using RFT and Java. Somebody suggests me to use AutoIt for working with MS-Word document.

- Do anybody have any idea how can we do this using AutiIt and RFT and JAVA?

- Any other way to automate MS-Word document.

Thanks,

Nish

Share this post


Link to post
Share on other sites
water

AutoIt has a builtin Word UDF (User Defined Functions) that allows to work with Word documents. A complete rewrite of the Word UDF is in the making. All methods/properties not covered by the UDF can directly be accessed by AutoIt.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
yDatta

Thanks for the reply....

I shall explore more on this (Word UDF) and keep you posted on the same.

Share this post


Link to post
Share on other sites
water

If you don't find what you need in the Word UDF that comes with AutoIt then you might have a look at my of the UDF.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
hvl
That non-standard UDF comes with its own help file in which every function is explained in backlink with bunch of examples included. Check there and see if it would help.

Share this post


Link to post
Share on other sites
water

Don't see any UDF on this page. Are you sure the URL is correct/complete?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×