how to use the regular expression for the below code--
swf("application name").swftreeview
("Treename").select"Medication;Pharmacy:56"

There is a tree view window of the folder's ie Medication-
>Pharmacy(sub folder)with 56 as count of records...The
records can be different or if no records present in the
specific folder..then it show "Paharmacy:-no records".Whe i
record at the first time .....and try to rerun the same
script with different records count say "pharmacy:800"..qtp
is not regnizing it...therefore i want to user regular
expression..but donot now how to use it and where to
use...i have tried....
swf("application name").swftreeview
("Treename").select"Medication;Pharmacy:\*"..but it s of no
use..plz help..me


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

What are the various automation frameworks available in qtp?

0 Answers  


i am testing an online shopping application.I CLICK on a link "ADD TO CART" of that application a "new page" is open and then click on any object of that "new page". after that when i run this SCRIPT then on this "new page" QTP always shows error of "OBJECT NOT FOUND". How i solve this problem ?

4 Answers  


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

0 Answers  


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

0 Answers  


How to write business scripts using object repository with different scenarios

0 Answers  






give me descriptive programing code sample flight application in qtp?

8 Answers   CA, IBM,


Explain about Standard output value, Text output value, database o/p value, Xml O/p value, Xm o/p Value

1 Answers   TCS,


What is wrong in my code?

3 Answers  


1) after inserting the check point how to change the expected value that was captured while inserting the check point

2 Answers   TCS,


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

0 Answers  


How many tables r created during the recording in QTP?

2 Answers  


How can we check whether a particular sheet loaded (existed) or not in Data Table.

7 Answers   TCS,


Categories