Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
message box,need to put code in fn library
#5
Solved: 12 Years, 10 Months, 3 Weeks ago
Code:
Function messagebox()
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
end function

call messagebox

Not able to get.....associated the fn library using File->setting->resources->associate



Code:
Function messagebox()
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
end function

call messagebox

Not able to get.....associated the fn library using File->setting->resources->associate
Reply


Messages In This Thread
RE: message box,need to put code in fn library - by diya - 12-04-2012, 08:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help for instruction to click on Skip button in the warning message vijilesh 0 1,901 09-16-2018, 03:48 PM
Last Post: vijilesh
  Using QTP features in Function library TurtleRock 0 2,022 01-30-2014, 06:02 PM
Last Post: TurtleRock
  recovery scenario for closing a message box itself ashima 0 2,487 12-26-2013, 11:10 AM
Last Post: ashima
  QTP is not recognizing Function Library Path associated to the test AshokReddy 2 4,457 12-19-2013, 01:59 PM
Last Post: AshokReddy
  Accessing Environment variable value in Library file vishruth143 1 2,982 09-07-2013, 05:11 AM
Last Post: jacosta

Forum Jump:


Users browsing this thread: 2 Guest(s)