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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / rico
Made few updates to above code
str= "jack sparrow"
dim c
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
msgbox mid(str, i,1) "this is a" &c "Vowel"
else
end if
next
| Is This Answer Correct ? | 3 Yes | 1 No |
who QTP recognizes the object stored in object repository?
What test cases can you automate using QTP?
can we call a test in another test? how? explain with one example?
Plz send one Tracebilitymatrix example? Anybody working on Realtime QTP Plz give contact deatils?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
Hi all, I am New to QTP . I am Now in critical situtaion. I want to know How to create our own object respository for our application. please say the answer with example.
How to convert manual test cases to automated testcases
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
Have you used TD?
Difference between image checkpoint and bitmap checkpoint
What are the 3 main stages involved in testing with qtp?
What is the difference in between function and sub as well as give some code of both