We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
So the Test Complete SetText function simply does not work at all.
I changed the code to set the Sys.Clipboard to the 4000+ text string and using the Keys("^a[Del]^v") works fine.
Thank you for trying, BMD
No, what I mean is set a text variable to some string that is 4000 characters long and just insert that into your field. There is no need to type 4000 characters separately every time. Insert the 4000 and then use Keys or SetText to try to type one more in and check to see if it worked.
This is exactly what I am doing with the .Keys() function. It takes too long to type the 4000+ characters into the field. It types the characters in about 8 times in the comment field on different pages. The script runs fine but takes about 45 minutes to complete. I'm looking for ways to refactor the code and speed up the script. I thought my description about changing from the .Keys to the .SetText function would explain that. I have use the .Keys and is working but I'm looking to speed the script up by switching to the .SetText function.
Thanks anyway, BMD
No, what I mean is set a text variable to some string that is 4000 characters long and just insert that into your field. There is no need to type 4000 characters separately every time. Insert the 4000 and then use Keys or SetText to try to type one more in and check to see if it worked.