Contributions
Which port of the computer running TC needs to be allowed access to port 1947 on the lic manager PC
I have a computer A inside a firewall which needs to connect to a computer B(floating license server PC) outside the firewall. Which port on computer A(on which TestComplete is installed) needs to be opened to connect to port 1947 on computer B for successfully using the floating license?1.3KViews0likes2CommentsRe: How to scroll to the bottom of a custom table
I work with an application where I need to scroll down a listbox and the scroll bar is not something that can be mapped. I get the object dimensions, hover the mouse somewhere inside the box and I use the mouse scroll function to scroll down the items. object.MouseWheel count2.2KViews1like0CommentsRe: Inspect Popup Window with Object Spy
Janis, let's look at this another way. It seems you are able to view the properties of the pop up object but having challenges doing anything with the object spy since the pop up closes when you click the object spy. What exactly are you trying to do for which you need to access the properties of the pop up object? What is your end goal?2.5KViews0likes3CommentsRe: Is it possible to export all functionames
Here is a simple way to do it with Powershell. Open Powershell with Administrator privileges (Right click and select 'Run as Administrator') Command Select-String -Path "C:\TC11Projects\abc\scripts\*.svb" -Pattern ^[ \t]*function Explanation: "C:\TC11Projects\abc\scripts\*.svb" - Folder where the script files are. *.svb identifies the files to be scanned. ^[ \t]*function - regular expression that specifies 'All lines that have function as the first word preceded by 0 or more spaces or tabs' This will give you an output like this: TC11Projects\abc\scripts\ManageAccess.svb:34: FUNCTION Init() TC11Projects\abc\scripts\ManageAccess.svb:43: FUNCTION Goto_HomePage TC11Projects\abc\scripts\CommonActions.svb:43: FUNCTION LogOut1.5KViews0likes1CommentRe: Data Driven Loop with Image Link Variables from Excel
vondie, I am glad you were able to make it work. The few advantages of using FindChild are, 1) You can add, edit and update the list of image names in excel without changing your script. 2) As your list grows, this will keep it manageable. 3) It is better design. Hard coded values in scripts is not a good idea. But if you don't have too many items, your solution would work perfectly fine as well. Good job.1.7KViews1like0CommentsRe: Data Driven Loop with Image Link Variables from Excel
An easier option would be to use the FindChild method to find the image name that you will provide in the excel sheet. FindChild : https://support.smartbear.com/viewarticle/69449/ Algorithm: Declare ParentObject & ChildObject Assign ParentObject Assign ChildObject = ParentObject.FindChild("ImageName",ImgNameFromExcel,5) If ChildObject Exists Then Do something NOTE: The above algorithm has to be coded in your language of preference1.7KViews1like1CommentRe: How to check if a specific Item on a MenuItem object exist
An easier option would be to use the FindChild method to find if the option exists. FindChild : https://support.smartbear.com/viewarticle/69449/ Algorithm: ChildObject = ParentMenu.FindChild("Caption","OptionX",5) If ChildObject Exists Click It Else Display message1.1KViews1like1Comment