10-06-2009, 06:49 AM
(This post was last modified: 10-06-2009, 06:56 AM by yuetling926.)
Sorry to tell you that it can't help solve the problem.
Thanks
Jody
I have got the whole scripts for you:
After logout of the broswer and login again,,
runtime error occurs:
"Siebel Automation Object is unavailiable for 120000 ms"
Thanks
Jody
I have got the whole scripts for you:
Code:
Browser("Siebel Energy (CMS DR)").Page("Siebel Energy (CMS DR)").WebEdit("_SweUserName").Set "wilson_li"
Browser("Siebel Energy (CMS DR)").Page("Siebel Energy (CMS DR)").WebEdit("_SwePassword").SetSecure "1231343645756hgnkm9omiukmety"
Browser("Siebel Energy (CMS DR)").Page("Siebel Energy (CMS DR)").WebEdit("_SwePassword").Submit
SiebApplication("Siebel Energy (CMS DR)").SiebPageTabs("PageTabs").GotoScreen "Accounts Screen"
SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Account").SiebView("All Accounts").SiebApplet("Accounts").SiebButton("Query").Click
SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Account").SiebView("All Accounts").SiebApplet("Accounts").SiebList("List").SiebCheckbox("New").SetIndeterminate
SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Account").SiebView("All Accounts").SiebApplet("Accounts").SiebList("List").DoubleClick 0,"Account Number"
SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Account").SiebView("All Accounts").SiebApplet("Accounts").SiebList("List").SiebText(">Account No").SetText "1*"
SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Account").SiebView("All Accounts").SiebApplet("Accounts").SiebButton("Go").Click
SiebApplication("Siebel Energy (CMS DR)").SiebMenu("Menu").Select "File\\File - Logout"
Browser("Siebel Energy (CMS DR)_2").Page("Siebel Energy (CMS DR)").WebEdit("_SweUserName").Set "wilson_li"
Browser("Siebel Energy (CMS DR)_2").Page("Siebel Energy (CMS DR)").WebEdit("_SwePassword").SetSecure "frvrvhtrgbvrbh123dn3k435gv56tbtry"
Browser("Siebel Energy (CMS DR)_2").Page("Siebel Energy (CMS DR)").WebEdit("_SwePassword").Submit
SiebApplication("Siebel Energy (CMS DR)").SiebPageTabs("PageTabs").GotoScreen "Accounts Screen"
SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Account").SiebView("All Accounts").SiebApplet("Accounts").SiebButton("Query").Click
SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Account").SiebView("All Accounts").SiebApplet("Accounts").SiebList("List").SiebCheckbox("New").SetIndeterminate
SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Account").SiebView("All Accounts").SiebApplet("Accounts").SiebList("List").DoubleClick 0,"Account Number"
SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Account").SiebView("All Accounts").SiebApplet("Accounts").SiebList("List").SiebText(">Account No").SetText "1*"
SiebApplication("Siebel Energy (CMS DR)").SiebScreen("Account").SiebView("All Accounts").SiebApplet("Accounts").SiebButton("Go").Click
SiebApplication("Siebel Energy (CMS DR)").SiebMenu("Menu").Select "File\\File - Logout"
After logout of the broswer and login again,,
runtime error occurs:
"Siebel Automation Object is unavailiable for 120000 ms"