ContributionsMost RecentMost LikesSolutionsHow to get (X,Y) co-ordinate of the screen.Hi All, I need to click particular place in a screen, in order to do that, First I need to know (X,Y) co-ordination of that point of the screen. Second I need to know VB scripts which performing mouse click action of that particular point of that screen. I need this because TestComplete is not recognizing that point of the screen, which was window application written by Java. Re: wText method not retrieve all the text data valuesHi Julia, I have testing window application which is build by using C# DotNet. Testcomplete mapping with the application textarea as followed. Sys.Process("AirTestHarness").WinFormsObject("frmPreprocessTestInterface").WinFormsObject("gbOutput").WinFormsObject("txtOutput") Initial this text area is empty, but after performing some action this text area get fill by system messages. I am using "wtext" method to retrive those text message as below. Set my_textarea = Sys.Process("AirTestHarness").WinFormsObject("frmPreprocessTestInterface").WinFormsObject("gbOutput").WinFormsObject("txtOutput") my_data1 = my_textarea.wText Issue is I am not getting all the text massages into "my_data1" variable. wText method not retrieve all the text data values I am using “wText” method to retrieve large text value from the textarea field. I am not getting all the text values from the textarea when using “wText” method. What is the solution to get all the textarea value, rather than using “wText” method? Wait for object to be appearing. Without increasing time at "Auto wait timeout", is there any other way to wait for object to be appearing. My issue is I have to wait till the text appears in the text area. Following is my code (written in VB). (Testcomplete version 8.60.665.7) ---------------------- 'address the text area which text appear Set textBox1 = frmTestInterface.gbOutput.txtOutput sec_val=10000 Do If Not(textBox1.Exists) Then Delay(sec_val) textBox1.RefreshMappingInfo sec_val = sec_val + 10000 Else Exit Do End If Loop 'get the text values text_val1 = textBox.wText ------------------ Re: Delay VB scripts not workingVB code corrections. Please ignore the previous VB code ----- Sub Test() Dim Test_Object_Name Test_Object_Name = Sys.Process("Test").WinFormsObject("frmMenu").WinFormsObject("txtOutput") If Not(Test_Object_Name.Exists) Then Sec_val = 10000 Do Delay(Sec_val) Test_Object_Name.Refresh sec_val = sec_val + 10000 If Test_Object_Name.Exists Then Exit Do End If Loop End If End Sub Sys.Process("Test").WinFormsObject("frmMenu").CloseRe: How to launch application without using TestesappsI slove the issue following is the VB scripts sample , this open the test application which on given file location. Sub OpenTestApplication Dim WshShell, WshShellExec ' Open test application Set WshShell = Sys.OleObject("WScript.Shell") Set WshShellExec = WshShell.Exec("C:\MyApp\bin\TestApp.exe") End SubRe: How to launch application without using TestesappsHi Lexi, Can I have the VB scripts of this please, I tried but no luck so far. Delay VB scripts not working I have written some code in VB to check whether object exists or not before performing future tasks. But Testcomplete not working as expected it's just jump into last line of the code and display that window does not exists. --------------------------------------------------------- Sub Test() Dim Test_Object_Name Test_Object_Name = Sys.Process("Test").WinFormsObject("frmMenu").WinFormsObject("txtOutput") If Not(Test_Object_Name.Exists) Then Sec_val = 10000 Do Delay(10000) Test_Object_Name.Refresh sec_val = sec_val + 10000 If Test_Object_Name.Exists Then Exit Do End If Loop End If End Sub Sys.Process("Test").WinFormsObject("frmMenu").Close ----------------------------------------------------------