Contributions
How to retrieve the current test run status (Pass / Fail) from Keyword test
Hi, Currently i am trying to get the status of the keyword test result and its failed reason. But i don't find any way to achieve this. I had recorded a keyword test. when i run this test by clicking the run button, the keyword test gets executed and it shows fail or pass condition in the Editor window. But what i needis, if this test fails, then i need to post a bug to TFS automatically. To post the bu automatically to TFS i come across the following method"IssueTracking.CreateWorkitem()" through script. But what my problem is, 1. How to fire this script (IssueTracking.CreateWorkitem()), when my keyword test gets failed? [Record and Plaback] 2. How to passthe failed reason and description to that script (IssueTracking.CreateWorkitem())? Note: I had come across reading the Project log, but i can read uptothe previous test run logs not the current log. Link Referred: https://support.smartbear.com/viewarticle/68245/ Just i am learning testcomplete for myself, i searched through google but all i got is creating checkpoint and error handling. But this doesn't satisfy my need. Please guide me how to get the current test run state (Keyword test run and also Script test run) and the reason of the test failure. Thanks Jaibabu.JSolved2KViews0likes2CommentsRe: Magic application controls are referred by its Container
HiTanya Gorbunova, I will go through the link and try to implement it for my sample test to recognize the Magic Controls. In the meantime, if there are any other possible ways to access the Magic Controls, please let me know. Thanks Jaibabu.J1.7KViews0likes0CommentsMagic application controls are referred by its Container
Hi, I had a magic application, which i had tested using TestComplete Keyword test. After recording if i see the recorded test, the Magic controls are referred by its container with coordinates (x, y) but not referred by its control name. If this is the case, then how can i access these magic controls through Script (Jscript) code. If i pass the container object to script through "Run Routine" parameter (by Name Mapping list), we cannot get the value of that control. Attached are the screenshot of the recorded test and the Magic eDeveloper application page where the keyword test has been recorded. Thanks Jaibabu.JSolved1.7KViews0likes2Comments