Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues while running QTP Script in Siebel.
#12
Solved: 11 Years, 3 Months, 3 Weeks ago
Smita -
Try this,
Save the below file as dialoghandler.vbs file. Store it in your local hardrive.

Just before the code where the dialog comes up write this,

systemutil.Run "C:\windows\system32\wscript.exe", "C:\dialoghandler.vbs"

Let me know if this resolved your issue.

Code:
Set fso = CreateObject("WScript.Shell")
While fso.AppActivate("Microsoft Internet Explorer") = FALSE  
wscript.sleep 1000
Wend
fso.SendKeys "a", True

fso.SendKeys "~", True

wscript.sleep 7000

While fso.AppActivate ("WIP Session Recovery") = FALSE  
wscript.sleep 1000
Wend

fso.SendKeys "~", True

Should be like this,

Code:
SiebApplication("Siebel Sales").SiebScreen("Leads").SiebView("My Leads").SiebApplet("Lead").SiebPicklist("Lead Status").Select"Accept-Create New Project/Opty"
wait 2
systemutil.Run "C:\windows\system32\wscript.exe", "C:\dialoghandler.vbs"
'Line2:
'Browser("Siebel Sales").Dialog("Microsoft Internet Explorer").WinButton("OK").Click


I apologize.Pasted in haste, Corrections made to the function.

Code:
Set fso = CreateObject("WScript.Shell")
While fso.AppActivate("Microsoft Internet Explorer") = FALSE  
wscript.sleep 1000
Wend
fso.SendKeys "a", True

fso.SendKeys "~", True

wscript.sleep 7000

While fso.AppActivate ("Microsoft Internet Explorer") = FALSE  
wscript.sleep 1000
Wend

fso.SendKeys "~", True
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


Messages In This Thread
RE: Issues while running QTP Script in Siebel. - by basanth27 - 08-17-2009, 04:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues while uft script execution AAB 4 4,838 10-05-2015, 07:23 PM
Last Post: supputuri
  Running QTP scripts without QC sowjanya 3 6,124 07-16-2015, 11:16 AM
Last Post: ravi.gajul
  QTP Siebel: execution issue when form applet button invokes browser dialog box impreetam 2 4,647 02-06-2014, 12:23 AM
Last Post: vsampark
  Windows 8 envirnment error while running QTP script. Rashmi Rajpal 0 2,444 10-10-2013, 12:21 PM
Last Post: Rashmi Rajpal
  QTP does not stop running furqanmlk 2 3,910 08-25-2013, 02:06 PM
Last Post: GregHicks

Forum Jump:


Users browsing this thread: 2 Guest(s)