Contributions
How 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 toofrom smartbear but the problem is we are not able to add those new licenses to the same remote desktop. Any suggestions please ? Thanks,714Views0likes1CommentRe: 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"); }2.2KViews0likes3CommentsHow 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,Solved2.2KViews0likes5CommentsRe: How to iterate date in text file using regular expression
Yes Year is same for every line in the file , so ifi try project variable and increment year each time butneed 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 intotest application.1.5KViews0likes1CommentRe: 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 suggest1.5KViews0likes3CommentsHow 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 = "Some20/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); }1.5KViews0likes5CommentsHow 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 replaceallthe dates and add a character before DMC5121 , DMC 5122 , DMC5123inside the file. Can anyone help me pls Thanks,1.4KViews0likes4CommentsRe: 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 : Ifi 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 upi need to select someoptions from that window.1.2KViews0likes1Comment