ContributionsMost RecentMost LikesSolutionsCreate New CSV File and Modify it/Input Data in it Hi All, I have a requirement where I need to create an csv file from scratch and input values in first and second row of the excel through another excel file and save it in csv format . I should create 100 different csv file. I am trying to use Excel existing commands but it is not working for me. So I tried recording it and I gotTestedApps.EXCEL.Run(1, true); Now I am not sure how to input data in the same and when I run this command every time it opens Selection of excel Template page before opening to blank workbook. Could anyone help me on the same SolvedContinuous Changes in the Text for field when specific value is displayed it should capture the Text Continuous Changes in the Text for field when specific value is displayed it should capture the Text I have a row in which one column values changes frequently i want to capture the specific value and wait till the value is displayed. was trying to use WaitProperty as described below but it is not waiting for the specific time and directly printing Fails Is there any way i use to wait for the value to updated to specific text value I want Requested to changed to "Passed" if(Status.WaitProperty("textContent", "Requested", 100000) == false) { Log.Message("Pass") } else { Log.Error("Fail") } SolvedRe: What is the best branching strategy Marsha_R Just a quick doubt related to Merging. I am facing conflicts not only in Name Mapping but also we have some more files like DecisionNG.tcCfgExtender DecisionNG_Automation.mds.tcLS how should we work with these file.Should we merge this manually or with some tool and replace it and then try to push in version control? Can you suggest on the same issue with Merge Branch Could any one help us on the below conflicts: Multiple User Scenario: Scenario : User 1: Push's new code to GitHub User 2: Pull's code from GitHub and make changes . User 1: Pull's the Code from Github and make changes to the code User 1 : Pushes the code to github and create a pull request to merge (Pull Request 1) User 2 : Pushes the code to github and create a pull request to merge (Pull Request 2) User 1: Merge the code to main branch in github (Pull reuest 1 approves and merge successful) User 2: Tries to merge the code gets Conflict error which cannot be resolved in github (Pull request 2) Now in Test Complete User 2 : Tries to pull the code from github main branch getting the below error: From "Github repository" branch LatestMay5th_PermissionMatrix -> FETCH_HEAD LatestMay5th_PermissionMatrix -> CreateNewFtRepo/LatestMay5th_PermissionMatrix warning: Cannot merge binary files: DecisionNG/Test_Data.xlsx (HEAD vs. 3c5f745b3faf33981d26f18cfef90e2a4d949dfc) Auto-merging DecisionNG/Test_Data.xlsx CONFLICT (content): Merge conflict in DecisionNG/Test_Data.xlsx Auto-merging DecisionNG/DecisionNG_Automation/Script/SelectingOptionfromDropDown_Only1DDexsists.js CONFLICT (content): Merge conflict in DecisionNG/DecisionNG_Automation/Script/SelectingOptionfromDropDown_Only1DDexsists.js Auto-merging DecisionNG/DecisionNG_Automation/Script/Script.tcScript CONFLICT (content): Merge conflict in DecisionNG/DecisionNG_Automation/Script/Script.tcScript Auto-merging DecisionNG/DecisionNG_Automation/NameMapping/NameMapping.tcNM CONFLICT (content): Merge conflict in DecisionNG/DecisionNG_Automation/NameMapping/NameMapping.tcNM Auto-merging DecisionNG/DecisionNG_Automation/NameMapping/Images/Images.NMimg Auto-merging DecisionNG/DecisionNG_Automation/KeywordTests/KeywordTests.tcKDT CONFLICT (content): Merge conflict in DecisionNG/DecisionNG_Automation/KeywordTests/KeywordTests.tcKDT Auto-merging DecisionNG/DecisionNG_Automation/DecisionNG_Automation.mds.tcLS CONFLICT (content): Merge conflict in DecisionNG/DecisionNG_Automation/DecisionNG_Automation.mds.tcLS Auto-merging DecisionNG/DecisionNG_Automation/DecisionNG_Automation.mds CONFLICT (content): Merge conflict in DecisionNG/DecisionNG_Automation/DecisionNG_Automation.mds Auto-merging DecisionNG/DecisionNG.tcCfgExtender CONFLICT (content): Merge conflict in DecisionNG/DecisionNG.tcCfgExtender Automatic merge failed; fix conflicts and then commit the result. JS runtime error Hi All, I have a very basic doubt. Is there a way to deal with JavaScript Run time error which can occur anytime due to any problem. If it is then which event handlers should I use or is there any other solution Re: Iterating through rows and clicking on specific row element AlexKaras The button is same which got disabled but the property is changed when it was enabled the property wasclass = "ui-button" and when it got disabled the property is updated asclass = "ui-button disabled". I tried your suggestion but the output was same. Next_button has a property of enabled object. If I need to consider these two properties separately then how should I put the same in the code. I tried considering two objects one for enabled button other for disabled button but as both the present in different pages. The script fails as TestComplete starts looking for both objects together in the same flow. Re: Iterating through rows and clicking on specific row element AlexKaras The script fails as at the last page where the button is disabled also the TestComplete looks for the below object. It doesn't go inside else block var Next_Button = Aliases.browser.pageName.FindElement("//a[((contains(concat(' ',@class,' '),'ui-paginator-next ')) and not(contains(concat(' ',@class,' '),' ui-state-disabled')))]"); Re: Iterating through rows and clicking on specific row element AlexKaras I have tried the below code but still it is not working. I might be doing something wrong but now sure what it is. Can you please have a look, function Count() { var Row; var TotalCount=0; var hasNext = true; do { Row = Aliases.browser.pageName.FindElements("//span[@class='className']"); TotalCount = TotalCount + Row.length; if(Aliases.browser.pageName.FindElement("//a[((contains(concat(' ',@class,' '),'ui-paginator-next ')) and not(contains(concat(' ',@class,' '),' ui-state-disabled')))]").Exists) { var Next_Button = Aliases.browser.pageName.FindElement("//a[((contains(concat(' ',@class,' '),'ui-paginator-next ')) and not(contains(concat(' ',@class,' '),' ui-state-disabled')))]"); Next_Button.click(); } else { hasNext = false; } }while (hasNext=true) Log.Message(TotalCount); } Re: Iterating through rows and clicking on specific row element AlexKaras I tried checking in the TestComplete, when we are spying the object it is showing properties as Enabled = true even though on the screen the element is disabled. className is slightly different for both, enabled element like class = "ui-button" and for disabled like class = "ui-button disabled" Re: Iterating through rows and clicking on specific row element Thanks AlexKarasMarsha_RI tried giving two separate object name/xpaths but it is not working for me,in first page only it starts looking at both the objects and the script fails. It might be due to my lack of coding knowledge but I am not getting how should I use 2nd object name. Could you please tell me where should I put 2nd/disabled object/xpath in the below mentioned code. In the below mentioned code I am trying to get the row counts for all the pages. function Test() { var TotalCount; do { var RowCount = Aliases.browser.pageSapiensDecision.FindElements("xpath for Rows"); TotalCount = TotalCount+RowCount.length; //Enabled Next button var Next_Button = Aliases.browser.pageName.ObjectName; Next_Button.click(); }while (Next_Button.Enabled == true) Log.Message(TotalCount); }