[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Performing a postback using Ruby

Will Jenkins

5/6/2008 2:11:00 PM

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
--
Posted via http://www.ruby-....

2 Answers

Axel Etzold

5/6/2008 2:22:00 PM

0


-------- Original-Nachricht --------
> Datum: Tue, 6 May 2008 23:10:59 +0900
> Von: Will Jenkins <wjenkins@bca-group.com>
> An: ruby-talk@ruby-lang.org
> 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
> --
> Posted via http://www.ruby-....

Hi --

you can use AutoIt

http://www.autoitscript.co...

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

Best regards,

Axel


--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_...

Will Jenkins

5/7/2008 9:55:00 AM

0

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

--
Posted via http://www.ruby-....