1.can we parameterise object repository?how we can do it?
2.there is a name "mallikharjun".i want to get the vowels
in it through VBSCRIPT?
Answer Posted / rico
1. This is what i see in HELP documentation of QTP for
parameterization of OR---> "Repository parameters enable
you to specify that certain property values should be
parameterized, but leave the actual parameterization to be
defined in each test that is associated with the object
repository that contains the parameterized test object
property values".
You can see a lot more in the help documentation on this,
just do a search with the tag "Working with Repository
Parameters ".-- Hope this will help you
2.
str=”any string”
dim c as integer
for i=1 to len(str)
if mid(str, i,1) = ‘a’ or mid(str, i,1) = ‘e’
or mid(str, i,1) = ‘i’ or mid(str, i,1) = ‘o’
or mid(str, i,1) = ‘u’ or mid(str, i,1) = ‘A’
or mid(str, i,1) = ‘E’ or mid(str, i,1) = ‘I’
or mid(str, i,1) = ‘O’ or mid(str, i,1 = ‘U’
then
c=c+1
print mid(str, i,1) “This is “ , c, “Vowel”
end if
next
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
what is the difference btn risks & Therads in the Test plan documentation?
what is command for executing files?
explain how to write vb script in qtp?when will you write own script?
When using descriptive programming?
Does QTP record on Objects created on XWindows Environment?
Hybrid framework supports Descriptive programming. Is it true?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
What are the benefits of quick test pro(qtp)?
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
What are the different types of recording modes?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
What is the use of an object spy tool in qtp?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
How do Parameterization and Data-Driving relate to each other in QTP?