Class Object Properties
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2010
11:57 AM
03-15-2010
11:57 AM
Class Object Properties
Hi there
I have created a few class objects in a separate unit, lets call this unit ClassObjects
Now in another unit, lets call this unit TestCase I am trying to create an instance of this class object however i can not get any code insight into what properties are available for this object? some of my generic objects have 20+ properties for issuing insurance, and dependant on what properties are set will define what gets issued. How do i get code insight into these properties?
Small example of what i am doing below
Unit -> ClassObjects
function TravellerDetails()
{
this.firstName;
this.lastName;
this.DOB;
}
Unit -> TestCase
function MyTest()
{
var travDetails = new TravellerDetails();
// at this point i can not get code insight into the properties??
// typing -> travDetails.
// does not give my the properties of the object?
travDetails = getDetails();
policy = IssuePolicy(travDetails);
}
where am i going wrong?
Thanks for your help,
Brad
I have created a few class objects in a separate unit, lets call this unit ClassObjects
Now in another unit, lets call this unit TestCase I am trying to create an instance of this class object however i can not get any code insight into what properties are available for this object? some of my generic objects have 20+ properties for issuing insurance, and dependant on what properties are set will define what gets issued. How do i get code insight into these properties?
Small example of what i am doing below
Unit -> ClassObjects
function TravellerDetails()
{
this.firstName;
this.lastName;
this.DOB;
}
Unit -> TestCase
function MyTest()
{
var travDetails = new TravellerDetails();
// at this point i can not get code insight into the properties??
// typing -> travDetails.
// does not give my the properties of the object?
travDetails = getDetails();
policy = IssuePolicy(travDetails);
}
where am i going wrong?
Thanks for your help,
Brad
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2010
12:12 AM
03-18-2010
12:12 AM
Hi,
Currently, there's no way to see members of JScript classes in the code completion window. Your request has increased the appropriate suggestion's rating in our DB.
Currently, there's no way to see members of JScript classes in the code completion window. Your request has increased the appropriate suggestion's rating in our DB.
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
