Contributions
Script when we select something from a ComboBox, The check Box should be checked
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <meta content="Word.Document" name="ProgId" /> <meta content="Microsoft Word 12" name="Generator" /> <meta content="Microsoft Word 12" name="Originator" /> &amp;amp;lt;BR /&amp;amp;gt; &amp;amp;lt;!--&amp;amp;lt;BR /&amp;amp;gt; /* Font Definitions */&amp;amp;lt;BR /&amp;amp;gt; @font-face&amp;amp;lt;BR /&amp;amp;gt; {font-family:"Cambria Math";&amp;amp;lt;BR /&amp;amp;gt; panose-1:2 4 5 3 5 4 6 3 2 4;&amp;amp;lt;BR /&amp;amp;gt; mso-font-charset:1;&amp;amp;lt;BR /&amp;amp;gt; mso-generic-font-family:roman;&amp;amp;lt;BR /&amp;amp;gt; mso-font-format:other;&amp;amp;lt;BR /&amp;amp;gt; mso-font-pitch:variable;&amp;amp;lt;BR /&amp;amp;gt; mso-font-signature:0 0 0 0 0 0;}&amp;amp;lt;BR /&amp;amp;gt;@font-face&amp;amp;lt;BR /&amp;amp;gt; {font-family:Calibri;&amp;amp;lt;BR /&amp;amp;gt; panose-1:2 15 5 2 2 2 4 3 2 4;&amp;amp;lt;BR /&amp;amp;gt; mso-font-charset:0;&amp;amp;lt;BR /&amp;amp;gt; mso-generic-font-family:swiss;&amp;amp;lt;BR /&amp;amp;gt; mso-font-pitch:variable;&amp;amp;lt;BR /&amp;amp;gt; mso-font-signature:-520092929 1073786111 9 0 415 0;}&amp;amp;lt;BR /&amp;amp;gt; /* Style Definitions */&amp;amp;lt;BR /&amp;amp;gt; p.MsoNormal, li.MsoNormal, div.MsoNormal&amp;amp;lt;BR /&amp;amp;gt; {mso-style-unhide:no;&amp;amp;lt;BR /&amp;amp;gt; mso-style-qformat:yes;&amp;amp;lt;BR /&amp;amp;gt; mso-style-parent:"";&amp;amp;lt;BR /&amp;amp;gt; margin-top:0cm;&amp;amp;lt;BR /&amp;amp;gt; margin-right:0cm;&amp;amp;lt;BR /&amp;amp;gt; margin-bottom:10.0pt;&amp;amp;lt;BR /&amp;amp;gt; margin-left:0cm;&amp;amp;lt;BR /&amp;amp;gt; line-height:115%;&amp;amp;lt;BR /&amp;amp;gt; mso-pagination:widow-orphan;&amp;amp;lt;BR /&amp;amp;gt; font-size:11.0pt;&amp;amp;lt;BR /&amp;amp;gt; font-family:"Calibri","sans-serif";&amp;amp;lt;BR /&amp;amp;gt; mso-ascii-font-family:Calibri;&amp;amp;lt;BR /&amp;amp;gt; mso-ascii-theme-font:minor-latin;&amp;amp;lt;BR /&amp;amp;gt; mso-fareast-font-family:Calibri;&amp;amp;lt;BR /&amp;amp;gt; mso-fareast-theme-font:minor-latin;&amp;amp;lt;BR /&amp;amp;gt; mso-hansi-font-family:Calibri;&amp;amp;lt;BR /&amp;amp;gt; mso-hansi-theme-font:minor-latin;&amp;amp;lt;BR /&amp;amp;gt; mso-bidi-font-family:"Times New Roman";&amp;amp;lt;BR /&amp;amp;gt; mso-bidi-theme-font:minor-bidi;&amp;amp;lt;BR /&amp;amp;gt; mso-fareast-language:EN-US;}&amp;amp;lt;BR /&amp;amp;gt;.MsoChpDefault&amp;amp;lt;BR /&amp;amp;gt; {mso-style-type:export-only;&amp;amp;lt;BR /&amp;amp;gt; mso-default-props:yes;&amp;amp;lt;BR /&amp;amp;gt; mso-ascii-font-family:Calibri;&amp;amp;lt;BR /&amp;amp;gt; mso-ascii-theme-font:minor-latin;&amp;amp;lt;BR /&amp;amp;gt; mso-fareast-font-family:Calibri;&amp;amp;lt;BR /&amp;amp;gt; mso-fareast-theme-font:minor-latin;&amp;amp;lt;BR /&amp;amp;gt; mso-hansi-font-family:Calibri;&amp;amp;lt;BR /&amp;amp;gt; mso-hansi-theme-font:minor-latin;&amp;amp;lt;BR /&amp;amp;gt; mso-bidi-font-family:"Times New Roman";&amp;amp;lt;BR /&amp;amp;gt; mso-bidi-theme-font:minor-bidi;&amp;amp;lt;BR /&amp;amp;gt; mso-fareast-language:EN-US;}&amp;amp;lt;BR /&amp;amp;gt;.MsoPapDefault&amp;amp;lt;BR /&amp;amp;gt; {mso-style-type:export-only;&amp;amp;lt;BR /&amp;amp;gt; margin-bottom:10.0pt;&amp;amp;lt;BR /&amp;amp;gt; line-height:115%;}&amp;amp;lt;BR /&amp;amp;gt;@page Section1&amp;amp;lt;BR /&amp;amp;gt; {size:595.3pt 841.9pt;&amp;amp;lt;BR /&amp;amp;gt; margin:72.0pt 72.0pt 72.0pt 72.0pt;&amp;amp;lt;BR /&amp;amp;gt; mso-header-margin:35.4pt;&amp;amp;lt;BR /&amp;amp;gt; mso-footer-margin:35.4pt;&amp;amp;lt;BR /&amp;amp;gt; mso-paper-source:0;}&amp;amp;lt;BR /&amp;amp;gt;div.Section1&amp;amp;lt;BR /&amp;amp;gt; {page:Section1;}&amp;amp;lt;BR /&amp;amp;gt;--&amp;amp;gt;&amp;amp;lt;BR /&amp;amp;gt; Hi, I want to write some script for check Boxes. Can you help? On my application there is a ComboBox “Nationality “contains different countries list. And there is Foreign Check box are there. I want like If we Select Nationality as other than SouthAfrica Then The Check Box Foreign must and should be checked . I tried with some script but its failed. I want in VB Script. Can you help?9.8KViews0likes2CommentsHow to Enter Current System Date for a specific TextField
Hi, I try to enter current date in a Date field .But its failed. I want to update the text field with current System Date(Format is like 2010/07/21) .Even i changed my system date settings to this format. But i did't get the result.Here is the code. Sub Test4 Dim wndCLASS_CHILD Dim magic_gdt Set wndCLASS_CHILD = Aliases.uniRTE.wndCLASS_CHILD96 wndCLASS_CHILD.CLASS_CHILD.CLASS_CHILD.btnAllocate.ClickButton Set magic_gdt = wndCLASS_CHILD.MAGIC_GDT1 ''''''''''''''''''''''magic_gdt.wText = "2010/07/20"---------->Start Date Field in yyyy-mm-dd format Sys.keys "20100720" Call magic_gdt.Keys("[Tab]") Set magic_gdt = wndCLASS_CHILD.MAGIC_GDT2 '''''''''''''''''''''''''' magic_gdt.wText = "2010/07/20" -------->Second date field Sys.keys "20100720" Call magic_gdt.Keys("[Tab]") End Sub Here i want to change the date to current Sys.Date.I done using If......Then......Stmt But it doe't disply the current Date. I want to assign the current date to those date fields. If any one knows ....Plz Post Reply... Thanks & Regards Veera Bolli.12KViews0likes1CommentBug # " Object Does't Exist "
Hi How to Add a new Object using Name Mapping or anything? Problem : I am using Test Complete 7.51 I have an Application and I Record many tests all are fine. When I try to Automate some other features on the same application, It shows the Mapped Name Field ‘As Aliases.uniRTE.wndClass_CHILD83’ The wndCLASS_CHILD83 is for some operations (Like for Main Window) . But it calling All sub windows as As Aliases.uniRTE.wndClass_CHILD83’ And during running tests I am getting error like” Object does’t Exist” Here I found a solution like if we modify any object its working fine. But I want to know How to Add a new Object. 1. I clicked on Name Mapping. 2. From there I select the button “ Map Object From Screen” 3. Then Map Object Dialog window opens, I selected sub window. 4. Now in Object Field it shows “Aliases.uniRTE.wndCLASS_CHILD83” 5. Even I clicked on Highlight Button ,it shows exactly same sub window. When I click on Ok Button to edit the object name to some name like wndCLASS_CHILD84 It shows warning message like “Object already mapped to wndCLASS_CHILD83”. So I want to change to some another new object.I don’t want to delete Object 83. Plz suggest me. Its very urgent12KViews0likes1CommentHow to Add a New Parent Object? (Like wndCLASS_CHILD20 etc)
Hi Guys, How to add a new object using TestComplete 7 I am using TestComplete 7. when i automate an application, It calls all sub windows with same Object like wndCLASS_CHILD83.. I try to add using Object Browser. I clicked on the icon like Add an object from screen.Then also it shows same object wndClass_Child83.But i try to change fom Object 83 to another new object.But i can't able to done.(On Mapped Name Field) Note: wndCLASS_CHILD83 is already called by another subwindow. Can any one Suggest?Plz it's very urgent. I struck wiyh Automation.13KViews0likes2Comments