![]() Select “Regular expression” in “Search Mode” section.Paste or type "\t" (without quotes) in “Replace with…” box.Paste or type "(+)" (without quotes) in “Find what…” box.Go to Search menu > Replace… (Shortcut Ctrl+R).Open the Notepad++ and paste the text into new document.If you don’t have Notepad++, download and install it.Is there a quick way yo do so? Thanks a lot.If you have data with multiple space characters and you wish you could replace all the multiple spaces with tab characters (I bet you want to paste it into Excel), here is a quick trick – Use RegEx in Notepad++. I have about 300 places to modify and it requires a lot of time, this is a big “monkey job”. Mobile.tap(findTestObject(‘Welcome_Login button’, ), 0)Īnd I am afraid I need to change it manually ( ) ![]() Mobile.tap(findTestObject(‘Welcome_Login button’), 0) I set variables to all my “resource-id” related objects quickly with search-replace Katalon option, but now I need to adjust all my “resource-id” related test-steps So I decided to edit all “resource-id” parameter’s values during test execution as described above. third app “resource-id” = myAppName3:/loginĬurrently I cannot run my tests for all my apps.second app “resource-id” = myAppName2:/login.first app “resource-id” = myAppName1:/login.So I have the same objects to deal with (tap for example) but these objects do have different values in “resource-id” parameter, therefore I cannot interact with these object as it is. All my test object were created by “Spy Mobile” option and (I don’t know why(!!!)) “resource-id” parameter always begins with “packageName” of the app. But package name for each of them differs. All these applications is basically copy-pasted from the main one, so my test-scripts can be run for each of 3 apps. I have 3 applications to run Katalon-tests with. I faced exactly the same use-case as a topic-starter.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |