Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Excel popup handling
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,
In my application when i click on one link .A excel is poped.I have to compare the values from this excel and from application.

I am saving the excel file by activating in using -
Window("Microsoft Excel").Activate
and then using the shortcut keys to save . Ctrl+s
Then comparing values.

But This code is not working fine everytime.Sometimes it works fine some times it doesnt recognise the excel object.

please help.
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Can you paste your part of code here?

Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Sorry for teh delay in reply.

The code is -
Code:
Window("Microsoft Excel").Activate
Window("Microsoft Excel").type micCtrlDwn + "S" + micCtrlUp

I am activating the pop-up and saving it using shortcut keys.
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Doesn't it ask for a name to be "saved as"?if no, then the file is already saved somewhere in your system.
If so,you can easily work with it by creating its object through "Excel.Application"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
MyBB how can i automatically click ok button in msgbox popup test 11 24,859 07-12-2022, 11:50 PM
Last Post: akash warke
  Close popup ad windows dustwynn 1 2,951 10-25-2016, 05:57 PM
Last Post: Ankur
  popup window takes a long time bistritapcv 4 3,558 04-17-2013, 09:35 PM
Last Post: bistritapcv
  QTP Opens a popup window but won't recognize the buttons in the window Blaster0007 4 7,862 07-20-2012, 12:03 AM
Last Post: sree.85
  Error popup message is not coming toniqtp 2 3,107 03-22-2012, 08:13 AM
Last Post: toniqtp

Forum Jump:


Users browsing this thread: 1 Guest(s)