Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on how to make a reuseable action read local data? within the QTP forums, part of the Software Testing category; If I have two scripts, one is a reuseable and normal script such as below. Is there a way to make the "login" able to utilize variables in "testall"? Note: ...
|
|||||||
|
|||
|
how to make a reuseable action read local data?
If I have two scripts, one is a reuseable and normal script such as below. Is there a way to make the "login" able to utilize variables in "testall"?
Note: I opt to use reuseable Action as (learning) the alternate trick. Fuction would work fine for me. 1) login (reuseable) browser().Page().webedit().set id browser().Page().webedit().set pwd browser().Page().webbutton().click 2) testall dim id, pwd id = "some" => this could be from database at run-time pwd = "thing" => this could be from database at run-time (call) login |
| Sponsored Links |
|
|||
|
Re: how to make a reuseable action read local data?
In case u are using the variables as Parameters for the Reusable action...Similar to that in function...
Please Search Parameter() in the Manual... Regards, Nawab |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to import data into local sheet | Geek_Guest | QTP | 4 | 05-27-2009 02:19 AM |
| Read and write data to a file in QC | sairam100 | QTP | 3 | 01-16-2008 03:15 AM |
| Difference between Function, Copy of Action & Externel Action | Geek_Guest | QTP | 1 | 07-31-2007 07:33 AM |
| Convert local or per action repository to share repository | Geek_Guest | QTP | 4 | 07-11-2007 03:12 PM |
| How to make the Applet Read Only at run time | Geek_Guest | Seibel | 0 | 06-27-2007 05:37 AM |