Hi Friends,I want to Fetch the Application objects for Example all the Browser currently loaded in Windows .The Scenario is I want to do end to End Descriptive Programming in my Code...Something LikeSet oDesc = Description.Create()oDesc("micclass").Value = "Browser"Noe I wanna Fetch all the Browser's currently loaded in the application.....Appreciate your Help.ThanksNawab Shaikh

Questions by NawabShaikh   answers by NawabShaikh

Showing Answers 1 - 6 of 6 Answers

Bhamini

  • Feb 10th, 2007
 

Hi Nawab,
your beginning is good.
you have created a description object.
after that you can use the method childobject().
this returns a collection of all the objects.
so your desc object is oDesc.
try this.objBrowserColl = Desktop.ChildObjects(oDesc).
this collects all the objects that match the properties as per oDesc and store them in objBrowserColl.
you can use objBrowserColl.Child() method to get the count.
you can build your script upon this.let me know

  Was this answer useful?  Yes

Nawab.SHaikh

  • Feb 12th, 2007
 

Thanks Bhamini,I was too quick to respond. on your comments.The Code is working Fine.Appreciate your help on Test AutomationThank You

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions