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 |
What is recovery scenario in qtp?
Hello, I am learning QTP. I have recorded test for Login page, i have also inserted checkpoint for Email field & when I run test it passed. But when i tried to run test by inserting 'Adding Parameter Values to a Data Table' for email & password field, it pass the first value in both the fields but after that when test run for second parameter values it displays 'Internet Explorer cannot open the Internet site, Operation aborted' & when i analyze test result it displays run time error 'Object disable'. I have also cleared all the history from IE but it is not working. Please help me. Thank you.
what is run-time object in qtp? explain with example?
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
What is the difference in testing a client-server application and a web application?
There are some links on the page,count and click those links and check the text on the page displayed on clicking the link.write script for this scenario.
What is qtpro? What is a quick test professional?
How many add-ins comes by default with quicktest professional (qtp)?
How to get line numbers in your editor in expert view?
How to identify 2 versions of browsers based on regular expression
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?