ContributionsMost RecentMost LikesSolutionsRe: Way to map dynamic button (Web) The Name Mapping has the Name mapped to: FindElement("//button[contains(., 'AA')]") where the test client has a first name beginning with "A" and last name beginning with "A". So the dynamic part is here. Way to map dynamic button (Web) I have a button which is identified in the web application by taking the first letter of the first name and the first letter of the second name. I don't think xPath will work to try and do a regex. Can I script a test in Python? SolvedRe: Overwriting Files with aqFile.WriteToTextFile 15.62.2.7. Overwriting Files with aqFile.WriteToTextFile According to the documentation, the True parameter should overwrite existing files. aqFile.WriteToTextFile(FooFile, Sys.Clipboard, aqFile.ctUTF8, True) But this is not the case for my keyword test. If I delete the files before, then everything is fine, but it will not overwrite the existing files with the same name. SolvedRe: Closing multiple processes with same name Thank you! Closing multiple processes with same name I am using this Python script to close a desktop process so TestComplete can proceed. It works fine with a single process of name "foo". def close_foo(): # Obtains the foo process and closes it p = None p = Sys.WaitProcess("foo", 500) if (p.Exists): Log.Message("close_foo: Closing foobar") p.Close() else: Log.Message("close_foo: foobar not running") # Checks whether the process is closed if (p.Exists): # Terminates the process p.Terminate() Log.Message("close_foo: Terminated foobar") However, the desktop application can behave badly and launch multiple instances of a process named "foo". How can I loop through existing processes until all are closed? SolvedRe: Scope of Data-Driven Loop Table Variable Thank you so much! I got it working, but I did need to include the ".Value". Scope of Data-Driven Loop Table Variable I have a keyword test level variable from a DB table called accountID. If I want to use the current run time value of this variable in a script routine inside my keyword test, do I need to pass it as a parameter to the script routine? Currently I have this line inside my Python script routine which is not working at all. FooFileName = KeywordTests.checkFoo.Variables.Value["accountID"] where checkFoo is the name of the keyword test and accountID is the data-driven loop DBTable variable. This returns a "The object does not support this property or method". SolvedPulling in Dynamic Links from a web page My problem is exactly as described on this Community post: Dynamic Link Collection and Verification | SmartBear Community But all the links in that post are broken. Did the information from automatedQA get migrated to this community somewhere? Re: Best practices for dealing with a highly volatile desktop app OK, it looks like I figured it out. The main window caption was changing per main list box entry I clicked on. I've used wildcarding and OCR actions to work through the problem.