Forum Discussion
TanyaYatskovska
Alumni
14 years agoHi Hilary,
You may have one project variable that will contain the link to the page to be tested. You can name it pageURL, for example. You will use this variable in your test to navigate to the needed page.
The next task is to assign a value to the variable. This can be done using the DDT feature. For example, you will have the Excel file that will contain the list of URLs that you need to test. At the beginning of each test, you will obtain a new URL and use it for testing. Watch this lesson - it will help you better understand the DDT feature.
Another way is to pass the link to the tested page via TestComplete's command line. At that beginning of the test, you will need to obtain the command-line parameter and assign it to the pageURL variable.