Micro Focus QTP (UFT) Forums
Issues while running QTP Script in Siebel. - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Issues while running QTP Script in Siebel. (/Thread-Issues-while-running-QTP-Script-in-Siebel)

Pages: 1 2 3


Issues while running QTP Script in Siebel. - Smita Dash - 07-21-2009

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


RE: Issues while running QTP Script in Siebel. - balakrish - 07-21-2009

Hi smita,

whats the error is displaying while executing the script?

Regards
Bala


RE: Issues while running QTP Script in Siebel. - Smita Dash - 07-21-2009

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.


RE: Issues while running QTP Script in Siebel. - balakrish - 07-22-2009

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


RE: Issues while running QTP Script in Siebel. - Smita Dash - 07-22-2009

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


RE: Issues while running QTP Script in Siebel. - balakrish - 07-22-2009

Hi smita,

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

Regards
Bala


RE: Issues while running QTP Script in Siebel. - Smita Dash - 07-22-2009

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.


RE: Issues while running QTP Script in Siebel. - balakrish - 07-22-2009

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


RE: Issues while running QTP Script in Siebel. - supputuri - 07-22-2009

Hi Smita Dash,

why can't you think about the sync?


RE: Issues while running QTP Script in Siebel. - Smita Dash - 07-29-2009

Hi,

Still no success with sync.

Thanks,
Smita