Hi,
use descriptive programming,Child objects() to get all the drop downs ,use a
for loop to do this.
Set myLstObj=Description.Create
myLstObj("micclass")="WebList"
Set ObjListCollection=B("b").P("P").F("P").ChildObjects(myLstObj)
For i=0 to ObjListCollection.count
strItem=myLstObj(i).getroproperty("value")
If len(Trim(strItem))=0 Then
Reporter.ReportEvent micFail,"Missing Item :",""
End If
Next
this is th approach,please apply this as per app,
Regards,
Kishor.
On Wed, Feb 3, 2010 at 1:52 PM, Kiran Ogeti <[email protected]> wrote:
> I have 10 dropdown fields on a single screen and I want to make sure they
> all populated with values.. I dont need to verify the content, but to make
> sure they are not empty..
>
> Is there any possible way I can check all of them massivly with out coding
> for each field
>
> Thanks much
>
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<mercuryqtp%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en