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
How will you report the bug and explain the defect tracking sheet you handled?
Explain about Test Fusion Report of QTP?
How do you open adobe acrobat file in QTP and do some testing on that file ?
How are actions and functions different in QTP?
what is object and child object.. explain ..if possible give some example for better understanding ..
How to use the object spy in quicktest professional (qtp) 8.0 version?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
Is it possible to change the property value at runtime? How it is possible?
How to create runtime property for an object?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
What are the general steps involved in the data driven framework?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how