Contributions
Re: Capture image of a window, ignoring other dialogs overlapped on it
Hello, Actually No. After activating the desired window, it does get activated but the overlapping dialog still stays on top of it. So when i capture image i get both the windows. I am looking for some code where i can capture image of the desired window, even if there are overlapping windows on that. The only way is to drag the overlapping window to some other location and then capture image of desired window, but this is painful when there are multiple overlapping windows. Thanks! -Pankaj671Views0likes0CommentsCapture image of a window, ignoring other dialogs overlapped on it
Hello, Want to capture an image of a window say "WindowA". But there are some tool strips, small dialogs which are movable [like one can drag those from one location to other]. Such dialogs are present on "WindowA" Now want to capture image of only "WindowA", but not working. All other overlapped dialogs, tool strips are coming on that. I do not want to move them each time capturing an image of WindowA. Is there any solution to this ? Thanks! -Pankaj21KViews0likes3Commentswindow names
Hello, Somehow the names of the objects of my tested application are changed in the object browser. The window names looks like shown in attached image. something like garbage names. Not sure what i did wrong? Because of this my named mapping fails and script fails. Any idea? Thanks Pankaj18KViews0likes3CommentsNamed mapping issue with dockable objects
Hello, iam mapping the name of the object. The scenario is like this.. My object is MainBox, which has parent Topwindow, which has parent TopMostWindow. I am mapping the name of MainBox. So it is mapped properly if i dont change the position of MainBox. When i click certain menu on TopMostWindow, the MainBox is opened. But the position of this is not fixed. It is dockable. So it depends on the docking , which parent it will have . 1. MainBox may have parent TopMostWindow 2. MainBox may have parent Topwindow, which has parent TopMostWindow So i want to remove this dependency. I do not want the Parent attribute to be used while identifying the object thro named mapping. Above case is sample case. In actual, there are many parent-child changes with my dialog boxes depending upon docking and the docking is not fixed. I tried using the help given at "http://www.automatedqa.com/support/viewarticle.aspx?aid=12482" regarding Removing Identification Properties From Mapping ..But was not useful. I couldnt delete it. It deletes the tree node and not the property. In short, is there a way to handle the dockable objects when the hierarchy changes depending upon the docked position? Any video if available will be useful. Thanks! -Pankaj13KViews0likes1CommentRunning python script
Hello, Can I run a python script within testcomplete tested apps? Basically i am getting an xml as a output with i am comparing with benchmark. The output xml contains some changing attributes which i do not want to be in the xml. So creating a python script to delete the non required attributes from the xml. Now question is can i run this python script in test complete.. Or is there any better way.. Thanks! -Pankaj20KViews0likes1CommentRunning python script
Hello, Can I run a pyhon script within testcomplete tested apps? Basically i am getting an xml as a output with i am comparing with benchmark. The output xml contains some changing attributes which i do not want to be in the xml. So creating a python script to delete the non required attributes from the xml. Now question is can i run this python script in test complete.. Or is there any better way.. Thanks! -Pankaj17KViews0likes2CommentsRe: Emailing Project Log
Hello, I am having similar kind ofproblem. I used "BuiltIn.SendMail" and passed on correct address and host. Getting error as "Socket Error # 10061 Connection refused.".. I tried using "BuiltIn. SendMAPIMail" but this also failed.. Any help is appreciated.. Thanks! -Pankaj539Views0likes0CommentsRe: Data Driven Test case
Thanks..This helped.. My second question is 'Can we have non required data in the xls..Non required data here means which is not used in the ddt in a perticular function, but is used somewhere else in other function..?' Example : My xls sheet contains Name, Address, Amount and my function is Function test1() { ....keys(DDT.CurrentDriver.Value("Name")); } Address and amount from xls are used in other function which i ll run after this.. Right now i am getting Name entries as expected, but after those its typing as null in my text field?? Thanks! -Pankaj734Views0likes0CommentsData Driven Test case
Hello, I am trying data driven test with TestComplete. I am successful in retriving the data from csv file and enter in the text field in my application, now here what i wish to execute some other command and then return back to the text field to enter next value from the csv file.. How this can be done?? Right now all the values are entered one after another..but i want to execute another command after every value. Thanks Pankaj12KViews0likes3Comments