Contributions
How can I search a data in Excel?
Dear, I use Data-driven loop operation by Excel sheet. With attached picture, I must use the test data. My problem is the following. If Calumn_A has value of 'A', find same value 'A' in Calumn1(the other sheet) then executing script. And then search the other A in Calumn1, if has more value 'A', executing script. And then repeat,..total 4 times. In B case, If Calumn_A has value of 'B', find same value 'B' in Calumn1. If the 'B' is it, executing script, and then search value 'B' in Calumn1. It will be executing script total 2 times. In C case, If Calumn_C has value of 'C', find same value 'C' in Calumn1. If the 'C' is it, executing script, and then search value 'C' in Calumn1. It will be executing script total 3 times. I think this is very complex but I want this can solve by operation in TestComplete. Please let me know how can I do that. Thank you. HS Kim1.1KViews0likes2Comments- 2KViews0likes0Comments
Read a Text from app. by OCR
Dear, I have Mobile module. I must read a text of SMS so I installed SMS application in Android phone. (Please refer the attached screen01.png) TestComplete can recognize the object but the text info. doesn't be there. (Please refer the attached screen02.png) So I have to use OCR function. I found the ocr script the following.(Please refer the URL,https://support.smartbear.com/viewarticle/86444/) But I don't know what can I edit the script. I tried to edit but always appear error. Example, p = Mobile.Device("SHV-E300K"); But I can't execute. Please let me know how can I use it. The other's information is, Mobile.Device("SHV-E300K").Process("com.skt.prod.tmessage").RootLayout("").Layout("NO_ID").View("messages_fragment_pager").Layout("NO_ID").ListView("listview_messages").Layout("NO_ID").Layout("message_bubble_frame").Layout("message_bubble_container").Layout("NO_ID").Layout("message_bubble_send_bubble_container").TextView("message_bubble_send_text") Aliases.Device.Process_prod_tmessage.RootLayout.Layout_NO_ID.View_messages_fragment_pager.Layout_NO_ID.ListView_listview_messages.Layout_NO_ID.Layout_message_bubble_frame.Layout_message_bubble_container.Layout_NO_ID.Layout.TextView_message_bubble_send_text The following is script for OCR. ------------------------------------- function Test() { var p, w, OCRObj, OCROptions, Font, s; // Obtain the window containing the text to be recognized p = Sys.Process("MyApplication"); w = p.Window("MyWndClass", "MyWndCaption", 1).Window("MyControlClass", "*", 1); // Create a new OCRObject object OCRObj = OCR.CreateObject(w); // Create a new OCROptions object to modify recognition settings OCROptions = OCRObj.CreateOptions(); // The following code modifies the recognition settings // Add a new font to the Fonts collection Font = OCROptions.Fonts.Add(); Font.Name = "Tahoma"; // Specify the font name Font.Styles.Add(1); // Add the Bold style Font.Styles.Add(2); // Add the Italic style Font.Sizes.Add(8); // Add the 8 pt size Font.Sizes.Add(12); // Add the 12 pt size // Add one more font to the Fonts collection Font = OCROptions.Fonts.Add(); Font.Name = "Verdana"; // Specify the font name Font.Styles.Add(1); // Add the Bold style Font.Styles.Add(2); // Add the Italic style Font.Sizes.Add(8); // Add the 8 pt size Font.Sizes.Add(12); // Add the 12 pt size // Recognize text s = OCRObj.GetText(OCROptions); // Post results to the log Log.Message(s); } --------------------------------------------- Thank you. Hwansung2.1KViews0likes2CommentsRe: Can Testcomplete read a SMS?
Dear, I'm sorry about too late. And thank you for answer. But I can't solve yet. I saw the 'Image-Based Testing Principles' page. But it's only click or save of image. I want to read a text of SMS. In picture(SMS_certi.jpg), you can see the number. (ex, 931629, 045532 ...) I must read the number and use the other test case. Is that possible? Thank you. HSKim1.9KViews0likes0CommentsCan Testcomplete read a SMS?
Dear, I have Web and Mobile module of TestComplete. When testing Web page, certification number is sent by SMS to Android phone. Android phone receives a SMS that has certification.(refer the attached picture) How can TestComplete read the certification's number in SMS? Thank you.1.9KViews0likes2CommentsLetters of Korean are crash in QAComplete.
Dear, I'm work in Korea. And I try to use QAComplete in my company. But Korean letters are crash. Summary screen is no problem the following. But Korean letters are crashed when selecting a testcase the following. I did set in browser, IE and Chrome. But the problem is not solved. Please let me know how the problem can be solved. Thanks.1.1KViews0likes1Comment- 622Views0likes0Comments
How many affect when testcase is edit.
Dear, I have many Testcase and I used testcase in testcase below. The testcase(scenario tc) that has many testcases is many case in project. If some testcase is edit,testcase(scenario tc) is no problem because edited testcase will be applie alltestcase(scenario tc). But I can't know what testcase(scenario tc) is affect by editing. How can I that information. I try to use the 'Find' function, but the 'Find' is only searched script. Please let me know. Thanks671Views0likes2Comments