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

Hoe can we do retesting using functions please give the code for it using login page

1935


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

2191


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1890


How do you open adobe acrobat file in QTP and do some testing on that file ?

1050


images are dynamically changes how to compare two images with out using the bitmap

2392


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1833


What is the expert view?

982


Explain how qtp identifies objects?

985


Explain about datafile/verification of date file when file is not available in local system?

2716


What is checkpoints for quicktest professional (qtp)?

1021


Have you used xml check point in your project? How?

984


What is action split and the purpose of using this in qtp?

1010


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1846


What is the pros and cons between QTP and Rational Robot

3763


What are the Application Functions available in QTP?

2020