Contributions
Re: TC hangout after connect to DB
In your connection string, which DB driver/provider are you using to establish connection with your DB? Is it a 64-bit driver or 32-bit driver? If you are using 64-bit driver, you need to make sure that you are running 64-bit version of testcomplete(inside x64 folder in installation directory). If you are using a 32-bit driver, you should be running 32-bit version of testcomplete.698Views0likes1CommentGet Tags associated Scenario Outline Examples programatically
Hi, Just like we can get the tags associated with a feature file inside a beforeFeature hook like "Feature.Tags.item(0)" or the tags linked with a scenario in a beforeScenario hook "Scenario.Tags.item(0)", Is it also possible to retrieve the tags associated with a Scenario Outline Example? Let's say I have a feature file as shown below: @Login Feature: AppLogin Scenario Outline: As a user, I should be able to login to XYZ application When user launches the application Then login screen should get displayed When user enters "<username>" And user enters "<password>" And user clicks on login button Then user should be able to see main screen @admin @level1 Examples: |username|password| |adm1 |paxxword| @supervisor @level1 Examples: |username|password| |sup1 |paxxword| @manager @level2 Examples: |username|password| |mgr1 |paxxword| @employee @level2 Examples: |username|password| |emp1 |paxxword| Now, if I run the above scenario for Level1 users i.e. by using the tag@level1, how do I know If the current scenario is being executed for the admin or supervisor? Somehow, I need to retrieve the value of the 1st tag associated with the Examples. Maybe something like Example.tags.item(0) but such an object does not exist in testcomplete? Can any one please help?667Views0likes2Comments