The Secrets of Successful Collaboration - BDD
Hi our BDD TestComplete users, I want to share with you a great webinar presented by Seb Rose,developer, trainer, coach and author of "Discovery - Explore behavior using examples". Seb reveals the secrets of successful collaboration in BDD. >> Request the webinar here What do you think about this approach? How does the testing process set up in your organization at the moment?Solved3.5KViews2likes5CommentsDetermine when no liscense is available using COM (python)
I am using a modified version of the script I found here to run TestComplete and TestExecute, related code follows: from win32com.client import Dispatch import pywintypes ... try: self.test_complete = Dispatch("TestExecute.TestExecuteApplication") except pywintypes.com_error: try: self.test_complete = Dispatch("TestComplete.TestCompleteApplication") except pywintypes.com_error: sys.exit("TestComplete/TestExecute not found") However I have an issue when there are no avaiable licenses. After calling Dispatch a dialog pops up (image below) and the Dispatch call blocks. This breaks all the automation I've been trying to do with TC/TE, and I'm looking for a way to determine before calling the Dispatch that no liscenses are avaiable. ThanksSolved2.9KViews0likes7CommentsBDD Step Reuse
Hi, Anyone have any ideas or suggestions for reusing 2 BDD steps that differ only in their keyword? Given I log in as John Smith When I log in as John Smith Would really love this to be either a single step (can I wildcard the Given or When keywords?!) or two steps but one step calls the other: Given ("I log in as John Smith", function () { // login code here }); When ("I log in as John Smith", function () { // call the Given here, as it already has the necessary code implemented }); Some BDD libraries also offer a generic 'Step' keyword which matches any step type, but I don't believe TestComplete supports it. Any help/suggestions greatly appreciated! Trying our best to prevent massive code bloat.Solved2.8KViews0likes5CommentsTestComplete Best Practices
Hi folks, I was wondering if any of you have Best Practices that you follow for TestComplete and testing in general. Such as the Hierarchy or Logical Grouping of your folders, (Project_Suite > Project > Sub Project etc), and Regression testing, Name Mapping, Scripting, Keyword Tests, DDT, BDD, Version Control (SVN, Git) and anything else you might have created over time for Best Practices. We're basically creating a QA/QC dept. from the ground up and are looking for the voices of experience...and reason. Thank you in advance for all of your help.Solved1.7KViews0likes2CommentsFilter on tag of scenario outline example
Hello guys, A (hopefully) quick question for you: I am trying to use the BDDHooks file to print the time needed for running 1 scenario into an excel file. This is all working perfectly but the problem is I am using a couple of scenario outlines with different examples and I split the examples into different blocks to all give them their own tag (@smoke and@happyUnhappy eg). Now my goal is to only print the timing of the one example with the tag '@smoke' but I cannot seem to find a way to filter by example tag. I know there's this pagehttps://support.smartbear.com/testcomplete/docs/bdd/tags.htmlwhich explains how to get all tags of a certain feature or scenario but there's none to get the tags from a scenario outline. I only seem to be able to retrieve the tags for the entire outline and not for 1 example. eg; I only need to save the time for the example with@smoke on top: @smoke Examples: |a|b|c| |1|2|3| @happyUnhappe Examples: |d|e|f| |4|5|6| I hope you guys understand and you can help me in my search 🙂 Thanks!Solved1.6KViews1like3CommentsBDD feature in Test Complete
Hi All, Recently I was going through Test Complete documentation and found this link ==> https://support.smartbear.com/articles/testcomplete/bdd-testing-with-testcomplete/ Have anybody tried this BDD feature from Test Complete? What are the advantage and limitations of this feature in Test Complete? Thanks, Palani1.5KViews0likes3CommentsReports in BDD - need Scenario wise reports in BDD in TestComplete
Hi All, I need scenario-wise reports after my run is completed. I am testing a desktop application and my Feature file looks like this - ============== @LoginToApp Scenario: users logs in to App .... @CreatNewGroup Scenario: User creates new group ... ============== I am unable to get scenario-wise reports for above 2 scenario given. I am getting report@ feature level for whole Feature file, Which is irelevant to represent the report to management.1.4KViews0likes4CommentsUnable to connect to TestComplete
Hello All, I have created build on AzureDevops for TestComplete. When I run build I'm getting this error. Any idea how to fix it ? 2021-10-08T14:22:55.3900080Z##[error]Failedtogetalistoftestsfromthe"C:\agent\_work\r1\a\_TestProject\SimpleTest.pjs"fileduetothefollowingerror:UnabletoconnecttoTestComplete:Serverexecutionfailed(ExceptionfromHRESULT:0x80080005(CO_E_SERVER_EXEC_FAILURE))1.2KViews0likes2Comments