Closing Tabs : General Questions

Closing Tabs

Ask general questions here.

Closing Tabs

Postby chow » Tue Apr 13, 2010 8:35 am

Hi,

i am trying to automate windows application. in process i will open lot of tabs in application.(Ranorex.Tabpage).i want close all the tabs opened.

Please provide me the solution for this

Thanks
chow
 
Posts: 1
Joined: Tue Apr 13, 2010 8:31 am

Re: Closing Tabs

Postby Ciege » Tue Apr 13, 2010 5:27 pm

If you can search your AUT for each tab page opened or if you already have a list to each tab page opened you can traverse that list and send a tabpage.close.
Use a foreach loop to go through each tab page and close it. But you need to know what is opened or be able to search the AUT for what is opened.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...
User avatar
Ciege
 
Posts: 907
Joined: Thu Oct 16, 2008 7:46 pm
Location: Arizona, USA


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests