Contributions
Re: How to export the test results to a PDF through script
HiTanyaGorbunova Thanks for your suggestion. While exporting the logs to a PDF file manually, it's looking nice to me. I was looking for a single file. But as it is not possible to get PDF through scripting, I will export the test logs to a .MHT file.3.6KViews1like2CommentsHow to export the test results to a PDF through script
Hi, Can anyone please guide me with a samplescript to export the test result to a PDF file in TestComplete. I know the manual process to do so, suggested inhttps://support.smartbear.com/testcomplete/docs/testing-with/log/working-with/exporting/to-pdf.html, but I want to do that through scripting. Thank youSolved4.1KViews0likes11Comments- 1.7KViews0likes0Comments
TestComplete event handling
I have created a General Event such as GeneralEvents_OnLogError (Sender, LogParams) ( it's an OnLogError event - Occurs when an error message is posted to the test log) which is being called by bothmydesktop and web applications, whenever errors occur. I'mcapturing the log message in a fileby extracting the message using'LogParams.MessageText'. Whenever it shows the error as 'The object does not exist. See Additional Information for details', its difficult to get the failure whether happened in Desktop application or Web Application. So, could you please suggest me how I can create a customized function to determine the error happened in Desktop or Web Application.1.8KViews0likes3CommentsRe: selecting the Drop Down values
Is it the application developed in Angular. Could you please try this. 1. Identify the drop arrow element of list box and click that 2. Then click on the item you want to select A sample code in Python #Browser page=Sys.Browser().Page("*") #Drop down panelproperty definition setInstCodePropArray = ["ObjectType", "firstElementChild.id"] setInstCodeValuesArray = ["Panel", "SelectVpdiCmp"] #Click on the drop down panel=page.FindChild(setInstCodePropArray, setInstCodeValuesArray, 20) panel.focus panel.Click() # Select the item PropArray = ["ObjectType", "contentText"] ValuesArray = ["TextNode", "Health Sciences Center (HSC)"] panel.FindChild(PropArray, ValuesArray,2).Click()2.4KViews1like0CommentsRe: Automation Test flow execution between desktop and web module and visa-versa in TestComplete
tristaanogreAlexKarasSo, if that would be case, then which type of project I have to create (from the attached screen), so that we can write the script for both window and web page application?2.3KViews0likes1CommentRe: Automation Test flow execution between desktop and web module and visa-versa in TestComplete
tristaanogreWould you like to suggest me to create a single project [Rather than creating 1 desktop module project and 1 Web module project ] where we canwrite the script for both Desktop and Web application.. I think it will work for me.2.3KViews0likes3Comments