Hi,
To give the background, I have been working with QTP so far for Test Automation. Just started exploring this tool..
Would like to know know to pass parameter to my user code ? is it possible ?
thx
Smita
Passing Parameters to user code
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Passing Parameters to user code
Hi smigup!
See Userguide->Data-Driven-Testing: http://www.ranorex.com/support/user-gui ... sting.html
Best Regards,
Christian
Ranorex Support Team
See Userguide->Data-Driven-Testing: http://www.ranorex.com/support/user-gui ... sting.html
Best Regards,
Christian
Ranorex Support Team
Re: Passing Parameters to user code
Thanks Christian. I had a look at that. From what I understood from that, I can pick data from Excel / external source.
Cannot I give a "hardcorded" parameter to my function ?
Cannot I give a "hardcorded" parameter to my function ?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Passing Parameters to user code
Sure, as explained in the User Guide topic, just add properties to your recording's UserCode file and then set those properties before the recording is called with your hardcoded values.
Regards,
Alex
Ranorex Support Team
Regards,
Alex
Ranorex Support Team
Re: Passing Parameters to user code
Thanks. I could set the parameters.