Jump to content
Sign in to follow this  
Babu16

Unable to identify the Table on Pivotal CRM windows application

Recommended Posts

Babu16

Hi All,

I'm trying to automate Pivotal CRM application, the challenge i'm facing is that i have a table on this application which is not recognized by Autoit, since then, i'm unable to read the data.

my goal is to read the data on a table and then validate, Can you please  share your thoughts on how to automate this?

Regards,

Hari

Share this post


Link to post
Share on other sites
Earthshine

could you please share your code, even if it's not working so others can see if they can help? What does the Au3Info tool say about it? or other spy tools?


My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
Babu16

Here you go for the code.

i'm able to get the no of tables on windows application but i need a table name to traverse through rows and columns to validate them.


#include <Array.au3>
#include <IE.au3>

ControlFocus("Case:Pivotal CRM - Smart Client Framework","","[CLASS:Internet Explorer_Server; INSTANCE:1]")

Local $oIE = _IE_Example("Internet Explorer_Server")

Local $oTable = _IETableGetCollection($oIE)
Local $iNumTables = @extended
MsgBox($MB_SYSTEMMODAL, "Table Info", "There are " & $iNumTables & " tables on the page")

_IEQuit($oIE)

Share this post


Link to post
Share on other sites
Danp2
Quote

Local $oIE = _IE_Example("Internet Explorer_Server")

This line returns an error and doesn't set the value of $oIE because "Internet Explorer_Server" isn't a valid value to pass as a parameter. Perhaps you meant to use _IEAttach?

Does Pivotal CRM run in a browser window?

Share this post


Link to post
Share on other sites
Babu16

No, this will be opened through .exe file

Share this post


Link to post
Share on other sites
Danp2

I'm not familiar with this product. Please help us understand your environment so that we can suggest a viable solution. Why you are using the _IE functions to interact with an application? Does it use an embedded IE control?

Please explain.

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  

×