Contributions
Re: Regions checkpoint is sometimes able to execute, sometimes not able to execute
Hi all, Although I recorded region checkpoint again, test script is stopped automatiic with error "The Picture object does not contain any images" when running at region checkpoint line of code. Please give me any suggestion to resolve this probem. Heo606Views0likes0CommentsRegions checkpoint is sometimes able to execute, sometimes not able to execute
Hi all, I used Region checkpoint to check image in test script as below: Regions["panelWidgetcontent2"]["Check"](Aliases["browser"]["pageGetunapprovedlogs"]["sectionMain"]["panelDriversnapshotcontainer"]["panelWidgetcontent"]); This code sometimes able to execute but sometimes error "The Picture object does not contain any images" and test script execution is broken. If any suggestion, please feel free to suggest me? Thanks, Hien2.2KViews0likes2CommentsRe: TestComplete10 performance is very slow
Hi Hanya & all, I compared speed of Find method and QuerySelector method. Speed of QuerySelector is faster than Find about only 7%. +Control 1: QuerySelector: 0:00:33 Find: 0:00:35 +Control 2: QuerySelector: 0:00:35 Find: 0:00:38 However QuerySelector takes about 33s for searching a test object. It is also too slow. Thanks, Hien3KViews0likes0CommentsRe: TestComplete10 performance is very slow
Hi Tanya, Hanya, Thanks for your suggestion. My web page is still being developed. It is ussually modified about GUI, html structure (hml code is genearated by Devexpress tool). Only ID property is rarely changed. Therefore, I have to use ID properly to handle controls. If finding object by CSS Selector or XPath, test scripts have to be updated frequently when each time of updating web page. So I will investigate to find control's parent then find child control in parent. However this way is only effective if applying for a few controls. If applying for many controls, numbers of line of test code and effort for coding test script are very huge . Hien3KViews0likes0CommentsRe: TestComplete10 performance is very slow
Hi Tanya, I measured the finding test object time and Keys event time by using StopWatch for 2 test object as below: Test Object 1: // Starts the time counter StopWatch1 = HISUtils["StopWatch"]; StopWatch1["Start"](); var startDateControl = page["NativeWebObject"]["Find"]("id", "startDate0_I"); // Stop the time counter and write to text file StopWatch1["Stop"](); aqFile["WriteToTextFile"](sPath, "Find Object time:" + StopWatch1["ToString"]()+ "\r\n", aqFile["ctANSI"], false); // Starts the time counter StopWatch2 = HISUtils["StopWatch"]; StopWatch2["Start"](); startDateControl["Click"](); startDateControl["Keys"]("^a"); startDateControl["Keys"]("[BS]"); startDateControl["Keys"](valueList["Item"]("StartDate")); // Stop the time counter and write to text file StopWatch2["Stop"](); aqFile["WriteToTextFile"](sPath, "Key event time:" + StopWatch2["ToString"]()+ "\r\n", aqFile["ctANSI"], false); Test Object 2: measurement way is similar to test object 1. The measurement result is as below: Object 1: Find Object time:00:00:38.782 Key event time:00:00:00.858 Object 2: Find Object time:00:00:41.949 Key event time:00:00:00.780 From above result I found that: Finding object took a long time(object1: ~38s, object2: ~41s). Keys event is executed quite fast (object1: ~0.8s, object2: ~0.7s) I referred [Automated test performance tips] and performced steps as this page guide. For detail please refer the attached fle. Thanks, Automated Test Performance Tips Automated Test Performance Tips3KViews0likes0CommentsRe: TestComplete10 performance is very slow
Hi all, I tried to replace Keys event by setting wText property. Performance of test script is still extremely slow. So I think performace issue occurs at code of finding test object as below: var MotorCarrier = page["NativeWebObject"]["Find"]("id", "MotorCarrierZipCode"); When finding other test object, performance issue also occurs similar. Please give me any suggestion to improve performance of finding test object. Thanks3KViews0likes0CommentsRe: Click button is unavailable although button is existing
Click is performed on a possition beside button. This issue occurs on all controls (button, text input, link,..)on my webpage. Test script is execute of Chrome v32.0.1700.107 m. I downloaded chrome dispatch but it can't resolved. Thanks, Hien1.4KViews0likes0CommentsTestComplete10 performance is very slow
Hi all, I am using TC10 to create test script for Webpage. Its perfomance is very slow. I found it was extremely slow when finding test Object and fill value in it. How can I improve speed of test script? My test script code is as below: var MotorCarrier = page["NativeWebObject"]["Find"]("id", "MotorCarrierZipCode"); MotorCarrier["Keys"]("^a"); MotorCarrier["Keys"]("[BS]"); MotorCarrier["SetText"](valueList["Item"]("Zip Code")); MotorCarrier["Keys"]("[Tab]"); I referred below link but performance still can't be improved: http://support.smartbear.com/articles/testcomplete/test-playback-performance-tips/ Thanks,7.3KViews0likes19Comments