Contributions
Re: Use automated script to test the software which supports Multilanguage
Hii Yan He , yes as you said object itdentification is language specific and testcomplete recognizes on screen objects by namming them as per the language set on your AUT(application under test). for eg: a simple toolbar button in english might be mapped as toolbarbutton.clickitem("speichern") --> in German where as in english it will be mapped as toolbarbutton.clickitem("save") and if you dont want TC to automatically name map them then you can map the object in different languages and put them in a framework library function which you can use later any where in your project. so the answer is yes it does support multilingual application . but if you want just refer to this post it might help http://smartbear.com/forums/f81/t73455/namemapping-for-multilingual-testing/942Views0likes0CommentsDoes higher resolution affect a test developed in lower resolution ?
My Test development machine is of the resolution 1280X1024 and the resolution at my clients place is1680*1050 .. i am not using cordinates at all and i have written test scripts independent of the cordinates. all my scripts refer to the objects by thier name only. is this going to be a problem in any case ?i tried running the test at 1600 x 900 resolutionand my scripts are failing to recocgnise objects .. ANY SOLUTIONS ? / Suggestions ?1.5KViews0likes2CommentsRe: search in datagrid view in TC
Hi , i have a VB.NET Application under test and the following code got the job done. Function selectcell(Grid, Columname, Value) 'select the particular cell and click that cell Dim i Dim rowindex rowindex = -1 For i = 0 To Grid.wRowCount-1 ' Check the cell value in the specified column If Grid.wValue(i, Columname) = Value Then rowindex = i ' Row is found End If Next if rowindex >=0 Then Call Grid.ClickCell(rowindex, Columname) Else log.Error "value does not exist in the grid lookup","the value you are trying to select does not exist" End If End Function hope this was helpful1.3KViews0likes0CommentsRe: TestComplete automation framework
well the control scripts are nothing but scripts that control which test step scripts execute and which do not. this execution criteria is stored in an excel file which can be changed by any one without even opening the Testcomplete IDE .. ive tried to make the execution process and the Data Feed process as TC free as possible. use basic if else statements and USEUNIT unitA calls as possible .. but you need to figur out if this architecture suits your application .. And neha can you explain what do you mean by Storing the Object Data in a XML FILE ???? hope it helped ! :)3.6KViews3likes0CommentsRe: Using NameMapping file through Source Control
hiii , if you are merging those Scripts files at the end of the day then youll need to have a meeting and decide on the namming conventions and set standards accordingly . This will help you to follow a particular Coding standard as well as a namming standard . identify the controls and codinate the name mapping names used . correct me if i am wrong but if you use the default namming conventions for name mapping then you will end up getting the same name mapping names .. Try it out !!! hope this helped789Views1like0CommentsRe: TestComplete automation framework
Hii, i have also implemented a Framework which is Data Driven + Fucntion libraries(keyword Driven )+Modular Structure Driven == Hybrid Framework . I built this framework from base and so far it does the job for me for testing .NET Application . I have a modular structure of scripts all of which are seperated and ordered in a systematic manner according to the various different modules, Then we have put the Test data in a Excel sheet (contains multiple data which works out to be multiple Scenarios ) and imported that data to the scripts thus having more dynamic approach in terms of the test data . Then i have put the most commonly used functionalities and events in a Functiona library which help me to reuse a alot of code and save time. I also use a series of control Driver Scripts which help me control each and every Test step Scripts as well as each module script from an Excel sheet itself ... SINCE I USE A TESTEXECUTE ON THE SERVER.... (NOTE : any suggestions for more scope of improvement will be appreciated :P) hope i could help..7.3KViews3likes0CommentsRe: Testcomplete 10.20 Devexpress data grid view card access problem
well i finally got the solution for it , found an alternative. gridobj.MainView.get_ViewInfo.RowsInfo.GetInfoByHandle(rowindex).Cells.Item(coloumindex) and for data gridview of cards : grid.MainView.get_ViewInfo.VisibleCards.Item(rowindex) this worked for me: use Bounds.left and Bounds.Top1.1KViews2likes0CommentsTestcomplete 10.20 Devexpress data grid view card access problem
i am trying to get the bounds of a specific card within a XtraGrid control the version of my control is 12.2.7 and i am trying to use the following code: gridobj.MainView.get_ViewInfo.Cards.CardFieldInfoBy(RowHandle, Column).Bounds but i am not able to get the cards property !!2.6KViews0likes2CommentsRe: DevExpress.XtraGrid.GridConrol - ClickCell doesnot works.
you can always calculate the cordinates on the fly by using gridobj.MainView.get_ViewInfo.RowsInfo.GetInfoByHandle(rowhandle).Cells.Item(coloumobj).bounds then can pass it to the click . or in the newer version of testcomplete you just have to enable the option of developer express in the projectproperties>objectmapping> cheers1.9KViews0likes0Comments