472,804 Members | 1,605 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,804 software developers and data experts.

save popup window using perl script

12
Hi,
Is there any way to write perl script to save the popup window into specified location.Please anyone help on this.

Thanks is advance.
Jul 17 '08 #1
4 4232
KevinADC
4,059 Expert 2GB
What do you mean by "popup window"?
Jul 17 '08 #2
jyo123
12
What do you mean by "popup window"?
I have an application where it has few text boxes and save changes button.If i enter few relevant characters and hit button save changes i get a pop up window saying Request Acknowledged - No errors reported.This message is in table data of that window.I want save this window using perl script to different location or i want retrieve characters appeared in this window into some file.
Jul 18 '08 #3
jyo123
12
I have an application where it has few text boxes and save changes button.If i enter few relevant characters and hit button save changes i get a pop up window saying Request Acknowledged - No errors reported.This message is in table data of that window.I want save this window using perl script to different location or i want retrieve characters appeared in this window into some file.


some one help me on this know ....:-(
Aug 13 '08 #4
jyo123
12
some one help me on this know ....:-(
HI, I have written a script to get the text from PopupWindow.But when i run it is showing error in IEAutomation.pm like this -

Expand|Select|Wrap|Line Numbers
  1. -Use of uninitialized value $counter in numeric le(<=) at E:/Perl/site
  2. +/lib/win32/IEAutomation.pm line 537
  3. -Can't call method "title" on an undefined value at E:/Perl/site/lib/w
  4. +in32/IEAutomation.pm line 542.
Following is my perl script -
Expand|Select|Wrap|Line Numbers
  1. #!/usr/bin/perl
  2. use Win32::OLE;
  3. use Win32::IEAutomation;
  4. $IE = Win32::OLE->new("InternetExplorer.Application")
  5.     || die "Could not start Internet Explorer.Application\n";
  6. $IE = Win32::IEAutomation->new( visible => 1, maximize => 2);
  7. $IE->gotoURL('http://10.255.114.191/snmpconfig.html');
  8. $IE->getButton('caption:',"Configure SNMP v1/v2c" )->Click;
  9. open(OUT, "E:/test/input.txt") || die;
  10. @lines =  <OUT>;
  11. foreach $value (@lines)
  12. {
  13. $IE->getTextBox('name:',"get_comm_name")->SetValue("$value");
  14. $IE->getButton('caption:',"Apply")->Click;
  15. sleep 5;
  16. my $popup = $ie->getPopupWindow("Request Acknowledged-Phaser 4510DT");
  17. $popup->getTable('id:', "headingtext")->Click;
  18. }
  19. close OUT;
Please anyone give me solution for this
Aug 13 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

38
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find...
2
by: Al Clare | last post by:
Hello, I am currently having problems with Popup windows in an application I am writing. I have a page, which opens a Popup window to a Perl Script on another server. Because of this, I cant...
12
by: HarveyB | last post by:
I would like to generate non-modal popup windows from ASP.Net code-behind. I have tried using Client Side scripting like "function Test(){ window.open('test.htm',_blank,...
6
by: Logger | last post by:
Help, Want someone's option. I'm calling a popup screen, say form B, to add/edit a record. In, say form A, I call form B using javascript window.open in server side code. I need to know when I...
3
by: Sol Linderstein | last post by:
Hi, I'm writing a CGI application and here's what I'm stuck with. There are some text boxes in an html form that I want to validate. The validation needs to happen on the server side because the...
3
by: ypress | last post by:
Hi. I have a page that contains this simple function: <script language="javascript"> function openPop(url, name, w, h) { var features = ""; features += "scrollbars=no,"; features +=...
1
by: JJ | last post by:
Hi All, How in ASP.NET, from PopUp window: 1) - save Data in Database; and after 2) a) - Reload the opener window b) -close PopYp window. Note:
3
by: clsmith66 | last post by:
I am building an ASP.NET application where I have been required to make all the editing screens popup windows within the application. I didn't have any trouble creating the new windows but only...
2
by: VMI | last post by:
I have a LinkButton_search on my Page1.aspx that opens up a popup page called popup.aspx. I do this with LinkButton.Attributes.Add() on the Page_Load of Page1.aspx. How can I add server-side code...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.