Contributions
Setting Project Variable at Test Time...
...and comparing the test variable to screen elements. Need help with the following: 1. Create the Variable (this is created from the nameStr of an image on the screen) 2. Compare the variable to the nameStr of other images in the website (that are meant to adopt the namestr of the parent specified in 1.) Thanks!1.2KViews0likes1CommentRe: Running a .sql file against a database during playback
"FYI, this is encapsulated in a TestComplete ScriptExtension that I created in TestComplete 8 a while back.... if you want, I can make it available to you." Perfect and that should work in TC10 too yeah? That would be great thanks!4KViews0likes0CommentsRe: Running a .sql file against a database during playback
I'm doing this in two parts. 1. Create a batch file to execute the .sql file 2. Create a script to execute the batch file in testcomplete 10 Part 1. Here's the contents of the batch file (obviously I've left my connection strings out): sqlcmd -U username@servername -P ********** -S servername -d database -i "filepatchtoSQLfile\CreateDummyData_metalearningTest.sql" This is for batch execution of an sql file against an azure database. I'll post part 2 as soon as I get it automated. Basically, what this means for me, is that I can begin each test with a backup of a clean database and then add the content in one go before continuing testing.4KViews0likes0CommentsRunning a .sql file against a database during playback
I have a SQL operation that generates content on a database tied to a system that I am testing. I know that I can fire off single lines of SQL but the script is a bit more complex that that. Basically, I'd like to know if TestComplete, using c#, can fire off SQL against a database when it's contained in a SQL file. I have a script that can connect and run single, simple queries. Just wondering if it can grab that .sql file and execute as it would make my life that little bit easier. Cheers. PS a big thanks to the support team at Smartbear. Excellent.Solved5.5KViews0likes8CommentsRe: Analysing a Citrix Connection to determine the name of a remotely launched application
I'll do one better. Here's an mht of the last test. It passed, but that's not the point. I need to identify the app that is being run via citrix. Thanks for the speedy reply by the way! EDIT: Sorry I hope that attachment went up OK.2KViews0likes0CommentsRe: Analysing a Citrix Connection to determine the name of a remotely launched application
Thanks for the help so far folks. ActivatingMSAA for a better recognition of the tested window. TestComplete recognizes that there's a window there. That's kind of not the issue. What I really need to get is a string value of the citrix app being run in that window. Again, any help would be greatly appreciated.2KViews0likes0Comments