Posts: 36
Threads: 14
Joined: Sep 2009
Reputation:
0
11-12-2009, 08:02 PM
Hello,
I have couple of reusable action I call from other scripts. When I make changes to the reusable actions the changes are not reflected in the calling scripts. Is there a way to do this?
I am deleting the reusable action and adding it back in to get the updated version. I want to avoid doing this.
Thanks,
Raj
Posts: 240
Threads: 38
Joined: Jun 2009
Reputation:
0
11-13-2009, 06:49 AM
Hi Raj,
You might have used "Call to copy of an action" with this updates will not reflect instead of this use "Call to Existing action".
Thanks,
Venkat.Bathu
Posts: 1
Threads: 0
Joined: Nov 2009
Reputation:
0
11-13-2009, 09:52 AM
I have a query like I am getting some unwanted pop up windows even I am using recovery scenario concept also.
cud you please help me out one this.
thanks in advance
shravan
Posts: 240
Threads: 38
Joined: Jun 2009
Reputation:
0
11-13-2009, 10:01 AM
Hi Shravan,
Its good practise that always post a new query and do not interupt the queries which not related to ur's,It seems this is your first post so please read the post guide lines...
Definetly u would get the prompt replies for your query....
All the Best...
Thanks,
Venkat.Batchu
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
11-13-2009, 10:14 AM
@Sharvan - As suggested by Venkat, Please read the forum Posting Guidelines and create a new thread for your query.
Posts: 36
Threads: 14
Joined: Sep 2009
Reputation:
0
11-13-2009, 08:08 PM
Venkat, Thanks for the response.
I am using Call to Existing action, not Call to Copy, and I am not seeing the updates.
Posts: 350
Threads: 2
Joined: Mar 2008
Reputation:
0
11-13-2009, 11:09 PM
Hi Raj,
Fyi, "Call to Existing Action" is applicable for calling "Reusable Actions" only.
When a Reusable Action of a Test(say Test1) is called in other Test(Test2) then it would be treated as "External Action"(Read Only i.e Cannot be edited, since it contains a link to the source Action of Test1)
Posts: 36
Threads: 14
Joined: Sep 2009
Reputation:
0
11-13-2009, 11:48 PM
Sreekanth,
I am not trying to edit the action that I am calling (yes it is read only).
Heres what I want to do.
I am calling a reusable action A in script B. Later I update action A. If I go back and look at action A in script B. The changes are not reflected. I usually remove the action and add it back in to get the changes. And I am looking for a better way to get the updated action.
Thanks,
Raj
Posts: 350
Threads: 2
Joined: Mar 2008
Reputation:
0
11-14-2009, 11:49 PM
Hi Raj,
Seems a bit strange !!
As far as I worked with Reusable Actions , never faced any issues regarding the updations.(Changes get reflected)
@Saket : Any inputs from you on this.
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
11-16-2009, 10:06 AM
I agree with you Sreekanth, QTP does not behave this way. the script should be updated with the changes in reusable actions.
Raj - Just in case, have you used relative path? can you check whether you are saving your changes to the correct location which is linked with your test.
you can view the location of your reusable action in the general tab of action properties and check with that your folders listed in options.