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
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
What is qtpro?
How to remove associated function library?
What are the common defects found in your project? (in qtp interview)
How to get popup error message.
How to call a test from another test?
What is checkpoint in qtp?
What are the different types of action?
How do you configure QTP AND Test director?
Describe the differences between functions and actions in UFT?
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
Whether qtp 9.0 supports Test director8.0
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
Why do we use breakpoints in QTP?
Explain hybrid framework with advantages and disadvantages?