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



1.can we parameterise object repository?how we can do it? 2.there is a name "mallikharjun"..

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

1.can we parameterise object repository?how we can do it? 2.there is a name "mallikharjun"..

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

1.can we parameterise object repository?how we can do it? 2.there is a name "mallikharjun"..

Answer / dfdf

gdfg

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Hello, I am working on automating unix application using QTP via terminal emulator.Recording and playback works as i execute my test case. I need to parameterise my data now. Steps to be followed 1. go to the application TeWindow("TeWindow").Window("Connect").WinButton ("Connect").Click 2. Make a transaction to an account I am able to make transaction one at a time (one person when i run the script) and the script is as below and works fine. TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "./4ee.sh" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "a21100002" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "tcccc" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "test" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type "6" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "xexit" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync 3. Now i need to Make a transaction to the account for the list of people available from data table. How do i do this? Please let me know if you can Thanks, Chaya

1 Answers   Apex,


is qtp 9.2 create the scripts with the application run on mozilla firefox browser?

3 Answers  


What is fragmentation and paging?

0 Answers  


What is difference between design time and run time data table?

0 Answers  


What are different versions in Win Runner ,QTP ,Load Runner and Test Director till now and atleast please let me know new features for each version. Ex QTP8.2,QTP 8.5.QTP9.2 supports Mozilla 2.0

1 Answers   DELL,






What are software testing metrics

3 Answers  


How do you configure QTP AND Test director?

0 Answers  


Hi Recently I Attend one interview .The intervier ask on Question in QC 9.2 . The Qus was while ruuning the Batch RUNS scripts in test lab if defect will comes .The defect automaticly wants to genate . How to Configure in QC . Thank You Balaji

0 Answers  


How to add a standard checkpoint in your test ?

1 Answers  


In an interview what r the questions asked in qtp related project? pls any answer this question?

3 Answers  


How to import the Test Results in QTP to an Excel sheet

4 Answers   Sonata,


normally by going through the object properties in object spy we write descriptive programming(correct me if i am wrong). But how or from where can we get the object properties in the object spy?plzzzzzz do answer

2 Answers  


Categories