Hi, In qtp 9, i used to be able to create a new action, then delete it from the main test flow, but it is still exists in the test resource. We have just upgraded our qtp to version 11, and i tried to do the same thing. but when deleting the action, it is deleted from both test flow and resource. please help
How to delete a reusable action from test flow
|
Hi,
You can delete the action by the below ways: 1. Select the required action from Action tool bar and go to Edit Menu > Action > Delete Action 2. Go to Keyword view and select the required Action and Right Click > Delete
I have tried this, the action was deleted, but it was also deleted from resource. What i want is to delete from action and keep it in resouce, so in my test scripts, i can run the action if is is required.
ieg if record exists then runaction "update" else runaction "insert" so i created 2 actions, 1 for update and 1 insert. but i do not want them to applear in the test flow. hope it is clearer
you can simply delete the runaction statement (select the line and press delete button)or you can keep in if elase
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Delete Firefox history and Cookies | Anupama | 0 | 1,524 |
06-18-2018, 11:57 AM Last Post: Anupama |
|
How to delete particular mails in Gmail using QTP | rajkumarsm | 1 | 4,310 |
10-06-2014, 07:03 PM Last Post: rajkumarsm |
|
How to delete the cookies (1000 records) | akhandesh | 1 | 2,853 |
09-03-2014, 09:57 AM Last Post: vinod123 |
|
Delete Gmail email | newqtp | 4 | 4,857 |
07-05-2013, 02:12 PM Last Post: Staff |
|
delete blank lines in excel cell | QAVA | 2 | 5,811 |
12-07-2012, 09:36 PM Last Post: elango87 |
Users browsing this thread: 1 Guest(s)