-
Yes, from the Method tab refer to the grouping within the list.
-
There is no explicit support for something like that and it would depend entirely on your client side implementation.
-
Only conversion from Keyword to Script is supported. Right click on a Keyword test and select "Convert to Script..."
-
JScript is different from JavaScript. JScript is a Microsoft scripting language
-
No.
-
Yes. Multiple objects can be mapped at one time.
-
If you press F1 on the Object Browser you will get a page on the OB window, then select Object Browser Pages and you can read about the conditions under which the Events tab is populated.
-
That would depend on your unit testing framework. TestComplete does not include mocking support.
-
No. Name Mappings only exist at the project level. We recommend requesting AQA this feature yourself and making your voice heard, it's a great idea.
-
Issue tracking is supported for AQDevTeam, VS Team System and Bugzilla
-
You're alternatives are to try using either UI Automation or MSAA if the target controls support either. If not, you may be somewhat stuck. There are some options but they are not something that can be addressed during this training.
-
No. Not on a standard win32 DLL.
-
Right click in the editor and take a look at Outlining.
-
Yes
-
There will be a script error that will need correcting.
-
You can define either type of project or project suite variable and the only difference is whether or not the values is persisted across project runs.
-
A script could be written to do that.
-
Please be sure to post this to the SmartBear support forum for TestComplete so they can register this request! Good idea!
-
Yes, their usage is the same as persistent variables. Project.Variables...
-
Yes
-
Yes. Look for Command line in the online help for TC.
-
Temporary Variables are used like Persistent Vars with the exception that they're value is not persisted across project executions.
-
Then using ProjectSuite.Variables with temporary variables defined would be the way to go
-
No. You would need to click the View|Status Bar menu item.
-
Aliases are created from an existing Name Mapping and simply provide a mechanism for creating a shorter name of a specifically mapped object.
-
Parameters are used to pass data into a function such as function foo(x, y). X and y are parameters in this declaration.
-
Yes. See Tools|Options|Engines|Name Mapping|Map object names automatically.
-
You could potentially develop a script to do this but it would be a custom solution. TestComplete can access web services which will be covered during the training.
-
The count in TestedApps means "Number of application instances to be simultaneously launched during test sessions. "
-
Circular unit references are not allowed.
-
There have been significant changes between TestComplete v5 and TestComplete v7 and the focus of this training is on v7. While some concepts apply it's been several years since we've done TestComplete v5 training.
-
I would suggest selecting a container object on the page to map from the Object Browser or using the Object Properties window to select the object first.
-
You can try using View|Desktop|Restore Default Layout. You can try using View|Desktop|Restore Default Layout.
TestComplete v7 improves on this over v7 improves on this over TestComplete v 6.5
-
You will want to perform testing after upgrading to ensure your scripts are performing properly. In large part, your existing scripts should behave as you expect.
-
Yes. Using Excel's COM Server objects you could access the data from Excel. Something like this
http://nerds-central.blogspot.com/2007/01/excel-copy-and-paster-cellsrowscolumns.html (**I searched for this on Google and have not tested this code)
-
The Checkpoint is restricted to the columns you select in the DBTable checkpoint at the time it was created.
-
Yes. If the control appears in the Object Browser you can create a checkpoint for it using any of the properties listed.
-
If the control does not appear in the Object Browser then you would need to find an alternative mechanism. If it's listed in the Object Browser you can create a checkpoint against that control.
-
It will depend on the implementation of the list. If the list is dynamically populated when it is dropped down then you may need to read from the list after it appears onscreen. For many controls you can read the data unless the prior condition is true.
-
Yes, you can add files for test data to your Stores as part of your project. That will be illustrated when we talk about Stores and Checkpoints.
-
If you check the online help for the FindChild method there is an example of how to locate an object using various properties of the control.
-
In our opinion Delay() should never really be used directly in a script unless it's in a loop that's checking for a specific condition. Hardcoded delays eventually lead to inconsistent test results and should be avoided.
-
The Name Mapping which aliases rely on use the hierarchy of the controls within the application. If a control is moved into a panel you would need to correct the name mapping. You could write code that would dynamically find the control as an alternative but then there would be no Aliase for it.
-
With Checkpoints the warning is optional output. You could write your own logic to log an error. This allows you to use checkpoint to control logic without having any log output if you like.
-
No. Each of the respective stores (DBTable and Table) have a reference to the DB/object that they will be compared to. That said, you can get access to the data of either store using the Value(row, col) method.
-
No, only script routines however the script routine could call a Keyword Test.
-
No. Events must be assigned in the UI this is a great feature request.
-
No, not directly.
-
No
-
Yes
-
Yes. Typically you want to ensure your testdata is up-to-date at the beginning. This is an important automation planning issue that is worth spending sometime thinking about the right strategy.
-
I prefer Keys because that's setting the control how a user would set the control as it types directly into the object.
-
Yes
-
If you find you're writing Delay() there is probably a different and more robust approach to take. Generally, you do not need to call Delay() in TC as it has logic to wait for various objects accordingly. That doesn't mean never but not frequently.
-
Since regions are screenshots resolution _has_ to be the same. I wouldn't view that as a TestComplete problem rather a testing strategy issue.
-
Yes. Using the ADO object.
-
Yes, there are other checkpoints for testing text of an object. We'll look at those as well.
-
Yes
-
With the DDT object data access is by column using the Value function. Optionally, you could use the COM objects from Excel to read the data using your own mechanism.
-
Yes. Since data access is by column you can freely skip any comment column if you like.
-
If the object is available in the Object Browser you could address it directly. Otherwise you would need to write code to locate the object onscreen when it appears.
-
You could read a CSV file into an array project variable. Optionally, you could add the CSV file into your Stores and use it from there as well. Reading into an array will depend on your programming langage.
-
-
TestComplete supports three options: CSV, Excel and ADO. If you have an ADO driver for your data then you could use that, if not, you'd need to write your own code to managed access to the data
-
Not with Files.Compare as it looks at the entire file. However, you could write your own compare rountine if necessary.
-
Yes. TestComplete includes an option to update all checkpoints (except Property checkpoints). Also see Tools|Options|Engines|Stores and search for Update in the online help.
-
Yes. In the checkpoint dialog you could uncheck a specific column and ignore it.
-
TestComplete 7.2 supports Windows 7
-
Absolutely. All checkpoints can be used from Keyword Testing.
-
You could write code to import an existing step but TestComplete does not directly support import from an XML file. TestComplete includes an example of importing a manual test from a Word document if you want to get an idea of how to create manual tests from code.
-
No. Using Value you can fetch data from a single column.
-
You can assign a shortcut key for Stop. The default is Shift+F2
-
Yes. You would need to manually write code to import the information yourself and you can create the entire test itself in code. TC ships with an example of this where it imports a Word document. You can refer to that code as an example.
-
DDT is a simplified mechanism and does not require you to code a command object.
-
No
-
Yes, via code
-
See the Runner object in the online help. There are options as well that control what should happen when a test files. See Playback options for your project.
-
We do not recommend using C#Script. The only help you'll find is what's in the online help. C#Script is proprietary to TestComplete and you will not find much help for it on the Internet. We would strongly suggest using Jscript or VBScript instead.
-
You would need to write a script for this. TC includes an example of importing a manual test written in Word. You could look at that for reference.
-
On separate machines you could using distributed testing.
-
That's typically what you would want to do as there is no way to determine if any follow on results are actually validate after the application has crashed. That said, it may depend on the design of your application. The event handling here is flexible enough to allow you to decide for yourself.
-
Yes, you could assign different tasks to different users and test multiple scenarios at once.
-
Double click your project, select options and look at the Playback settings under Runtime.
-
Generally, that's not the approach we'd recommend. You may run into read/write issues in those cases.
-
Yes. See Tools|Options|Stores
-
The answer here is, it depends. Certain AJAX scenarios can be handled however you may need to write code to deal with other situations. We have an example on http://tv.falafel.com/ Look for the example on handling AJAX menus.
-
There are limitations having to do with the number of simultaneous connections that can be made from one machine but that's generally a hardware issue and not a TestComplete issue.
-
For HTTP Load Testing on remote machines you need Remote Agent. It's included with the Enterprise SKU of TC. You can also download a separate install from AQA from
https://clientservices.automatedqa.com/ logged in using your account.
-
You would want to see if you can find a specific object that you could wait on to allow processing to complete.
-
TestExecute can be used as a Target for a distributed test but cannot be used to drive a distributed test.
-
-
The only two browsers that are supported are IE and Firefox. Generally, the Page object will look the same between browsers so it's usually a matter of locating the correct Page object then continuing the test. Unfortunately, we don't have time in this training to dive into cross browser testing.
-
Yes it does. The alternative is NavigateTo which _does not_ wait for the page to load which is useful for other scenarios.
-
It depends on whether the dialog is an IE dialog or a web based dialog. See the various Wait routines that are available.
-
Yes. However, the host machine _has_ to be able to reach the remote machines via ip address. See the firewall settings in the online help for more details regarding configuration.
-
The main port is for DCOM on port 135.
-
Everything from the project directory for that Project. See the folder for that project in Windows Explorer.
-
The project _should_ be located on the remote machine.
-
As this is scripting all variables are defined as variants so they can accept any value. If we were using a type-safe language you would be correct.
-
Typically, in distributed testing you'll need to determine when you want synchronization to occur so it can be difficult to automatically determine when synchronization should occur. In many scenarios synchronization isn't necessary and as Lino mentioned it can be expensive
-
TestItems in TestComplete allow you to control which tests are executed and how tests are grouped together. You can also maintain information outside of TestComplete but that won't have any effect on how tests are run. For example, if you have tests A, B and C and B and C are tied to A. If A fails you may not want to run B and C which you have to do using TestItems. On the TestItems page, right click and select Field Chooser then drag the Stop on exception field to the columns of the grid to allow you to set the options for each TestItem
-
No. Recorded tasks have no delay. You could write code to do what you're asking but by default it's not built-in.
-
Refer to "Waiting for a process or Window Activation" in the online help.
-
For distributed testing the remote machine _has_ to be logged in to the desktop. TestComplete cannot login a locked machine.
-
You should take a look at TestComplete's Script Extensions feature.
-
This would typically be the domain of Unit testing as there is no functional testing involved. It really depends on what the service is exposing. For example, if it has COM objects you could use ActiveXObject to test it as well. It really depends on the service.
-
Yes. If you double click the Load Testing node you can specify authentication information
-
All HTTP traffic is captured and played back which includes AJAX requests.
-
Yes. TestComplete includes many different types of Waitxxx methods so be sure to see the online help for Wait. For AJAX situations you may need to develop a custom solution. For an example, refer to our AJAX screencast on http://tv.falafel.com/
-
You need to configure the license manager accordingly. We have a video explaining a solution
here.