ContributionsMost RecentMost LikesSolutionsRe: How to remove unwanted "/" from a string Thanks a lot,Wamboo for detailed explanation. Really appreciate the time you have put in to create the video. It's working now. Re: How to remove unwanted "/" from a string No, It can not be mapped in the repository as this table view cell object had a dynamic index and it depends upon the no. of record present in the parent table objects at any point in time. I need to get the count of the objects in the table, run a loop with that count and access this table view cell objects to check a particular child object and perform an action on that child objects So I do not have any other option but to work with this dynamic table view cell objects to access its child objects. can you please suggest me how can I remove "/" from the above mentioned string. so that I can have Full name in correct format. (Please refer the details above for the required correct string) Re: How to remove unwanted "/" from a string My Next step is using eval on that string to get the objects and perform the action on that object. So I need this string to be in correct form of an Alias Name e.g."Mobile.Device("iPad").Process("iA360 StageTest").Window(0).TableView(0).TableViewCell(0, 3). Re: How to remove unwanted "/" from a string tristaanogreI am finding the child object using Find All children method applied to a grand Parent object as the parent is dynamic . When I try to access the Parent property of this child objects it does not return the Parent instead it returns the grand Parent to me, maybe because I am finding the object using grandparent. WambooI am confused as to how to use your suggestion. Can you please give me a bit more elaborative example. I need to remove \ . Re: How to remove unwanted "/" from a string Thanks for the quick reponse. The main issue I am facing is that I need to replace single backslash "\" with "". eg."Mobile.Device(\"iPad\") should be Mobile.Device("iPad"). It seems Testcomplete is using this "\" just before " to make it litteral ". I need this single backslash to be removed. Below is my code: var FName =Object.FullName // Results :"Mobile.Device(\"iPad\").Process(\"iA360 StageTest\").Window(0).TableView(0).TableViewCell(0, 3).Label(\"Gallo PICO\")" var str = FName.split("\","") ///This give error " Invalid or Unexpected token" If I do ..var str = FName.split("\/g","") // This does not do anything i get a blank string. How to remove unwanted "/" from a string Iam using FullName property of a label object and then splitting the string to get the Full Name of Dynamic parent. This FullName Property returning the string as :"Mobile.Device(\"iPad\").Process(\"iA360 StageTest\").Window(0).TableView(0).TableViewCell(0, 2).Label(\"Gallo PICO\", 0)". I am unable to remove "\" from the string using replace method or split method of javascript.Aways getting syntax error because of "\'. Can some guide me how can I remove "\" from the above string and get below string "Mobile.Device("iPad").Process("iA360 StageTest").Window(0).TableView(0).TableViewCell(0, 2).Label("Gallo PICO", 0)". Thanks in advance. SolvedRe: How to create a low maintenance keyword driven framework Thanks a lottristaanogrefor taking time out to answer my query and sharing this important tip. I was aware that we can shorten the name in Alias but it never occurred to me that this can be used to reduce maintenance work in the future. How to create a low maintenance keyword driven framework I am using Keyword driven framework where I am passing the object (Alias name of the object) and Keyword from excel file to my test. With every release, there are many changes in UI of the application so we update name mapping and update Alias names in affected test cases. But there are huge changes in UI this time and we will have to update large no. of test cases. How can I handle it smartly in the future? Is there a way that I do need to mention the entire Alias name in my script or excel sheet. Is it possible to just mention the logical name (Description)of the object and entire Alias name can be calculated during run time (just like it is done in QTP)? So that no matter how many changes I need to do in the name mapping file, I do not need to update each and every test step in my scripts. Also, please suggest if there is any other way available to create low maintenance framework. SolvedRe: not able to assign value to ListView Object Thanks a lottristaanogre.This has resolved my issue. not able to assign value to ListView Object I am working on xamarin form based ios app. I am using a keyword driven framework in which I am passing Alias Name, Keyword (Action to be performed) and test data from excel sheet. when I directly assign value to Alias name of the object in my script, it workes fine -- Aliases.Device.processQaA36020.ManageContactPopup.Frame.StackLayout.Grid.lvAccounts.TemplatedItems.Item(0).BindingContext.Role = "Test Role" //It works fine and the value 'Test Role' is set in Role field But when I pass the value through variable it does not work. e.g. function InputListObj(TestObj,InData) //Testobj is Alias name of Object on screen and InData has the string that needs to be set in the field. { var obj = eval(TestObj) Obj = InData Delay(1000) } Can anyone please let me how to get it work. Solved