Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sound when Click on QTP
#1
Solved: 11 Years, 4 Months ago
Hi!

I have a question: Is there a way to quit the sound that my pc does when a click action has been run?

I mean: I record and run a test, then while running all the steps that make a click (on a button must the times), there is a sound, Is there away to... I don't know like mute or something....

I hope so...
Reply
#2
Solved: 11 Years, 4 Months ago
Yagarules -
Excuse my ignorance, but wont the Volume Control Mute on your PC work ?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Solved: 11 Years, 4 Months ago
Hi Yagarules,
In case you really want to do it through your script
Insert following statements at the beginning of your script
Code:
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys(chr(173))

and put this statement again at the end of your script which will put the sound ON again
Code:
WshShell.SendKeys(chr(173))

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Right Click On a Image and Click on a Link in WebElement RameshKrishnan 4 5,402 07-10-2013, 04:13 PM
Last Post: RameshKrishnan
  How do I left click on the right click menu in WinTreeView? RandomGrin 0 3,915 12-22-2012, 04:22 AM
Last Post: RandomGrin
  How do I left click on the Right click menu? RandomGrin 2 4,211 12-18-2012, 09:47 PM
Last Post: RandomGrin

Forum Jump:


Users browsing this thread: 1 Guest(s)