Forum Discussion
3 Replies
Sort By
- YMinaevStaffHi,
Use code like this:
function myFunctionWhichAcceptsAParameter(myParameter)
{
// do something
}
function Main()
{
var myValueWhichIWillUseAsAParameter = "something";
myFunctionWhichAcceptsAParameter(myValueWhichIWillUseAsAParameter);
}
If this is not what you want, clarify your request. - gopalmaluContributorSuppose we want to parameterize the object brower value ,which we want to pass from external excel sheet or from database.
May that object value is different for different testcase.
In QTP ,we can pass the parameter and value from any external data source.
Is there any way in testComplete ?
Thanks,
Gopal Malu - YMinaevStaffHi,
Yes, you can use Data-Driven Testing to get values from an Excel document, CSV file or a database and use these values in your test.
Related Content
Recent Discussions
- 14 minutes agomikakoistinen
- 2 hours agonastester