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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

QTP script is not working on other's machine..

1530


Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........

1437


What is object repository in qtp?

552


How to associate shared object repository to test in qtp?

499


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2253






What are the different types of functions available in qtp and explain ?

560


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1430


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1573


Can U Explain about QTP tool from older version to latest version also its differences?

1508


after initiating one project for testing, when exacltly QTP tester role starts?

1393


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1434


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

1508


What is the XML file architecture ?

1541


1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible

1599


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1519