Sign in to follow this  
Followers 0
dushkin

Automating server side rendered code

5 posts in this topic

Hello,

Does Autoit supports automating of asp, php, etc. pages ?

When I tried to access an HTML section that was created on the server inside asp file I always failed.

Is there a specific way to handle this?

Thanks.

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Thank you FuryCell For the answer.

But it is too generl for me.

I am familar with most of the IE functions.

The problem is that, specificaly, I need to access the following code that is laying under the frame node:

<frame .....>
 <html>
  <head>...</head>
  <body ... >
   <span ...>
    <div id="123"...>
.
.
</frame>

And I can't. For example, I cannot get any object using its ID, for example the div object, which is under the frame node. I tried _IEGetObjByID but it didn't give me the object.

Now the html code starting at the html tag is a server side generated code, build by asp. So I am "affraid" it is related.

Thanks.

Edited by dushkin

Share this post


Link to post
Share on other sites

For example, I cannot get any object using its ID, for example the div object, which is under the frame node

You should get a refference to the frame first, using _IEFrameGetObjectByName, then use it in _IEGetObjById

Share this post


Link to post
Share on other sites

You should get a refference to the frame first, using _IEFrameGetObjectByName, then use it in _IEGetObjById

Thanks.

Well, as I mentioned, that was exactly what I done, but IEGetObjById retuned me 0 with a NO MATCH error.

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  
Followers 0