cancel
Showing results for 
Search instead for 
Did you mean: 

tag expression with project variable does not work as explained

SOLVED

tag expression with project variable does not work as explained

As described here https://support.smartbear.com/testcomplete/docs/scripting/tags.html we started using tags along with script units. It works fine as long as we define a hardcoded tag expression for the test item.

 

But it is also described that it should be possible to use a variable as definition for the tag expression. But whether there is a temporary or a global project variable defined containing the tag expression as String the execution posted to be successfull but nothing happens. No log line is generated.

 

Our idea is to use a file defining tags along with other test data to identify the content of the execution without setting up a test item for any possible script unit.

 

Can you please give me advice how to use variable tags (programmatically) in combination with script units like it is possible from command line.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: tag expression with project variable does not work as explained

Hi @CleverTesting,

 

The behavior you described sounds strange. I recommend that you contact our Support Team to investigate it. Can you send provide them with your project?

 

 

 

 

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

1 REPLY 1
Highlighted
Community Manager

Re: tag expression with project variable does not work as explained

Hi @CleverTesting,

 

The behavior you described sounds strange. I recommend that you contact our Support Team to investigate it. Can you send provide them with your project?

 

 

 

 

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!