Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues while running QTP Script in Siebel.
#1
Solved: 10 Years, 8 Months, 1 Week ago
Hi,
I am facing this issue for quite a long time.
The issue is while running QTP script it gets stuck in first line and does not proceed to second line.The first line changes status of a particluar field in siebel.Below is the code:
Line1:
Code:
SiebApplication("Siebel Sales").SiebScreen("Leads").SiebView("My Leads").SiebApplet("Lead").SiebPicklist("Lead Status").Select"Accept-Create New Project/Opty"

Line2:
Code:
Browser("Siebel Sales").Dialog("Microsoft Internet Explorer").WinButton("OK").Click

Please provide solution other than recovery scenario for this issue.

Thanks,
Smita
Reply
#2
Solved: 10 Years, 8 Months, 1 Week ago
Hi smita,

whats the error is displaying while executing the script?

Regards
Bala
Reply
#3
Solved: 10 Years, 8 Months, 1 Week ago
Not getting any issue
While the status of the field is changed in application then atonce the message box pops up.This message box has title as "Microsoft Internet Explorer".
QTP is unable to do Ok to this pop up.
Reply
#4
Solved: 10 Years, 8 Months, 1 Week ago
Hi smita,

Record that popup message box and click the ok button ,if it is not recording change the recording mode like lowlevel and analog recording for that part only or try with virtual object option....

Regards
Bala
Reply
#5
Solved: 10 Years, 8 Months, 1 Week ago
Hi Bala,

After low level recording i got the below code:
Code:
Window("Microsoft Internet Explorer_2").Window("Microsoft Internet Explorer").Activate
Window("Microsoft Internet Explorer_2").Window("Microsoft Internet Explorer").WinObject("Please Click on 'OK' to").Click
Window("Microsoft Internet Explorer_2").Window("Microsoft Internet Explorer").WinObject("OK").Click
But still the same issue,during running QTP does not come to this line.

Thanks,
Smita
Reply
#6
Solved: 10 Years, 8 Months, 1 Week ago
Hi smita,

Try with analog recording or use the step generator to capture the particular ok button

Regards
Bala
Reply
#7
Solved: 10 Years, 8 Months, 1 Week ago
The Ok button is captured by QTP, but the issue is whenever the status gets changed in application atonce the window pops up,QTP does not identify this window and gets stuck over here.
Reply
#8
Solved: 10 Years, 8 Months, 1 Week ago
Hi smita,

Suppose the ok button is dynamic one , it will identified first time after it will not identified so for that use the regular expression for ok button .go to object repository convert the property into Regular expression for Ok button.

Regards
Bala
Reply
#9
Solved: 10 Years, 8 Months, 1 Week ago
Hi Smita Dash,

why can't you think about the sync?
Thanks,
SUpputuri
Reply
#10
Solved: 10 Years, 8 Months, 1 Week ago
Hi,

Still no success with sync.

Thanks,
Smita
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues while uft script execution AAB 4 4,467 10-05-2015, 07:23 PM
Last Post: supputuri
  Running QTP scripts without QC sowjanya 3 5,885 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,435 02-06-2014, 12:23 AM
Last Post: vsampark
  Windows 8 envirnment error while running QTP script. Rashmi Rajpal 0 2,323 10-10-2013, 12:21 PM
Last Post: Rashmi Rajpal
  QTP does not stop running furqanmlk 2 3,649 08-25-2013, 02:06 PM
Last Post: GregHicks

Forum Jump:


Users browsing this thread: 1 Guest(s)