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
What are the major/ important methods, functions in QTP we use realtime testing
What are the two types of repositories available, explain them?
How to build scripts that access data from external sources?
how can we do the frame work in qtp
How do you configure QTP AND Test director?
Does QTP run in any environment?
What are the different attributes used with regular expression?
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
what is the latest version of QTP? Main difference between 9.2 and 10 version
Explain QTP using different development techniques ?
What are the disadvantages of recording test cases in qtp?
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
can test automation improve test effectiveness?
what is ODC and GDC?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?