Contributions
Make the Jira ticket visible after created the Jira issues from testComplete
Currently the user can create Jira issues from testComplete(TC). But after that tickets were disconnected from the test in TC. It would be useful during daily regression that it showed how many issues have already been reported.331Views0likes0Commentscheck an item exists in the dropdown list
Our application has a combobox that has a list of items. The applicate works like this: If the item has already added it won't show in the dropdown list. I need to check if the item exists before clicking. How to do that? The only useful attribute for the combobox ischildElementCount. Thanks!Solved919Views0likes2CommentsRe: How to perform on error close browser event?
Yes. I did. When I added the onStopTest event control the popup ask you to select a test. It adds a function to that test script. I added content. function EventControl1_OnStopTest(Sender) { let browser = Aliases.browser; browser.Close(); } At project level when I run the item I select the event/mehod. What is the sender parameter should it be? I don't any parameters. I am using script mode. Thanks!1.7KViews0likes2CommentsRe: How to perform on error close browser event?
Hi Alex Thanks for your replying. I have trouble to understand how to implement the event. I am using the script mode. Let's say I added theEventControl1_OnStopTest(Sender) in one of my test. 1. How the sender variable being? Should I pass the wording in all my Log.Message? 2. The purpose of closing the browsers on error is trying to put the next test in the same starting point. I don't know what and when the errors occur, therefore I need to close the current browser so that my next run can continue. If the Event tie to the specific tests I am wondering how it serves my purpose. Thanks, Grace1.7KViews0likes4CommentsHow to perform on error close browser event?
Hi There There is a annotation of @Before and @After(teardown) in Cucumber-JVM framework, which closes all the browsers on error. I am looking for the similar action in testComplete. The closest one is one on error control property. However, I am not sure if that is the right one to use for following reasons: 1. It seems tie to certain tests -- There are many different errors in tests. Object not find, time out, value not show....I need a way to close browser on any Log.error. 2. Have trouble to understand how to use it. e.g.function EventControl1_OnLogError(Sender, LogParams){} How to pass sender, and logParams passed? 3. It would be helpful if someone can give me a example for how to implement the global teardown action. Thanks! GraceSolved1.7KViews0likes6Comments