 |
| View previous topic :: View next topic |
| Author |
Message |
imranasif17 Newbie
Joined: 29 Sep 2009 Posts: 1
|
Posted: Tue Sep 29, 2009 5:09 pm Post subject: Use SendKey method to invoke url box in defects dialog box |
|
|
Hi:
We are using:
Quality Center: 9.0 Patch 36
Web Server:JBoss
Windows Server: 2003
Database: Oracle 9.2
I have a very unique requirement. When a QC user select a value in a
defects field, 'Attach Uniform Resource Locator (URL)' must open. I am using the below code, but it does not
work.
Please resolve, thanks.
[Code]
Function Defects_Bug_FieldChange
if Bug_Fields("BG_USER_40").Value = "In progress" then
MsgBox "You are there"
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.SendKeys "^W"
end if
End Function
[\code][/img] |
|
| Back to top |
|
 |
devanparikh Newbie
Joined: 07 Jan 2010 Posts: 4
|
Posted: Thu Jan 07, 2010 1:15 pm Post subject: Re: Use SendKey method to invoke url box in defects dialog b |
|
|
Hi Imran,
Try this out , just a couple of changes in your code and there you go...
Function Defects_Bug_FieldChange
if Bug_Fields("BG_USER_40").Value = "In progress" then
MsgBox "You are there"
url_link = <url>
Set wShell = CreateObject("WScript.Shell")
wShell.Run url_link,9
end if
End Function |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
 |
|