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 "
Answers were Sorted based on User's Feedback
Answer / maniram
You can use regular expression in this case instead of using
"for loop"
Ex:
use any of these
tab_[0-9][0-9]
or
tab_ ..
or
tab_ .* will take any value
This should be set in the object properties.
Is This Answer Correct ? | 1 Yes | 1 No |
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 |
what are the qtp tester responsibilities?
What is QTP Frame Work ,and i want it in detail
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
How does qtp identify objects in the application?
What are the Features & Benefits of Quick Test Pro (QTP)..?
How u will open the build automatically in QTP except using Systemutil.run command
What type of error u will get if u have not installed java add in in java project? what is the error name ?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
diff between global variables and environment variables in qtp?
can u pls explain me About Driver script.
with out object repository i need to launch IE and then navigate to a login page and then operate the objects within the page. How will be the script?
Can we record an application running on a remote machine using qtp?