03-02-2011, 04:32 PM
Hi,
In my scenario, when i change the status of the SR to Ready for Service, a popup comes,
"Are you sure the Service Request is Ready for service?"
After clicking Ok button for this popup, some background validation happens which is in siebel after that, another popup appears ,"Ready for validation is completed". Here Ok button has to be clikced..
For this, I tired this piece of code.
After using this piece of code, the popup comes twice.
Help me out.
In my scenario, when i change the status of the SR to Ready for Service, a popup comes,
"Are you sure the Service Request is Ready for service?"
After clicking Ok button for this popup, some background validation happens which is in siebel after that, another popup appears ,"Ready for validation is completed". Here Ok button has to be clikced..
For this, I tired this piece of code.
Code:
SiebApplication("Siebel Call Center").SetTimeOut(10)
Reporter.Filter = 3
On Error resume Next
SiebApplication("Siebel Call Center").SiebScreen("Service - R5").SiebView("Service Request Field").SiebApplet("Service Request_2").SiebPicklist("Status").Select "Ready for Service"
Reporter.Filter = 0
Err.Clear
Browser("Siebel Call Center").Dialog("Windows Internet Explorer_3").WinButton("OK").Click
Browser("Siebel Call Center").Dialog("Windows Internet Explorer_3").WinButton("OK").Click
rc = SiebApplication("").SetTimeOut(originalTimeout)
After using this piece of code, the popup comes twice.
Help me out.