sanjay0288Frequent ContributorJoined 13 years ago113 Posts27 LikesLikes received4 SolutionsView All Badges
ContributionsMost RecentMost LikesSolutionsRe: TestComplete Profiles - USA Hi Vallalarasu_P Is this requirement for the one who is currently holding US visa? If not please find the details Total years of Experience : 9 Years Experience in TestComplete : 7 Years Current Role : Testing Lead Current Location : Bangalore Visa Status : No TC support for Electron Hi All, We are having our application developed in electron 3.0.8. I have gone through test complete forum and it says that TC supports applications developed in electron till version 2.x. Is there any update on by when TC starts support for the latest electron versions? Re: Does Test complete supports FTP?I would like to send a file through FTP. HKosova : .NET class System.Net.FtpWebRequest through the CLR Bridge which GAC do I need to add inorder to get the methods? I have added System.Net, netStandard, System.net.Requests. Is there a sample program available using CLR Bridge? Re: Automation Execution Report Hi shankar_r rajabe9209 Heads up!!! Can you specify the type of encoding when you are writing values using aqFile.WriteToTextFile and specify the UTF-8 or UTF16 encoding type. I wrote a sample HTML which accepts unicode characters.Attaching sample.html file. Re: How to iterate date in text file using regular expression Hi, As Marsha_R said there are multiple ways to accomplish the task. If you are looking for regular expression here is a sample script which is being written in vbscript to fetch only the Date value from a string increment it and replace with the incremented value. Sub Test() oriDate = GetDateFromString("27/02/1988,09:30,00:25,Slot2,NH New History-2,03,,07,,Comedy,16,,06,,") replacedDateVal = IncrementAndReplaceYear(oriDate) MsgBox replacedDateVal End Sub '' Regular expression to get the dateVal from String Function GetDateFromString(strToSearch) Set re = New RegExp re.Pattern = "(\d{1,2}\/\d{1,2}\/\d{4})|" Set resStr = re.Execute(strToSearch) If re.Test(strToSearch) Then GetDateFromString = resStr(0).Value Else GetDateFromString = "date not found!" End If End Function '' Increment the year value and replace the year val Function IncrementAndReplaceYear(dateVal) yr = Year(dateVal) replacedVal = ConvertDate(dateVal, yr + 1) IncrementAndReplaceYear = replacedVal End Function Function ConvertDate(originalDate, incrementedYear) dateVal = Day(originalDate) monthVal = Month(originalDate) If Len(dateVal) = 1 Then dateVal = "0" & dateVal End If If Len(monthVal) = 1 Then monthVal = "0" & monthVal End If ConvertDate = dateVal & "/" & monthVal & "/" & incrementedYear End Function Query on aqobject.IsSupportedHi, I have a delphi widget. Where i want to check whether the obj.wItem(1,0) is supported. Is it possible to check this condition using testcompleteSolvedQuestion on VSIntegration.exe Hi, I have visual studio 2017 installed and I am trying to install test complete vs integration.exe. But the installation is failing with a message stating visual studio installation is not found. Can anyone let me know what is the problem Re: Question on CLR bridge Hi tristaanogre, HKosova Thank you very much for shedding some light on CLR. As I have said earlier I was trying the sample to understand how CLR works, so I chose this sample. As I have a requirement to load a assembly and test communication related stuffs for a hardware, I wanted to understand how CLR works in test complete and how different the syntax is compared working with actual C# programming and loading that dll. Thanks again for the help. Re: Question on CLR bridge HI tristaanogre, As a first step to understand I have written a sample vbscript to write a line to text file using clr bridge. The problem is I am able to create a file but not able to write the contents to the file. Below is the sample routine which is written Sub Test fileName = "C:\sv1.txt" Set z = dotnet.System_IO.StreamWriter z.zctor_5(fileName).WriteLine "Sample text" End Sub Question on CLR bridge Hi, Can anyone shed some light or working on CLR bridge through test complete? Sorry for being dumb, I am trying to write some data to a text file using StreamWriter and finding no success. Can anyone guide me to a sample on working with CLR bridge Solved