Contributions
Re: mutiple monitors with different resolution
It keeps giving me "Unable to find the object Sys.Browser("iexplore"). See Additional Information for details. " while running "Sys.Browser().BrowserWindow(0).Maximize();"even tho it ran well before. I am using IE11, and testcomplete 101.4KViews0likes1Comment- 1.4KViews0likes3Comments
mutiple monitors with different resolution
Hi All I just found somehing really weird. That My scripts run well with mutilple monitors with the same resolution, I recently changed one of them to another resolution, then it's always trying to find the browser, and it fails finding it all the time. Does anyone know anything about this? Thanks Veronique1.5KViews0likes5CommentsRe: How to use the value in the previous function
No, it's Jscript, but it's not in script, it's calling thru excel like below, DND function will be using two params returned by CreateAnItemUnderAnyTree( ). I think I need to create a global variable, but I really have no idea about the details... I do know how to create a global variable, but I don't know how it would serve my purpose.1.3KViews0likes2CommentsHow to use the value in the previous function
For example: function a (b) { return (c:c) } function a (e) { return (f:f) } function d (c,f) { //Statement } I am calling the functions thru excel,I would like to run function a twice and use the returned value in function d. how can I do that ? or if there's any other easier way?Solved1.3KViews0likes4Comments- 1.3KViews0likes0Comments
- 1.3KViews0likes2Comments
Lauching IE not successfully
This might be an old topic, I am using below script to launch IE, but I found sometimes, it can not be done successfully, because the browser is already running while clearly the browser is not launched... Is there any way that I can improve this? I tried other methods before I came up with below script, this is the best solution so far, if I go with other solutions, I am more likely to fail lauching the browser. Even with this one, it fails sometimes with much lower frequency while (Sys.WaitBrowser().Exists) Sys.WaitBrowser().Close(); Browsers.Item(btIExplorer).Run(); webPageObj = Sys.Browser("iexplore*").Page("*"); Sys.Browser().BrowserWindow(0).Maximize(); Browsers.CurrentBrowser.Navigate(ProjectSuite.Variables.url) webPageObj.Wait(10);1.4KViews0likes4Comments