Contributions
MTM Integration with Testcomplete 10
Hi, I would like to understand the integration/association of TestComplete scripts with Microsoft Test Manager. 1) Do we need any specific add ins. 2) Will it be associated through Visual Studio or directly. 3) How I can associate coded UI scripts with MTM test cases 4) Will there be any way to updated coded UI scripts in MTM automatically after assertions. It would be appreciated if I can get answer to above questions and steps to solutions.1.9KViews0likes1CommentInvalid Use of Null error while reading data from an Excel sheet
Hi, I am getting an error saying "Invalid Use of Null" while reading data from Excel sheet, I am getting this error for the Cell's fromat type Number, whereas I am able to read the data from other formats with any problem. Following is the piece of code I am using to read the data from Excel sheet. Sub MainTest Set DataDriver = DDT.ExcelDriver("C:\\Scenario.xls","Scenario1") While Not DataDriver.EOF MsgBox(DataDriver.Value("INPUTDATA")) DataDriver.Next Wend End Sub Regards, Abdul6.8KViews0likes3Comments- 2KViews0likes0Comments
Re: How to get the hierarchy of the individual objects from the Aliases
Hi All, I have found a solution for the question I have raised. Sub GetNextAlias(AliasObject,Parent) Dim iteratorProperties Dim iteratorProp Set iteratorProperties = aqObject.GetProperties(AliasObject) While iteratorProperties.HasNext Set iteratorProp = iteratorProperties.Next 'ValueType 29 appears to correspond with other objects from the name mapping or alias trees If(iteratorProp.ValueType = 29) Then Log.AppendFolder(iteratorProp.Name) '' MsgBox(iteratorProp.Type) Hierarchy = Parent&"."&iteratorProp.Name Temp = "Var" & iteratorProp.Name &" = " & Hierarchy Call LogText(Temp) Call GetNextAlias(aqObject.GetPropertyValue(AliasObject,iteratorProp.Name),Hierarchy) Log.PopLogFolder End If Wend End Sub Sub test() Log.AppendFolder("Aliases") If(aqFile.Exists(sPath)) Then aqFile.Delete(sPath) End If Call GetNextAlias(Aliases.Sys,"Aliases.Sys") Log.PopLogFolder End Sub Regards, Abdul660Views1like0Comments