ContributionsMost RecentMost LikesSolutionsHow to add multiple node locked test complete licenses to same RDP(Remote desktop) Hi, We already have 2 node locekd licenses been activated in RDP and requested for some additional no of node locked licenses, got that too from smartbear but the problem is we are not able to add those new licenses to the same remote desktop. Any suggestions please ? Thanks, Re: How to check WinformsObject Exists or not Thanks! i tried the below code and its working. var w = Sys.Process().WaitWinFormsObject("DisplayScheduleMessage", 1000); if(w.Exists && w.VisibleOnScreen) { } else { } Re: How to check WinformsObject Exists or not Thanks and even i tried giving wait , but its not working if(Sys.Process("*").WaitWinFormsObject("DisplayScheduleMessage", 1000).Exists) { Sys.Process("*").WinFormsObject("DisplayScheduleMessage").Close(); } else { Log.Message("Programme assigned"); } How to check WinformsObject Exists or not Hi, i am trying to check WinformsObject exists or not but the below code is not working if(Sys.Process.WaitWinFormsObject("DisplayScheduleMessage").Exists) { Sys.Process.WinFormsObject("DisplayScheduleMessage").Close(); } else { Log.Message("Window doesnt exists continue next step"); } Please advise. Thanks, SolvedRe: How to iterate date in text file using regular expression Yes Year is same for every line in the file , so if i try project variable and increment year each time but need to change year for the first time in variable initialisation because file changes during my testing . Steps to follow: if i get the input file , first need to increment the year inside the file and then will import into test application. Re: How to iterate date in text file using regular expression Marsha_R Thanks! I want to import the file for my test so changing the dates every time before import . example : if the file has the date : 02/05/2018 , next time it should get incremented by year like 02/05/2019 Please suggest How to iterate date in text file using regular expression I am trying to iterate the date inside the text file and want to import the file in my application using test complete, tried using regular expression its not working For ex: 30/05/2018,09:30,00:25,Slot2,NH New History-2,03,,07,,Comedy,16,,06,,"Host has to offer.",2016,,,ENG,SGGTY5527,,,25,,,,,,,,,,,,1|2|3,30,VOD,E,,,Y 30/05/2018,11:35,00:25,Slot1,NH New History-1,03,,07,,Comedy,18,,F,,"Host has to offer.",2016,,,ENG,SGGYT5127,,,25,,,,,,,,,,,,1|2|3,15,VOD,M,,,N 30/05/2018,14:30,00:25,Slot3,NH New History-3,03,,07,,Comedy,16,,06,,"Host has to offer.",2016,,,ENG,SGYGT5627,,,25,,,,,,,,,,,,1|2|3,30,VOD,,,, in the above text the date should get replaced by 30/05/2019 for all occurrences . The code i tried : s = "Some 20/04/2021 ex 2021/02/21 dfsdkjfdksajsda" var re =/^(0?[1-9]|[12][0-9]|3[01])[\/](0?[1-9]|1[012])[\/\-]\d{4}$/g; var m; while (m = re.exec(s)) { var myDate=new Date(m) myDate.setFullYear(myDate.getFullYear() + 1); a=s.replace(m,myDate.toLocaleDateString()) alert(a); } Re: How to replace a text from file I just want to replace the dates and text in the file and need to reuse the file to import in desktop application How to replace a text from file 11/04/18,15:35,01:00,Slot -1,Sk Jan 23 Test Movie-1,03,,07,,CRIME,18,,06,,"Host has to offer.",2017,,,ENG,DMC5121,,,60,,,,,,,,,,,,1|3,60,VOD,M,,,N 11/04/18,16:35,01:00,Slot -2,SK Jan 23 Test Movie-2,03,,07,,CRIME,18,,06,,"Host has to offer.",2017,,,ENG,DMC5122,,,60,,,,,,,,,,,,1|3,60,VOD,M,,,N 11/04/18,17:35,01:00,Slot -3,SK Jan 23 Test Movie-3,03,,07,,CRIME,18,,06,,"Host has to offer.",2017,,,ENG,DMC5123,,,60,,,,,2,6,SK New Season 2,,,,,1|3,60,VOD,,,,N In the below text file I need to replace all the dates and add a character before DMC5121 , DMC 5122 , DMC5123 inside the file. Can anyone help me pls Thanks, Re: How to give a delay or wait to winformsobject for 5 mins for the window to get popped up Thanks! Yes you are right a) What happens when you try this manually? Does the window pop up in 5 mins or does the application still close? Ans : If i do manually the window pop up in 5 mins but the application is open . b) What do you need to do with the window once it pops up? Ans :Once the window pops up i need to select some options from that window.