Contributions
Usage of Regular Expressions for scripting dynamic object identification using VBscript
Hi Team, I have been using TestComplete and TestExecute for running regression suite for my application. I am using Object browser to identify the exact object that I need for my scripting and add them into my script. I am using VBScript for coding the scripts. The objects will be present with multiple panels in the application and the Mapping Hierarchy would be something like this. Aliases.browser.AppName.Panel(5).Panel(1).Panel(0).Panel("UserPopup").Panel(0).Panel(0).Panel(Popup_Title).TextBox The number of panels may increase or decrease in different pages and the panel number within the parenthesis seems to be dynamic. Hence, Even If I save the above hierarchy in the name mapping, When I change the input values, the objects would not get identified and the script would fail. Expected Name Mapping: Aliases.browser.AppName.Panel(*).Panel(*).Panel(0).Panel("UserPopup").Panel(0).Panel(0).Panel(Popup_Title).TextBox I request your suggestions on how to replace the panel numbers within paranthesis with regular expressions or there is a way to identify the required object consistently with much smaller names. Kindly do the needful at the earliest.933Views0likes2CommentsRun GUI Tests using Test Execute on Windows server 2012 R2 when session is disconnected
Hi All, I have Automation Test Suite running in Windows Server 2012 R2 machine (through remote connection) using TestExecute (since I was not permitted to install TestComplete in the server). I have setup the tests to run on specified time using Task scheduler. Most of the times, I connect to the server using remote login before the scheduled task runs and check if the GUI web scripts gets invoked correctly. However, I sometimes forget to connect to the server. In such case, the Task scheduler job runs successfully. But all the GUI tests are failing due to No GUI. Could you please let me know if there is a work around that I can use to make the GUI tests run even when I am not connected to the server. (Note: I was able to run the similar scripts designed in UFT in the server with No GUI mode. I wish to achieve the same using TestExecute) Kindly provide your suggestions or thoughts. Thanks and Regards Nandhakumar NSolved1.7KViews0likes1CommentRe: Customize Test Report using TestExecute Logs
Hi Shankar_r, Thank you for the suggestions on generating the HTML Report from TestComplete. I went through the link that you have shared. However, I have no knowledge on JS and hence was scripting using VBscript. I have tried to convert your script to VBscript manually and currently facing some syntax issues. Hopefully will resolve them soon and will try to utilize the script. Thank you for your support.2.3KViews0likes0CommentsCustomize Test Report using TestExecute Logs
Hi All, I have TestExecute installed in a remote machine. I have created few test items in TestComplete in my local machine and exported these items to the remote machine. When I run them, I get execution log from TEstExecute after execution. I wish to generate a HTML Report that will access these testexecute logs of each test item, fetch the test item name and its status (Pass/Fail) and display it in the report. I am currently using the Projects.Log method which fetches all the test runs from the Project log folder (Top level) and prints their status. However, I need to access the location of the Testexecute logs , parse through them and take the required data from it and generate a html report. Kindly help me on achieveing this.2.5KViews0likes4CommentsRe: Web Application Testing in Windows 2012 Server Through Scheduler
Hi baxatob, Thank you for the reply. The links that you have provided are really helpful. However, Since my existing Automation used UFT, I had multiple challenges such as installation of UFT in the Server machine, VB script file creations that will invoke the main script which inturn will invoke the UFT, ALM QC, open the required test set, run each test cases in the test set, temporarily store the test results in an Access DB, Consolidate the report output into an html report after the execution gets completed and auto-trigger email with the report to the desired email recipients. Based on the links, I could see that TestComplete supports installation in Windows 2012 server and currently the server already has ALM QC setup in it. Please let me know on the below, - The Previous automation using UFT would run in the server even if it is not logged in or connected to. Due to this some of the scripts that does screen verification of few objects would fail. Will TestComplete would be able to run the scripts even if I am not logged in or connected to the Server. - I am facing diffculty in setting up integration between QC and TestComplete due to compatibility issues between 32 bit and 64 bit versions. Please share with me any weblink that has step by step resolution for the same. - How to tweak the existing report log in Testcomplete such that I can reuse it to send reports in email to the required participants and - How to configure the auto-email trigger in TestComplete. I am aware that emails can be triggered from ALM QC. However, I am planning to use it as the last option incase if emails cannot be configured using TestComplete. Kindly provide your valuable suggestions or inputs based on which I would be able to proceed with the installation of TestComplete in the Windows 2012 Server.1.3KViews0likes1CommentWeb Application Testing in Windows 2012 Server Through Scheduler
Hi Team, I have previously automated a .NET based web application of my client using UFT which runs from a remote .NET Windows 2012 Server. This execution was scheduled in the windows Task scheduler that will invoke the scripts to launch UFT, connect to HP ALM Quality Center, pick the required test set and then execute them one by one, log the results to an HTML report and send the report to intended email recipients at the end of the execution. All these steps are done through an automated process without any manual intervention. Now, I have another .NET application which needs to be automated in the similar way. However, due to limitations with the UFT tool, I have started using TestComplete tool for the automation. I request your suggestions on the following queries, - Whether Automation can be setup in Windows 2012 server using TestComplete in a similar flow as used in UFT - If yes, What are the steps to achieve the same and whether test complete has its own scheduler. - The steps to integrate the HP ALM QC 12.53 with Test Complete in the Server machine. Kindly do the needful at the earliest.1.3KViews0likes3Comments