question

kwchan avatar image
kwchan asked kwchan posted

search and replace in ixia configuration

HI, Is there a way to search and replace in the ixia configuration? Seems like search and replace can't work in the ixia configuration.  Can someone help?

 

iTest
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kwchan avatar image
kwchan answered kwchan posted

The problem is that my ixia configuration is inside the testcase. 

So I have Action configure ixia ....

 

 

 

2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

AmeyaB avatar image AmeyaB ♦ commented ·

I see. In that case your only option is to open the Test Case as text (Right-click the Test Case, Open With - Text Editor), and do Find/Replace there. Be very careful when you do this; you don't want to inadvertantly change something else in the Test Case file; I recommend taking a backup of the Test Case before you hand-edit it.

 

If you think you are going to do this often, a better approach would be to save the configuration script in a separate file so it becomes easier to manage, and then load the script using the "configuration load" command.

0 Likes 0 ·
kwchan avatar image kwchan AmeyaB ♦ commented ·

yes! right now I opened as xml file and edit there. There is also risk as well. If I screwed up, I will have corrupt fftc.  I have 60 TCs and 60 ixia configs so I have to do this way. 

maybe open txt file is better than xml file.

0 Likes 0 ·
AmeyaB avatar image
AmeyaB answered AmeyaB posted

Search and Replace should work if you open the config file in a text editor in iTest (Right-click file, Open With - Text Editor). You can then hit Ctrl+F, which will bring up the Find/Replace dialog.

 

However, if you still have problems, you can always use any other editor (e.g. Notepad or Word in Windows) to open your config file and do a search replace. Note you will have to Refresh the folder that contains the config file in the iTest Explorer if you edit it outside iTest.

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.