Contributions
Re: How do you minimize TestComplete after execution begins?
Hi! I ran into the same problem with a User Form bringing TestComplete back to its restored state. The code works fine in TC, but will fail if the suite is run in TestExecute because the process name ('TestComplete') will NOT be found. I've tried to use a Try..Except block and Log.LockEvents / Log.UnlockEvents : try Log.LockEvents(); (* turn OFF logging *) Sys.Process('TestComplete').Window('TfrmTCMainForm', '*', 1).Minimize(); Log.UnlockEvents(); (* turn ON logging *) except end; This will still trigger an error condition when run in TestExecute.... Is there some other way to have a special case for TestExecute so there will not be an Error in the logs due to this condition? Thanks! Steve1.4KViews0likes0CommentsRe: Addressing FireFox Tabbed URLs
Hi Alexie, Yes, I have seen those articles. They were a help and a hindrance at the same time. They gave me a good overview of the process and some good tips. I tried the downloaded project and could not get it work properly... Spent about 4 hours trying to correct it. Uggh! I have uploaded a demo project to the Tech Support email with what I am seeing with the tabbed url pages in FireFox. Thanks for the assist! Steve2KViews0likes0CommentsRe: Addressing FireFox Tabbed URLs
Hi David, Thanks for your reply. I have now turned on the option, "Show hidden properties" . I don't think that it made any real difference in this issue... I've finally been able to correct my logic to accurately select the correct FF tab. I ended up clicking on the Tab Select button (far Right side of screen), then using keys to press the [Down] button to select the Tab 1 through N. It's clumsy, but it works. My next problem - I'm trying to get the html page of the newly activated FF tab. I have placed numerous sys.process('firefox').Refresh() commands to make sure that I'm looking at the code behind the correct tab. I'm constantly getting the old ("stale") version of the html code from the prior FF tab. Interactively (and in the debugger), I can switch between the FF tabs, click on the FreshAll button in the Object Explorer. The object tree will get updated correctly. Under script control, I'm getting the old tabs code. Can anyone reproduce this FireFox and Tab code situation in a script?? Thanks In Advance! Steve2KViews0likes0CommentsAddressing FireFox Tabbed URLs
Hi All, I've run into a problem with TC v7.5 and the FireFox v3.5.5 browser. I need to be able to open up multiple versions of the AUT (IE & FF). The IE script works fine, since each browser is a separate process. In FireFox, TC only sees 1 process (even if there are 2 or more browsers open). I've tried to use tabbed browsing in FF, and that works to a degree. I need to navigate each FF tabbed window to the same url. Inspecting the processes, the Page() object will sometimes have the identical Page() object with the same url. I'm not sure how to differentiate between the two similar objects. In playing around with FF and Tabs, I was able to get distinct Page() objects if I used Ctrl-T when opening the new url. This gives me the objects : Page('http:\\server\page1.html') (tab 1) and Page('http:\\server\page1.html',1) (tab 2) Has anyone solved the problem of addressing the FireFox tabs that are on the same url? Thanks! Steve20KViews0likes5Comments