Performing a postback using Ruby

W

Will Jenkins

Hi,
I am trying to automate a page that is written in .Net and uses
webparts. I am unable to work out how to get Ruby/Watir to 'click' on
the webpart control menu (edit/close/delete) so am assuming i can get
round this by mimicking the actual postback that the menu would send if
i could use it. But how would i do this? Essentially it looks like i
need the basic syntax for how to send a change of '__EVENTARGUEMENT' to
the server.
Thanks,
Will
 
A

Axel Etzold

-------- Original-Nachricht --------
Datum: Tue, 6 May 2008 23:10:59 +0900
Von: Will Jenkins <[email protected]>
An: (e-mail address removed)
Betreff: Performing a postback using Ruby
Hi,
I am trying to automate a page that is written in .Net and uses
webparts. I am unable to work out how to get Ruby/Watir to 'click' on
the webpart control menu (edit/close/delete) so am assuming i can get
round this by mimicking the actual postback that the menu would send if
i could use it. But how would i do this? Essentially it looks like i
need the basic syntax for how to send a change of '__EVENTARGUEMENT' to
the server.
Thanks,
Will

Hi --

you can use AutoIt

http://www.autoitscript.com/autoit3/

for Windows Automation ....
Not Ruby, but nice ... and you can can script it from Ruby.

Best regards,

Axel
 
W

Will Jenkins

I'd rather keep it all within Ruby if possible. It's not the IE window
i'm trying to manipulate, it's a webpart within the web page i'm
automating.
Thanks,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top