Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can i automatically click ok button in msgbox popup
#4
Solved: 11 Years, 4 Months ago
Hi Ajay,

As per my knowledge its not possible, but you can create the MsgBox with time limit. use below code


Code:
For i=0 to 3
    
    Set a=createobject("wscript.shell") 'Creat one object
    msgbox_message="Your Text"
    msgbox_time=5
    msgbox_title=""
    a.popup msgbox_message,msgbox_time,msgbox_title
    
    Set a=Nothing

Next

Regards,
Ankesh
This is the alternate solution....

Istead of writing like msgbox "Hello" , u can just write ur text in the variable like msgbox_message="Your Text" if you are using the above code..
This would serve ur purpose.

Do let me know if u have a query.

Regards,
Ankesh
Reply


Messages In This Thread
RE: how can i automatically click ok button in msgbox popup - by Ankesh - 09-13-2011, 05:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  no action on click for particular wpf button jlavrecka 1 1,438 05-21-2020, 11:33 PM
Last Post: jlavrecka
  Help for instruction to click on Skip button in the warning message vijilesh 0 1,522 09-16-2018, 03:48 PM
Last Post: vijilesh
  Close popup ad windows dustwynn 1 2,966 10-25-2016, 05:57 PM
Last Post: Ankur
  Unable to Click on Login Button Paurav 1 3,291 07-03-2014, 05:27 AM
Last Post: supputuri
  Right Click On a Image and Click on a Link in WebElement RameshKrishnan 4 5,437 07-10-2013, 04:13 PM
Last Post: RameshKrishnan

Forum Jump:


Users browsing this thread: 3 Guest(s)