Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

QTP identifying the child tabs in a maintab like
tab_1,tab_2,tab_3,tab_4
while using a for loop for these tabs.its not proceeding
from _1 to _2.
How can i use "for loop "

Answer Posted / amarendra kothuru

For example, If the Tabs are recogized in QTP as
Webelements, and the Tab name starts with "Tab_" and the
number changes then, the following loop may helpful for you.

for var_i = 1 to 4
Browsr("BrowserName").Page("Page").WebElement
("innertext:=tab_" & var_i).Click)
Wait 10
Next

I think so... This logic may help you....

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is synchronization? What are the ways you can synchronize?

1098


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1842


With what extension you can save the list of tests in a file to run in test batch runner?

950


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1867


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

3290


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

1954


Give me some real time point of way where exactly we can conduct audits?

1864


what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com

2740


how to idetfy which test cases are automated?who will deside that plz tell me

1954


What is recovery scenario manager? When you go for recovery scenario manager?

991


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

1981


What is the Difference between test object and run time object?

1109


What are the types of object repository?

1019


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

2133


How to export quicktest professional (qtp) results to an .xls file?

1091