Passing test data randomly to script tests from Excel file
Hello everyone, Have a productive week. I just started playing around with TestComplete so I will around for some time. Thanks in advance for any comments. My question is: I created data by using TestComplete's data generator to an external file. How can I pass this data to my code that I record in script testing? I could not find much things to read in official documentation. RegardsSolved35Views0likes3CommentsGithub Copilot Integration
GitHub Copilot suggests code completions as developers type and turns natural language prompts into coding suggestions based on the project's context and style conventions. One new idea would be having a copilot plugin for testcomplete would increase productivity and coding efficiency URL for reference - https://github.com/features/copilotTest steps get disabled automatically when a TestExecute test run fails in Azure pipeline
We have test scripts running in an Azure release pipeline, using the TestComplete adaptor (TestExecute as "preferred test runner"), and Visual Studio Test. We do NOT have the "Rerun failed tests" option in the Visiual Studio Test task enabled. If I have a test script, with all steps enabled in the execution plan, and any of these steps fail - when I log onto the agent virtual machine that has run the tests, I can see that the Execution Plan has all the passed test steps disabled and the failed test steps enabled. I've searched everywhere to find what controls this behavior, but cannot find anything. If a test fails I do not want any changes to the Execution Plan to be made automatically. Please could anyone help advise about this issue? Thank you.17Views0likes0CommentsProperty check point does not work with multiline data in a csv
col1,col2,col3 test1,"test2.1 test2.2 test2.3",test3 A similar to this csv is what I am using in the data loop, and in the"Quoted Text" section I am using ", when I look at the file in that section it displays like this col1,col2,col3 test1,test2.1 test2.2 test2.3",test3 and the property check point is failing Actual Value: "test2.1↴test2.2↴test2.3" Expected Value: "test2.1" Please show me the right path, the guidance, the light.175Views0likes3CommentsCommand line result storage
TestComplete.exe "E:\Projects\abc\abc-web\a-web.pjs" /r /sl /p:Regression /t:"KeywordTests|abc_login" /sl:"E:\Results\new-log.txt" I wrote this, opens TS, runs the Keyword tests abc_login but does not store results in E drive. I looked at the Command line documentation and could not figure it out. I know it`s something small thing that I am missing in the code above. Help is highly appreciated. ThanksSolved169Views0likes1CommentData loop testing
So, I have 100 customers and as you can see in the image above there are 6 files for Customer 1 but there may be 2 files for Customer 2. I did the data looping of Customer number only. How do I make the test that it after it completes with 6 files, it goes back and select Customer 2 and if Customer 2 has 3 files then complete that go to Customer 3 which has 5 files. Thanks148Views0likes2CommentsTestComplete form best practices in a DDT Data Driven Loop
To all. Is there a TestComplete document that shows the best practices to follow when trying to DDT from an excel spreadsheet into a web based form with dropdown fields? I am seeing a high failure rate when trying to DDT in a data loop. Yes, I have made sure all operations are indented that need to be a part of the loop. Yes, I have added delays before and after the problem dropdown box in question. Thank you in advance for your help and guidance. -todd2110Views0likes1CommentTesting with text files
Hi, i was wondering if anyone has tried testing with log files. im creating a test that looks over text files and put a parameter if the logfile is less than or greater than the value put. this is the code i have so far but it keeps giving me an error with the script im making. Any thoughts or ideas on how i can make this happen? import sys import os import aq def read_text_file_and_test(file_path): try: with open(file_path, 'r') as file: if __name__ == "__main__": if len(sys.argv) != 2: print("Usage: python test_script.py <path_to_text_file>") sys.exit(1) text_file_path = sys.argv[1] if not os.path.isfile(text_file_path): print("The provided file does not exist.") sys.exit(1) read_text_file_and_test(text_file_path)410Views0likes6CommentsHow can I verify data in fields on a web page that were entered using a data loop and from Excel
I created a data loop where the test pulls data from my Excel worksheet and enters it in to a application. The web client will then use a API to pull that data into the Web GUI Interface. How can I then verify the fields in the Web GUI against my excel worksheet that was used to create the data? I was playing with the table checkpoint but that does not allow me to use my data from the Excel worksheet to verify against what is in the Web Client. Any ideas or thoughts on how to achieve this verification?296Views0likes4Comments