Contributions
Re: continue with next iteration on error
Hi Thomas, >> I want to abort the current iteration of the test, and skip to the next one. If you need to do this, there is only one approach that may help: 1. Divide your JScript that calls keyword tests into several parts: the part that precedes the keyword tests' call and the part that follows it. Save the first part of the script to an individual routine (for example, Test1), and the second part - to another routine (for example, Test2). 2. Open the Test Items editor. 3. Add and enable the following test items: * Test1 * KeywordTest1 * KeywordTest2 * KeywordTest3 * KeywordTest4 * KeywordTest5 * KeywordTest6 * Test2 4. Add the OnLogError event handler to your test and specify the following code in this handler: Runner.Stop(true); 5. Disable the Stop on error project property. 6. Run the entire project. Does this help?3.7KViews0likes4CommentsRe: Concealing Passwords in Test Results
Hi Tom, I recommend that you try to store your password to the encrypted data storage, and then retrieve it from the storage at run time. For more information, please refer to the Work with encrypted data storage How To entry. I hope this information helps :)1.1KViews0likes0CommentsRe: How to verify the text content in a PDF file.
Hi Ramu, You can use any of the following approaches: 1. Create a File checkpoint that will compare the actual PDF file with the baseline copy stored along with the TestComplete project. See the File Checkpoints section for more information. 2. Use free third-party .NET and Java libraries such as PDFBox or iText for your needs. You can call them from your tests via TestComplete's CLR Bridge and Java Bridge. See the following forum threads for examples of using these libraries: How to get the content of a pdf file on window and How to reference a .NET assembly. I hope this information helps :)2.3KViews0likes0CommentsRe: Migrating TC 8 to a virtual machine
Hi Sebastian, what happend if we uninstall the current TC from the actual phisically machine and we install and activate it on the virtual machine, running on Windows 7 Proffesional 64 bits? If you want to move the Node-Locked license from one machine to another, first of all, you'll need to deactivate your license. Then, you will get another license key that you can use to activate your license on another physical machine. However, if you try activating this key on a virtual machine, TestComplete will show the "Message - Virtual machine detected. To run the product on a virtual machine ..." error message, and the license won't be activated. If you need to run your tests on a virtual machine, I recommend that you upgrade your license to a Floating User license and activate it on any physical machine (License Manager PC) in your network. Then, you can install TestComplete on a virtual machine, configure it so that it connects to the License Manager PC through the network to get the license, and then you can launch as many TestComplete instances as it's allowed by your license on any machine in your network. For more information, refer to the TestComplete 9 Licensing Guide. I hope this information helps :)717Views0likes0CommentsRe: Renaming project name is not effecting in stored location place
Hi Narender, 1. It is showing with my previous old name in the stored location path. Can you please clarify what you mean by "stored location path"? 2. TestComplete automatically highlights in bold the name of the project suite's default project. TestComplete uses settings of the default project to specify which information and in which format TestComplete panels should display. For instance, the default project is used to define the scripting language and the object tree model used by the Object Browser. For more information on default projects, please refer to the Project Suites in TestComplete help topic.556Views0likes0CommentsRe: Patch tcCrHook.dll is not working on chrome 20 after some time
Hi all. Jacen, Can you please clarify which version of TestComplete is installed on the machine with the mentioned Object Browser hierarchy? Nazim, Find method is taking long time to find objects in chrome 20. The fact is that Chrome is realized so that it uses lots of simultaneously working processes. TestComplete's support for Chrome, in turn, works in the separate process, and it requires obtaining the information from other Chrome processes. Such inter-process communication may slow down the test execution in Chrome. However, this is a known issue, and we're working on improving TestComplete's support for Chrome in the next updates of TestComplete. Thanks.1.4KViews0likes0CommentsRe: Patch tcCrHook.dll is not working on chrome 20 after some time
Hi Jacen, Can you please answer the following questions? 1. As far as I understand, the Object Browser panel shows Sys.Process("chrome") instead of Sys.Browser("chrome"), right? 2. How many Sys.Process("chrome") nodes do you see? If there is more than one node, please make sure the [url= http://support.smartbear.com/viewarticle/29319/]Use legacy web testing features[/url] option is disabled. For more information on the requirements for web testing, see the [url= http://support.smartbear.com/viewarticle/30187/]Requirements for Web Testing[/url] help topic. 3. Does the Sys.Process("chrome") object have the Page("...") child object? 4. Are you sure you have applied the patch for TestComplete ver. 9, but not for TestComplete ver. 8? BTW, I recommend that you re-download the TestComplete 9 installation package from our web site, install it and try again. The fact is that we've recently reloaded this package, so it included most of the released patches. Please provide me with your results. Thanks :)1.4KViews0likes0Comments