Contributions
How do I use the POST screenshot for a file that just got created in c:\temp
Can someone show me how to show a screenshot of a file that just got created, much more to show proof the file was created. I have a run script routine created to tell me if the file was created but I would like to capture a screenshot of the file as well or if its not possible can it be appended to the result log instead. The test is done with the Keyword test but if adding a routine is easier by own mean please give me an example. The end goal is to save the proof the file was created if someone wants to recheck it later.Solved2KViews1like5CommentsRe: Getting the time a file is created
The files are not big (avg 300KB), it needs to create 256 of these jpg files to get the image to display as expected. So my curiously was to get the time stamp instead and compare the differences using TestComplete. That is how I am manually testing this at the moment, getting the timestamp of the first file created in the folder and the last but I want to automate this process. This is why my question came about. Do you have a sample I can see using the aqFile.GetCreationTime() for getting the two timestamps and comparing it?1.8KViews1like4CommentsGetting the time a file is created
Can someone show me how to capture the time (ms) it takes to create a file? I am testing the performance on how long will it take to display an image on a web app. I assume there are several ways in getting the time from the GUI side, but there is this JSON file that is created when the image gets displayed. For instance, user selects the scanned image he wants to view in the web app, a cache folder is created, then a string of jpeg files are created, (i.e. file1.jpg, file2.jpg, file3.jpg .....then the JSON.file) Once the JSON.file is created the processing stops, meaning the image is generated and is displayed. Can I get the timestamp of the first file created in the cache folder and compare it to the last file created (i.e JSON file) and show the time in seconds in the testcomplete log, this will be the time it took to load and display the image Can this be done using the keywords scripting? I hope someone can help me with this one.Solved1.8KViews0likes7CommentsHow can I check the time stamp of filename and know the file just got created
Hi. Hope someone can help me with TestComplete, I am testing a web application that requires to check a series of files got created once the user processes a new order, one order creates 10 image file (Filename001.jpg, Filename002.jpg and so on). The current folder may have other files previously created so the only way I can think is to check the timestamp of the files and it should be close to the system clock and then check the number of files created is 10. If anyone knows of another way to know the files were created, it will be greatly appreciated. Thank you.Solved1.5KViews0likes2CommentsRe: I would like to view the code/script that was recorded by Playback in the Code Editor - How?
Thank you for your response. I am sorry if I was not clear with my problem. I am new to TestComplete, and to get started with my testing I would like to use the playback to record my clicks and checkpoints but once the script has ended, I would like to know how can1.9KViews0likes2Comments