Contributions
Re: Testcomplete support for SAP application
Hi Alex, Without direct SAP object add-in/support, I would not say that "Yes, it can." is an honest answer. Sure, I do not argue thatyou can indeed use text recognition, OCR, etc...but that's true about any environment while the question was clearly directed to confirm or disconfirm the real SAP support from testComplete. Besides... although walkarounds can be found here and therealmost at every test automation projects, IMHO it is unwise to start one knowing that most of your object identifications/operations will have to be built upon them. I think that it is one of the main reasons, people buy UFT, testComplete or Ranorex licenses instead of using Selenium, Sikuli or other freeWare tools with mostly unsupported environments.4KViews1like4CommentsRe: waiting for the iexplore object
My previous post is more relevant to this: http://www.sqaforums.com/showflat.php?Cat=0&Board=UBB43&Number=667992&Searchpage=1&Main=664542&Words=+pebranch&topic=&Search=true however I am not registered there.. so if you are, please put link which connects it. thanks1.3KViews0likes0CommentsRe: waiting for the iexplore object
Hello guys, for some weeks I had the same problem. At the start (at the very beginning) of EVERY single test execution, even when it was simplest function which calculates 2+2 (simplest mathematical operation,... so it did not identify nor performed any operation on any object from IE or any other application), testComplete waited for iexplore object. I checked settings, unit references, ... everything. No matter what routine I run, testComplete always waited for iexplore and only after that continued. I had no idea why, but after creating new project in testComplete, I found out that this does not happen. Piece by piece, I kept copying parts of testComplete project, where I had this problem, and I found out that the problem was my mistake. During debugging I left this piece of code in between 2 functions: function a() {smth} Sys.Browser("iexplore").BrowserWindow(0).Restore(); function b() {smth} Since testComplete always checks syntax in every routines (scripts), it logically always tried to execute this part of code, apparantly because it did not belong to any function and was just hanging there. So if, for any reason, you experience testComplete hanging and waiting for some process (for no known reason), you might have done the same mistake as I did and left some code somewhere. Hope it helps somebody :-)1.3KViews2likes0CommentsRe: Problem: IE8 creating multiple iexplore process instances
Hello everybody, I have similar problem related to the topic. Even though my script at the beginning always closes all running IE browsers and then opens own, it fails when my colleague has IE opened as well since he is using the same server. Sure, he uses own account, but if he opens own IE, then his process is Sys.Browser("iexplore"), while my scripts at the beginning of execution kills only iexplore processes running under my account and when new IE browser is opened, it is no longer Sys.Browser("iexplore") but Sys.Browser("iexplore", 2). So the problem here is caused entirely by the server - which is stacking IE processes - while testComplete naturally see them all... even though some of them do not belong to other users. Is there any solution or workaround how to ignore processes running on different server users? If not, then some different solution: Thank you!3.2KViews0likes0CommentsGetting Call Stack Information during execution?
Hello, In case of failure, is it possible to get call stack information and use it before test execution stops from log object or some other? I know I can find it in testComplete's log, but is it possible to get it and store it for instance into some variable before test execution stops? With testComplete I am generating my own html report and if some error occurs I wish to store all vital information via Eventsinto this report, especially script rows on which script failed. Is there any way how to obtain it? Thanks!!4.9KViews0likes1CommenttestComplete stops execution without generating any error or warning
Hello, I moved my well-working testComplete scripts from laptop (Windows 7) to virtual server (Ms Windows server 2008 R2 Standard). I updated paths to xls data files and other stuff so script does not fail trying to load something which does not exist, configured Internet Explorer based on instruction on SmartBear, etc... Everything seems ok, however, on several places in my scripts, testComplete stops execution. That would not be strange at all - it is common practice that time to time it happens - I usually find & debug and fix the problem. However... when script pre-maturely stops the execution, it should generate at least some error log, explaining what happened... but that does not happen. TestComplete simply stops like I would click on Stop button manually. But when I click manually on Stop button during execution - Log writes information about that - e.g.: "test script was interrupted" or smth like that... My scripts usually stops without explanation on lines with: eval()orsetActive() functions... however not always. Complete mystery to me...4.8KViews0likes1CommentRe: I am not able to get Text in 'ThunderRT6FormDC' object
Hi Suvidh, Please give us more details about your application. Naturally... text recognition works ONLY on "visible" text displayed on your computer. I presume you already tried aqObject.GetPropertyValue which should extract whole text... http://support.smartbear.com/viewarticle/31069/914Views0likes0CommentsRe: How to work for URL handling in TestComplete8
Hi Ravi, you can parametrize URL as well as whatever differences you might have between individual environments. I am sure that different environment URLs is not the only difference. If yes.. then mentioned wildcard (*) is good solution. For parametrization you can use xls. http://support.smartbear.com/viewarticle/33282/ alternatively: http://support.smartbear.com/viewarticle/28014/ if you wish to make changes in xls.943Views1like0Comments